diff --git a/packages/@azure/applicationinsights-query/.npmignore b/packages/@azure/applicationinsights-query/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/applicationinsights-query/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/applicationinsights-query/README.md b/packages/@azure/applicationinsights-query/README.md index 8e9cf468858a..5eb513ac6934 100644 --- a/packages/@azure/applicationinsights-query/README.md +++ b/packages/@azure/applicationinsights-query/README.md @@ -1,26 +1,33 @@ -# An isomorphic javascript sdk for - ApplicationInsightsDataClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - ApplicationInsightsDataClient -## How to Install +This package contains an isomorphic SDK for ApplicationInsightsDataClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/applicationinsights-query ``` -- browser -```html - -``` -## How to use +### How to use -### nodejs - Authentication, client creation and get metrics as an example written in TypeScript. +#### nodejs - Authentication, client creation and get metrics as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code ```ts -import * as msRest from "ms-rest-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { ApplicationInsightsDataClient, ApplicationInsightsDataModels, ApplicationInsightsDataMappers } from "@azure/applicationinsights-query"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -44,7 +51,17 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get metrics as an example written in javascript. +#### browser - Authentication, client creation and get metrics as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -52,8 +69,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => { @azure/applicationinsights-query 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/applicationinsights-query/lib/applicationInsightsDataClient.ts b/packages/@azure/applicationinsights-query/lib/applicationInsightsDataClient.ts index 84e7e9a73a2f..df88350debaa 100644 --- a/packages/@azure/applicationinsights-query/lib/applicationInsightsDataClient.ts +++ b/packages/@azure/applicationinsights-query/lib/applicationInsightsDataClient.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/applicationinsights-query/lib/applicationInsightsDataClientContext.ts b/packages/@azure/applicationinsights-query/lib/applicationInsightsDataClientContext.ts index 9f9576c352b7..490c2684263f 100644 --- a/packages/@azure/applicationinsights-query/lib/applicationInsightsDataClientContext.ts +++ b/packages/@azure/applicationinsights-query/lib/applicationInsightsDataClientContext.ts @@ -8,11 +8,11 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; const packageName = "@azure/applicationinsights-query"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class ApplicationInsightsDataClientContext extends msRest.ServiceClient { credentials: msRest.ServiceClientCredentials; @@ -30,6 +30,10 @@ export class ApplicationInsightsDataClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); @@ -37,6 +41,5 @@ export class ApplicationInsightsDataClientContext extends msRest.ServiceClient { this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); } } diff --git a/packages/@azure/applicationinsights-query/lib/models/index.ts b/packages/@azure/applicationinsights-query/lib/models/index.ts index 5389d15fea7d..50135f90faa0 100644 --- a/packages/@azure/applicationinsights-query/lib/models/index.ts +++ b/packages/@azure/applicationinsights-query/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { ServiceClientOptions } from "ms-rest-js"; -import * as msRest from "ms-rest-js"; +import { ServiceClientOptions } from "@azure/ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -1920,145 +1920,51 @@ export interface EventsGetOptionalParams extends msRest.RequestOptionsBase { /** * Defines values for MetricId. - * Possible values include: 'requests/count', 'requests/duration', - * 'requests/failed', 'users/count', 'users/authenticated', 'pageViews/count', - * 'pageViews/duration', 'client/processingDuration', 'client/receiveDuration', - * 'client/networkDuration', 'client/sendDuration', 'client/totalDuration', - * 'dependencies/count', 'dependencies/failed', 'dependencies/duration', - * 'exceptions/count', 'exceptions/browser', 'exceptions/server', + * Possible values include: 'requests/count', 'requests/duration', 'requests/failed', + * 'users/count', 'users/authenticated', 'pageViews/count', 'pageViews/duration', + * 'client/processingDuration', 'client/receiveDuration', 'client/networkDuration', + * 'client/sendDuration', 'client/totalDuration', 'dependencies/count', 'dependencies/failed', + * 'dependencies/duration', 'exceptions/count', 'exceptions/browser', 'exceptions/server', * 'sessions/count', 'performanceCounters/requestExecutionTime', - * 'performanceCounters/requestsPerSecond', - * 'performanceCounters/requestsInQueue', - * 'performanceCounters/memoryAvailableBytes', - * 'performanceCounters/exceptionsPerSecond', - * 'performanceCounters/processCpuPercentage', - * 'performanceCounters/processIOBytesPerSecond', - * 'performanceCounters/processPrivateBytes', - * 'performanceCounters/processorCpuPercentage', - * 'availabilityResults/availabilityPercentage', - * 'availabilityResults/duration', 'billing/telemetryCount', - * 'customEvents/count' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MetricId = "someUnknownValueThatWillStillBeValid"; + * 'performanceCounters/requestsPerSecond', 'performanceCounters/requestsInQueue', + * 'performanceCounters/memoryAvailableBytes', 'performanceCounters/exceptionsPerSecond', + * 'performanceCounters/processCpuPercentage', 'performanceCounters/processIOBytesPerSecond', + * 'performanceCounters/processPrivateBytes', 'performanceCounters/processorCpuPercentage', + * 'availabilityResults/availabilityPercentage', 'availabilityResults/duration', + * 'billing/telemetryCount', 'customEvents/count' * @readonly * @enum {string} */ -export enum MetricId { - Requestscount = 'requests/count', - Requestsduration = 'requests/duration', - Requestsfailed = 'requests/failed', - Userscount = 'users/count', - Usersauthenticated = 'users/authenticated', - PageViewscount = 'pageViews/count', - PageViewsduration = 'pageViews/duration', - ClientprocessingDuration = 'client/processingDuration', - ClientreceiveDuration = 'client/receiveDuration', - ClientnetworkDuration = 'client/networkDuration', - ClientsendDuration = 'client/sendDuration', - ClienttotalDuration = 'client/totalDuration', - Dependenciescount = 'dependencies/count', - Dependenciesfailed = 'dependencies/failed', - Dependenciesduration = 'dependencies/duration', - Exceptionscount = 'exceptions/count', - Exceptionsbrowser = 'exceptions/browser', - Exceptionsserver = 'exceptions/server', - Sessionscount = 'sessions/count', - PerformanceCountersrequestExecutionTime = 'performanceCounters/requestExecutionTime', - PerformanceCountersrequestsPerSecond = 'performanceCounters/requestsPerSecond', - PerformanceCountersrequestsInQueue = 'performanceCounters/requestsInQueue', - PerformanceCountersmemoryAvailableBytes = 'performanceCounters/memoryAvailableBytes', - PerformanceCountersexceptionsPerSecond = 'performanceCounters/exceptionsPerSecond', - PerformanceCountersprocessCpuPercentage = 'performanceCounters/processCpuPercentage', - PerformanceCountersprocessIOBytesPerSecond = 'performanceCounters/processIOBytesPerSecond', - PerformanceCountersprocessPrivateBytes = 'performanceCounters/processPrivateBytes', - PerformanceCountersprocessorCpuPercentage = 'performanceCounters/processorCpuPercentage', - AvailabilityResultsavailabilityPercentage = 'availabilityResults/availabilityPercentage', - AvailabilityResultsduration = 'availabilityResults/duration', - BillingtelemetryCount = 'billing/telemetryCount', - CustomEventscount = 'customEvents/count', -} +export type MetricId = 'requests/count' | 'requests/duration' | 'requests/failed' | 'users/count' | 'users/authenticated' | 'pageViews/count' | 'pageViews/duration' | 'client/processingDuration' | 'client/receiveDuration' | 'client/networkDuration' | 'client/sendDuration' | 'client/totalDuration' | 'dependencies/count' | 'dependencies/failed' | 'dependencies/duration' | 'exceptions/count' | 'exceptions/browser' | 'exceptions/server' | 'sessions/count' | 'performanceCounters/requestExecutionTime' | 'performanceCounters/requestsPerSecond' | 'performanceCounters/requestsInQueue' | 'performanceCounters/memoryAvailableBytes' | 'performanceCounters/exceptionsPerSecond' | 'performanceCounters/processCpuPercentage' | 'performanceCounters/processIOBytesPerSecond' | 'performanceCounters/processPrivateBytes' | 'performanceCounters/processorCpuPercentage' | 'availabilityResults/availabilityPercentage' | 'availabilityResults/duration' | 'billing/telemetryCount' | 'customEvents/count'; /** * Defines values for MetricsAggregation. * Possible values include: 'min', 'max', 'avg', 'sum', 'count', 'unique' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MetricsAggregation = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum MetricsAggregation { - Min = 'min', - Max = 'max', - Avg = 'avg', - Sum = 'sum', - Count = 'count', - Unique = 'unique', -} +export type MetricsAggregation = 'min' | 'max' | 'avg' | 'sum' | 'count' | 'unique'; /** * Defines values for MetricsSegment. * Possible values include: 'applicationBuild', 'applicationVersion', - * 'authenticatedOrAnonymousTraffic', 'browser', 'browserVersion', 'city', - * 'cloudRoleName', 'cloudServiceName', 'continent', 'countryOrRegion', - * 'deploymentId', 'deploymentUnit', 'deviceType', 'environment', - * 'hostingLocation', 'instanceName' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MetricsSegment = - * "someUnknownValueThatWillStillBeValid"; + * 'authenticatedOrAnonymousTraffic', 'browser', 'browserVersion', 'city', 'cloudRoleName', + * 'cloudServiceName', 'continent', 'countryOrRegion', 'deploymentId', 'deploymentUnit', + * 'deviceType', 'environment', 'hostingLocation', 'instanceName' * @readonly * @enum {string} */ -export enum MetricsSegment { - ApplicationBuild = 'applicationBuild', - ApplicationVersion = 'applicationVersion', - AuthenticatedOrAnonymousTraffic = 'authenticatedOrAnonymousTraffic', - Browser = 'browser', - BrowserVersion = 'browserVersion', - City = 'city', - CloudRoleName = 'cloudRoleName', - CloudServiceName = 'cloudServiceName', - Continent = 'continent', - CountryOrRegion = 'countryOrRegion', - DeploymentId = 'deploymentId', - DeploymentUnit = 'deploymentUnit', - DeviceType = 'deviceType', - Environment = 'environment', - HostingLocation = 'hostingLocation', - InstanceName = 'instanceName', -} +export type MetricsSegment = 'applicationBuild' | 'applicationVersion' | 'authenticatedOrAnonymousTraffic' | 'browser' | 'browserVersion' | 'city' | 'cloudRoleName' | 'cloudServiceName' | 'continent' | 'countryOrRegion' | 'deploymentId' | 'deploymentUnit' | 'deviceType' | 'environment' | 'hostingLocation' | 'instanceName'; /** * Defines values for EventType. - * Possible values include: '$all', 'traces', 'customEvents', 'pageViews', - * 'browserTimings', 'requests', 'dependencies', 'exceptions', - * 'availabilityResults', 'performanceCounters', 'customMetrics' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EventType = "someUnknownValueThatWillStillBeValid"; + * Possible values include: '$all', 'traces', 'customEvents', 'pageViews', 'browserTimings', + * 'requests', 'dependencies', 'exceptions', 'availabilityResults', 'performanceCounters', + * 'customMetrics' * @readonly * @enum {string} */ -export enum EventType { - All = '$all', - Traces = 'traces', - CustomEvents = 'customEvents', - PageViews = 'pageViews', - BrowserTimings = 'browserTimings', - Requests = 'requests', - Dependencies = 'dependencies', - Exceptions = 'exceptions', - AvailabilityResults = 'availabilityResults', - PerformanceCounters = 'performanceCounters', - CustomMetrics = 'customMetrics', -} +export type EventType = '$all' | 'traces' | 'customEvents' | 'pageViews' | 'browserTimings' | 'requests' | 'dependencies' | 'exceptions' | 'availabilityResults' | 'performanceCounters' | 'customMetrics'; /** * Contains response data for the get operation. diff --git a/packages/@azure/applicationinsights-query/lib/models/mappers.ts b/packages/@azure/applicationinsights-query/lib/models/mappers.ts index 9f95aef34876..41143e2b862a 100644 --- a/packages/@azure/applicationinsights-query/lib/models/mappers.ts +++ b/packages/@azure/applicationinsights-query/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const MetricsPostBodySchemaParameters: msRest.CompositeMapper = { @@ -729,11 +729,6 @@ export const EventsResults: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "EventsResultData", className: "EventsResultData" } } @@ -765,11 +760,6 @@ export const EventsResult: msRest.CompositeMapper = { serializedName: "value", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "EventsResultData", className: "EventsResultData" } } diff --git a/packages/@azure/applicationinsights-query/lib/models/parameters.ts b/packages/@azure/applicationinsights-query/lib/models/parameters.ts index caae83e3d0e9..34c02d6dcd4a 100644 --- a/packages/@azure/applicationinsights-query/lib/models/parameters.ts +++ b/packages/@azure/applicationinsights-query/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 aggregation: msRest.OperationQueryParameter = { parameterPath: [ diff --git a/packages/@azure/applicationinsights-query/lib/operations/events.ts b/packages/@azure/applicationinsights-query/lib/operations/events.ts index 37b6e1fac47c..d6c8cfc3e584 100644 --- a/packages/@azure/applicationinsights-query/lib/operations/events.ts +++ b/packages/@azure/applicationinsights-query/lib/operations/events.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/eventsMappers"; import * as Parameters from "../models/parameters"; @@ -63,7 +63,7 @@ export class Events { * @param callback The callback */ getByType(appId: string, eventType: Models.EventType, options: Models.EventsGetByTypeOptionalParams, callback: msRest.ServiceCallback): void; - getByType(appId: string, eventType: Models.EventType, options?: Models.EventsGetByTypeOptionalParams, callback?: msRest.ServiceCallback): Promise { + getByType(appId: string, eventType: Models.EventType, options?: Models.EventsGetByTypeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -114,7 +114,7 @@ export class Events { * @param callback The callback */ get(appId: string, eventType: Models.EventType, eventId: string, options: Models.EventsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(appId: string, eventType: Models.EventType, eventId: string, options?: Models.EventsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(appId: string, eventType: Models.EventType, eventId: string, options?: Models.EventsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, diff --git a/packages/@azure/applicationinsights-query/lib/operations/metrics.ts b/packages/@azure/applicationinsights-query/lib/operations/metrics.ts index e34781a30188..56a1c8e0b26f 100644 --- a/packages/@azure/applicationinsights-query/lib/operations/metrics.ts +++ b/packages/@azure/applicationinsights-query/lib/operations/metrics.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/metricsMappers"; import * as Parameters from "../models/parameters"; @@ -87,7 +87,7 @@ export class Metrics { * @param callback The callback */ get(appId: string, metricId: Models.MetricId, options: Models.MetricsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(appId: string, metricId: Models.MetricId, options?: Models.MetricsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(appId: string, metricId: Models.MetricId, options?: Models.MetricsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -123,7 +123,7 @@ export class Metrics { * @param callback The callback */ getMultiple(appId: string, body: Models.MetricsPostBodySchema[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMultiple(appId: string, body: Models.MetricsPostBodySchema[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMultiple(appId: string, body: Models.MetricsPostBodySchema[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -156,7 +156,7 @@ export class Metrics { * @param callback The callback */ getMetadata(appId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMetadata(appId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMetadata(appId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, diff --git a/packages/@azure/applicationinsights-query/lib/operations/query.ts b/packages/@azure/applicationinsights-query/lib/operations/query.ts index f4b7a8b79bc5..2a3420a07463 100644 --- a/packages/@azure/applicationinsights-query/lib/operations/query.ts +++ b/packages/@azure/applicationinsights-query/lib/operations/query.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/queryMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class Query { * @param callback The callback */ execute(appId: string, body: Models.QueryBody, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - execute(appId: string, body: Models.QueryBody, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + execute(appId: string, body: Models.QueryBody, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, diff --git a/packages/@azure/applicationinsights-query/package.json b/packages/@azure/applicationinsights-query/package.json index 5e13d3e7c1f5..efee07b714af 100644 --- a/packages/@azure/applicationinsights-query/package.json +++ b/packages/@azure/applicationinsights-query/package.json @@ -4,7 +4,7 @@ "description": "ApplicationInsightsDataClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -32,10 +32,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/applicationinsights-query.js.map'\" -o ./dist/applicationinsights-query.min.js ./dist/applicationinsights-query.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/applicationinsights-query/rollup.config.js b/packages/@azure/applicationinsights-query/rollup.config.js index b5a572964cb3..85ed89401a88 100644 --- a/packages/@azure/applicationinsights-query/rollup.config.js +++ b/packages/@azure/applicationinsights-query/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/applicationInsightsDataClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/applicationinsights-query.js", format: "umd", name: "Azure.ApplicationinsightsQuery", 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/applicationinsights-query/tsconfig.esm.json b/packages/@azure/applicationinsights-query/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/applicationinsights-query/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/applicationinsights-query/tsconfig.json b/packages/@azure/applicationinsights-query/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/applicationinsights-query/tsconfig.json +++ b/packages/@azure/applicationinsights-query/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/applicationinsights-query/webpack.config.js b/packages/@azure/applicationinsights-query/webpack.config.js deleted file mode 100644 index 148210d73ad8..000000000000 --- a/packages/@azure/applicationinsights-query/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/applicationInsightsDataClient.js', - devtool: 'source-map', - output: { - filename: 'applicationInsightsDataClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'applicationInsightsDataClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-advisor/.npmignore b/packages/@azure/arm-advisor/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-advisor/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-advisor/README.md b/packages/@azure/arm-advisor/README.md index 4b4d1466ac51..7d64fd72219f 100644 --- a/packages/@azure/arm-advisor/README.md +++ b/packages/@azure/arm-advisor/README.md @@ -1,24 +1,34 @@ -# Azure AdvisorManagementClient SDK for JavaScript +## Azure AdvisorManagementClient SDK for JavaScript + This package contains an isomorphic SDK for AdvisorManagementClient. -## 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-advisor ``` +### How to use + +#### nodejs - Authentication, client creation and listBySubscription configurations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and listBySubscription configurations as an example written in TypeScript. +##### Sample code ```ts -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 { AdvisorManagementClient, AdvisorManagementModels, AdvisorManagementMappers } from "@azure/arm-advisor"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and listBySubscription configurations as an example written in JavaScript. +#### browser - Authentication, client creation and listBySubscription configurations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-advisor 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-advisor/lib/advisorManagementClient.ts b/packages/@azure/arm-advisor/lib/advisorManagementClient.ts index a264f695551e..643eaf226574 100644 --- a/packages/@azure/arm-advisor/lib/advisorManagementClient.ts +++ b/packages/@azure/arm-advisor/lib/advisorManagementClient.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-advisor/lib/advisorManagementClientContext.ts b/packages/@azure/arm-advisor/lib/advisorManagementClientContext.ts index 8944b075b419..82f5adb2547f 100644 --- a/packages/@azure/arm-advisor/lib/advisorManagementClientContext.ts +++ b/packages/@azure/arm-advisor/lib/advisorManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-advisor"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class AdvisorManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the AdvisorManagementClient class. @@ -44,6 +37,11 @@ export class AdvisorManagementClientContext extends msRestAzure.AzureServiceClie if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-04-19'; @@ -54,7 +52,6 @@ export class AdvisorManagementClientContext extends msRestAzure.AzureServiceClie this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-advisor/lib/models/index.ts b/packages/@azure/arm-advisor/lib/models/index.ts index b3a2dd31ec9a..21d9a82bd89e 100644 --- a/packages/@azure/arm-advisor/lib/models/index.ts +++ b/packages/@azure/arm-advisor/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -394,53 +394,27 @@ export interface SuppressionContractListResult extends Array"someUnknownValueThatWillStillBeValid"; + * Possible values include: 'HighAvailability', 'Security', 'Performance', 'Cost' * @readonly * @enum {string} */ -export enum Category { - HighAvailability = 'HighAvailability', - Security = 'Security', - Performance = 'Performance', - Cost = 'Cost', -} +export type Category = 'HighAvailability' | 'Security' | 'Performance' | 'Cost'; /** * Defines values for Impact. * Possible values include: 'High', 'Medium', 'Low' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Impact = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Impact { - High = 'High', - Medium = 'Medium', - Low = 'Low', -} +export type Impact = 'High' | 'Medium' | 'Low'; /** * Defines values for Risk. * Possible values include: 'Error', 'Warning', 'None' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Risk = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Risk { - Error = 'Error', - Warning = 'Warning', - None = 'None', -} +export type Risk = 'Error' | 'Warning' | 'None'; /** * Contains response data for the listBySubscription operation. diff --git a/packages/@azure/arm-advisor/lib/models/mappers.ts b/packages/@azure/arm-advisor/lib/models/mappers.ts index 9c9fd300d599..ffd0fb954f60 100644 --- a/packages/@azure/arm-advisor/lib/models/mappers.ts +++ b/packages/@azure/arm-advisor/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-advisor/lib/models/parameters.ts b/packages/@azure/arm-advisor/lib/models/parameters.ts index 286d580a8c30..4c86c5e6de44 100644 --- a/packages/@azure/arm-advisor/lib/models/parameters.ts +++ b/packages/@azure/arm-advisor/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-advisor/lib/operations/configurations.ts b/packages/@azure/arm-advisor/lib/operations/configurations.ts index 49b402ad74e0..91d1ae84a445 100644 --- a/packages/@azure/arm-advisor/lib/operations/configurations.ts +++ b/packages/@azure/arm-advisor/lib/operations/configurations.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/configurationsMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class Configurations { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -72,7 +72,7 @@ export class Configurations { * @param callback The callback */ createInSubscription(configContract: Models.ConfigData, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createInSubscription(configContract: Models.ConfigData, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createInSubscription(configContract: Models.ConfigData, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { configContract, @@ -100,7 +100,7 @@ export class Configurations { * @param callback The callback */ listByResourceGroup(resourceGroup: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroup: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroup: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroup, @@ -131,7 +131,7 @@ export class Configurations { * @param callback The callback */ createInResourceGroup(configContract: Models.ConfigData, resourceGroup: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createInResourceGroup(configContract: Models.ConfigData, resourceGroup: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createInResourceGroup(configContract: Models.ConfigData, resourceGroup: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { configContract, @@ -162,7 +162,7 @@ export class Configurations { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-advisor/lib/operations/operations.ts b/packages/@azure/arm-advisor/lib/operations/operations.ts index 78d441202340..8dccfa50fbeb 100644 --- a/packages/@azure/arm-advisor/lib/operations/operations.ts +++ b/packages/@azure/arm-advisor/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-advisor/lib/operations/recommendations.ts b/packages/@azure/arm-advisor/lib/operations/recommendations.ts index ba5b831de7d7..8ab48e349ad8 100644 --- a/packages/@azure/arm-advisor/lib/operations/recommendations.ts +++ b/packages/@azure/arm-advisor/lib/operations/recommendations.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/recommendationsMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class Recommendations { * @param callback The callback */ generate(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - generate(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + generate(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -75,7 +75,7 @@ export class Recommendations { * @param callback The callback */ getGenerateStatus(operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getGenerateStatus(operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getGenerateStatus(operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { operationId, @@ -101,7 +101,7 @@ export class Recommendations { * @param callback The callback */ list(options: Models.RecommendationsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.RecommendationsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.RecommendationsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -134,7 +134,7 @@ export class Recommendations { * @param callback The callback */ get(resourceUri: string, recommendationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceUri: string, recommendationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceUri: string, recommendationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, @@ -164,7 +164,7 @@ export class Recommendations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-advisor/lib/operations/suppressions.ts b/packages/@azure/arm-advisor/lib/operations/suppressions.ts index b950c2d4de15..e0ac5c30e4b7 100644 --- a/packages/@azure/arm-advisor/lib/operations/suppressions.ts +++ b/packages/@azure/arm-advisor/lib/operations/suppressions.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/suppressionsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class Suppressions { * @param callback The callback */ get(resourceUri: string, recommendationId: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceUri: string, recommendationId: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceUri: string, recommendationId: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, @@ -97,7 +97,7 @@ export class Suppressions { * @param callback The callback */ create(resourceUri: string, recommendationId: string, name: string, suppressionContract: Models.SuppressionContract, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceUri: string, recommendationId: string, name: string, suppressionContract: Models.SuppressionContract, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceUri: string, recommendationId: string, name: string, suppressionContract: Models.SuppressionContract, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, @@ -138,7 +138,7 @@ export class Suppressions { * @param callback The callback */ deleteMethod(resourceUri: string, recommendationId: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceUri: string, recommendationId: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceUri: string, recommendationId: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, @@ -166,7 +166,7 @@ export class Suppressions { * @param callback The callback */ list(options: Models.SuppressionsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.SuppressionsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.SuppressionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -194,7 +194,7 @@ export class Suppressions { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-advisor/package.json b/packages/@azure/arm-advisor/package.json index 56cdf9637c40..5afd2caee1d1 100644 --- a/packages/@azure/arm-advisor/package.json +++ b/packages/@azure/arm-advisor/package.json @@ -4,8 +4,8 @@ "description": "AdvisorManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-advisor.js.map'\" -o ./dist/arm-advisor.min.js ./dist/arm-advisor.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-advisor/rollup.config.js b/packages/@azure/arm-advisor/rollup.config.js index b5b72d81e488..19c4680fc09c 100644 --- a/packages/@azure/arm-advisor/rollup.config.js +++ b/packages/@azure/arm-advisor/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/advisorManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-advisor.js", format: "umd", name: "Azure.ArmAdvisor", 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-advisor/tsconfig.json b/packages/@azure/arm-advisor/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-advisor/tsconfig.json +++ b/packages/@azure/arm-advisor/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-analysisservices/.npmignore b/packages/@azure/arm-analysisservices/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-analysisservices/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-analysisservices/README.md b/packages/@azure/arm-analysisservices/README.md index 2681047e5520..6b1506abc46a 100644 --- a/packages/@azure/arm-analysisservices/README.md +++ b/packages/@azure/arm-analysisservices/README.md @@ -1,24 +1,34 @@ -# Azure AnalysisServicesManagementClient SDK for JavaScript +## Azure AnalysisServicesManagementClient SDK for JavaScript + This package contains an isomorphic SDK for AnalysisServicesManagementClient. -## 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-analysisservices ``` +### How to use + +#### nodejs - Authentication, client creation and getDetails servers as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and getDetails servers as an example written in TypeScript. +##### Sample code ```ts -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 { AnalysisServicesManagementClient, AnalysisServicesManagementModels, AnalysisServicesManagementMappers } from "@azure/arm-analysisservices"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and getDetails servers as an example written in JavaScript. +#### browser - Authentication, client creation and getDetails servers as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-analysisservices 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-analysisservices/lib/analysisServicesManagementClient.ts b/packages/@azure/arm-analysisservices/lib/analysisServicesManagementClient.ts index 5cf2a21fa146..2d67bb6378b1 100644 --- a/packages/@azure/arm-analysisservices/lib/analysisServicesManagementClient.ts +++ b/packages/@azure/arm-analysisservices/lib/analysisServicesManagementClient.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-analysisservices/lib/analysisServicesManagementClientContext.ts b/packages/@azure/arm-analysisservices/lib/analysisServicesManagementClientContext.ts index 5412d2dccb3e..2655345e5084 100644 --- a/packages/@azure/arm-analysisservices/lib/analysisServicesManagementClientContext.ts +++ b/packages/@azure/arm-analysisservices/lib/analysisServicesManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-analysisservices"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class AnalysisServicesManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the AnalysisServicesManagementClient class. @@ -45,6 +38,11 @@ export class AnalysisServicesManagementClientContext extends msRestAzure.AzureSe if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-08-01'; @@ -55,7 +53,6 @@ export class AnalysisServicesManagementClientContext extends msRestAzure.AzureSe this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-analysisservices/lib/models/index.ts b/packages/@azure/arm-analysisservices/lib/models/index.ts index a8ee829a7b3d..3f9e871bceee 100644 --- a/packages/@azure/arm-analysisservices/lib/models/index.ts +++ b/packages/@azure/arm-analysisservices/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -543,73 +543,28 @@ export interface OperationListResult extends Array { /** * Defines values for SkuTier. * Possible values include: 'Development', 'Basic', 'Standard' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuTier = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuTier { - Development = 'Development', - Basic = 'Basic', - Standard = 'Standard', -} +export type SkuTier = 'Development' | 'Basic' | 'Standard'; /** * Defines values for State. - * Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused', - * 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing', - * 'Resuming', 'Preparing', 'Scaling' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: State = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused', 'Suspended', + * 'Provisioning', 'Updating', 'Suspending', 'Pausing', 'Resuming', 'Preparing', 'Scaling' * @readonly * @enum {string} */ -export enum State { - Deleting = 'Deleting', - Succeeded = 'Succeeded', - Failed = 'Failed', - Paused = 'Paused', - Suspended = 'Suspended', - Provisioning = 'Provisioning', - Updating = 'Updating', - Suspending = 'Suspending', - Pausing = 'Pausing', - Resuming = 'Resuming', - Preparing = 'Preparing', - Scaling = 'Scaling', -} +export type State = 'Deleting' | 'Succeeded' | 'Failed' | 'Paused' | 'Suspended' | 'Provisioning' | 'Updating' | 'Suspending' | 'Pausing' | 'Resuming' | 'Preparing' | 'Scaling'; /** * Defines values for ProvisioningState. - * Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused', - * 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing', - * 'Resuming', 'Preparing', 'Scaling' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused', 'Suspended', + * 'Provisioning', 'Updating', 'Suspending', 'Pausing', 'Resuming', 'Preparing', 'Scaling' * @readonly * @enum {string} */ -export enum ProvisioningState { - Deleting = 'Deleting', - Succeeded = 'Succeeded', - Failed = 'Failed', - Paused = 'Paused', - Suspended = 'Suspended', - Provisioning = 'Provisioning', - Updating = 'Updating', - Suspending = 'Suspending', - Pausing = 'Pausing', - Resuming = 'Resuming', - Preparing = 'Preparing', - Scaling = 'Scaling', -} +export type ProvisioningState = 'Deleting' | 'Succeeded' | 'Failed' | 'Paused' | 'Suspended' | 'Provisioning' | 'Updating' | 'Suspending' | 'Pausing' | 'Resuming' | 'Preparing' | 'Scaling'; /** * Defines values for ConnectionMode. @@ -617,10 +572,7 @@ export enum ProvisioningState { * @readonly * @enum {string} */ -export enum ConnectionMode { - All = 'All', - ReadOnly = 'ReadOnly', -} +export type ConnectionMode = 'All' | 'ReadOnly'; /** * Defines values for Status. @@ -628,9 +580,7 @@ export enum ConnectionMode { * @readonly * @enum {string} */ -export enum Status { - Live = 'Live', -} +export type Status = 'Live'; /** * Contains response data for the getDetails operation. diff --git a/packages/@azure/arm-analysisservices/lib/models/mappers.ts b/packages/@azure/arm-analysisservices/lib/models/mappers.ts index ec62d376ff21..0a5ec0f18454 100644 --- a/packages/@azure/arm-analysisservices/lib/models/mappers.ts +++ b/packages/@azure/arm-analysisservices/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-analysisservices/lib/models/parameters.ts b/packages/@azure/arm-analysisservices/lib/models/parameters.ts index ace4ef6db6d0..f105f633287c 100644 --- a/packages/@azure/arm-analysisservices/lib/models/parameters.ts +++ b/packages/@azure/arm-analysisservices/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-analysisservices/lib/operations/operations.ts b/packages/@azure/arm-analysisservices/lib/operations/operations.ts index a8570528bd41..accd15e90fb1 100644 --- a/packages/@azure/arm-analysisservices/lib/operations/operations.ts +++ b/packages/@azure/arm-analysisservices/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-analysisservices/lib/operations/servers.ts b/packages/@azure/arm-analysisservices/lib/operations/servers.ts index 2154df9f151e..4229322d7bf1 100644 --- a/packages/@azure/arm-analysisservices/lib/operations/servers.ts +++ b/packages/@azure/arm-analysisservices/lib/operations/servers.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/serversMappers"; import * as Parameters from "../models/parameters"; @@ -54,7 +54,7 @@ export class Servers { * @param callback The callback */ getDetails(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDetails(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDetails(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -160,7 +160,7 @@ export class Servers { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -185,7 +185,7 @@ export class Servers { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -209,7 +209,7 @@ export class Servers { * @param callback The callback */ listSkusForNew(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSkusForNew(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSkusForNew(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -245,7 +245,7 @@ export class Servers { * @param callback The callback */ listSkusForExisting(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSkusForExisting(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSkusForExisting(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -280,7 +280,7 @@ export class Servers { * @param callback The callback */ listGatewayStatus(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listGatewayStatus(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listGatewayStatus(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -318,7 +318,7 @@ export class Servers { * @param callback The callback */ dissociateGateway(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - dissociateGateway(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + dissociateGateway(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -350,7 +350,7 @@ export class Servers { * @param callback The callback */ checkNameAvailability(location: string, serverParameters: Models.CheckServerNameAvailabilityParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(location: string, serverParameters: Models.CheckServerNameAvailabilityParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(location: string, serverParameters: Models.CheckServerNameAvailabilityParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -382,7 +382,7 @@ export class Servers { * @param callback The callback */ listOperationResults(location: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOperationResults(location: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOperationResults(location: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -414,7 +414,7 @@ export class Servers { * @param callback The callback */ listOperationStatuses(location: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOperationStatuses(location: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOperationStatuses(location: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, diff --git a/packages/@azure/arm-analysisservices/package.json b/packages/@azure/arm-analysisservices/package.json index d139712ff53b..92575f3ad53a 100644 --- a/packages/@azure/arm-analysisservices/package.json +++ b/packages/@azure/arm-analysisservices/package.json @@ -4,8 +4,8 @@ "description": "AnalysisServicesManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-analysisservices.js.map'\" -o ./dist/arm-analysisservices.min.js ./dist/arm-analysisservices.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-analysisservices/rollup.config.js b/packages/@azure/arm-analysisservices/rollup.config.js index 8bbe397c841c..757fa640e8e0 100644 --- a/packages/@azure/arm-analysisservices/rollup.config.js +++ b/packages/@azure/arm-analysisservices/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/analysisServicesManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-analysisservices.js", format: "umd", name: "Azure.ArmAnalysisservices", 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-analysisservices/tsconfig.json b/packages/@azure/arm-analysisservices/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-analysisservices/tsconfig.json +++ b/packages/@azure/arm-analysisservices/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-apimanagement/.npmignore b/packages/@azure/arm-apimanagement/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-apimanagement/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-apimanagement/README.md b/packages/@azure/arm-apimanagement/README.md index b76430ac2e4f..bb77bf0bdd00 100644 --- a/packages/@azure/arm-apimanagement/README.md +++ b/packages/@azure/arm-apimanagement/README.md @@ -1,24 +1,34 @@ -# Azure ApiManagementClient SDK for JavaScript +## Azure ApiManagementClient SDK for JavaScript + This package contains an isomorphic SDK for ApiManagementClient. -## 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-apimanagement ``` +### How to use + +#### nodejs - Authentication, client creation and listByService policy as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and listByService policy as an example written in TypeScript. +##### Sample code ```ts -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 { ApiManagementClient, ApiManagementModels, ApiManagementMappers } from "@azure/arm-apimanagement"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -36,7 +46,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and listByService policy as an example written in JavaScript. +#### browser - Authentication, client creation and listByService policy as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -45,11 +64,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-apimanagement 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-apimanagement/dist/arm-apimanagement.js b/packages/@azure/arm-apimanagement/dist/arm-apimanagement.js deleted file mode 100644 index 5ea0b257bc48..000000000000 --- a/packages/@azure/arm-apimanagement/dist/arm-apimanagement.js +++ /dev/null @@ -1,27566 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ms-rest-azure-js'), require('ms-rest-js')) : - typeof define === 'function' && define.amd ? define(['exports', 'ms-rest-azure-js', 'ms-rest-js'], factory) : - (factory((global.Azure = global.Azure || {}, global.Azure.ArmApimanagement = {}),global.msRestAzure,global.msRest)); -}(this, (function (exports,msRestAzure,msRest) { 'use strict'; - - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** - * Defines values for PolicyContentFormat. - * Possible values include: 'xml', 'xml-link', 'rawxml', 'rawxml-link' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PolicyContentFormat = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var PolicyContentFormat; - (function (PolicyContentFormat) { - /** - * The contents are inline and Content type is an XML document. - */ - PolicyContentFormat["Xml"] = "xml"; - /** - * The policy XML document is hosted on a http endpoint accessible from the - * API Management service. - */ - PolicyContentFormat["XmlLink"] = "xml-link"; - /** - * The contents are inline and Content type is a non XML encoded policy - * document. - */ - PolicyContentFormat["Rawxml"] = "rawxml"; - /** - * The policy document is not Xml encoded and is hosted on a http endpoint - * accessible from the API Management service. - */ - PolicyContentFormat["RawxmlLink"] = "rawxml-link"; - })(PolicyContentFormat || (PolicyContentFormat = {})); - /** - * Defines values for Protocol. - * Possible values include: 'http', 'https' - * @readonly - * @enum {string} - */ - var Protocol; - (function (Protocol) { - Protocol["Http"] = "http"; - Protocol["Https"] = "https"; - })(Protocol || (Protocol = {})); - /** - * Defines values for ContentFormat. - * Possible values include: 'wadl-xml', 'wadl-link-json', 'swagger-json', - * 'swagger-link-json', 'wsdl', 'wsdl-link' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ContentFormat = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var ContentFormat; - (function (ContentFormat) { - /** - * The contents are inline and Content type is a WADL document. - */ - ContentFormat["WadlXml"] = "wadl-xml"; - /** - * The WADL document is hosted on a publicly accessible internet address. - */ - ContentFormat["WadlLinkJson"] = "wadl-link-json"; - /** - * The contents are inline and Content Type is a OpenApi 2.0 Document. - */ - ContentFormat["SwaggerJson"] = "swagger-json"; - /** - * The Open Api 2.0 document is hosted on a publicly accessible internet - * address. - */ - ContentFormat["SwaggerLinkJson"] = "swagger-link-json"; - /** - * The contents are inline and the document is a WSDL/Soap document. - */ - ContentFormat["Wsdl"] = "wsdl"; - /** - * The WSDL document is hosted on a publicly accessible internet address. - */ - ContentFormat["WsdlLink"] = "wsdl-link"; - })(ContentFormat || (ContentFormat = {})); - /** - * Defines values for SoapApiType. - * Possible values include: 'SoapToRest', 'SoapPassThrough' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SoapApiType = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var SoapApiType; - (function (SoapApiType) { - /** - * Imports a SOAP API having a RESTful front end. - */ - SoapApiType["SoapToRest"] = "http"; - /** - * Imports the Soap API having a SOAP front end. - */ - SoapApiType["SoapPassThrough"] = "soap"; - })(SoapApiType || (SoapApiType = {})); - /** - * Defines values for BearerTokenSendingMethods. - * Possible values include: 'authorizationHeader', 'query' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BearerTokenSendingMethods = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var BearerTokenSendingMethods; - (function (BearerTokenSendingMethods) { - /** - * Access token will be transmitted in the Authorization header using Bearer - * schema - */ - BearerTokenSendingMethods["AuthorizationHeader"] = "authorizationHeader"; - /** - * Access token will be transmitted as query parameters. - */ - BearerTokenSendingMethods["Query"] = "query"; - })(BearerTokenSendingMethods || (BearerTokenSendingMethods = {})); - /** - * Defines values for ApiType. - * Possible values include: 'http', 'soap' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApiType = "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var ApiType; - (function (ApiType) { - ApiType["Http"] = "http"; - ApiType["Soap"] = "soap"; - })(ApiType || (ApiType = {})); - /** - * Defines values for State. - * Possible values include: 'proposed', 'open', 'removed', 'resolved', 'closed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: State = "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var State; - (function (State) { - /** - * The issue is proposed. - */ - State["Proposed"] = "proposed"; - /** - * The issue is opened. - */ - State["Open"] = "open"; - /** - * The issue was removed. - */ - State["Removed"] = "removed"; - /** - * The issue is now resolved. - */ - State["Resolved"] = "resolved"; - /** - * The issue was closed. - */ - State["Closed"] = "closed"; - })(State || (State = {})); - /** - * Defines values for LoggerType. - * Possible values include: 'azureEventHub', 'applicationInsights' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: LoggerType = "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var LoggerType; - (function (LoggerType) { - /** - * Azure Event Hub as log destination. - */ - LoggerType["AzureEventHub"] = "azureEventHub"; - /** - * Azure Application Insights as log destination. - */ - LoggerType["ApplicationInsights"] = "applicationInsights"; - })(LoggerType || (LoggerType = {})); - /** - * Defines values for ProductState. - * Possible values include: 'notPublished', 'published' - * @readonly - * @enum {string} - */ - var ProductState; - (function (ProductState) { - ProductState["NotPublished"] = "notPublished"; - ProductState["Published"] = "published"; - })(ProductState || (ProductState = {})); - /** - * Defines values for GrantType. - * Possible values include: 'authorizationCode', 'implicit', - * 'resourceOwnerPassword', 'clientCredentials' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: GrantType = "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var GrantType; - (function (GrantType) { - /** - * Authorization Code Grant flow as described - * https://tools.ietf.org/html/rfc6749#section-4.1. - */ - GrantType["AuthorizationCode"] = "authorizationCode"; - /** - * Implicit Code Grant flow as described - * https://tools.ietf.org/html/rfc6749#section-4.2. - */ - GrantType["Implicit"] = "implicit"; - /** - * Resource Owner Password Grant flow as described - * https://tools.ietf.org/html/rfc6749#section-4.3. - */ - GrantType["ResourceOwnerPassword"] = "resourceOwnerPassword"; - /** - * Client Credentials Grant flow as described - * https://tools.ietf.org/html/rfc6749#section-4.4. - */ - GrantType["ClientCredentials"] = "clientCredentials"; - })(GrantType || (GrantType = {})); - /** - * Defines values for AuthorizationMethod. - * Possible values include: 'HEAD', 'OPTIONS', 'TRACE', 'GET', 'POST', 'PUT', - * 'PATCH', 'DELETE' - * @readonly - * @enum {string} - */ - var AuthorizationMethod; - (function (AuthorizationMethod) { - AuthorizationMethod["HEAD"] = "HEAD"; - AuthorizationMethod["OPTIONS"] = "OPTIONS"; - AuthorizationMethod["TRACE"] = "TRACE"; - AuthorizationMethod["GET"] = "GET"; - AuthorizationMethod["POST"] = "POST"; - AuthorizationMethod["PUT"] = "PUT"; - AuthorizationMethod["PATCH"] = "PATCH"; - AuthorizationMethod["DELETE"] = "DELETE"; - })(AuthorizationMethod || (AuthorizationMethod = {})); - /** - * Defines values for ClientAuthenticationMethod. - * Possible values include: 'Basic', 'Body' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ClientAuthenticationMethod = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var ClientAuthenticationMethod; - (function (ClientAuthenticationMethod) { - /** - * Basic Client Authentication method. - */ - ClientAuthenticationMethod["Basic"] = "Basic"; - /** - * Body based Authentication method. - */ - ClientAuthenticationMethod["Body"] = "Body"; - })(ClientAuthenticationMethod || (ClientAuthenticationMethod = {})); - /** - * Defines values for BearerTokenSendingMethod. - * Possible values include: 'authorizationHeader', 'query' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BearerTokenSendingMethod = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var BearerTokenSendingMethod; - (function (BearerTokenSendingMethod) { - BearerTokenSendingMethod["AuthorizationHeader"] = "authorizationHeader"; - BearerTokenSendingMethod["Query"] = "query"; - })(BearerTokenSendingMethod || (BearerTokenSendingMethod = {})); - /** - * Defines values for BackendProtocol. - * Possible values include: 'http', 'soap' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BackendProtocol = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var BackendProtocol; - (function (BackendProtocol) { - /** - * The Backend is a RESTful service. - */ - BackendProtocol["Http"] = "http"; - /** - * The Backend is a SOAP service. - */ - BackendProtocol["Soap"] = "soap"; - })(BackendProtocol || (BackendProtocol = {})); - /** - * Defines values for HostnameType. - * Possible values include: 'Proxy', 'Portal', 'Management', 'Scm' - * @readonly - * @enum {string} - */ - var HostnameType; - (function (HostnameType) { - HostnameType["Proxy"] = "Proxy"; - HostnameType["Portal"] = "Portal"; - HostnameType["Management"] = "Management"; - HostnameType["Scm"] = "Scm"; - })(HostnameType || (HostnameType = {})); - /** - * Defines values for SkuType. - * Possible values include: 'Developer', 'Standard', 'Premium', 'Basic' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuType = "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var SkuType; - (function (SkuType) { - /** - * Developer SKU of Api Management. - */ - SkuType["Developer"] = "Developer"; - /** - * Standard SKU of Api Management. - */ - SkuType["Standard"] = "Standard"; - /** - * Premium SKU of Api Management. - */ - SkuType["Premium"] = "Premium"; - /** - * Basic SKU of Api Management. - */ - SkuType["Basic"] = "Basic"; - })(SkuType || (SkuType = {})); - /** - * Defines values for VirtualNetworkType. - * Possible values include: 'None', 'External', 'Internal' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: VirtualNetworkType = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var VirtualNetworkType; - (function (VirtualNetworkType) { - /** - * The service is not part of any Virtual Network. - */ - VirtualNetworkType["None"] = "None"; - /** - * The service is part of Virtual Network and it is accessible from Internet. - */ - VirtualNetworkType["External"] = "External"; - /** - * The service is part of Virtual Network and it is only accessible from - * within the virtual network. - */ - VirtualNetworkType["Internal"] = "Internal"; - })(VirtualNetworkType || (VirtualNetworkType = {})); - /** - * Defines values for NameAvailabilityReason. - * Possible values include: 'Valid', 'Invalid', 'AlreadyExists' - * @readonly - * @enum {string} - */ - var NameAvailabilityReason; - (function (NameAvailabilityReason) { - NameAvailabilityReason["Valid"] = "Valid"; - NameAvailabilityReason["Invalid"] = "Invalid"; - NameAvailabilityReason["AlreadyExists"] = "AlreadyExists"; - })(NameAvailabilityReason || (NameAvailabilityReason = {})); - /** - * Defines values for GroupType. - * Possible values include: 'custom', 'system', 'external' - * @readonly - * @enum {string} - */ - var GroupType; - (function (GroupType) { - GroupType["Custom"] = "custom"; - GroupType["System"] = "system"; - GroupType["External"] = "external"; - })(GroupType || (GroupType = {})); - /** - * Defines values for Confirmation. - * Possible values include: 'signup', 'invite' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Confirmation = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var Confirmation; - (function (Confirmation) { - /** - * Send an e-mail to the user confirming they have successfully signed up. - */ - Confirmation["Signup"] = "signup"; - /** - * Send an e-mail inviting the user to sign-up and complete registration. - */ - Confirmation["Invite"] = "invite"; - })(Confirmation || (Confirmation = {})); - /** - * Defines values for UserState. - * Possible values include: 'active', 'blocked', 'pending', 'deleted' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UserState = "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var UserState; - (function (UserState) { - /** - * User state is active. - */ - UserState["Active"] = "active"; - /** - * User is blocked. Blocked users cannot authenticate at developer portal or - * call API. - */ - UserState["Blocked"] = "blocked"; - /** - * User account is pending. Requires identity confirmation before it can be - * made active. - */ - UserState["Pending"] = "pending"; - /** - * User account is closed. All identities and related entities are removed. - */ - UserState["Deleted"] = "deleted"; - })(UserState || (UserState = {})); - /** - * Defines values for IdentityProviderType. - * Possible values include: 'facebook', 'google', 'microsoft', 'twitter', - * 'aad', 'aadB2C' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: IdentityProviderType = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var IdentityProviderType; - (function (IdentityProviderType) { - /** - * Facebook as Identity provider. - */ - IdentityProviderType["Facebook"] = "facebook"; - /** - * Google as Identity provider. - */ - IdentityProviderType["Google"] = "google"; - /** - * Microsoft Live as Identity provider. - */ - IdentityProviderType["Microsoft"] = "microsoft"; - /** - * Twitter as Identity provider. - */ - IdentityProviderType["Twitter"] = "twitter"; - /** - * Azure Active Directory as Identity provider. - */ - IdentityProviderType["Aad"] = "aad"; - /** - * Azure Active Directory B2C as Identity provider. - */ - IdentityProviderType["AadB2C"] = "aadB2C"; - })(IdentityProviderType || (IdentityProviderType = {})); - /** - * Defines values for ConnectivityStatusType. - * Possible values include: 'initializing', 'success', 'failure' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ConnectivityStatusType = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var ConnectivityStatusType; - (function (ConnectivityStatusType) { - ConnectivityStatusType["Initializing"] = "initializing"; - ConnectivityStatusType["Success"] = "success"; - ConnectivityStatusType["Failure"] = "failure"; - })(ConnectivityStatusType || (ConnectivityStatusType = {})); - /** - * Defines values for SubscriptionState. - * Possible values include: 'suspended', 'active', 'expired', 'submitted', - * 'rejected', 'cancelled' - * @readonly - * @enum {string} - */ - var SubscriptionState; - (function (SubscriptionState) { - SubscriptionState["Suspended"] = "suspended"; - SubscriptionState["Active"] = "active"; - SubscriptionState["Expired"] = "expired"; - SubscriptionState["Submitted"] = "submitted"; - SubscriptionState["Rejected"] = "rejected"; - SubscriptionState["Cancelled"] = "cancelled"; - })(SubscriptionState || (SubscriptionState = {})); - /** - * Defines values for AsyncOperationStatus. - * Possible values include: 'Started', 'InProgress', 'Succeeded', 'Failed' - * @readonly - * @enum {string} - */ - var AsyncOperationStatus; - (function (AsyncOperationStatus) { - AsyncOperationStatus["Started"] = "Started"; - AsyncOperationStatus["InProgress"] = "InProgress"; - AsyncOperationStatus["Succeeded"] = "Succeeded"; - AsyncOperationStatus["Failed"] = "Failed"; - })(AsyncOperationStatus || (AsyncOperationStatus = {})); - /** - * Defines values for KeyType. - * Possible values include: 'primary', 'secondary' - * @readonly - * @enum {string} - */ - var KeyType; - (function (KeyType) { - KeyType["Primary"] = "primary"; - KeyType["Secondary"] = "secondary"; - })(KeyType || (KeyType = {})); - /** - * Defines values for VersioningScheme. - * Possible values include: 'Segment', 'Query', 'Header' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: VersioningScheme = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var VersioningScheme; - (function (VersioningScheme) { - /** - * The API Version is passed in a path segment. - */ - VersioningScheme["Segment"] = "Segment"; - /** - * The API Version is passed in a query parameter. - */ - VersioningScheme["Query"] = "Query"; - /** - * The API Version is passed in a HTTP header. - */ - VersioningScheme["Header"] = "Header"; - })(VersioningScheme || (VersioningScheme = {})); - /** - * Defines values for TemplateName. - * Possible values include: 'applicationApprovedNotificationMessage', - * 'accountClosedDeveloper', - * 'quotaLimitApproachingDeveloperNotificationMessage', - * 'newDeveloperNotificationMessage', 'emailChangeIdentityDefault', - * 'inviteUserNotificationMessage', 'newCommentNotificationMessage', - * 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', - * 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', - * 'passwordResetByAdminNotificationMessage', - * 'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TemplateName = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var TemplateName; - (function (TemplateName) { - TemplateName["ApplicationApprovedNotificationMessage"] = "applicationApprovedNotificationMessage"; - TemplateName["AccountClosedDeveloper"] = "accountClosedDeveloper"; - TemplateName["QuotaLimitApproachingDeveloperNotificationMessage"] = "quotaLimitApproachingDeveloperNotificationMessage"; - TemplateName["NewDeveloperNotificationMessage"] = "newDeveloperNotificationMessage"; - TemplateName["EmailChangeIdentityDefault"] = "emailChangeIdentityDefault"; - TemplateName["InviteUserNotificationMessage"] = "inviteUserNotificationMessage"; - TemplateName["NewCommentNotificationMessage"] = "newCommentNotificationMessage"; - TemplateName["ConfirmSignUpIdentityDefault"] = "confirmSignUpIdentityDefault"; - TemplateName["NewIssueNotificationMessage"] = "newIssueNotificationMessage"; - TemplateName["PurchaseDeveloperNotificationMessage"] = "purchaseDeveloperNotificationMessage"; - TemplateName["PasswordResetIdentityDefault"] = "passwordResetIdentityDefault"; - TemplateName["PasswordResetByAdminNotificationMessage"] = "passwordResetByAdminNotificationMessage"; - TemplateName["RejectDeveloperNotificationMessage"] = "rejectDeveloperNotificationMessage"; - TemplateName["RequestDeveloperNotificationMessage"] = "requestDeveloperNotificationMessage"; - })(TemplateName || (TemplateName = {})); - /** - * Defines values for NotificationName. - * Possible values include: 'RequestPublisherNotificationMessage', - * 'PurchasePublisherNotificationMessage', 'NewApplicationNotificationMessage', - * 'BCC', 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', - * 'QuotaLimitApproachingPublisherNotificationMessage' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NotificationName = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var NotificationName; - (function (NotificationName) { - /** - * The following email recipients and users will receive email notifications - * about subscription requests for API products requiring approval. - */ - NotificationName["RequestPublisherNotificationMessage"] = "RequestPublisherNotificationMessage"; - /** - * The following email recipients and users will receive email notifications - * about new API product subscriptions. - */ - NotificationName["PurchasePublisherNotificationMessage"] = "PurchasePublisherNotificationMessage"; - /** - * The following email recipients and users will receive email notifications - * when new applications are submitted to the application gallery. - */ - NotificationName["NewApplicationNotificationMessage"] = "NewApplicationNotificationMessage"; - /** - * The following recipients will receive blind carbon copies of all emails - * sent to developers. - */ - NotificationName["BCC"] = "BCC"; - /** - * The following email recipients and users will receive email notifications - * when a new issue or comment is submitted on the developer portal. - */ - NotificationName["NewIssuePublisherNotificationMessage"] = "NewIssuePublisherNotificationMessage"; - /** - * The following email recipients and users will receive email notifications - * when developer closes his account. - */ - NotificationName["AccountClosedPublisher"] = "AccountClosedPublisher"; - /** - * The following email recipients and users will receive email notifications - * when subscription usage gets close to usage quota. - */ - NotificationName["QuotaLimitApproachingPublisherNotificationMessage"] = "QuotaLimitApproachingPublisherNotificationMessage"; - })(NotificationName || (NotificationName = {})); - /** - * Defines values for PolicyScopeContract. - * Possible values include: 'Tenant', 'Product', 'Api', 'Operation', 'All' - * @readonly - * @enum {string} - */ - var PolicyScopeContract; - (function (PolicyScopeContract) { - PolicyScopeContract["Tenant"] = "Tenant"; - PolicyScopeContract["Product"] = "Product"; - PolicyScopeContract["Api"] = "Api"; - PolicyScopeContract["Operation"] = "Operation"; - PolicyScopeContract["All"] = "All"; - })(PolicyScopeContract || (PolicyScopeContract = {})); - /** - * Defines values for ExportFormat. - * Possible values include: 'Swagger', 'Wsdl', 'Wadl' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ExportFormat = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var ExportFormat; - (function (ExportFormat) { - /** - * Export the Api Definition in OpenApi Specification 2.0 format to the - * Storage Blob. - */ - ExportFormat["Swagger"] = "swagger-link"; - /** - * Export the Api Definition in WSDL Schema to Storage Blob. This is only - * supported for APIs of Type `soap` - */ - ExportFormat["Wsdl"] = "wsdl-link"; - /** - * Export the Api Definition in WADL Schema to Storage Blob. - */ - ExportFormat["Wadl"] = "wadl-link"; - })(ExportFormat || (ExportFormat = {})); - /** - * Defines values for VersioningScheme1. - * Possible values include: 'Segment', 'Query', 'Header' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: VersioningScheme1 = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var VersioningScheme1; - (function (VersioningScheme1) { - VersioningScheme1["Segment"] = "Segment"; - VersioningScheme1["Query"] = "Query"; - VersioningScheme1["Header"] = "Header"; - })(VersioningScheme1 || (VersioningScheme1 = {})); - /** - * Defines values for StoreName. - * Possible values include: 'CertificateAuthority', 'Root' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: StoreName = "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ - var StoreName; - (function (StoreName) { - StoreName["CertificateAuthority"] = "CertificateAuthority"; - StoreName["Root"] = "Root"; - })(StoreName || (StoreName = {})); - - var index = /*#__PURE__*/Object.freeze({ - get PolicyContentFormat () { return PolicyContentFormat; }, - get Protocol () { return Protocol; }, - get ContentFormat () { return ContentFormat; }, - get SoapApiType () { return SoapApiType; }, - get BearerTokenSendingMethods () { return BearerTokenSendingMethods; }, - get ApiType () { return ApiType; }, - get State () { return State; }, - get LoggerType () { return LoggerType; }, - get ProductState () { return ProductState; }, - get GrantType () { return GrantType; }, - get AuthorizationMethod () { return AuthorizationMethod; }, - get ClientAuthenticationMethod () { return ClientAuthenticationMethod; }, - get BearerTokenSendingMethod () { return BearerTokenSendingMethod; }, - get BackendProtocol () { return BackendProtocol; }, - get HostnameType () { return HostnameType; }, - get SkuType () { return SkuType; }, - get VirtualNetworkType () { return VirtualNetworkType; }, - get NameAvailabilityReason () { return NameAvailabilityReason; }, - get GroupType () { return GroupType; }, - get Confirmation () { return Confirmation; }, - get UserState () { return UserState; }, - get IdentityProviderType () { return IdentityProviderType; }, - get ConnectivityStatusType () { return ConnectivityStatusType; }, - get SubscriptionState () { return SubscriptionState; }, - get AsyncOperationStatus () { return AsyncOperationStatus; }, - get KeyType () { return KeyType; }, - get VersioningScheme () { return VersioningScheme; }, - get TemplateName () { return TemplateName; }, - get NotificationName () { return NotificationName; }, - get PolicyScopeContract () { return PolicyScopeContract; }, - get ExportFormat () { return ExportFormat; }, - get VersioningScheme1 () { return VersioningScheme1; }, - get StoreName () { return StoreName; } - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - var CloudError = msRestAzure.CloudErrorMapper; - var BaseResource = msRestAzure.BaseResourceMapper; - var ErrorFieldContract = { - serializedName: "ErrorFieldContract", - type: { - name: "Composite", - className: "ErrorFieldContract", - modelProperties: { - code: { - serializedName: "code", - type: { - name: "String" - } - }, - message: { - serializedName: "message", - type: { - name: "String" - } - }, - target: { - serializedName: "target", - type: { - name: "String" - } - } - } - } - }; - var ErrorResponseBody = { - serializedName: "ErrorResponseBody", - type: { - name: "Composite", - className: "ErrorResponseBody", - modelProperties: { - code: { - serializedName: "code", - type: { - name: "String" - } - }, - message: { - serializedName: "message", - type: { - name: "String" - } - }, - details: { - serializedName: "details", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorFieldContract" - } - } - } - } - } - } - }; - var ErrorResponse = { - serializedName: "ErrorResponse", - type: { - name: "Composite", - className: "ErrorResponse", - modelProperties: { - code: { - serializedName: "error.code", - type: { - name: "String" - } - }, - message: { - serializedName: "error.message", - type: { - name: "String" - } - }, - details: { - serializedName: "error.details", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorFieldContract" - } - } - } - } - } - } - }; - var Resource = { - serializedName: "Resource", - type: { - name: "Composite", - className: "Resource", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - } - } - } - }; - var PolicyContract = { - serializedName: "PolicyContract", - type: { - name: "Composite", - className: "PolicyContract", - modelProperties: __assign({}, Resource.type.modelProperties, { policyContent: { - required: true, - serializedName: "properties.policyContent", - type: { - name: "String" - } - }, contentFormat: { - serializedName: "properties.contentFormat", - defaultValue: 'xml', - type: { - name: "String" - } - } }) - } - }; - var PolicyCollection = { - serializedName: "PolicyCollection", - type: { - name: "Composite", - className: "PolicyCollection", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PolicyContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var PolicySnippetContract = { - serializedName: "PolicySnippetContract", - type: { - name: "Composite", - className: "PolicySnippetContract", - modelProperties: { - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - content: { - readOnly: true, - serializedName: "content", - type: { - name: "String" - } - }, - toolTip: { - readOnly: true, - serializedName: "toolTip", - type: { - name: "String" - } - }, - scope: { - readOnly: true, - serializedName: "scope", - type: { - name: "Number" - } - } - } - } - }; - var PolicySnippetsCollection = { - serializedName: "PolicySnippetsCollection", - type: { - name: "Composite", - className: "PolicySnippetsCollection", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PolicySnippetContract" - } - } - } - } - } - } - }; - var RegionContract = { - serializedName: "RegionContract", - type: { - name: "Composite", - className: "RegionContract", - modelProperties: { - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - isMasterRegion: { - serializedName: "isMasterRegion", - type: { - name: "Boolean" - } - }, - isDeleted: { - serializedName: "isDeleted", - type: { - name: "Boolean" - } - } - } - } - }; - var ApiExportResult = { - serializedName: "ApiExportResult", - type: { - name: "Composite", - className: "ApiExportResult", - modelProperties: { - link: { - serializedName: "link", - type: { - name: "String" - } - } - } - } - }; - var ApiVersionSetContractDetails = { - serializedName: "ApiVersionSetContractDetails", - type: { - name: "Composite", - className: "ApiVersionSetContractDetails", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - }, - versioningScheme: { - serializedName: "versioningScheme", - type: { - name: "String" - } - }, - versionQueryName: { - serializedName: "versionQueryName", - type: { - name: "String" - } - }, - versionHeaderName: { - serializedName: "versionHeaderName", - type: { - name: "String" - } - } - } - } - }; - var ApiEntityBaseContract = { - serializedName: "ApiEntityBaseContract", - type: { - name: "Composite", - className: "ApiEntityBaseContract", - modelProperties: { - description: { - serializedName: "description", - type: { - name: "String" - } - }, - authenticationSettings: { - serializedName: "authenticationSettings", - type: { - name: "Composite", - className: "AuthenticationSettingsContract" - } - }, - subscriptionKeyParameterNames: { - serializedName: "subscriptionKeyParameterNames", - type: { - name: "Composite", - className: "SubscriptionKeyParameterNamesContract" - } - }, - apiType: { - serializedName: "type", - type: { - name: "String" - } - }, - apiRevision: { - serializedName: "apiRevision", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, - apiVersion: { - serializedName: "apiVersion", - constraints: { - MaxLength: 100 - }, - type: { - name: "String" - } - }, - isCurrent: { - readOnly: true, - serializedName: "isCurrent", - type: { - name: "Boolean" - } - }, - isOnline: { - readOnly: true, - serializedName: "isOnline", - type: { - name: "Boolean" - } - }, - apiRevisionDescription: { - serializedName: "apiRevisionDescription", - constraints: { - MaxLength: 256 - }, - type: { - name: "String" - } - }, - apiVersionDescription: { - serializedName: "apiVersionDescription", - constraints: { - MaxLength: 256 - }, - type: { - name: "String" - } - }, - apiVersionSetId: { - serializedName: "apiVersionSetId", - type: { - name: "String" - } - } - } - } - }; - var ApiContractProperties = { - serializedName: "ApiContractProperties", - type: { - name: "Composite", - className: "ApiContractProperties", - modelProperties: __assign({}, ApiEntityBaseContract.type.modelProperties, { displayName: { - serializedName: "displayName", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - }, serviceUrl: { - serializedName: "serviceUrl", - constraints: { - MaxLength: 2000, - MinLength: 0 - }, - type: { - name: "String" - } - }, path: { - required: true, - serializedName: "path", - constraints: { - MaxLength: 400, - MinLength: 0 - }, - type: { - name: "String" - } - }, protocols: { - serializedName: "protocols", - type: { - name: "Sequence", - element: { - type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] - } - } - } - }, apiVersionSet: { - serializedName: "apiVersionSet", - type: { - name: "Composite", - className: "ApiVersionSetContractDetails" - } - } }) - } - }; - var ApiContract = { - serializedName: "ApiContract", - type: { - name: "Composite", - className: "ApiContract", - modelProperties: __assign({}, Resource.type.modelProperties, { description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, authenticationSettings: { - serializedName: "properties.authenticationSettings", - type: { - name: "Composite", - className: "AuthenticationSettingsContract" - } - }, subscriptionKeyParameterNames: { - serializedName: "properties.subscriptionKeyParameterNames", - type: { - name: "Composite", - className: "SubscriptionKeyParameterNamesContract" - } - }, apiType: { - serializedName: "properties.type", - type: { - name: "String" - } - }, apiRevision: { - serializedName: "properties.apiRevision", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, apiVersion: { - serializedName: "properties.apiVersion", - constraints: { - MaxLength: 100 - }, - type: { - name: "String" - } - }, isCurrent: { - readOnly: true, - serializedName: "properties.isCurrent", - type: { - name: "Boolean" - } - }, isOnline: { - readOnly: true, - serializedName: "properties.isOnline", - type: { - name: "Boolean" - } - }, apiRevisionDescription: { - serializedName: "properties.apiRevisionDescription", - constraints: { - MaxLength: 256 - }, - type: { - name: "String" - } - }, apiVersionDescription: { - serializedName: "properties.apiVersionDescription", - constraints: { - MaxLength: 256 - }, - type: { - name: "String" - } - }, apiVersionSetId: { - serializedName: "properties.apiVersionSetId", - type: { - name: "String" - } - }, displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - }, serviceUrl: { - serializedName: "properties.serviceUrl", - constraints: { - MaxLength: 2000, - MinLength: 0 - }, - type: { - name: "String" - } - }, path: { - required: true, - serializedName: "properties.path", - constraints: { - MaxLength: 400, - MinLength: 0 - }, - type: { - name: "String" - } - }, protocols: { - serializedName: "properties.protocols", - type: { - name: "Sequence", - element: { - type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] - } - } - } - }, apiVersionSet: { - serializedName: "properties.apiVersionSet", - type: { - name: "Composite", - className: "ApiVersionSetContractDetails" - } - } }) - } - }; - var ApiCreateOrUpdatePropertiesWsdlSelector = { - serializedName: "ApiCreateOrUpdateProperties_wsdlSelector", - type: { - name: "Composite", - className: "ApiCreateOrUpdatePropertiesWsdlSelector", - modelProperties: { - wsdlServiceName: { - serializedName: "wsdlServiceName", - type: { - name: "String" - } - }, - wsdlEndpointName: { - serializedName: "wsdlEndpointName", - type: { - name: "String" - } - } - } - } - }; - var ApiCreateOrUpdateParameter = { - serializedName: "ApiCreateOrUpdateParameter", - type: { - name: "Composite", - className: "ApiCreateOrUpdateParameter", - modelProperties: { - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - authenticationSettings: { - serializedName: "properties.authenticationSettings", - type: { - name: "Composite", - className: "AuthenticationSettingsContract" - } - }, - subscriptionKeyParameterNames: { - serializedName: "properties.subscriptionKeyParameterNames", - type: { - name: "Composite", - className: "SubscriptionKeyParameterNamesContract" - } - }, - apiType: { - serializedName: "properties.type", - type: { - name: "String" - } - }, - apiRevision: { - serializedName: "properties.apiRevision", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, - apiVersion: { - serializedName: "properties.apiVersion", - constraints: { - MaxLength: 100 - }, - type: { - name: "String" - } - }, - isCurrent: { - readOnly: true, - serializedName: "properties.isCurrent", - type: { - name: "Boolean" - } - }, - isOnline: { - readOnly: true, - serializedName: "properties.isOnline", - type: { - name: "Boolean" - } - }, - apiRevisionDescription: { - serializedName: "properties.apiRevisionDescription", - constraints: { - MaxLength: 256 - }, - type: { - name: "String" - } - }, - apiVersionDescription: { - serializedName: "properties.apiVersionDescription", - constraints: { - MaxLength: 256 - }, - type: { - name: "String" - } - }, - apiVersionSetId: { - serializedName: "properties.apiVersionSetId", - type: { - name: "String" - } - }, - displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - }, - serviceUrl: { - serializedName: "properties.serviceUrl", - constraints: { - MaxLength: 2000, - MinLength: 0 - }, - type: { - name: "String" - } - }, - path: { - required: true, - serializedName: "properties.path", - constraints: { - MaxLength: 400, - MinLength: 0 - }, - type: { - name: "String" - } - }, - protocols: { - serializedName: "properties.protocols", - type: { - name: "Sequence", - element: { - type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] - } - } - } - }, - apiVersionSet: { - serializedName: "properties.apiVersionSet", - type: { - name: "Composite", - className: "ApiVersionSetContractDetails" - } - }, - contentValue: { - serializedName: "properties.contentValue", - type: { - name: "String" - } - }, - contentFormat: { - serializedName: "properties.contentFormat", - type: { - name: "String" - } - }, - wsdlSelector: { - serializedName: "properties.wsdlSelector", - type: { - name: "Composite", - className: "ApiCreateOrUpdatePropertiesWsdlSelector" - } - }, - soapApiType: { - serializedName: "properties.apiType", - type: { - name: "String" - } - } - } - } - }; - var ApiUpdateContract = { - serializedName: "ApiUpdateContract", - type: { - name: "Composite", - className: "ApiUpdateContract", - modelProperties: { - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - authenticationSettings: { - serializedName: "properties.authenticationSettings", - type: { - name: "Composite", - className: "AuthenticationSettingsContract" - } - }, - subscriptionKeyParameterNames: { - serializedName: "properties.subscriptionKeyParameterNames", - type: { - name: "Composite", - className: "SubscriptionKeyParameterNamesContract" - } - }, - apiType: { - serializedName: "properties.type", - type: { - name: "String" - } - }, - apiRevision: { - serializedName: "properties.apiRevision", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, - apiVersion: { - serializedName: "properties.apiVersion", - constraints: { - MaxLength: 100 - }, - type: { - name: "String" - } - }, - isCurrent: { - readOnly: true, - serializedName: "properties.isCurrent", - type: { - name: "Boolean" - } - }, - isOnline: { - readOnly: true, - serializedName: "properties.isOnline", - type: { - name: "Boolean" - } - }, - apiRevisionDescription: { - serializedName: "properties.apiRevisionDescription", - constraints: { - MaxLength: 256 - }, - type: { - name: "String" - } - }, - apiVersionDescription: { - serializedName: "properties.apiVersionDescription", - constraints: { - MaxLength: 256 - }, - type: { - name: "String" - } - }, - apiVersionSetId: { - serializedName: "properties.apiVersionSetId", - type: { - name: "String" - } - }, - displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - }, - serviceUrl: { - serializedName: "properties.serviceUrl", - constraints: { - MaxLength: 2000, - MinLength: 1 - }, - type: { - name: "String" - } - }, - path: { - serializedName: "properties.path", - constraints: { - MaxLength: 400, - MinLength: 0 - }, - type: { - name: "String" - } - }, - protocols: { - serializedName: "properties.protocols", - type: { - name: "Sequence", - element: { - type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] - } - } - } - } - } - } - }; - var OAuth2AuthenticationSettingsContract = { - serializedName: "OAuth2AuthenticationSettingsContract", - type: { - name: "Composite", - className: "OAuth2AuthenticationSettingsContract", - modelProperties: { - authorizationServerId: { - serializedName: "authorizationServerId", - type: { - name: "String" - } - }, - scope: { - serializedName: "scope", - type: { - name: "String" - } - } - } - } - }; - var OpenIdAuthenticationSettingsContract = { - serializedName: "OpenIdAuthenticationSettingsContract", - type: { - name: "Composite", - className: "OpenIdAuthenticationSettingsContract", - modelProperties: { - openidProviderId: { - serializedName: "openidProviderId", - type: { - name: "String" - } - }, - bearerTokenSendingMethods: { - serializedName: "bearerTokenSendingMethods", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } - }; - var AuthenticationSettingsContract = { - serializedName: "AuthenticationSettingsContract", - type: { - name: "Composite", - className: "AuthenticationSettingsContract", - modelProperties: { - oAuth2: { - serializedName: "oAuth2", - type: { - name: "Composite", - className: "OAuth2AuthenticationSettingsContract" - } - }, - openid: { - serializedName: "openid", - type: { - name: "Composite", - className: "OpenIdAuthenticationSettingsContract" - } - }, - subscriptionKeyRequired: { - serializedName: "subscriptionKeyRequired", - type: { - name: "Boolean" - } - } - } - } - }; - var SubscriptionKeyParameterNamesContract = { - serializedName: "SubscriptionKeyParameterNamesContract", - type: { - name: "Composite", - className: "SubscriptionKeyParameterNamesContract", - modelProperties: { - header: { - serializedName: "header", - type: { - name: "String" - } - }, - query: { - serializedName: "query", - type: { - name: "String" - } - } - } - } - }; - var ApiRevisionContract = { - serializedName: "ApiRevisionContract", - type: { - name: "Composite", - className: "ApiRevisionContract", - modelProperties: { - apiId: { - readOnly: true, - serializedName: "apiId", - type: { - name: "String" - } - }, - apiRevision: { - readOnly: true, - serializedName: "apiRevision", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, - createdDateTime: { - readOnly: true, - serializedName: "createdDateTime", - type: { - name: "DateTime" - } - }, - updatedDateTime: { - readOnly: true, - serializedName: "updatedDateTime", - type: { - name: "DateTime" - } - }, - description: { - readOnly: true, - serializedName: "description", - constraints: { - MaxLength: 256 - }, - type: { - name: "String" - } - }, - privateUrl: { - readOnly: true, - serializedName: "privateUrl", - type: { - name: "String" - } - }, - isOnline: { - readOnly: true, - serializedName: "isOnline", - type: { - name: "Boolean" - } - }, - isCurrent: { - readOnly: true, - serializedName: "isCurrent", - type: { - name: "Boolean" - } - } - } - } - }; - var ApiRevisionInfoContract = { - serializedName: "ApiRevisionInfoContract", - type: { - name: "Composite", - className: "ApiRevisionInfoContract", - modelProperties: { - sourceApiId: { - serializedName: "sourceApiId", - type: { - name: "String" - } - }, - apiVersionName: { - serializedName: "apiVersionName", - constraints: { - MaxLength: 100 - }, - type: { - name: "String" - } - }, - apiRevisionDescription: { - serializedName: "apiRevisionDescription", - constraints: { - MaxLength: 256 - }, - type: { - name: "String" - } - }, - apiVersionSet: { - serializedName: "apiVersionSet", - type: { - name: "Composite", - className: "ApiVersionSetContractDetails" - } - } - } - } - }; - var ApiReleaseContract = { - serializedName: "ApiReleaseContract", - type: { - name: "Composite", - className: "ApiReleaseContract", - modelProperties: __assign({}, Resource.type.modelProperties, { apiId: { - serializedName: "properties.apiId", - type: { - name: "String" - } - }, createdDateTime: { - readOnly: true, - serializedName: "properties.createdDateTime", - type: { - name: "DateTime" - } - }, updatedDateTime: { - readOnly: true, - serializedName: "properties.updatedDateTime", - type: { - name: "DateTime" - } - }, notes: { - serializedName: "properties.notes", - type: { - name: "String" - } - } }) - } - }; - var OperationContract = { - serializedName: "OperationContract", - type: { - name: "Composite", - className: "OperationContract", - modelProperties: __assign({}, Resource.type.modelProperties, { templateParameters: { - serializedName: "properties.templateParameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ParameterContract" - } - } - } - }, description: { - serializedName: "properties.description", - constraints: { - MaxLength: 1000 - }, - type: { - name: "String" - } - }, request: { - serializedName: "properties.request", - type: { - name: "Composite", - className: "RequestContract" - } - }, responses: { - serializedName: "properties.responses", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResponseContract" - } - } - } - }, policies: { - serializedName: "properties.policies", - type: { - name: "String" - } - }, displayName: { - required: true, - serializedName: "properties.displayName", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - }, method: { - required: true, - serializedName: "properties.method", - type: { - name: "String" - } - }, urlTemplate: { - required: true, - serializedName: "properties.urlTemplate", - constraints: { - MaxLength: 1000, - MinLength: 1 - }, - type: { - name: "String" - } - } }) - } - }; - var ParameterContract = { - serializedName: "ParameterContract", - type: { - name: "Composite", - className: "ParameterContract", - modelProperties: { - name: { - required: true, - serializedName: "name", - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - }, - type: { - required: true, - serializedName: "type", - type: { - name: "String" - } - }, - defaultValue: { - serializedName: "defaultValue", - type: { - name: "String" - } - }, - required: { - serializedName: "required", - type: { - name: "Boolean" - } - }, - values: { - serializedName: "values", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } - }; - var RepresentationContract = { - serializedName: "RepresentationContract", - type: { - name: "Composite", - className: "RepresentationContract", - modelProperties: { - contentType: { - required: true, - serializedName: "contentType", - type: { - name: "String" - } - }, - sample: { - serializedName: "sample", - type: { - name: "String" - } - }, - schemaId: { - serializedName: "schemaId", - type: { - name: "String" - } - }, - typeName: { - serializedName: "typeName", - type: { - name: "String" - } - }, - formParameters: { - serializedName: "formParameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ParameterContract" - } - } - } - } - } - } - }; - var RequestContract = { - serializedName: "RequestContract", - type: { - name: "Composite", - className: "RequestContract", - modelProperties: { - description: { - serializedName: "description", - type: { - name: "String" - } - }, - queryParameters: { - serializedName: "queryParameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ParameterContract" - } - } - } - }, - headers: { - serializedName: "headers", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ParameterContract" - } - } - } - }, - representations: { - serializedName: "representations", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RepresentationContract" - } - } - } - } - } - } - }; - var ResponseContract = { - serializedName: "ResponseContract", - type: { - name: "Composite", - className: "ResponseContract", - modelProperties: { - statusCode: { - required: true, - serializedName: "statusCode", - type: { - name: "Number" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - }, - representations: { - serializedName: "representations", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RepresentationContract" - } - } - } - }, - headers: { - serializedName: "headers", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ParameterContract" - } - } - } - } - } - } - }; - var OperationEntityBaseContract = { - serializedName: "OperationEntityBaseContract", - type: { - name: "Composite", - className: "OperationEntityBaseContract", - modelProperties: { - templateParameters: { - serializedName: "templateParameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ParameterContract" - } - } - } - }, - description: { - serializedName: "description", - constraints: { - MaxLength: 1000 - }, - type: { - name: "String" - } - }, - request: { - serializedName: "request", - type: { - name: "Composite", - className: "RequestContract" - } - }, - responses: { - serializedName: "responses", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResponseContract" - } - } - } - }, - policies: { - serializedName: "policies", - type: { - name: "String" - } - } - } - } - }; - var OperationUpdateContract = { - serializedName: "OperationUpdateContract", - type: { - name: "Composite", - className: "OperationUpdateContract", - modelProperties: { - templateParameters: { - serializedName: "properties.templateParameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ParameterContract" - } - } - } - }, - description: { - serializedName: "properties.description", - constraints: { - MaxLength: 1000 - }, - type: { - name: "String" - } - }, - request: { - serializedName: "properties.request", - type: { - name: "Composite", - className: "RequestContract" - } - }, - responses: { - serializedName: "properties.responses", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResponseContract" - } - } - } - }, - policies: { - serializedName: "properties.policies", - type: { - name: "String" - } - }, - displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - }, - method: { - serializedName: "properties.method", - type: { - name: "String" - } - }, - urlTemplate: { - serializedName: "properties.urlTemplate", - constraints: { - MaxLength: 1000, - MinLength: 1 - }, - type: { - name: "String" - } - } - } - } - }; - var SchemaContract = { - serializedName: "SchemaContract", - type: { - name: "Composite", - className: "SchemaContract", - modelProperties: __assign({}, Resource.type.modelProperties, { contentType: { - required: true, - serializedName: "properties.contentType", - type: { - name: "String" - } - }, value: { - serializedName: "properties.document.value", - type: { - name: "String" - } - } }) - } - }; - var IssueContract = { - serializedName: "IssueContract", - type: { - name: "Composite", - className: "IssueContract", - modelProperties: __assign({}, Resource.type.modelProperties, { title: { - required: true, - serializedName: "properties.title", - type: { - name: "String" - } - }, description: { - required: true, - serializedName: "properties.description", - type: { - name: "String" - } - }, createdDate: { - serializedName: "properties.createdDate", - type: { - name: "DateTime" - } - }, state: { - serializedName: "properties.state", - type: { - name: "String" - } - }, userId: { - required: true, - serializedName: "properties.userId", - type: { - name: "String" - } - }, apiId: { - serializedName: "properties.apiId", - type: { - name: "String" - } - } }) - } - }; - var IssueCommentContract = { - serializedName: "IssueCommentContract", - type: { - name: "Composite", - className: "IssueCommentContract", - modelProperties: __assign({}, Resource.type.modelProperties, { text: { - required: true, - serializedName: "properties.text", - type: { - name: "String" - } - }, createdDate: { - serializedName: "properties.createdDate", - type: { - name: "DateTime" - } - }, userId: { - required: true, - serializedName: "properties.userId", - type: { - name: "String" - } - } }) - } - }; - var IssueAttachmentContract = { - serializedName: "IssueAttachmentContract", - type: { - name: "Composite", - className: "IssueAttachmentContract", - modelProperties: __assign({}, Resource.type.modelProperties, { title: { - required: true, - serializedName: "properties.title", - type: { - name: "String" - } - }, contentFormat: { - required: true, - serializedName: "properties.contentFormat", - type: { - name: "String" - } - }, content: { - required: true, - serializedName: "properties.content", - type: { - name: "String" - } - } }) - } - }; - var LoggerContract = { - serializedName: "LoggerContract", - type: { - name: "Composite", - className: "LoggerContract", - modelProperties: __assign({}, Resource.type.modelProperties, { loggerType: { - required: true, - serializedName: "properties.loggerType", - type: { - name: "String" - } - }, description: { - serializedName: "properties.description", - constraints: { - MaxLength: 256 - }, - type: { - name: "String" - } - }, credentials: { - required: true, - serializedName: "properties.credentials", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, isBuffered: { - serializedName: "properties.isBuffered", - type: { - name: "Boolean" - } - } }) - } - }; - var DiagnosticContract = { - serializedName: "DiagnosticContract", - type: { - name: "Composite", - className: "DiagnosticContract", - modelProperties: __assign({}, Resource.type.modelProperties, { enabled: { - required: true, - serializedName: "properties.enabled", - type: { - name: "Boolean" - } - } }) - } - }; - var ProductEntityBaseParameters = { - serializedName: "ProductEntityBaseParameters", - type: { - name: "Composite", - className: "ProductEntityBaseParameters", - modelProperties: { - description: { - serializedName: "description", - constraints: { - MaxLength: 1000, - MinLength: 1 - }, - type: { - name: "String" - } - }, - terms: { - serializedName: "terms", - type: { - name: "String" - } - }, - subscriptionRequired: { - serializedName: "subscriptionRequired", - type: { - name: "Boolean" - } - }, - approvalRequired: { - serializedName: "approvalRequired", - type: { - name: "Boolean" - } - }, - subscriptionsLimit: { - serializedName: "subscriptionsLimit", - type: { - name: "Number" - } - }, - state: { - serializedName: "state", - type: { - name: "Enum", - allowedValues: [ - "notPublished", - "published" - ] - } - } - } - } - }; - var ProductTagResourceContractProperties = { - serializedName: "ProductTagResourceContractProperties", - type: { - name: "Composite", - className: "ProductTagResourceContractProperties", - modelProperties: __assign({}, ProductEntityBaseParameters.type.modelProperties, { id: { - serializedName: "id", - type: { - name: "String" - } - }, name: { - required: true, - serializedName: "name", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - } }) - } - }; - var OperationTagResourceContractProperties = { - serializedName: "OperationTagResourceContractProperties", - type: { - name: "Composite", - className: "OperationTagResourceContractProperties", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - apiName: { - readOnly: true, - serializedName: "apiName", - type: { - name: "String" - } - }, - apiRevision: { - readOnly: true, - serializedName: "apiRevision", - type: { - name: "String" - } - }, - apiVersion: { - readOnly: true, - serializedName: "apiVersion", - type: { - name: "String" - } - }, - description: { - readOnly: true, - serializedName: "description", - type: { - name: "String" - } - }, - method: { - readOnly: true, - serializedName: "method", - type: { - name: "String" - } - }, - urlTemplate: { - readOnly: true, - serializedName: "urlTemplate", - type: { - name: "String" - } - } - } - } - }; - var ApiTagResourceContractProperties = { - serializedName: "ApiTagResourceContractProperties", - type: { - name: "Composite", - className: "ApiTagResourceContractProperties", - modelProperties: __assign({}, ApiEntityBaseContract.type.modelProperties, { id: { - serializedName: "id", - type: { - name: "String" - } - }, name: { - serializedName: "name", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - }, serviceUrl: { - serializedName: "serviceUrl", - constraints: { - MaxLength: 2000, - MinLength: 1 - }, - type: { - name: "String" - } - }, path: { - serializedName: "path", - constraints: { - MaxLength: 400, - MinLength: 0 - }, - type: { - name: "String" - } - }, protocols: { - serializedName: "protocols", - type: { - name: "Sequence", - element: { - type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] - } - } - } - } }) - } - }; - var TagTagResourceContractProperties = { - serializedName: "TagTagResourceContractProperties", - type: { - name: "Composite", - className: "TagTagResourceContractProperties", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - name: { - serializedName: "name", - constraints: { - MaxLength: 160, - MinLength: 1 - }, - type: { - name: "String" - } - } - } - } - }; - var TagResourceContract = { - serializedName: "TagResourceContract", - type: { - name: "Composite", - className: "TagResourceContract", - modelProperties: { - tag: { - required: true, - serializedName: "tag", - type: { - name: "Composite", - className: "TagTagResourceContractProperties" - } - }, - api: { - serializedName: "api", - type: { - name: "Composite", - className: "ApiTagResourceContractProperties" - } - }, - operation: { - serializedName: "operation", - type: { - name: "Composite", - className: "OperationTagResourceContractProperties" - } - }, - product: { - serializedName: "product", - type: { - name: "Composite", - className: "ProductTagResourceContractProperties" - } - } - } - } - }; - var ProductContract = { - serializedName: "ProductContract", - type: { - name: "Composite", - className: "ProductContract", - modelProperties: __assign({}, Resource.type.modelProperties, { description: { - serializedName: "properties.description", - constraints: { - MaxLength: 1000, - MinLength: 1 - }, - type: { - name: "String" - } - }, terms: { - serializedName: "properties.terms", - type: { - name: "String" - } - }, subscriptionRequired: { - serializedName: "properties.subscriptionRequired", - type: { - name: "Boolean" - } - }, approvalRequired: { - serializedName: "properties.approvalRequired", - type: { - name: "Boolean" - } - }, subscriptionsLimit: { - serializedName: "properties.subscriptionsLimit", - type: { - name: "Number" - } - }, state: { - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "notPublished", - "published" - ] - } - }, displayName: { - required: true, - serializedName: "properties.displayName", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - } }) - } - }; - var AuthorizationServerContract = { - serializedName: "AuthorizationServerContract", - type: { - name: "Composite", - className: "AuthorizationServerContract", - modelProperties: __assign({}, Resource.type.modelProperties, { description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, authorizationMethods: { - serializedName: "properties.authorizationMethods", - type: { - name: "Sequence", - element: { - type: { - name: "Enum", - allowedValues: [ - "HEAD", - "OPTIONS", - "TRACE", - "GET", - "POST", - "PUT", - "PATCH", - "DELETE" - ] - } - } - } - }, clientAuthenticationMethod: { - serializedName: "properties.clientAuthenticationMethod", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, tokenBodyParameters: { - serializedName: "properties.tokenBodyParameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TokenBodyParameterContract" - } - } - } - }, tokenEndpoint: { - serializedName: "properties.tokenEndpoint", - type: { - name: "String" - } - }, supportState: { - serializedName: "properties.supportState", - type: { - name: "Boolean" - } - }, defaultScope: { - serializedName: "properties.defaultScope", - type: { - name: "String" - } - }, bearerTokenSendingMethods: { - serializedName: "properties.bearerTokenSendingMethods", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, clientSecret: { - serializedName: "properties.clientSecret", - type: { - name: "String" - } - }, resourceOwnerUsername: { - serializedName: "properties.resourceOwnerUsername", - type: { - name: "String" - } - }, resourceOwnerPassword: { - serializedName: "properties.resourceOwnerPassword", - type: { - name: "String" - } - }, displayName: { - required: true, - serializedName: "properties.displayName", - constraints: { - MaxLength: 50, - MinLength: 1 - }, - type: { - name: "String" - } - }, clientRegistrationEndpoint: { - required: true, - serializedName: "properties.clientRegistrationEndpoint", - type: { - name: "String" - } - }, authorizationEndpoint: { - required: true, - serializedName: "properties.authorizationEndpoint", - type: { - name: "String" - } - }, grantTypes: { - required: true, - serializedName: "properties.grantTypes", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, clientId: { - required: true, - serializedName: "properties.clientId", - type: { - name: "String" - } - } }) - } - }; - var AuthorizationServerUpdateContract = { - serializedName: "AuthorizationServerUpdateContract", - type: { - name: "Composite", - className: "AuthorizationServerUpdateContract", - modelProperties: __assign({}, Resource.type.modelProperties, { description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, authorizationMethods: { - serializedName: "properties.authorizationMethods", - type: { - name: "Sequence", - element: { - type: { - name: "Enum", - allowedValues: [ - "HEAD", - "OPTIONS", - "TRACE", - "GET", - "POST", - "PUT", - "PATCH", - "DELETE" - ] - } - } - } - }, clientAuthenticationMethod: { - serializedName: "properties.clientAuthenticationMethod", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, tokenBodyParameters: { - serializedName: "properties.tokenBodyParameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TokenBodyParameterContract" - } - } - } - }, tokenEndpoint: { - serializedName: "properties.tokenEndpoint", - type: { - name: "String" - } - }, supportState: { - serializedName: "properties.supportState", - type: { - name: "Boolean" - } - }, defaultScope: { - serializedName: "properties.defaultScope", - type: { - name: "String" - } - }, bearerTokenSendingMethods: { - serializedName: "properties.bearerTokenSendingMethods", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, clientSecret: { - serializedName: "properties.clientSecret", - type: { - name: "String" - } - }, resourceOwnerUsername: { - serializedName: "properties.resourceOwnerUsername", - type: { - name: "String" - } - }, resourceOwnerPassword: { - serializedName: "properties.resourceOwnerPassword", - type: { - name: "String" - } - }, displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 50, - MinLength: 1 - }, - type: { - name: "String" - } - }, clientRegistrationEndpoint: { - serializedName: "properties.clientRegistrationEndpoint", - type: { - name: "String" - } - }, authorizationEndpoint: { - serializedName: "properties.authorizationEndpoint", - type: { - name: "String" - } - }, grantTypes: { - serializedName: "properties.grantTypes", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, clientId: { - serializedName: "properties.clientId", - type: { - name: "String" - } - } }) - } - }; - var TokenBodyParameterContract = { - serializedName: "TokenBodyParameterContract", - type: { - name: "Composite", - className: "TokenBodyParameterContract", - modelProperties: { - name: { - required: true, - serializedName: "name", - type: { - name: "String" - } - }, - value: { - required: true, - serializedName: "value", - type: { - name: "String" - } - } - } - } - }; - var AuthorizationServerContractBaseProperties = { - serializedName: "AuthorizationServerContractBaseProperties", - type: { - name: "Composite", - className: "AuthorizationServerContractBaseProperties", - modelProperties: { - description: { - serializedName: "description", - type: { - name: "String" - } - }, - authorizationMethods: { - serializedName: "authorizationMethods", - type: { - name: "Sequence", - element: { - type: { - name: "Enum", - allowedValues: [ - "HEAD", - "OPTIONS", - "TRACE", - "GET", - "POST", - "PUT", - "PATCH", - "DELETE" - ] - } - } - } - }, - clientAuthenticationMethod: { - serializedName: "clientAuthenticationMethod", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - tokenBodyParameters: { - serializedName: "tokenBodyParameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TokenBodyParameterContract" - } - } - } - }, - tokenEndpoint: { - serializedName: "tokenEndpoint", - type: { - name: "String" - } - }, - supportState: { - serializedName: "supportState", - type: { - name: "Boolean" - } - }, - defaultScope: { - serializedName: "defaultScope", - type: { - name: "String" - } - }, - bearerTokenSendingMethods: { - serializedName: "bearerTokenSendingMethods", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - clientSecret: { - serializedName: "clientSecret", - type: { - name: "String" - } - }, - resourceOwnerUsername: { - serializedName: "resourceOwnerUsername", - type: { - name: "String" - } - }, - resourceOwnerPassword: { - serializedName: "resourceOwnerPassword", - type: { - name: "String" - } - } - } - } - }; - var BackendAuthorizationHeaderCredentials = { - serializedName: "BackendAuthorizationHeaderCredentials", - type: { - name: "Composite", - className: "BackendAuthorizationHeaderCredentials", - modelProperties: { - scheme: { - required: true, - serializedName: "scheme", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, - parameter: { - required: true, - serializedName: "parameter", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - } - } - } - }; - var X509CertificateName = { - serializedName: "X509CertificateName", - type: { - name: "Composite", - className: "X509CertificateName", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - issuerCertificateThumbprint: { - serializedName: "issuerCertificateThumbprint", - type: { - name: "String" - } - } - } - } - }; - var BackendServiceFabricClusterProperties = { - serializedName: "BackendServiceFabricClusterProperties", - type: { - name: "Composite", - className: "BackendServiceFabricClusterProperties", - modelProperties: { - clientCertificatethumbprint: { - required: true, - serializedName: "clientCertificatethumbprint", - type: { - name: "String" - } - }, - maxPartitionResolutionRetries: { - serializedName: "maxPartitionResolutionRetries", - type: { - name: "Number" - } - }, - managementEndpoints: { - required: true, - serializedName: "managementEndpoints", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - serverCertificateThumbprints: { - serializedName: "serverCertificateThumbprints", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - serverX509Names: { - serializedName: "serverX509Names", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "X509CertificateName" - } - } - } - } - } - } - }; - var BackendProperties = { - serializedName: "BackendProperties", - type: { - name: "Composite", - className: "BackendProperties", - modelProperties: { - serviceFabricCluster: { - serializedName: "serviceFabricCluster", - type: { - name: "Composite", - className: "BackendServiceFabricClusterProperties" - } - } - } - } - }; - var BackendCredentialsContract = { - serializedName: "BackendCredentialsContract", - type: { - name: "Composite", - className: "BackendCredentialsContract", - modelProperties: { - certificate: { - serializedName: "certificate", - constraints: { - MaxItems: 32 - }, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - query: { - serializedName: "query", - type: { - name: "Dictionary", - value: { - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - }, - header: { - serializedName: "header", - type: { - name: "Dictionary", - value: { - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - }, - authorization: { - serializedName: "authorization", - type: { - name: "Composite", - className: "BackendAuthorizationHeaderCredentials" - } - } - } - } - }; - var BackendProxyContract = { - serializedName: "BackendProxyContract", - type: { - name: "Composite", - className: "BackendProxyContract", - modelProperties: { - url: { - required: true, - serializedName: "url", - constraints: { - MaxLength: 2000, - MinLength: 1 - }, - type: { - name: "String" - } - }, - username: { - serializedName: "username", - type: { - name: "String" - } - }, - password: { - serializedName: "password", - type: { - name: "String" - } - } - } - } - }; - var BackendTlsProperties = { - serializedName: "BackendTlsProperties", - type: { - name: "Composite", - className: "BackendTlsProperties", - modelProperties: { - validateCertificateChain: { - serializedName: "validateCertificateChain", - defaultValue: true, - type: { - name: "Boolean" - } - }, - validateCertificateName: { - serializedName: "validateCertificateName", - defaultValue: true, - type: { - name: "Boolean" - } - } - } - } - }; - var BackendBaseParameters = { - serializedName: "BackendBaseParameters", - type: { - name: "Composite", - className: "BackendBaseParameters", - modelProperties: { - title: { - serializedName: "title", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - constraints: { - MaxLength: 2000, - MinLength: 1 - }, - type: { - name: "String" - } - }, - resourceId: { - serializedName: "resourceId", - constraints: { - MaxLength: 2000, - MinLength: 1 - }, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "BackendProperties" - } - }, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "BackendCredentialsContract" - } - }, - proxy: { - serializedName: "proxy", - type: { - name: "Composite", - className: "BackendProxyContract" - } - }, - tls: { - serializedName: "tls", - type: { - name: "Composite", - className: "BackendTlsProperties" - } - } - } - } - }; - var BackendContract = { - serializedName: "BackendContract", - type: { - name: "Composite", - className: "BackendContract", - modelProperties: __assign({}, Resource.type.modelProperties, { title: { - serializedName: "properties.title", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - }, description: { - serializedName: "properties.description", - constraints: { - MaxLength: 2000, - MinLength: 1 - }, - type: { - name: "String" - } - }, resourceId: { - serializedName: "properties.resourceId", - constraints: { - MaxLength: 2000, - MinLength: 1 - }, - type: { - name: "String" - } - }, properties: { - serializedName: "properties.properties", - type: { - name: "Composite", - className: "BackendProperties" - } - }, credentials: { - serializedName: "properties.credentials", - type: { - name: "Composite", - className: "BackendCredentialsContract" - } - }, proxy: { - serializedName: "properties.proxy", - type: { - name: "Composite", - className: "BackendProxyContract" - } - }, tls: { - serializedName: "properties.tls", - type: { - name: "Composite", - className: "BackendTlsProperties" - } - }, url: { - required: true, - serializedName: "properties.url", - constraints: { - MaxLength: 2000, - MinLength: 1 - }, - type: { - name: "String" - } - }, protocol: { - required: true, - serializedName: "properties.protocol", - type: { - name: "String" - } - } }) - } - }; - var BackendUpdateParameters = { - serializedName: "BackendUpdateParameters", - type: { - name: "Composite", - className: "BackendUpdateParameters", - modelProperties: { - title: { - serializedName: "properties.title", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - constraints: { - MaxLength: 2000, - MinLength: 1 - }, - type: { - name: "String" - } - }, - resourceId: { - serializedName: "properties.resourceId", - constraints: { - MaxLength: 2000, - MinLength: 1 - }, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties.properties", - type: { - name: "Composite", - className: "BackendProperties" - } - }, - credentials: { - serializedName: "properties.credentials", - type: { - name: "Composite", - className: "BackendCredentialsContract" - } - }, - proxy: { - serializedName: "properties.proxy", - type: { - name: "Composite", - className: "BackendProxyContract" - } - }, - tls: { - serializedName: "properties.tls", - type: { - name: "Composite", - className: "BackendTlsProperties" - } - }, - url: { - serializedName: "properties.url", - constraints: { - MaxLength: 2000, - MinLength: 1 - }, - type: { - name: "String" - } - }, - protocol: { - serializedName: "properties.protocol", - type: { - name: "String" - } - } - } - } - }; - var BackendReconnectContract = { - serializedName: "BackendReconnectContract", - type: { - name: "Composite", - className: "BackendReconnectContract", - modelProperties: __assign({}, Resource.type.modelProperties, { after: { - serializedName: "properties.after", - type: { - name: "TimeSpan" - } - } }) - } - }; - var CertificateContract = { - serializedName: "CertificateContract", - type: { - name: "Composite", - className: "CertificateContract", - modelProperties: __assign({}, Resource.type.modelProperties, { subject: { - required: true, - serializedName: "properties.subject", - type: { - name: "String" - } - }, thumbprint: { - required: true, - serializedName: "properties.thumbprint", - type: { - name: "String" - } - }, expirationDate: { - required: true, - serializedName: "properties.expirationDate", - type: { - name: "DateTime" - } - } }) - } - }; - var CertificateCreateOrUpdateParameters = { - serializedName: "CertificateCreateOrUpdateParameters", - type: { - name: "Composite", - className: "CertificateCreateOrUpdateParameters", - modelProperties: { - data: { - required: true, - serializedName: "properties.data", - type: { - name: "String" - } - }, - password: { - required: true, - serializedName: "properties.password", - type: { - name: "String" - } - } - } - } - }; - var CertificateInformation = { - serializedName: "CertificateInformation", - type: { - name: "Composite", - className: "CertificateInformation", - modelProperties: { - expiry: { - required: true, - serializedName: "expiry", - type: { - name: "DateTime" - } - }, - thumbprint: { - required: true, - serializedName: "thumbprint", - type: { - name: "String" - } - }, - subject: { - required: true, - serializedName: "subject", - type: { - name: "String" - } - } - } - } - }; - var CertificateConfiguration = { - serializedName: "CertificateConfiguration", - type: { - name: "Composite", - className: "CertificateConfiguration", - modelProperties: { - encodedCertificate: { - serializedName: "encodedCertificate", - type: { - name: "String" - } - }, - certificatePassword: { - serializedName: "certificatePassword", - type: { - name: "String" - } - }, - storeName: { - required: true, - serializedName: "storeName", - type: { - name: "String" - } - }, - certificate: { - serializedName: "certificate", - type: { - name: "Composite", - className: "CertificateInformation" - } - } - } - } - }; - var HostnameConfiguration = { - serializedName: "HostnameConfiguration", - type: { - name: "Composite", - className: "HostnameConfiguration", - modelProperties: { - type: { - required: true, - serializedName: "type", - type: { - name: "Enum", - allowedValues: [ - "Proxy", - "Portal", - "Management", - "Scm" - ] - } - }, - hostName: { - required: true, - serializedName: "hostName", - type: { - name: "String" - } - }, - keyVaultId: { - serializedName: "keyVaultId", - type: { - name: "String" - } - }, - encodedCertificate: { - serializedName: "encodedCertificate", - type: { - name: "String" - } - }, - certificatePassword: { - serializedName: "certificatePassword", - type: { - name: "String" - } - }, - defaultSslBinding: { - serializedName: "defaultSslBinding", - defaultValue: false, - type: { - name: "Boolean" - } - }, - negotiateClientCertificate: { - serializedName: "negotiateClientCertificate", - defaultValue: false, - type: { - name: "Boolean" - } - }, - certificate: { - serializedName: "certificate", - type: { - name: "Composite", - className: "CertificateInformation" - } - } - } - } - }; - var VirtualNetworkConfiguration = { - serializedName: "VirtualNetworkConfiguration", - type: { - name: "Composite", - className: "VirtualNetworkConfiguration", - modelProperties: { - vnetid: { - readOnly: true, - serializedName: "vnetid", - type: { - name: "String" - } - }, - subnetname: { - readOnly: true, - serializedName: "subnetname", - type: { - name: "String" - } - }, - subnetResourceId: { - serializedName: "subnetResourceId", - constraints: { - Pattern: /^\/subscriptions\/[^\/]*\/resourceGroups\/[^\/]*\/providers\/Microsoft.(ClassicNetwork|Network)\/virtualNetworks\/[^\/]*\/subnets\/[^\/]*$/ - }, - type: { - name: "String" - } - } - } - } - }; - var ApiManagementServiceSkuProperties = { - serializedName: "ApiManagementServiceSkuProperties", - type: { - name: "Composite", - className: "ApiManagementServiceSkuProperties", - modelProperties: { - name: { - required: true, - serializedName: "name", - type: { - name: "String" - } - }, - capacity: { - serializedName: "capacity", - defaultValue: 1, - type: { - name: "Number" - } - } - } - } - }; - var AdditionalLocation = { - serializedName: "AdditionalLocation", - type: { - name: "Composite", - className: "AdditionalLocation", - modelProperties: { - location: { - required: true, - serializedName: "location", - type: { - name: "String" - } - }, - sku: { - required: true, - serializedName: "sku", - type: { - name: "Composite", - className: "ApiManagementServiceSkuProperties" - } - }, - publicIPAddresses: { - readOnly: true, - serializedName: "publicIPAddresses", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - privateIPAddresses: { - readOnly: true, - serializedName: "privateIPAddresses", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - virtualNetworkConfiguration: { - serializedName: "virtualNetworkConfiguration", - type: { - name: "Composite", - className: "VirtualNetworkConfiguration" - } - }, - gatewayRegionalUrl: { - readOnly: true, - serializedName: "gatewayRegionalUrl", - type: { - name: "String" - } - } - } - } - }; - var ApiManagementServiceBackupRestoreParameters = { - serializedName: "ApiManagementServiceBackupRestoreParameters", - type: { - name: "Composite", - className: "ApiManagementServiceBackupRestoreParameters", - modelProperties: { - storageAccount: { - required: true, - serializedName: "storageAccount", - type: { - name: "String" - } - }, - accessKey: { - required: true, - serializedName: "accessKey", - type: { - name: "String" - } - }, - containerName: { - required: true, - serializedName: "containerName", - type: { - name: "String" - } - }, - backupName: { - required: true, - serializedName: "backupName", - type: { - name: "String" - } - } - } - } - }; - var ApiManagementServiceBaseProperties = { - serializedName: "ApiManagementServiceBaseProperties", - type: { - name: "Composite", - className: "ApiManagementServiceBaseProperties", - modelProperties: { - notificationSenderEmail: { - serializedName: "notificationSenderEmail", - constraints: { - MaxLength: 100 - }, - type: { - name: "String" - } - }, - provisioningState: { - readOnly: true, - serializedName: "provisioningState", - type: { - name: "String" - } - }, - targetProvisioningState: { - readOnly: true, - serializedName: "targetProvisioningState", - type: { - name: "String" - } - }, - createdAtUtc: { - readOnly: true, - serializedName: "createdAtUtc", - type: { - name: "DateTime" - } - }, - gatewayUrl: { - readOnly: true, - serializedName: "gatewayUrl", - type: { - name: "String" - } - }, - gatewayRegionalUrl: { - readOnly: true, - serializedName: "gatewayRegionalUrl", - type: { - name: "String" - } - }, - portalUrl: { - readOnly: true, - serializedName: "portalUrl", - type: { - name: "String" - } - }, - managementApiUrl: { - readOnly: true, - serializedName: "managementApiUrl", - type: { - name: "String" - } - }, - scmUrl: { - readOnly: true, - serializedName: "scmUrl", - type: { - name: "String" - } - }, - hostnameConfigurations: { - serializedName: "hostnameConfigurations", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HostnameConfiguration" - } - } - } - }, - publicIPAddresses: { - readOnly: true, - serializedName: "publicIPAddresses", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - privateIPAddresses: { - readOnly: true, - serializedName: "privateIPAddresses", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - virtualNetworkConfiguration: { - serializedName: "virtualNetworkConfiguration", - type: { - name: "Composite", - className: "VirtualNetworkConfiguration" - } - }, - additionalLocations: { - serializedName: "additionalLocations", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalLocation" - } - } - } - }, - customProperties: { - serializedName: "customProperties", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - certificates: { - serializedName: "certificates", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CertificateConfiguration" - } - } - } - }, - virtualNetworkType: { - serializedName: "virtualNetworkType", - defaultValue: 'None', - type: { - name: "String" - } - } - } - } - }; - var ApiManagementServiceIdentity = { - serializedName: "ApiManagementServiceIdentity", - type: { - name: "Composite", - className: "ApiManagementServiceIdentity", - modelProperties: { - type: { - required: true, - isConstant: true, - serializedName: "type", - defaultValue: 'SystemAssigned', - type: { - name: "String" - } - }, - principalId: { - readOnly: true, - serializedName: "principalId", - type: { - name: "Uuid" - } - }, - tenantId: { - readOnly: true, - serializedName: "tenantId", - type: { - name: "Uuid" - } - } - } - } - }; - var ApimResource = { - serializedName: "ApimResource", - type: { - name: "Composite", - className: "ApimResource", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } - }; - var ApiManagementServiceResource = { - serializedName: "ApiManagementServiceResource", - type: { - name: "Composite", - className: "ApiManagementServiceResource", - modelProperties: __assign({}, ApimResource.type.modelProperties, { notificationSenderEmail: { - serializedName: "properties.notificationSenderEmail", - constraints: { - MaxLength: 100 - }, - type: { - name: "String" - } - }, provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, targetProvisioningState: { - readOnly: true, - serializedName: "properties.targetProvisioningState", - type: { - name: "String" - } - }, createdAtUtc: { - readOnly: true, - serializedName: "properties.createdAtUtc", - type: { - name: "DateTime" - } - }, gatewayUrl: { - readOnly: true, - serializedName: "properties.gatewayUrl", - type: { - name: "String" - } - }, gatewayRegionalUrl: { - readOnly: true, - serializedName: "properties.gatewayRegionalUrl", - type: { - name: "String" - } - }, portalUrl: { - readOnly: true, - serializedName: "properties.portalUrl", - type: { - name: "String" - } - }, managementApiUrl: { - readOnly: true, - serializedName: "properties.managementApiUrl", - type: { - name: "String" - } - }, scmUrl: { - readOnly: true, - serializedName: "properties.scmUrl", - type: { - name: "String" - } - }, hostnameConfigurations: { - serializedName: "properties.hostnameConfigurations", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HostnameConfiguration" - } - } - } - }, publicIPAddresses: { - readOnly: true, - serializedName: "properties.publicIPAddresses", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, privateIPAddresses: { - readOnly: true, - serializedName: "properties.privateIPAddresses", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, virtualNetworkConfiguration: { - serializedName: "properties.virtualNetworkConfiguration", - type: { - name: "Composite", - className: "VirtualNetworkConfiguration" - } - }, additionalLocations: { - serializedName: "properties.additionalLocations", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalLocation" - } - } - } - }, customProperties: { - serializedName: "properties.customProperties", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, certificates: { - serializedName: "properties.certificates", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CertificateConfiguration" - } - } - } - }, virtualNetworkType: { - serializedName: "properties.virtualNetworkType", - defaultValue: 'None', - type: { - name: "String" - } - }, publisherEmail: { - required: true, - serializedName: "properties.publisherEmail", - constraints: { - MaxLength: 100 - }, - type: { - name: "String" - } - }, publisherName: { - required: true, - serializedName: "properties.publisherName", - constraints: { - MaxLength: 100 - }, - type: { - name: "String" - } - }, sku: { - required: true, - serializedName: "sku", - type: { - name: "Composite", - className: "ApiManagementServiceSkuProperties" - } - }, identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ApiManagementServiceIdentity" - } - }, location: { - required: true, - serializedName: "location", - type: { - name: "String" - } - }, etag: { - readOnly: true, - serializedName: "etag", - type: { - name: "String" - } - } }) - } - }; - var ApiManagementServiceUpdateParameters = { - serializedName: "ApiManagementServiceUpdateParameters", - type: { - name: "Composite", - className: "ApiManagementServiceUpdateParameters", - modelProperties: __assign({}, ApimResource.type.modelProperties, { notificationSenderEmail: { - serializedName: "properties.notificationSenderEmail", - constraints: { - MaxLength: 100 - }, - type: { - name: "String" - } - }, provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, targetProvisioningState: { - readOnly: true, - serializedName: "properties.targetProvisioningState", - type: { - name: "String" - } - }, createdAtUtc: { - readOnly: true, - serializedName: "properties.createdAtUtc", - type: { - name: "DateTime" - } - }, gatewayUrl: { - readOnly: true, - serializedName: "properties.gatewayUrl", - type: { - name: "String" - } - }, gatewayRegionalUrl: { - readOnly: true, - serializedName: "properties.gatewayRegionalUrl", - type: { - name: "String" - } - }, portalUrl: { - readOnly: true, - serializedName: "properties.portalUrl", - type: { - name: "String" - } - }, managementApiUrl: { - readOnly: true, - serializedName: "properties.managementApiUrl", - type: { - name: "String" - } - }, scmUrl: { - readOnly: true, - serializedName: "properties.scmUrl", - type: { - name: "String" - } - }, hostnameConfigurations: { - serializedName: "properties.hostnameConfigurations", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HostnameConfiguration" - } - } - } - }, publicIPAddresses: { - readOnly: true, - serializedName: "properties.publicIPAddresses", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, privateIPAddresses: { - readOnly: true, - serializedName: "properties.privateIPAddresses", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, virtualNetworkConfiguration: { - serializedName: "properties.virtualNetworkConfiguration", - type: { - name: "Composite", - className: "VirtualNetworkConfiguration" - } - }, additionalLocations: { - serializedName: "properties.additionalLocations", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalLocation" - } - } - } - }, customProperties: { - serializedName: "properties.customProperties", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, certificates: { - serializedName: "properties.certificates", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CertificateConfiguration" - } - } - } - }, virtualNetworkType: { - serializedName: "properties.virtualNetworkType", - defaultValue: 'None', - type: { - name: "String" - } - }, publisherEmail: { - serializedName: "properties.publisherEmail", - constraints: { - MaxLength: 100 - }, - type: { - name: "String" - } - }, publisherName: { - serializedName: "properties.publisherName", - constraints: { - MaxLength: 100 - }, - type: { - name: "String" - } - }, sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "ApiManagementServiceSkuProperties" - } - }, identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ApiManagementServiceIdentity" - } - }, etag: { - readOnly: true, - serializedName: "etag", - type: { - name: "String" - } - } }) - } - }; - var ApiManagementServiceGetSsoTokenResult = { - serializedName: "ApiManagementServiceGetSsoTokenResult", - type: { - name: "Composite", - className: "ApiManagementServiceGetSsoTokenResult", - modelProperties: { - redirectUri: { - serializedName: "redirectUri", - type: { - name: "String" - } - } - } - } - }; - var ApiManagementServiceCheckNameAvailabilityParameters = { - serializedName: "ApiManagementServiceCheckNameAvailabilityParameters", - type: { - name: "Composite", - className: "ApiManagementServiceCheckNameAvailabilityParameters", - modelProperties: { - name: { - required: true, - serializedName: "name", - type: { - name: "String" - } - } - } - } - }; - var ApiManagementServiceNameAvailabilityResult = { - serializedName: "ApiManagementServiceNameAvailabilityResult", - type: { - name: "Composite", - className: "ApiManagementServiceNameAvailabilityResult", - modelProperties: { - nameAvailable: { - readOnly: true, - serializedName: "nameAvailable", - type: { - name: "Boolean" - } - }, - message: { - readOnly: true, - serializedName: "message", - type: { - name: "String" - } - }, - reason: { - serializedName: "reason", - type: { - name: "Enum", - allowedValues: [ - "Valid", - "Invalid", - "AlreadyExists" - ] - } - } - } - } - }; - var ApiManagementServiceApplyNetworkConfigurationParameters = { - serializedName: "ApiManagementServiceApplyNetworkConfigurationParameters", - type: { - name: "Composite", - className: "ApiManagementServiceApplyNetworkConfigurationParameters", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String" - } - } - } - } - }; - var ApiManagementServiceUploadCertificateParameters = { - serializedName: "ApiManagementServiceUploadCertificateParameters", - type: { - name: "Composite", - className: "ApiManagementServiceUploadCertificateParameters", - modelProperties: { - type: { - required: true, - serializedName: "type", - type: { - name: "Enum", - allowedValues: [ - "Proxy", - "Portal", - "Management", - "Scm" - ] - } - }, - certificate: { - required: true, - serializedName: "certificate", - type: { - name: "String" - } - }, - certificatePassword: { - required: true, - serializedName: "certificate_password", - type: { - name: "String" - } - } - } - } - }; - var HostnameConfigurationOld = { - serializedName: "HostnameConfigurationOld", - type: { - name: "Composite", - className: "HostnameConfigurationOld", - modelProperties: { - type: { - required: true, - serializedName: "type", - type: { - name: "Enum", - allowedValues: [ - "Proxy", - "Portal", - "Management", - "Scm" - ] - } - }, - hostname: { - required: true, - serializedName: "hostname", - type: { - name: "String" - } - }, - certificate: { - required: true, - serializedName: "certificate", - type: { - name: "Composite", - className: "CertificateInformation" - } - } - } - } - }; - var ApiManagementServiceUpdateHostnameParameters = { - serializedName: "ApiManagementServiceUpdateHostnameParameters", - type: { - name: "Composite", - className: "ApiManagementServiceUpdateHostnameParameters", - modelProperties: { - update: { - serializedName: "update", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HostnameConfigurationOld" - } - } - } - }, - deleteProperty: { - serializedName: "delete", - type: { - name: "Sequence", - element: { - type: { - name: "Enum", - allowedValues: [ - "Proxy", - "Portal", - "Management", - "Scm" - ] - } - } - } - } - } - } - }; - var OperationDisplay = { - serializedName: "Operation_display", - type: { - name: "Composite", - className: "OperationDisplay", - modelProperties: { - provider: { - serializedName: "provider", - type: { - name: "String" - } - }, - operation: { - serializedName: "operation", - type: { - name: "String" - } - }, - resource: { - serializedName: "resource", - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } - }; - var Operation = { - serializedName: "Operation", - type: { - name: "Composite", - className: "Operation", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - display: { - serializedName: "display", - type: { - name: "Composite", - className: "OperationDisplay" - } - }, - origin: { - serializedName: "origin", - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - type: { - name: "Object" - } - } - } - } - }; - var EmailTemplateParametersContractProperties = { - serializedName: "EmailTemplateParametersContractProperties", - type: { - name: "Composite", - className: "EmailTemplateParametersContractProperties", - modelProperties: { - name: { - serializedName: "name", - constraints: { - MaxLength: 256, - MinLength: 1, - Pattern: /^[A-Za-z0-9-._]+$/ - }, - type: { - name: "String" - } - }, - title: { - serializedName: "title", - constraints: { - MaxLength: 4096, - MinLength: 1 - }, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - constraints: { - MaxLength: 256, - MinLength: 1, - Pattern: /^[A-Za-z0-9-._]+$/ - }, - type: { - name: "String" - } - } - } - } - }; - var EmailTemplateContract = { - serializedName: "EmailTemplateContract", - type: { - name: "Composite", - className: "EmailTemplateContract", - modelProperties: __assign({}, Resource.type.modelProperties, { subject: { - required: true, - serializedName: "properties.subject", - constraints: { - MaxLength: 1000, - MinLength: 1 - }, - type: { - name: "String" - } - }, body: { - required: true, - serializedName: "properties.body", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, title: { - serializedName: "properties.title", - type: { - name: "String" - } - }, description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, isDefault: { - readOnly: true, - serializedName: "properties.isDefault", - type: { - name: "Boolean" - } - }, parameters: { - serializedName: "properties.parameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EmailTemplateParametersContractProperties" - } - } - } - } }) - } - }; - var EmailTemplateUpdateParameters = { - serializedName: "EmailTemplateUpdateParameters", - type: { - name: "Composite", - className: "EmailTemplateUpdateParameters", - modelProperties: { - subject: { - serializedName: "properties.subject", - constraints: { - MaxLength: 1000, - MinLength: 1 - }, - type: { - name: "String" - } - }, - title: { - serializedName: "properties.title", - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - body: { - serializedName: "properties.body", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, - parameters: { - serializedName: "properties.parameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EmailTemplateParametersContractProperties" - } - } - } - } - } - } - }; - var GroupContractProperties = { - serializedName: "GroupContractProperties", - type: { - name: "Composite", - className: "GroupContractProperties", - modelProperties: { - displayName: { - required: true, - serializedName: "displayName", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - constraints: { - MaxLength: 1000 - }, - type: { - name: "String" - } - }, - builtIn: { - readOnly: true, - serializedName: "builtIn", - type: { - name: "Boolean" - } - }, - type: { - serializedName: "type", - type: { - name: "Enum", - allowedValues: [ - "custom", - "system", - "external" - ] - } - }, - externalId: { - serializedName: "externalId", - type: { - name: "String" - } - } - } - } - }; - var GroupContract = { - serializedName: "GroupContract", - type: { - name: "Composite", - className: "GroupContract", - modelProperties: __assign({}, Resource.type.modelProperties, { displayName: { - required: true, - serializedName: "properties.displayName", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - }, description: { - serializedName: "properties.description", - constraints: { - MaxLength: 1000 - }, - type: { - name: "String" - } - }, builtIn: { - readOnly: true, - serializedName: "properties.builtIn", - type: { - name: "Boolean" - } - }, groupContractType: { - serializedName: "properties.type", - type: { - name: "Enum", - allowedValues: [ - "custom", - "system", - "external" - ] - } - }, externalId: { - serializedName: "properties.externalId", - type: { - name: "String" - } - } }) - } - }; - var GroupCreateParameters = { - serializedName: "GroupCreateParameters", - type: { - name: "Composite", - className: "GroupCreateParameters", - modelProperties: { - displayName: { - required: true, - serializedName: "properties.displayName", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - type: { - serializedName: "properties.type", - type: { - name: "Enum", - allowedValues: [ - "custom", - "system", - "external" - ] - } - }, - externalId: { - serializedName: "properties.externalId", - type: { - name: "String" - } - } - } - } - }; - var GroupUpdateParameters = { - serializedName: "GroupUpdateParameters", - type: { - name: "Composite", - className: "GroupUpdateParameters", - modelProperties: { - displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - type: { - serializedName: "properties.type", - type: { - name: "Enum", - allowedValues: [ - "custom", - "system", - "external" - ] - } - }, - externalId: { - serializedName: "properties.externalId", - type: { - name: "String" - } - } - } - } - }; - var UserIdentityContract = { - serializedName: "UserIdentityContract", - type: { - name: "Composite", - className: "UserIdentityContract", - modelProperties: { - provider: { - serializedName: "provider", - type: { - name: "String" - } - }, - id: { - serializedName: "id", - type: { - name: "String" - } - } - } - } - }; - var UserEntityBaseParameters = { - serializedName: "UserEntityBaseParameters", - type: { - name: "Composite", - className: "UserEntityBaseParameters", - modelProperties: { - state: { - serializedName: "state", - defaultValue: 'active', - type: { - name: "String" - } - }, - note: { - serializedName: "note", - type: { - name: "String" - } - }, - identities: { - readOnly: true, - serializedName: "identities", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UserIdentityContract" - } - } - } - } - } - } - }; - var UserContract = { - serializedName: "UserContract", - type: { - name: "Composite", - className: "UserContract", - modelProperties: __assign({}, Resource.type.modelProperties, { state: { - serializedName: "properties.state", - defaultValue: 'active', - type: { - name: "String" - } - }, note: { - serializedName: "properties.note", - type: { - name: "String" - } - }, identities: { - readOnly: true, - serializedName: "properties.identities", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UserIdentityContract" - } - } - } - }, firstName: { - serializedName: "properties.firstName", - type: { - name: "String" - } - }, lastName: { - serializedName: "properties.lastName", - type: { - name: "String" - } - }, email: { - serializedName: "properties.email", - type: { - name: "String" - } - }, registrationDate: { - serializedName: "properties.registrationDate", - type: { - name: "DateTime" - } - }, groups: { - readOnly: true, - serializedName: "properties.groups", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GroupContractProperties" - } - } - } - } }) - } - }; - var IdentityProviderContract = { - serializedName: "IdentityProviderContract", - type: { - name: "Composite", - className: "IdentityProviderContract", - modelProperties: __assign({}, Resource.type.modelProperties, { identityProviderContractType: { - serializedName: "properties.type", - type: { - name: "String" - } - }, allowedTenants: { - serializedName: "properties.allowedTenants", - constraints: { - MaxItems: 32 - }, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, signupPolicyName: { - serializedName: "properties.signupPolicyName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, signinPolicyName: { - serializedName: "properties.signinPolicyName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, profileEditingPolicyName: { - serializedName: "properties.profileEditingPolicyName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, passwordResetPolicyName: { - serializedName: "properties.passwordResetPolicyName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, clientId: { - required: true, - serializedName: "properties.clientId", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, clientSecret: { - required: true, - serializedName: "properties.clientSecret", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - } }) - } - }; - var IdentityProviderUpdateParameters = { - serializedName: "IdentityProviderUpdateParameters", - type: { - name: "Composite", - className: "IdentityProviderUpdateParameters", - modelProperties: { - type: { - serializedName: "properties.type", - type: { - name: "String" - } - }, - allowedTenants: { - serializedName: "properties.allowedTenants", - constraints: { - MaxItems: 32 - }, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - signupPolicyName: { - serializedName: "properties.signupPolicyName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, - signinPolicyName: { - serializedName: "properties.signinPolicyName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, - profileEditingPolicyName: { - serializedName: "properties.profileEditingPolicyName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, - passwordResetPolicyName: { - serializedName: "properties.passwordResetPolicyName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, - clientId: { - serializedName: "properties.clientId", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, - clientSecret: { - serializedName: "properties.clientSecret", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - } - } - } - }; - var IdentityProviderBaseParameters = { - serializedName: "IdentityProviderBaseParameters", - type: { - name: "Composite", - className: "IdentityProviderBaseParameters", - modelProperties: { - type: { - serializedName: "type", - type: { - name: "String" - } - }, - allowedTenants: { - serializedName: "allowedTenants", - constraints: { - MaxItems: 32 - }, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - signupPolicyName: { - serializedName: "signupPolicyName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, - signinPolicyName: { - serializedName: "signinPolicyName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, - profileEditingPolicyName: { - serializedName: "profileEditingPolicyName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, - passwordResetPolicyName: { - serializedName: "passwordResetPolicyName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - } - } - } - }; - var LoggerUpdateContract = { - serializedName: "LoggerUpdateContract", - type: { - name: "Composite", - className: "LoggerUpdateContract", - modelProperties: { - loggerType: { - serializedName: "properties.loggerType", - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - credentials: { - serializedName: "properties.credentials", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - isBuffered: { - serializedName: "properties.isBuffered", - type: { - name: "Boolean" - } - } - } - } - }; - var RecipientsContractProperties = { - serializedName: "RecipientsContractProperties", - type: { - name: "Composite", - className: "RecipientsContractProperties", - modelProperties: { - emails: { - serializedName: "emails", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - users: { - serializedName: "users", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } - }; - var NotificationContract = { - serializedName: "NotificationContract", - type: { - name: "Composite", - className: "NotificationContract", - modelProperties: __assign({}, Resource.type.modelProperties, { title: { - required: true, - serializedName: "properties.title", - constraints: { - MaxLength: 1000, - MinLength: 1 - }, - type: { - name: "String" - } - }, description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, recipients: { - serializedName: "properties.recipients", - type: { - name: "Composite", - className: "RecipientsContractProperties" - } - } }) - } - }; - var RecipientUserContract = { - serializedName: "RecipientUserContract", - type: { - name: "Composite", - className: "RecipientUserContract", - modelProperties: __assign({}, Resource.type.modelProperties, { userId: { - serializedName: "properties.userId", - type: { - name: "String" - } - } }) - } - }; - var RecipientUserCollection = { - serializedName: "RecipientUserCollection", - type: { - name: "Composite", - className: "RecipientUserCollection", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecipientUserContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var RecipientEmailContract = { - serializedName: "RecipientEmailContract", - type: { - name: "Composite", - className: "RecipientEmailContract", - modelProperties: __assign({}, Resource.type.modelProperties, { email: { - serializedName: "properties.email", - type: { - name: "String" - } - } }) - } - }; - var RecipientEmailCollection = { - serializedName: "RecipientEmailCollection", - type: { - name: "Composite", - className: "RecipientEmailCollection", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecipientEmailContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var ConnectivityStatusContract = { - serializedName: "ConnectivityStatusContract", - type: { - name: "Composite", - className: "ConnectivityStatusContract", - modelProperties: { - name: { - required: true, - serializedName: "name", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, - status: { - required: true, - serializedName: "status", - type: { - name: "String" - } - }, - error: { - serializedName: "error", - type: { - name: "String" - } - }, - lastUpdated: { - required: true, - serializedName: "lastUpdated", - type: { - name: "DateTime" - } - }, - lastStatusChange: { - required: true, - serializedName: "lastStatusChange", - type: { - name: "DateTime" - } - } - } - } - }; - var NetworkStatusContract = { - serializedName: "NetworkStatusContract", - type: { - name: "Composite", - className: "NetworkStatusContract", - modelProperties: { - dnsServers: { - required: true, - serializedName: "dnsServers", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - connectivityStatus: { - required: true, - serializedName: "connectivityStatus", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectivityStatusContract" - } - } - } - } - } - } - }; - var NetworkStatusContractByLocation = { - serializedName: "NetworkStatusContractByLocation", - type: { - name: "Composite", - className: "NetworkStatusContractByLocation", - modelProperties: { - location: { - serializedName: "location", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, - networkStatus: { - serializedName: "networkStatus", - type: { - name: "Composite", - className: "NetworkStatusContract" - } - } - } - } - }; - var OpenidConnectProviderContract = { - serializedName: "OpenidConnectProviderContract", - type: { - name: "Composite", - className: "OpenidConnectProviderContract", - modelProperties: __assign({}, Resource.type.modelProperties, { displayName: { - required: true, - serializedName: "properties.displayName", - constraints: { - MaxLength: 50 - }, - type: { - name: "String" - } - }, description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, metadataEndpoint: { - required: true, - serializedName: "properties.metadataEndpoint", - type: { - name: "String" - } - }, clientId: { - required: true, - serializedName: "properties.clientId", - type: { - name: "String" - } - }, clientSecret: { - serializedName: "properties.clientSecret", - type: { - name: "String" - } - } }) - } - }; - var OpenidConnectProviderUpdateContract = { - serializedName: "OpenidConnectProviderUpdateContract", - type: { - name: "Composite", - className: "OpenidConnectProviderUpdateContract", - modelProperties: { - displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 50 - }, - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - metadataEndpoint: { - serializedName: "properties.metadataEndpoint", - type: { - name: "String" - } - }, - clientId: { - serializedName: "properties.clientId", - type: { - name: "String" - } - }, - clientSecret: { - serializedName: "properties.clientSecret", - type: { - name: "String" - } - } - } - } - }; - var PortalSigninSettings = { - serializedName: "PortalSigninSettings", - type: { - name: "Composite", - className: "PortalSigninSettings", - modelProperties: __assign({}, Resource.type.modelProperties, { enabled: { - serializedName: "properties.enabled", - type: { - name: "Boolean" - } - } }) - } - }; - var TermsOfServiceProperties = { - serializedName: "TermsOfServiceProperties", - type: { - name: "Composite", - className: "TermsOfServiceProperties", - modelProperties: { - text: { - serializedName: "text", - type: { - name: "String" - } - }, - enabled: { - serializedName: "enabled", - type: { - name: "Boolean" - } - }, - consentRequired: { - serializedName: "consentRequired", - type: { - name: "Boolean" - } - } - } - } - }; - var PortalSignupSettings = { - serializedName: "PortalSignupSettings", - type: { - name: "Composite", - className: "PortalSignupSettings", - modelProperties: __assign({}, Resource.type.modelProperties, { enabled: { - serializedName: "properties.enabled", - type: { - name: "Boolean" - } - }, termsOfService: { - serializedName: "properties.termsOfService", - type: { - name: "Composite", - className: "TermsOfServiceProperties" - } - } }) - } - }; - var SubscriptionsDelegationSettingsProperties = { - serializedName: "SubscriptionsDelegationSettingsProperties", - type: { - name: "Composite", - className: "SubscriptionsDelegationSettingsProperties", - modelProperties: { - enabled: { - serializedName: "enabled", - type: { - name: "Boolean" - } - } - } - } - }; - var RegistrationDelegationSettingsProperties = { - serializedName: "RegistrationDelegationSettingsProperties", - type: { - name: "Composite", - className: "RegistrationDelegationSettingsProperties", - modelProperties: { - enabled: { - serializedName: "enabled", - type: { - name: "Boolean" - } - } - } - } - }; - var PortalDelegationSettings = { - serializedName: "PortalDelegationSettings", - type: { - name: "Composite", - className: "PortalDelegationSettings", - modelProperties: __assign({}, Resource.type.modelProperties, { url: { - serializedName: "properties.url", - type: { - name: "String" - } - }, validationKey: { - serializedName: "properties.validationKey", - type: { - name: "String" - } - }, subscriptions: { - serializedName: "properties.subscriptions", - type: { - name: "Composite", - className: "SubscriptionsDelegationSettingsProperties" - } - }, userRegistration: { - serializedName: "properties.userRegistration", - type: { - name: "Composite", - className: "RegistrationDelegationSettingsProperties" - } - } }) - } - }; - var ProductUpdateParameters = { - serializedName: "ProductUpdateParameters", - type: { - name: "Composite", - className: "ProductUpdateParameters", - modelProperties: { - description: { - serializedName: "properties.description", - constraints: { - MaxLength: 1000, - MinLength: 1 - }, - type: { - name: "String" - } - }, - terms: { - serializedName: "properties.terms", - type: { - name: "String" - } - }, - subscriptionRequired: { - serializedName: "properties.subscriptionRequired", - type: { - name: "Boolean" - } - }, - approvalRequired: { - serializedName: "properties.approvalRequired", - type: { - name: "Boolean" - } - }, - subscriptionsLimit: { - serializedName: "properties.subscriptionsLimit", - type: { - name: "Number" - } - }, - state: { - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "notPublished", - "published" - ] - } - }, - displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 300, - MinLength: 1 - }, - type: { - name: "String" - } - } - } - } - }; - var SubscriptionContract = { - serializedName: "SubscriptionContract", - type: { - name: "Composite", - className: "SubscriptionContract", - modelProperties: __assign({}, Resource.type.modelProperties, { userId: { - required: true, - serializedName: "properties.userId", - type: { - name: "String" - } - }, productId: { - required: true, - serializedName: "properties.productId", - type: { - name: "String" - } - }, displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 100, - MinLength: 0 - }, - type: { - name: "String" - } - }, state: { - required: true, - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "suspended", - "active", - "expired", - "submitted", - "rejected", - "cancelled" - ] - } - }, createdDate: { - readOnly: true, - serializedName: "properties.createdDate", - type: { - name: "DateTime" - } - }, startDate: { - serializedName: "properties.startDate", - type: { - name: "DateTime" - } - }, expirationDate: { - serializedName: "properties.expirationDate", - type: { - name: "DateTime" - } - }, endDate: { - serializedName: "properties.endDate", - type: { - name: "DateTime" - } - }, notificationDate: { - serializedName: "properties.notificationDate", - type: { - name: "DateTime" - } - }, primaryKey: { - required: true, - serializedName: "properties.primaryKey", - constraints: { - MaxLength: 256, - MinLength: 1 - }, - type: { - name: "String" - } - }, secondaryKey: { - required: true, - serializedName: "properties.secondaryKey", - constraints: { - MaxLength: 256, - MinLength: 1 - }, - type: { - name: "String" - } - }, stateComment: { - serializedName: "properties.stateComment", - type: { - name: "String" - } - } }) - } - }; - var PropertyContract = { - serializedName: "PropertyContract", - type: { - name: "Composite", - className: "PropertyContract", - modelProperties: __assign({}, Resource.type.modelProperties, { tags: { - serializedName: "properties.tags", - constraints: { - MaxItems: 32 - }, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, secret: { - serializedName: "properties.secret", - type: { - name: "Boolean" - } - }, displayName: { - required: true, - serializedName: "properties.displayName", - constraints: { - MaxLength: 256, - MinLength: 1, - Pattern: /^[A-Za-z0-9-._]+$/ - }, - type: { - name: "String" - } - }, value: { - required: true, - serializedName: "properties.value", - constraints: { - MaxLength: 4096, - MinLength: 1 - }, - type: { - name: "String" - } - } }) - } - }; - var PropertyUpdateParameters = { - serializedName: "PropertyUpdateParameters", - type: { - name: "Composite", - className: "PropertyUpdateParameters", - modelProperties: { - tags: { - serializedName: "properties.tags", - constraints: { - MaxItems: 32 - }, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - secret: { - serializedName: "properties.secret", - type: { - name: "Boolean" - } - }, - displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 256, - MinLength: 1, - Pattern: /^[A-Za-z0-9-._]+$/ - }, - type: { - name: "String" - } - }, - value: { - serializedName: "properties.value", - constraints: { - MaxLength: 4096, - MinLength: 1 - }, - type: { - name: "String" - } - } - } - } - }; - var PropertyEntityBaseParameters = { - serializedName: "PropertyEntityBaseParameters", - type: { - name: "Composite", - className: "PropertyEntityBaseParameters", - modelProperties: { - tags: { - serializedName: "tags", - constraints: { - MaxItems: 32 - }, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - secret: { - serializedName: "secret", - type: { - name: "Boolean" - } - } - } - } - }; - var QuotaCounterValueContractProperties = { - serializedName: "QuotaCounterValueContractProperties", - type: { - name: "Composite", - className: "QuotaCounterValueContractProperties", - modelProperties: { - callsCount: { - serializedName: "callsCount", - type: { - name: "Number" - } - }, - kbTransferred: { - serializedName: "kbTransferred", - type: { - name: "Number" - } - } - } - } - }; - var QuotaCounterContract = { - serializedName: "QuotaCounterContract", - type: { - name: "Composite", - className: "QuotaCounterContract", - modelProperties: { - counterKey: { - required: true, - serializedName: "counterKey", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, - periodKey: { - required: true, - serializedName: "periodKey", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, - periodStartTime: { - required: true, - serializedName: "periodStartTime", - type: { - name: "DateTime" - } - }, - periodEndTime: { - required: true, - serializedName: "periodEndTime", - type: { - name: "DateTime" - } - }, - value: { - serializedName: "value", - type: { - name: "Composite", - className: "QuotaCounterValueContractProperties" - } - } - } - } - }; - var QuotaCounterCollection = { - serializedName: "QuotaCounterCollection", - type: { - name: "Composite", - className: "QuotaCounterCollection", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "QuotaCounterContract" - } - } - } - }, - count: { - serializedName: "count", - type: { - name: "Number" - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var QuotaCounterValueContract = { - serializedName: "QuotaCounterValueContract", - type: { - name: "Composite", - className: "QuotaCounterValueContract", - modelProperties: { - callsCount: { - serializedName: "value.callsCount", - type: { - name: "Number" - } - }, - kbTransferred: { - serializedName: "value.kbTransferred", - type: { - name: "Number" - } - } - } - } - }; - var ReportRecordContract = { - serializedName: "ReportRecordContract", - type: { - name: "Composite", - className: "ReportRecordContract", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - timestamp: { - serializedName: "timestamp", - type: { - name: "DateTime" - } - }, - interval: { - serializedName: "interval", - type: { - name: "String" - } - }, - country: { - serializedName: "country", - type: { - name: "String" - } - }, - region: { - serializedName: "region", - type: { - name: "String" - } - }, - zip: { - serializedName: "zip", - type: { - name: "String" - } - }, - userId: { - readOnly: true, - serializedName: "userId", - type: { - name: "String" - } - }, - productId: { - readOnly: true, - serializedName: "productId", - type: { - name: "String" - } - }, - apiId: { - serializedName: "apiId", - type: { - name: "String" - } - }, - operationId: { - serializedName: "operationId", - type: { - name: "String" - } - }, - apiRegion: { - serializedName: "apiRegion", - type: { - name: "String" - } - }, - subscriptionId: { - serializedName: "subscriptionId", - type: { - name: "String" - } - }, - callCountSuccess: { - serializedName: "callCountSuccess", - type: { - name: "Number" - } - }, - callCountBlocked: { - serializedName: "callCountBlocked", - type: { - name: "Number" - } - }, - callCountFailed: { - serializedName: "callCountFailed", - type: { - name: "Number" - } - }, - callCountOther: { - serializedName: "callCountOther", - type: { - name: "Number" - } - }, - callCountTotal: { - serializedName: "callCountTotal", - type: { - name: "Number" - } - }, - bandwidth: { - serializedName: "bandwidth", - type: { - name: "Number" - } - }, - cacheHitCount: { - serializedName: "cacheHitCount", - type: { - name: "Number" - } - }, - cacheMissCount: { - serializedName: "cacheMissCount", - type: { - name: "Number" - } - }, - apiTimeAvg: { - serializedName: "apiTimeAvg", - type: { - name: "Number" - } - }, - apiTimeMin: { - serializedName: "apiTimeMin", - type: { - name: "Number" - } - }, - apiTimeMax: { - serializedName: "apiTimeMax", - type: { - name: "Number" - } - }, - serviceTimeAvg: { - serializedName: "serviceTimeAvg", - type: { - name: "Number" - } - }, - serviceTimeMin: { - serializedName: "serviceTimeMin", - type: { - name: "Number" - } - }, - serviceTimeMax: { - serializedName: "serviceTimeMax", - type: { - name: "Number" - } - } - } - } - }; - var RequestReportRecordContract = { - serializedName: "RequestReportRecordContract", - type: { - name: "Composite", - className: "RequestReportRecordContract", - modelProperties: { - apiId: { - serializedName: "apiId", - type: { - name: "String" - } - }, - operationId: { - serializedName: "operationId", - type: { - name: "String" - } - }, - productId: { - readOnly: true, - serializedName: "productId", - type: { - name: "String" - } - }, - userId: { - readOnly: true, - serializedName: "userId", - type: { - name: "String" - } - }, - method: { - serializedName: "method", - type: { - name: "String" - } - }, - url: { - serializedName: "url", - type: { - name: "String" - } - }, - ipAddress: { - serializedName: "ipAddress", - type: { - name: "String" - } - }, - backendResponseCode: { - serializedName: "backendResponseCode", - type: { - name: "String" - } - }, - responseCode: { - serializedName: "responseCode", - type: { - name: "Number" - } - }, - responseSize: { - serializedName: "responseSize", - type: { - name: "Number" - } - }, - timestamp: { - serializedName: "timestamp", - type: { - name: "DateTime" - } - }, - cache: { - serializedName: "cache", - type: { - name: "String" - } - }, - apiTime: { - serializedName: "apiTime", - type: { - name: "Number" - } - }, - serviceTime: { - serializedName: "serviceTime", - type: { - name: "Number" - } - }, - apiRegion: { - serializedName: "apiRegion", - type: { - name: "String" - } - }, - subscriptionId: { - serializedName: "subscriptionId", - type: { - name: "String" - } - }, - requestId: { - serializedName: "requestId", - type: { - name: "String" - } - }, - requestSize: { - serializedName: "requestSize", - type: { - name: "Number" - } - } - } - } - }; - var SubscriptionCreateParameters = { - serializedName: "SubscriptionCreateParameters", - type: { - name: "Composite", - className: "SubscriptionCreateParameters", - modelProperties: { - userId: { - required: true, - serializedName: "properties.userId", - type: { - name: "String" - } - }, - productId: { - required: true, - serializedName: "properties.productId", - type: { - name: "String" - } - }, - displayName: { - required: true, - serializedName: "properties.displayName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, - primaryKey: { - serializedName: "properties.primaryKey", - constraints: { - MaxLength: 256, - MinLength: 1 - }, - type: { - name: "String" - } - }, - secondaryKey: { - serializedName: "properties.secondaryKey", - constraints: { - MaxLength: 256, - MinLength: 1 - }, - type: { - name: "String" - } - }, - state: { - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "suspended", - "active", - "expired", - "submitted", - "rejected", - "cancelled" - ] - } - } - } - } - }; - var SubscriptionUpdateParameters = { - serializedName: "SubscriptionUpdateParameters", - type: { - name: "Composite", - className: "SubscriptionUpdateParameters", - modelProperties: { - userId: { - serializedName: "properties.userId", - type: { - name: "String" - } - }, - productId: { - serializedName: "properties.productId", - type: { - name: "String" - } - }, - expirationDate: { - serializedName: "properties.expirationDate", - type: { - name: "DateTime" - } - }, - displayName: { - serializedName: "properties.displayName", - type: { - name: "String" - } - }, - primaryKey: { - serializedName: "properties.primaryKey", - constraints: { - MaxLength: 256, - MinLength: 1 - }, - type: { - name: "String" - } - }, - secondaryKey: { - serializedName: "properties.secondaryKey", - constraints: { - MaxLength: 256, - MinLength: 1 - }, - type: { - name: "String" - } - }, - state: { - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "suspended", - "active", - "expired", - "submitted", - "rejected", - "cancelled" - ] - } - }, - stateComment: { - serializedName: "properties.stateComment", - type: { - name: "String" - } - } - } - } - }; - var TagContract = { - serializedName: "TagContract", - type: { - name: "Composite", - className: "TagContract", - modelProperties: __assign({}, Resource.type.modelProperties, { displayName: { - required: true, - serializedName: "properties.displayName", - constraints: { - MaxLength: 160, - MinLength: 1 - }, - type: { - name: "String" - } - } }) - } - }; - var TagCreateUpdateParameters = { - serializedName: "TagCreateUpdateParameters", - type: { - name: "Composite", - className: "TagCreateUpdateParameters", - modelProperties: { - displayName: { - required: true, - serializedName: "properties.displayName", - constraints: { - MaxLength: 160, - MinLength: 1 - }, - type: { - name: "String" - } - } - } - } - }; - var TagDescriptionContract = { - serializedName: "TagDescriptionContract", - type: { - name: "Composite", - className: "TagDescriptionContract", - modelProperties: __assign({}, Resource.type.modelProperties, { description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, externalDocsUrl: { - serializedName: "properties.externalDocsUrl", - constraints: { - MaxLength: 2000 - }, - type: { - name: "String" - } - }, externalDocsDescription: { - serializedName: "properties.externalDocsDescription", - type: { - name: "String" - } - }, displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 160, - MinLength: 1 - }, - type: { - name: "String" - } - } }) - } - }; - var TagDescriptionCreateParameters = { - serializedName: "TagDescriptionCreateParameters", - type: { - name: "Composite", - className: "TagDescriptionCreateParameters", - modelProperties: { - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - externalDocsUrl: { - serializedName: "properties.externalDocsUrl", - constraints: { - MaxLength: 2000 - }, - type: { - name: "String" - } - }, - externalDocsDescription: { - serializedName: "properties.externalDocsDescription", - type: { - name: "String" - } - } - } - } - }; - var AccessInformationContract = { - serializedName: "AccessInformationContract", - type: { - name: "Composite", - className: "AccessInformationContract", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - primaryKey: { - serializedName: "primaryKey", - type: { - name: "String" - } - }, - secondaryKey: { - serializedName: "secondaryKey", - type: { - name: "String" - } - }, - enabled: { - serializedName: "enabled", - type: { - name: "Boolean" - } - } - } - } - }; - var AccessInformationUpdateParameters = { - serializedName: "AccessInformationUpdateParameters", - type: { - name: "Composite", - className: "AccessInformationUpdateParameters", - modelProperties: { - enabled: { - serializedName: "enabled", - type: { - name: "Boolean" - } - } - } - } - }; - var DeployConfigurationParameters = { - serializedName: "DeployConfigurationParameters", - type: { - name: "Composite", - className: "DeployConfigurationParameters", - modelProperties: { - branch: { - required: true, - serializedName: "branch", - type: { - name: "String" - } - }, - force: { - serializedName: "force", - type: { - name: "Boolean" - } - } - } - } - }; - var OperationResultLogItemContract = { - serializedName: "OperationResultLogItemContract", - type: { - name: "Composite", - className: "OperationResultLogItemContract", - modelProperties: { - objectType: { - serializedName: "objectType", - type: { - name: "String" - } - }, - action: { - serializedName: "action", - type: { - name: "String" - } - }, - objectKey: { - serializedName: "objectKey", - type: { - name: "String" - } - } - } - } - }; - var OperationResultContract = { - serializedName: "OperationResultContract", - type: { - name: "Composite", - className: "OperationResultContract", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - status: { - serializedName: "status", - type: { - name: "Enum", - allowedValues: [ - "Started", - "InProgress", - "Succeeded", - "Failed" - ] - } - }, - started: { - serializedName: "started", - type: { - name: "DateTime" - } - }, - updated: { - serializedName: "updated", - type: { - name: "DateTime" - } - }, - resultInfo: { - serializedName: "resultInfo", - type: { - name: "String" - } - }, - error: { - serializedName: "error", - type: { - name: "Composite", - className: "ErrorResponseBody" - } - }, - actionLog: { - readOnly: true, - serializedName: "actionLog", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OperationResultLogItemContract" - } - } - } - } - } - } - }; - var SaveConfigurationParameter = { - serializedName: "SaveConfigurationParameter", - type: { - name: "Composite", - className: "SaveConfigurationParameter", - modelProperties: { - branch: { - required: true, - serializedName: "branch", - type: { - name: "String" - } - }, - force: { - serializedName: "force", - type: { - name: "Boolean" - } - } - } - } - }; - var TenantConfigurationSyncStateContract = { - serializedName: "TenantConfigurationSyncStateContract", - type: { - name: "Composite", - className: "TenantConfigurationSyncStateContract", - modelProperties: { - branch: { - serializedName: "branch", - type: { - name: "String" - } - }, - commitId: { - serializedName: "commitId", - type: { - name: "String" - } - }, - isExport: { - serializedName: "isExport", - type: { - name: "Boolean" - } - }, - isSynced: { - serializedName: "isSynced", - type: { - name: "Boolean" - } - }, - isGitEnabled: { - serializedName: "isGitEnabled", - type: { - name: "Boolean" - } - }, - syncDate: { - serializedName: "syncDate", - type: { - name: "DateTime" - } - }, - configurationChangeDate: { - serializedName: "configurationChangeDate", - type: { - name: "DateTime" - } - } - } - } - }; - var GenerateSsoUrlResult = { - serializedName: "GenerateSsoUrlResult", - type: { - name: "Composite", - className: "GenerateSsoUrlResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "String" - } - } - } - } - }; - var UserCreateParameters = { - serializedName: "UserCreateParameters", - type: { - name: "Composite", - className: "UserCreateParameters", - modelProperties: { - state: { - serializedName: "properties.state", - defaultValue: 'active', - type: { - name: "String" - } - }, - note: { - serializedName: "properties.note", - type: { - name: "String" - } - }, - identities: { - readOnly: true, - serializedName: "properties.identities", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UserIdentityContract" - } - } - } - }, - email: { - required: true, - serializedName: "properties.email", - constraints: { - MaxLength: 254, - MinLength: 1 - }, - type: { - name: "String" - } - }, - firstName: { - required: true, - serializedName: "properties.firstName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, - lastName: { - required: true, - serializedName: "properties.lastName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, - password: { - serializedName: "properties.password", - type: { - name: "String" - } - }, - confirmation: { - serializedName: "properties.confirmation", - type: { - name: "String" - } - } - } - } - }; - var UserTokenParameters = { - serializedName: "UserTokenParameters", - type: { - name: "Composite", - className: "UserTokenParameters", - modelProperties: { - keyType: { - required: true, - serializedName: "keyType", - defaultValue: 'primary', - type: { - name: "Enum", - allowedValues: [ - "primary", - "secondary" - ] - } - }, - expiry: { - required: true, - serializedName: "expiry", - type: { - name: "DateTime" - } - } - } - } - }; - var UserTokenResult = { - serializedName: "UserTokenResult", - type: { - name: "Composite", - className: "UserTokenResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "String" - } - } - } - } - }; - var UserUpdateParameters = { - serializedName: "UserUpdateParameters", - type: { - name: "Composite", - className: "UserUpdateParameters", - modelProperties: { - state: { - serializedName: "properties.state", - defaultValue: 'active', - type: { - name: "String" - } - }, - note: { - serializedName: "properties.note", - type: { - name: "String" - } - }, - identities: { - readOnly: true, - serializedName: "properties.identities", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UserIdentityContract" - } - } - } - }, - email: { - serializedName: "properties.email", - constraints: { - MaxLength: 254, - MinLength: 1 - }, - type: { - name: "String" - } - }, - password: { - serializedName: "properties.password", - type: { - name: "String" - } - }, - firstName: { - serializedName: "properties.firstName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, - lastName: { - serializedName: "properties.lastName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - } - } - } - }; - var ApiVersionSetContract = { - serializedName: "ApiVersionSetContract", - type: { - name: "Composite", - className: "ApiVersionSetContract", - modelProperties: __assign({}, Resource.type.modelProperties, { description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, versionQueryName: { - serializedName: "properties.versionQueryName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, versionHeaderName: { - serializedName: "properties.versionHeaderName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, displayName: { - required: true, - serializedName: "properties.displayName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, versioningScheme: { - required: true, - serializedName: "properties.versioningScheme", - type: { - name: "String" - } - } }) - } - }; - var ApiVersionSetEntityBase = { - serializedName: "ApiVersionSetEntityBase", - type: { - name: "Composite", - className: "ApiVersionSetEntityBase", - modelProperties: { - description: { - serializedName: "description", - type: { - name: "String" - } - }, - versionQueryName: { - serializedName: "versionQueryName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, - versionHeaderName: { - serializedName: "versionHeaderName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - } - } - } - }; - var ApiVersionSetUpdateParameters = { - serializedName: "ApiVersionSetUpdateParameters", - type: { - name: "Composite", - className: "ApiVersionSetUpdateParameters", - modelProperties: { - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - versionQueryName: { - serializedName: "properties.versionQueryName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, - versionHeaderName: { - serializedName: "properties.versionHeaderName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, - displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, - versioningScheme: { - serializedName: "properties.versioningScheme", - type: { - name: "String" - } - } - } - } - }; - var PolicyGetEntityTagHeaders = { - serializedName: "policy-getentitytag-headers", - type: { - name: "Composite", - className: "PolicyGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var PolicyGetHeaders = { - serializedName: "policy-get-headers", - type: { - name: "Composite", - className: "PolicyGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiGetEntityTagHeaders = { - serializedName: "api-getentitytag-headers", - type: { - name: "Composite", - className: "ApiGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiGetHeaders = { - serializedName: "api-get-headers", - type: { - name: "Composite", - className: "ApiGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiCreateOrUpdateHeaders = { - serializedName: "api-createorupdate-headers", - type: { - name: "Composite", - className: "ApiCreateOrUpdateHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiReleaseGetEntityTagHeaders = { - serializedName: "apirelease-getentitytag-headers", - type: { - name: "Composite", - className: "ApiReleaseGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiOperationGetEntityTagHeaders = { - serializedName: "apioperation-getentitytag-headers", - type: { - name: "Composite", - className: "ApiOperationGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiOperationGetHeaders = { - serializedName: "apioperation-get-headers", - type: { - name: "Composite", - className: "ApiOperationGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiOperationPolicyGetEntityTagHeaders = { - serializedName: "apioperationpolicy-getentitytag-headers", - type: { - name: "Composite", - className: "ApiOperationPolicyGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiOperationPolicyGetHeaders = { - serializedName: "apioperationpolicy-get-headers", - type: { - name: "Composite", - className: "ApiOperationPolicyGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiPolicyListByApiHeaders = { - serializedName: "apipolicy-listbyapi-headers", - type: { - name: "Composite", - className: "ApiPolicyListByApiHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiPolicyGetEntityTagHeaders = { - serializedName: "apipolicy-getentitytag-headers", - type: { - name: "Composite", - className: "ApiPolicyGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiPolicyGetHeaders = { - serializedName: "apipolicy-get-headers", - type: { - name: "Composite", - className: "ApiPolicyGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiSchemaListByApiHeaders = { - serializedName: "apischema-listbyapi-headers", - type: { - name: "Composite", - className: "ApiSchemaListByApiHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiSchemaGetEntityTagHeaders = { - serializedName: "apischema-getentitytag-headers", - type: { - name: "Composite", - className: "ApiSchemaGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiSchemaGetHeaders = { - serializedName: "apischema-get-headers", - type: { - name: "Composite", - className: "ApiSchemaGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiDiagnosticGetEntityTagHeaders = { - serializedName: "apidiagnostic-getentitytag-headers", - type: { - name: "Composite", - className: "ApiDiagnosticGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiDiagnosticGetHeaders = { - serializedName: "apidiagnostic-get-headers", - type: { - name: "Composite", - className: "ApiDiagnosticGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiIssueGetEntityTagHeaders = { - serializedName: "apiissue-getentitytag-headers", - type: { - name: "Composite", - className: "ApiIssueGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiIssueGetHeaders = { - serializedName: "apiissue-get-headers", - type: { - name: "Composite", - className: "ApiIssueGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiIssueCommentGetEntityTagHeaders = { - serializedName: "apiissuecomment-getentitytag-headers", - type: { - name: "Composite", - className: "ApiIssueCommentGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiIssueCommentGetHeaders = { - serializedName: "apiissuecomment-get-headers", - type: { - name: "Composite", - className: "ApiIssueCommentGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiIssueAttachmentGetEntityTagHeaders = { - serializedName: "apiissueattachment-getentitytag-headers", - type: { - name: "Composite", - className: "ApiIssueAttachmentGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiIssueAttachmentGetHeaders = { - serializedName: "apiissueattachment-get-headers", - type: { - name: "Composite", - className: "ApiIssueAttachmentGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var AuthorizationServerGetEntityTagHeaders = { - serializedName: "authorizationserver-getentitytag-headers", - type: { - name: "Composite", - className: "AuthorizationServerGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var AuthorizationServerGetHeaders = { - serializedName: "authorizationserver-get-headers", - type: { - name: "Composite", - className: "AuthorizationServerGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var BackendGetEntityTagHeaders = { - serializedName: "backend-getentitytag-headers", - type: { - name: "Composite", - className: "BackendGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var BackendGetHeaders = { - serializedName: "backend-get-headers", - type: { - name: "Composite", - className: "BackendGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var CertificateGetEntityTagHeaders = { - serializedName: "certificate-getentitytag-headers", - type: { - name: "Composite", - className: "CertificateGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var CertificateGetHeaders = { - serializedName: "certificate-get-headers", - type: { - name: "Composite", - className: "CertificateGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var DiagnosticGetEntityTagHeaders = { - serializedName: "diagnostic-getentitytag-headers", - type: { - name: "Composite", - className: "DiagnosticGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var DiagnosticGetHeaders = { - serializedName: "diagnostic-get-headers", - type: { - name: "Composite", - className: "DiagnosticGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var EmailTemplateGetEntityTagHeaders = { - serializedName: "emailtemplate-getentitytag-headers", - type: { - name: "Composite", - className: "EmailTemplateGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var EmailTemplateGetHeaders = { - serializedName: "emailtemplate-get-headers", - type: { - name: "Composite", - className: "EmailTemplateGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var GroupGetEntityTagHeaders = { - serializedName: "group-getentitytag-headers", - type: { - name: "Composite", - className: "GroupGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var GroupGetHeaders = { - serializedName: "group-get-headers", - type: { - name: "Composite", - className: "GroupGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var IdentityProviderGetEntityTagHeaders = { - serializedName: "identityprovider-getentitytag-headers", - type: { - name: "Composite", - className: "IdentityProviderGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var IdentityProviderGetHeaders = { - serializedName: "identityprovider-get-headers", - type: { - name: "Composite", - className: "IdentityProviderGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var LoggerGetEntityTagHeaders = { - serializedName: "logger-getentitytag-headers", - type: { - name: "Composite", - className: "LoggerGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var LoggerGetHeaders = { - serializedName: "logger-get-headers", - type: { - name: "Composite", - className: "LoggerGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var OpenIdConnectProviderGetEntityTagHeaders = { - serializedName: "openidconnectprovider-getentitytag-headers", - type: { - name: "Composite", - className: "OpenIdConnectProviderGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var OpenIdConnectProviderGetHeaders = { - serializedName: "openidconnectprovider-get-headers", - type: { - name: "Composite", - className: "OpenIdConnectProviderGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var SignInSettingsGetEntityTagHeaders = { - serializedName: "signinsettings-getentitytag-headers", - type: { - name: "Composite", - className: "SignInSettingsGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var SignInSettingsGetHeaders = { - serializedName: "signinsettings-get-headers", - type: { - name: "Composite", - className: "SignInSettingsGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var SignUpSettingsGetEntityTagHeaders = { - serializedName: "signupsettings-getentitytag-headers", - type: { - name: "Composite", - className: "SignUpSettingsGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var SignUpSettingsGetHeaders = { - serializedName: "signupsettings-get-headers", - type: { - name: "Composite", - className: "SignUpSettingsGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var DelegationSettingsGetEntityTagHeaders = { - serializedName: "delegationsettings-getentitytag-headers", - type: { - name: "Composite", - className: "DelegationSettingsGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var DelegationSettingsGetHeaders = { - serializedName: "delegationsettings-get-headers", - type: { - name: "Composite", - className: "DelegationSettingsGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ProductGetEntityTagHeaders = { - serializedName: "product-getentitytag-headers", - type: { - name: "Composite", - className: "ProductGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ProductGetHeaders = { - serializedName: "product-get-headers", - type: { - name: "Composite", - className: "ProductGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ProductPolicyListByProductHeaders = { - serializedName: "productpolicy-listbyproduct-headers", - type: { - name: "Composite", - className: "ProductPolicyListByProductHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ProductPolicyGetEntityTagHeaders = { - serializedName: "productpolicy-getentitytag-headers", - type: { - name: "Composite", - className: "ProductPolicyGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ProductPolicyGetHeaders = { - serializedName: "productpolicy-get-headers", - type: { - name: "Composite", - className: "ProductPolicyGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var PropertyGetEntityTagHeaders = { - serializedName: "property-getentitytag-headers", - type: { - name: "Composite", - className: "PropertyGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var PropertyGetHeaders = { - serializedName: "property-get-headers", - type: { - name: "Composite", - className: "PropertyGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var SubscriptionGetEntityTagHeaders = { - serializedName: "subscription-getentitytag-headers", - type: { - name: "Composite", - className: "SubscriptionGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var SubscriptionGetHeaders = { - serializedName: "subscription-get-headers", - type: { - name: "Composite", - className: "SubscriptionGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var TagGetEntityStateHeaders = { - serializedName: "tag-getentitystate-headers", - type: { - name: "Composite", - className: "TagGetEntityStateHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var TagGetHeaders = { - serializedName: "tag-get-headers", - type: { - name: "Composite", - className: "TagGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var TagGetEntityStateByApiHeaders = { - serializedName: "tag-getentitystatebyapi-headers", - type: { - name: "Composite", - className: "TagGetEntityStateByApiHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var TagGetByApiHeaders = { - serializedName: "tag-getbyapi-headers", - type: { - name: "Composite", - className: "TagGetByApiHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var TagDescriptionGetEntityStateHeaders = { - serializedName: "tagdescription-getentitystate-headers", - type: { - name: "Composite", - className: "TagDescriptionGetEntityStateHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var TagDescriptionGetHeaders = { - serializedName: "tagdescription-get-headers", - type: { - name: "Composite", - className: "TagDescriptionGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var TagGetEntityStateByOperationHeaders = { - serializedName: "tag-getentitystatebyoperation-headers", - type: { - name: "Composite", - className: "TagGetEntityStateByOperationHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var TagGetByOperationHeaders = { - serializedName: "tag-getbyoperation-headers", - type: { - name: "Composite", - className: "TagGetByOperationHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var TagGetEntityStateByProductHeaders = { - serializedName: "tag-getentitystatebyproduct-headers", - type: { - name: "Composite", - className: "TagGetEntityStateByProductHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var TagGetByProductHeaders = { - serializedName: "tag-getbyproduct-headers", - type: { - name: "Composite", - className: "TagGetByProductHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var TenantAccessGetHeaders = { - serializedName: "tenantaccess-get-headers", - type: { - name: "Composite", - className: "TenantAccessGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var TenantAccessGitGetHeaders = { - serializedName: "tenantaccessgit-get-headers", - type: { - name: "Composite", - className: "TenantAccessGitGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var UserGetEntityTagHeaders = { - serializedName: "user-getentitytag-headers", - type: { - name: "Composite", - className: "UserGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var UserGetHeaders = { - serializedName: "user-get-headers", - type: { - name: "Composite", - className: "UserGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiVersionSetGetEntityTagHeaders = { - serializedName: "apiversionset-getentitytag-headers", - type: { - name: "Composite", - className: "ApiVersionSetGetEntityTagHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var ApiVersionSetGetHeaders = { - serializedName: "apiversionset-get-headers", - type: { - name: "Composite", - className: "ApiVersionSetGetHeaders", - modelProperties: { - eTag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } - }; - var RegionListResult = { - serializedName: "RegionListResult", - type: { - name: "Composite", - className: "RegionListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RegionContract" - } - } - } - }, - count: { - serializedName: "count", - type: { - name: "Number" - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var ApiCollection = { - serializedName: "ApiCollection", - type: { - name: "Composite", - className: "ApiCollection", - modelProperties: { - value: { - readOnly: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApiContract" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var TagResourceCollection = { - serializedName: "TagResourceCollection", - type: { - name: "Composite", - className: "TagResourceCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TagResourceContract" - } - } - } - }, - count: { - serializedName: "count", - type: { - name: "Number" - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var ApiRevisionCollection = { - serializedName: "ApiRevisionCollection", - type: { - name: "Composite", - className: "ApiRevisionCollection", - modelProperties: { - value: { - readOnly: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApiRevisionContract" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var ApiReleaseCollection = { - serializedName: "ApiReleaseCollection", - type: { - name: "Composite", - className: "ApiReleaseCollection", - modelProperties: { - value: { - readOnly: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApiReleaseContract" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var OperationCollection = { - serializedName: "OperationCollection", - type: { - name: "Composite", - className: "OperationCollection", - modelProperties: { - value: { - readOnly: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OperationContract" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var ProductCollection = { - serializedName: "ProductCollection", - type: { - name: "Composite", - className: "ProductCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ProductContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var SchemaCollection = { - serializedName: "SchemaCollection", - type: { - name: "Composite", - className: "SchemaCollection", - modelProperties: { - value: { - readOnly: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SchemaContract" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var DiagnosticCollection = { - serializedName: "DiagnosticCollection", - type: { - name: "Composite", - className: "DiagnosticCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnosticContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var LoggerCollection = { - serializedName: "LoggerCollection", - type: { - name: "Composite", - className: "LoggerCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LoggerContract" - } - } - } - }, - count: { - serializedName: "count", - type: { - name: "Number" - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var IssueCollection = { - serializedName: "IssueCollection", - type: { - name: "Composite", - className: "IssueCollection", - modelProperties: { - value: { - readOnly: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IssueContract" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var IssueCommentCollection = { - serializedName: "IssueCommentCollection", - type: { - name: "Composite", - className: "IssueCommentCollection", - modelProperties: { - value: { - readOnly: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IssueCommentContract" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var IssueAttachmentCollection = { - serializedName: "IssueAttachmentCollection", - type: { - name: "Composite", - className: "IssueAttachmentCollection", - modelProperties: { - value: { - readOnly: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IssueAttachmentContract" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var AuthorizationServerCollection = { - serializedName: "AuthorizationServerCollection", - type: { - name: "Composite", - className: "AuthorizationServerCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AuthorizationServerContract" - } - } - } - }, - count: { - serializedName: "count", - type: { - name: "Number" - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var BackendCollection = { - serializedName: "BackendCollection", - type: { - name: "Composite", - className: "BackendCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BackendContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var CertificateCollection = { - serializedName: "CertificateCollection", - type: { - name: "Composite", - className: "CertificateCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CertificateContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var OperationListResult = { - serializedName: "OperationListResult", - type: { - name: "Composite", - className: "OperationListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Operation" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var ApiManagementServiceListResult = { - serializedName: "ApiManagementServiceListResult", - type: { - name: "Composite", - className: "ApiManagementServiceListResult", - modelProperties: { - value: { - required: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApiManagementServiceResource" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var EmailTemplateCollection = { - serializedName: "EmailTemplateCollection", - type: { - name: "Composite", - className: "EmailTemplateCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EmailTemplateContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var GroupCollection = { - serializedName: "GroupCollection", - type: { - name: "Composite", - className: "GroupCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GroupContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var UserCollection = { - serializedName: "UserCollection", - type: { - name: "Composite", - className: "UserCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UserContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var IdentityProviderList = { - serializedName: "IdentityProviderList", - type: { - name: "Composite", - className: "IdentityProviderList", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IdentityProviderContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var NotificationCollection = { - serializedName: "NotificationCollection", - type: { - name: "Composite", - className: "NotificationCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NotificationContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var OpenIdConnectProviderCollection = { - serializedName: "OpenIdConnectProviderCollection", - type: { - name: "Composite", - className: "OpenIdConnectProviderCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OpenidConnectProviderContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var SubscriptionCollection = { - serializedName: "SubscriptionCollection", - type: { - name: "Composite", - className: "SubscriptionCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubscriptionContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var PropertyCollection = { - serializedName: "PropertyCollection", - type: { - name: "Composite", - className: "PropertyCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PropertyContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var ReportCollection = { - serializedName: "ReportCollection", - type: { - name: "Composite", - className: "ReportCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ReportRecordContract" - } - } - } - }, - count: { - serializedName: "count", - type: { - name: "Number" - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var RequestReportCollection = { - serializedName: "RequestReportCollection", - type: { - name: "Composite", - className: "RequestReportCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RequestReportRecordContract" - } - } - } - }, - count: { - serializedName: "count", - type: { - name: "Number" - } - } - } - } - }; - var TagCollection = { - serializedName: "TagCollection", - type: { - name: "Composite", - className: "TagCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TagContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var TagDescriptionCollection = { - serializedName: "TagDescriptionCollection", - type: { - name: "Composite", - className: "TagDescriptionCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TagDescriptionContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var UserIdentityCollection = { - serializedName: "UserIdentityCollection", - type: { - name: "Composite", - className: "UserIdentityCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UserIdentityContract" - } - } - } - }, - count: { - serializedName: "count", - type: { - name: "Number" - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - var ApiVersionSetCollection = { - serializedName: "ApiVersionSetCollection", - type: { - name: "Composite", - className: "ApiVersionSetCollection", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApiVersionSetContract" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } - }; - - var mappers = /*#__PURE__*/Object.freeze({ - CloudError: CloudError, - BaseResource: BaseResource, - ErrorFieldContract: ErrorFieldContract, - ErrorResponseBody: ErrorResponseBody, - ErrorResponse: ErrorResponse, - Resource: Resource, - PolicyContract: PolicyContract, - PolicyCollection: PolicyCollection, - PolicySnippetContract: PolicySnippetContract, - PolicySnippetsCollection: PolicySnippetsCollection, - RegionContract: RegionContract, - ApiExportResult: ApiExportResult, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiEntityBaseContract: ApiEntityBaseContract, - ApiContractProperties: ApiContractProperties, - ApiContract: ApiContract, - ApiCreateOrUpdatePropertiesWsdlSelector: ApiCreateOrUpdatePropertiesWsdlSelector, - ApiCreateOrUpdateParameter: ApiCreateOrUpdateParameter, - ApiUpdateContract: ApiUpdateContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiRevisionContract: ApiRevisionContract, - ApiRevisionInfoContract: ApiRevisionInfoContract, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RepresentationContract: RepresentationContract, - RequestContract: RequestContract, - ResponseContract: ResponseContract, - OperationEntityBaseContract: OperationEntityBaseContract, - OperationUpdateContract: OperationUpdateContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductEntityBaseParameters: ProductEntityBaseParameters, - ProductTagResourceContractProperties: ProductTagResourceContractProperties, - OperationTagResourceContractProperties: OperationTagResourceContractProperties, - ApiTagResourceContractProperties: ApiTagResourceContractProperties, - TagTagResourceContractProperties: TagTagResourceContractProperties, - TagResourceContract: TagResourceContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerContractBaseProperties: AuthorizationServerContractBaseProperties, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - X509CertificateName: X509CertificateName, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - BackendProperties: BackendProperties, - BackendCredentialsContract: BackendCredentialsContract, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendBaseParameters: BackendBaseParameters, - BackendContract: BackendContract, - BackendUpdateParameters: BackendUpdateParameters, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - CertificateCreateOrUpdateParameters: CertificateCreateOrUpdateParameters, - CertificateInformation: CertificateInformation, - CertificateConfiguration: CertificateConfiguration, - HostnameConfiguration: HostnameConfiguration, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceBackupRestoreParameters: ApiManagementServiceBackupRestoreParameters, - ApiManagementServiceBaseProperties: ApiManagementServiceBaseProperties, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - ApimResource: ApimResource, - ApiManagementServiceResource: ApiManagementServiceResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - ApiManagementServiceGetSsoTokenResult: ApiManagementServiceGetSsoTokenResult, - ApiManagementServiceCheckNameAvailabilityParameters: ApiManagementServiceCheckNameAvailabilityParameters, - ApiManagementServiceNameAvailabilityResult: ApiManagementServiceNameAvailabilityResult, - ApiManagementServiceApplyNetworkConfigurationParameters: ApiManagementServiceApplyNetworkConfigurationParameters, - ApiManagementServiceUploadCertificateParameters: ApiManagementServiceUploadCertificateParameters, - HostnameConfigurationOld: HostnameConfigurationOld, - ApiManagementServiceUpdateHostnameParameters: ApiManagementServiceUpdateHostnameParameters, - OperationDisplay: OperationDisplay, - Operation: Operation, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateUpdateParameters: EmailTemplateUpdateParameters, - GroupContractProperties: GroupContractProperties, - GroupContract: GroupContract, - GroupCreateParameters: GroupCreateParameters, - GroupUpdateParameters: GroupUpdateParameters, - UserIdentityContract: UserIdentityContract, - UserEntityBaseParameters: UserEntityBaseParameters, - UserContract: UserContract, - IdentityProviderContract: IdentityProviderContract, - IdentityProviderUpdateParameters: IdentityProviderUpdateParameters, - IdentityProviderBaseParameters: IdentityProviderBaseParameters, - LoggerUpdateContract: LoggerUpdateContract, - RecipientsContractProperties: RecipientsContractProperties, - NotificationContract: NotificationContract, - RecipientUserContract: RecipientUserContract, - RecipientUserCollection: RecipientUserCollection, - RecipientEmailContract: RecipientEmailContract, - RecipientEmailCollection: RecipientEmailCollection, - ConnectivityStatusContract: ConnectivityStatusContract, - NetworkStatusContract: NetworkStatusContract, - NetworkStatusContractByLocation: NetworkStatusContractByLocation, - OpenidConnectProviderContract: OpenidConnectProviderContract, - OpenidConnectProviderUpdateContract: OpenidConnectProviderUpdateContract, - PortalSigninSettings: PortalSigninSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalSignupSettings: PortalSignupSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - PortalDelegationSettings: PortalDelegationSettings, - ProductUpdateParameters: ProductUpdateParameters, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - PropertyUpdateParameters: PropertyUpdateParameters, - PropertyEntityBaseParameters: PropertyEntityBaseParameters, - QuotaCounterValueContractProperties: QuotaCounterValueContractProperties, - QuotaCounterContract: QuotaCounterContract, - QuotaCounterCollection: QuotaCounterCollection, - QuotaCounterValueContract: QuotaCounterValueContract, - ReportRecordContract: ReportRecordContract, - RequestReportRecordContract: RequestReportRecordContract, - SubscriptionCreateParameters: SubscriptionCreateParameters, - SubscriptionUpdateParameters: SubscriptionUpdateParameters, - TagContract: TagContract, - TagCreateUpdateParameters: TagCreateUpdateParameters, - TagDescriptionContract: TagDescriptionContract, - TagDescriptionCreateParameters: TagDescriptionCreateParameters, - AccessInformationContract: AccessInformationContract, - AccessInformationUpdateParameters: AccessInformationUpdateParameters, - DeployConfigurationParameters: DeployConfigurationParameters, - OperationResultLogItemContract: OperationResultLogItemContract, - OperationResultContract: OperationResultContract, - SaveConfigurationParameter: SaveConfigurationParameter, - TenantConfigurationSyncStateContract: TenantConfigurationSyncStateContract, - GenerateSsoUrlResult: GenerateSsoUrlResult, - UserCreateParameters: UserCreateParameters, - UserTokenParameters: UserTokenParameters, - UserTokenResult: UserTokenResult, - UserUpdateParameters: UserUpdateParameters, - ApiVersionSetContract: ApiVersionSetContract, - ApiVersionSetEntityBase: ApiVersionSetEntityBase, - ApiVersionSetUpdateParameters: ApiVersionSetUpdateParameters, - PolicyGetEntityTagHeaders: PolicyGetEntityTagHeaders, - PolicyGetHeaders: PolicyGetHeaders, - ApiGetEntityTagHeaders: ApiGetEntityTagHeaders, - ApiGetHeaders: ApiGetHeaders, - ApiCreateOrUpdateHeaders: ApiCreateOrUpdateHeaders, - ApiReleaseGetEntityTagHeaders: ApiReleaseGetEntityTagHeaders, - ApiOperationGetEntityTagHeaders: ApiOperationGetEntityTagHeaders, - ApiOperationGetHeaders: ApiOperationGetHeaders, - ApiOperationPolicyGetEntityTagHeaders: ApiOperationPolicyGetEntityTagHeaders, - ApiOperationPolicyGetHeaders: ApiOperationPolicyGetHeaders, - ApiPolicyListByApiHeaders: ApiPolicyListByApiHeaders, - ApiPolicyGetEntityTagHeaders: ApiPolicyGetEntityTagHeaders, - ApiPolicyGetHeaders: ApiPolicyGetHeaders, - ApiSchemaListByApiHeaders: ApiSchemaListByApiHeaders, - ApiSchemaGetEntityTagHeaders: ApiSchemaGetEntityTagHeaders, - ApiSchemaGetHeaders: ApiSchemaGetHeaders, - ApiDiagnosticGetEntityTagHeaders: ApiDiagnosticGetEntityTagHeaders, - ApiDiagnosticGetHeaders: ApiDiagnosticGetHeaders, - ApiIssueGetEntityTagHeaders: ApiIssueGetEntityTagHeaders, - ApiIssueGetHeaders: ApiIssueGetHeaders, - ApiIssueCommentGetEntityTagHeaders: ApiIssueCommentGetEntityTagHeaders, - ApiIssueCommentGetHeaders: ApiIssueCommentGetHeaders, - ApiIssueAttachmentGetEntityTagHeaders: ApiIssueAttachmentGetEntityTagHeaders, - ApiIssueAttachmentGetHeaders: ApiIssueAttachmentGetHeaders, - AuthorizationServerGetEntityTagHeaders: AuthorizationServerGetEntityTagHeaders, - AuthorizationServerGetHeaders: AuthorizationServerGetHeaders, - BackendGetEntityTagHeaders: BackendGetEntityTagHeaders, - BackendGetHeaders: BackendGetHeaders, - CertificateGetEntityTagHeaders: CertificateGetEntityTagHeaders, - CertificateGetHeaders: CertificateGetHeaders, - DiagnosticGetEntityTagHeaders: DiagnosticGetEntityTagHeaders, - DiagnosticGetHeaders: DiagnosticGetHeaders, - EmailTemplateGetEntityTagHeaders: EmailTemplateGetEntityTagHeaders, - EmailTemplateGetHeaders: EmailTemplateGetHeaders, - GroupGetEntityTagHeaders: GroupGetEntityTagHeaders, - GroupGetHeaders: GroupGetHeaders, - IdentityProviderGetEntityTagHeaders: IdentityProviderGetEntityTagHeaders, - IdentityProviderGetHeaders: IdentityProviderGetHeaders, - LoggerGetEntityTagHeaders: LoggerGetEntityTagHeaders, - LoggerGetHeaders: LoggerGetHeaders, - OpenIdConnectProviderGetEntityTagHeaders: OpenIdConnectProviderGetEntityTagHeaders, - OpenIdConnectProviderGetHeaders: OpenIdConnectProviderGetHeaders, - SignInSettingsGetEntityTagHeaders: SignInSettingsGetEntityTagHeaders, - SignInSettingsGetHeaders: SignInSettingsGetHeaders, - SignUpSettingsGetEntityTagHeaders: SignUpSettingsGetEntityTagHeaders, - SignUpSettingsGetHeaders: SignUpSettingsGetHeaders, - DelegationSettingsGetEntityTagHeaders: DelegationSettingsGetEntityTagHeaders, - DelegationSettingsGetHeaders: DelegationSettingsGetHeaders, - ProductGetEntityTagHeaders: ProductGetEntityTagHeaders, - ProductGetHeaders: ProductGetHeaders, - ProductPolicyListByProductHeaders: ProductPolicyListByProductHeaders, - ProductPolicyGetEntityTagHeaders: ProductPolicyGetEntityTagHeaders, - ProductPolicyGetHeaders: ProductPolicyGetHeaders, - PropertyGetEntityTagHeaders: PropertyGetEntityTagHeaders, - PropertyGetHeaders: PropertyGetHeaders, - SubscriptionGetEntityTagHeaders: SubscriptionGetEntityTagHeaders, - SubscriptionGetHeaders: SubscriptionGetHeaders, - TagGetEntityStateHeaders: TagGetEntityStateHeaders, - TagGetHeaders: TagGetHeaders, - TagGetEntityStateByApiHeaders: TagGetEntityStateByApiHeaders, - TagGetByApiHeaders: TagGetByApiHeaders, - TagDescriptionGetEntityStateHeaders: TagDescriptionGetEntityStateHeaders, - TagDescriptionGetHeaders: TagDescriptionGetHeaders, - TagGetEntityStateByOperationHeaders: TagGetEntityStateByOperationHeaders, - TagGetByOperationHeaders: TagGetByOperationHeaders, - TagGetEntityStateByProductHeaders: TagGetEntityStateByProductHeaders, - TagGetByProductHeaders: TagGetByProductHeaders, - TenantAccessGetHeaders: TenantAccessGetHeaders, - TenantAccessGitGetHeaders: TenantAccessGitGetHeaders, - UserGetEntityTagHeaders: UserGetEntityTagHeaders, - UserGetHeaders: UserGetHeaders, - ApiVersionSetGetEntityTagHeaders: ApiVersionSetGetEntityTagHeaders, - ApiVersionSetGetHeaders: ApiVersionSetGetHeaders, - RegionListResult: RegionListResult, - ApiCollection: ApiCollection, - TagResourceCollection: TagResourceCollection, - ApiRevisionCollection: ApiRevisionCollection, - ApiReleaseCollection: ApiReleaseCollection, - OperationCollection: OperationCollection, - ProductCollection: ProductCollection, - SchemaCollection: SchemaCollection, - DiagnosticCollection: DiagnosticCollection, - LoggerCollection: LoggerCollection, - IssueCollection: IssueCollection, - IssueCommentCollection: IssueCommentCollection, - IssueAttachmentCollection: IssueAttachmentCollection, - AuthorizationServerCollection: AuthorizationServerCollection, - BackendCollection: BackendCollection, - CertificateCollection: CertificateCollection, - OperationListResult: OperationListResult, - ApiManagementServiceListResult: ApiManagementServiceListResult, - EmailTemplateCollection: EmailTemplateCollection, - GroupCollection: GroupCollection, - UserCollection: UserCollection, - IdentityProviderList: IdentityProviderList, - NotificationCollection: NotificationCollection, - OpenIdConnectProviderCollection: OpenIdConnectProviderCollection, - SubscriptionCollection: SubscriptionCollection, - PropertyCollection: PropertyCollection, - ReportCollection: ReportCollection, - RequestReportCollection: RequestReportCollection, - TagCollection: TagCollection, - TagDescriptionCollection: TagDescriptionCollection, - UserIdentityCollection: UserIdentityCollection, - ApiVersionSetCollection: ApiVersionSetCollection - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers = /*#__PURE__*/Object.freeze({ - PolicyCollection: PolicyCollection, - PolicyContract: PolicyContract, - Resource: Resource, - BaseResource: BaseResource, - CloudError: CloudError, - PolicyGetEntityTagHeaders: PolicyGetEntityTagHeaders, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PolicyGetHeaders: PolicyGetHeaders, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - var acceptLanguage = { - parameterPath: "acceptLanguage", - mapper: { - serializedName: "accept-language", - defaultValue: 'en-US', - type: { - name: "String" - } - } - }; - var accessName = { - parameterPath: "accessName", - mapper: { - required: true, - isConstant: true, - serializedName: "accessName", - defaultValue: 'access', - type: { - name: "String" - } - } - }; - var apiId0 = { - parameterPath: "apiId", - mapper: { - required: true, - serializedName: "apiId", - constraints: { - MaxLength: 256, - MinLength: 1, - Pattern: /^[^*#&+:<>?]+$/ - }, - type: { - name: "String" - } - } - }; - var apiId1 = { - parameterPath: "apiId", - mapper: { - required: true, - serializedName: "apiId", - constraints: { - MaxLength: 80, - MinLength: 1, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var apiVersion = { - parameterPath: "apiVersion", - mapper: { - required: true, - serializedName: "api-version", - type: { - name: "String" - } - } - }; - var attachmentId = { - parameterPath: "attachmentId", - mapper: { - required: true, - serializedName: "attachmentId", - constraints: { - MaxLength: 256, - MinLength: 1, - Pattern: /^[^*#&+:<>?]+$/ - }, - type: { - name: "String" - } - } - }; - var authsid = { - parameterPath: "authsid", - mapper: { - required: true, - serializedName: "authsid", - constraints: { - MaxLength: 80, - MinLength: 1, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var backendid = { - parameterPath: "backendid", - mapper: { - required: true, - serializedName: "backendid", - constraints: { - MaxLength: 80, - MinLength: 1, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var certificateId = { - parameterPath: "certificateId", - mapper: { - required: true, - serializedName: "certificateId", - constraints: { - MaxLength: 80, - MinLength: 1, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var commentId = { - parameterPath: "commentId", - mapper: { - required: true, - serializedName: "commentId", - constraints: { - MaxLength: 256, - MinLength: 1, - Pattern: /^[^*#&+:<>?]+$/ - }, - type: { - name: "String" - } - } - }; - var configurationName = { - parameterPath: "configurationName", - mapper: { - required: true, - isConstant: true, - serializedName: "configurationName", - defaultValue: 'configuration', - type: { - name: "String" - } - } - }; - var deleteRevisions = { - parameterPath: [ - "options", - "deleteRevisions" - ], - mapper: { - serializedName: "deleteRevisions", - type: { - name: "Boolean" - } - } - }; - var deleteSubscriptions = { - parameterPath: [ - "options", - "deleteSubscriptions" - ], - mapper: { - serializedName: "deleteSubscriptions", - type: { - name: "Boolean" - } - } - }; - var diagnosticId = { - parameterPath: "diagnosticId", - mapper: { - required: true, - serializedName: "diagnosticId", - constraints: { - MaxLength: 80, - MinLength: 1, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var email = { - parameterPath: "email", - mapper: { - required: true, - serializedName: "email", - type: { - name: "String" - } - } - }; - var expandApiVersionSet = { - parameterPath: [ - "options", - "expandApiVersionSet" - ], - mapper: { - serializedName: "expandApiVersionSet", - defaultValue: false, - type: { - name: "Boolean" - } - } - }; - var expandGroups = { - parameterPath: [ - "options", - "expandGroups" - ], - mapper: { - serializedName: "expandGroups", - type: { - name: "Boolean" - } - } - }; - var exportParameter = { - parameterPath: "exportParameter", - mapper: { - required: true, - isConstant: true, - serializedName: "export", - defaultValue: 'true', - type: { - name: "String" - } - } - }; - var filter0 = { - parameterPath: [ - "options", - "filter" - ], - mapper: { - serializedName: "$filter", - type: { - name: "String" - } - } - }; - var filter1 = { - parameterPath: "filter", - mapper: { - required: true, - serializedName: "$filter", - type: { - name: "String" - } - } - }; - var format = { - parameterPath: "format", - mapper: { - required: true, - serializedName: "format", - type: { - name: "String" - } - } - }; - var groupId = { - parameterPath: "groupId", - mapper: { - required: true, - serializedName: "groupId", - constraints: { - MaxLength: 80, - MinLength: 1, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var identityProviderName = { - parameterPath: "identityProviderName", - mapper: { - required: true, - serializedName: "identityProviderName", - type: { - name: "String" - } - } - }; - var ifMatch0 = { - parameterPath: "ifMatch", - mapper: { - required: true, - serializedName: "If-Match", - type: { - name: "String" - } - } - }; - var ifMatch1 = { - parameterPath: [ - "options", - "ifMatch" - ], - mapper: { - serializedName: "If-Match", - type: { - name: "String" - } - } - }; - var interval = { - parameterPath: "interval", - mapper: { - required: true, - serializedName: "interval", - type: { - name: "TimeSpan" - } - } - }; - var issueId = { - parameterPath: "issueId", - mapper: { - required: true, - serializedName: "issueId", - constraints: { - MaxLength: 256, - MinLength: 1, - Pattern: /^[^*#&+:<>?]+$/ - }, - type: { - name: "String" - } - } - }; - var locationName = { - parameterPath: "locationName", - mapper: { - required: true, - serializedName: "locationName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - } - }; - var loggerid = { - parameterPath: "loggerid", - mapper: { - required: true, - serializedName: "loggerid", - constraints: { - MaxLength: 80, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var nextPageLink = { - parameterPath: "nextPageLink", - mapper: { - required: true, - serializedName: "nextLink", - type: { - name: "String" - } - }, - skipEncoding: true - }; - var notificationName = { - parameterPath: "notificationName", - mapper: { - required: true, - serializedName: "notificationName", - type: { - name: "String" - } - } - }; - var notify = { - parameterPath: [ - "options", - "notify" - ], - mapper: { - serializedName: "notify", - type: { - name: "Boolean" - } - } - }; - var operationId = { - parameterPath: "operationId", - mapper: { - required: true, - serializedName: "operationId", - constraints: { - MaxLength: 80, - MinLength: 1, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var opid = { - parameterPath: "opid", - mapper: { - required: true, - serializedName: "opid", - constraints: { - MaxLength: 256, - Pattern: /^[^*#&+:<>?]+$/ - }, - type: { - name: "String" - } - } - }; - var policyId = { - parameterPath: "policyId", - mapper: { - required: true, - isConstant: true, - serializedName: "policyId", - defaultValue: 'policy', - type: { - name: "String" - } - } - }; - var productId = { - parameterPath: "productId", - mapper: { - required: true, - serializedName: "productId", - constraints: { - MaxLength: 80, - MinLength: 1, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var propId = { - parameterPath: "propId", - mapper: { - required: true, - serializedName: "propId", - constraints: { - MaxLength: 80, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var quotaCounterKey = { - parameterPath: "quotaCounterKey", - mapper: { - required: true, - serializedName: "quotaCounterKey", - type: { - name: "String" - } - } - }; - var quotaPeriodKey = { - parameterPath: "quotaPeriodKey", - mapper: { - required: true, - serializedName: "quotaPeriodKey", - type: { - name: "String" - } - } - }; - var releaseId = { - parameterPath: "releaseId", - mapper: { - required: true, - serializedName: "releaseId", - constraints: { - MaxLength: 80, - MinLength: 1, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var resourceGroupName = { - parameterPath: "resourceGroupName", - mapper: { - required: true, - serializedName: "resourceGroupName", - type: { - name: "String" - } - } - }; - var schemaId = { - parameterPath: "schemaId", - mapper: { - required: true, - serializedName: "schemaId", - constraints: { - MaxLength: 80, - MinLength: 1, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var scope = { - parameterPath: [ - "options", - "scope" - ], - mapper: { - serializedName: "scope", - type: { - name: "Enum", - allowedValues: [ - "Tenant", - "Product", - "Api", - "Operation", - "All" - ] - } - } - }; - var serviceName = { - parameterPath: "serviceName", - mapper: { - required: true, - serializedName: "serviceName", - constraints: { - MaxLength: 50, - MinLength: 1, - Pattern: /^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/ - }, - type: { - name: "String" - } - } - }; - var sid = { - parameterPath: "sid", - mapper: { - required: true, - serializedName: "sid", - constraints: { - MaxLength: 80, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var skip = { - parameterPath: [ - "options", - "skip" - ], - mapper: { - serializedName: "$skip", - constraints: { - InclusiveMinimum: 0 - }, - type: { - name: "Number" - } - } - }; - var subscriptionId = { - parameterPath: "subscriptionId", - mapper: { - required: true, - serializedName: "subscriptionId", - type: { - name: "String" - } - } - }; - var tagId = { - parameterPath: "tagId", - mapper: { - required: true, - serializedName: "tagId", - constraints: { - MaxLength: 80, - MinLength: 1, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var templateName = { - parameterPath: "templateName", - mapper: { - required: true, - serializedName: "templateName", - type: { - name: "String" - } - } - }; - var top = { - parameterPath: [ - "options", - "top" - ], - mapper: { - serializedName: "$top", - constraints: { - InclusiveMinimum: 1 - }, - type: { - name: "Number" - } - } - }; - var uid = { - parameterPath: "uid", - mapper: { - required: true, - serializedName: "uid", - constraints: { - MaxLength: 80, - MinLength: 1, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - var versionSetId = { - parameterPath: "versionSetId", - mapper: { - required: true, - serializedName: "versionSetId", - constraints: { - MaxLength: 80, - MinLength: 1, - Pattern: /(^[\w]+$)|(^[\w][\w\-]+[\w]$)/ - }, - type: { - name: "String" - } - } - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a Policy. */ - var Policy = /** @class */ (function () { - /** - * Create a Policy. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function Policy(client) { - this.client = client; - } - Policy.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec, callback); - }; - Policy.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, getEntityTagOperationSpec, callback); - }; - Policy.prototype.get = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, getOperationSpec, callback); - }; - Policy.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec, callback); - }; - Policy.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec, callback); - }; - return Policy; - }()); - // Operation Specifications - var serializer = new msRest.Serializer(Mappers); - var listByServiceOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - scope, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PolicyCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer - }; - var getEntityTagOperationSpec = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - policyId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: PolicyGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer - }; - var getOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - policyId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PolicyContract, - headersMapper: PolicyGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer - }; - var createOrUpdateOperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - policyId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, PolicyContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: PolicyContract - }, - 201: { - bodyMapper: PolicyContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer - }; - var deleteMethodOperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - policyId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$1 = /*#__PURE__*/Object.freeze({ - PolicySnippetsCollection: PolicySnippetsCollection, - PolicySnippetContract: PolicySnippetContract, - CloudError: CloudError - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a PolicySnippets. */ - var PolicySnippets = /** @class */ (function () { - /** - * Create a PolicySnippets. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function PolicySnippets(client) { - this.client = client; - } - PolicySnippets.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$1, callback); - }; - return PolicySnippets; - }()); - // Operation Specifications - var serializer$1 = new msRest.Serializer(Mappers$1); - var listByServiceOperationSpec$1 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policySnippets", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - scope, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PolicySnippetsCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$1 - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$2 = /*#__PURE__*/Object.freeze({ - RegionListResult: RegionListResult, - RegionContract: RegionContract, - CloudError: CloudError - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a Regions. */ - var Regions = /** @class */ (function () { - /** - * Create a Regions. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function Regions(client) { - this.client = client; - } - Regions.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$2, callback); - }; - Regions.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec, callback); - }; - return Regions; - }()); - // Operation Specifications - var serializer$2 = new msRest.Serializer(Mappers$2); - var listByServiceOperationSpec$2 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/regions", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: RegionListResult - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$2 - }; - var listByServiceNextOperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: RegionListResult - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$2 - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$3 = /*#__PURE__*/Object.freeze({ - ApiCollection: ApiCollection, - ApiContract: ApiContract, - Resource: Resource, - BaseResource: BaseResource, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - ApiGetEntityTagHeaders: ApiGetEntityTagHeaders, - ApiGetHeaders: ApiGetHeaders, - ApiCreateOrUpdateParameter: ApiCreateOrUpdateParameter, - ApiCreateOrUpdatePropertiesWsdlSelector: ApiCreateOrUpdatePropertiesWsdlSelector, - ApiCreateOrUpdateHeaders: ApiCreateOrUpdateHeaders, - ApiUpdateContract: ApiUpdateContract, - TagResourceCollection: TagResourceCollection, - TagResourceContract: TagResourceContract, - TagTagResourceContractProperties: TagTagResourceContractProperties, - ApiTagResourceContractProperties: ApiTagResourceContractProperties, - ApiEntityBaseContract: ApiEntityBaseContract, - OperationTagResourceContractProperties: OperationTagResourceContractProperties, - ProductTagResourceContractProperties: ProductTagResourceContractProperties, - ProductEntityBaseParameters: ProductEntityBaseParameters, - CloudError: CloudError, - PolicyContract: PolicyContract, - ApiContractProperties: ApiContractProperties, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a Api. */ - var Api = /** @class */ (function () { - /** - * Create a Api. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function Api(client) { - this.client = client; - } - Api.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$3, callback); - }; - Api.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, getEntityTagOperationSpec$1, callback); - }; - Api.prototype.get = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, getOperationSpec$1, callback); - }; - Api.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, apiId, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$1, callback); - }; - Api.prototype.update = function (resourceGroupName$$1, serviceName$$1, apiId, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec, callback); - }; - Api.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, apiId, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$1, callback); - }; - Api.prototype.listByTags = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByTagsOperationSpec, callback); - }; - Api.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$1, callback); - }; - Api.prototype.listByTagsNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByTagsNextOperationSpec, callback); - }; - return Api; - }()); - // Operation Specifications - var serializer$3 = new msRest.Serializer(Mappers$3); - var listByServiceOperationSpec$3 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion, - expandApiVersionSet - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$3 - }; - var getEntityTagOperationSpec$1 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: ApiGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$3 - }; - var getOperationSpec$1 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiContract, - headersMapper: ApiGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$3 - }; - var createOrUpdateOperationSpec$1 = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ApiCreateOrUpdateParameter, { required: true }) - }, - responses: { - 200: { - bodyMapper: ApiContract, - headersMapper: ApiCreateOrUpdateHeaders - }, - 201: { - bodyMapper: ApiContract, - headersMapper: ApiCreateOrUpdateHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$3 - }; - var updateOperationSpec = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ApiUpdateContract, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$3 - }; - var deleteMethodOperationSpec$1 = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - subscriptionId - ], - queryParameters: [ - deleteRevisions, - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$3 - }; - var listByTagsOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apisByTags", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagResourceCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$3 - }; - var listByServiceNextOperationSpec$1 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$3 - }; - var listByTagsNextOperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagResourceCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$3 - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$4 = /*#__PURE__*/Object.freeze({ - ApiRevisionCollection: ApiRevisionCollection, - ApiRevisionContract: ApiRevisionContract, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiRevisions. */ - var ApiRevisions = /** @class */ (function () { - /** - * Create a ApiRevisions. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiRevisions(client) { - this.client = client; - } - ApiRevisions.prototype.list = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, listOperationSpec, callback); - }; - ApiRevisions.prototype.listNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listNextOperationSpec, callback); - }; - return ApiRevisions; - }()); - // Operation Specifications - var serializer$4 = new msRest.Serializer(Mappers$4); - var listOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/revisions", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - apiId1 - ], - queryParameters: [ - apiVersion, - filter0, - top, - skip - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiRevisionCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$4 - }; - var listNextOperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiRevisionCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$4 - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$5 = /*#__PURE__*/Object.freeze({ - ApiReleaseCollection: ApiReleaseCollection, - ApiReleaseContract: ApiReleaseContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - ApiReleaseGetEntityTagHeaders: ApiReleaseGetEntityTagHeaders, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiRelease. */ - var ApiRelease = /** @class */ (function () { - /** - * Create a ApiRelease. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiRelease(client) { - this.client = client; - } - ApiRelease.prototype.list = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, listOperationSpec$1, callback); - }; - ApiRelease.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, apiId, releaseId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - releaseId: releaseId$$1, - options: options - }, getEntityTagOperationSpec$2, callback); - }; - ApiRelease.prototype.get = function (resourceGroupName$$1, serviceName$$1, apiId, releaseId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - releaseId: releaseId$$1, - options: options - }, getOperationSpec$2, callback); - }; - ApiRelease.prototype.create = function (resourceGroupName$$1, serviceName$$1, apiId, releaseId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - releaseId: releaseId$$1, - parameters: parameters, - options: options - }, createOperationSpec, callback); - }; - ApiRelease.prototype.update = function (resourceGroupName$$1, serviceName$$1, apiId, releaseId$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - releaseId: releaseId$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$1, callback); - }; - ApiRelease.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, apiId, releaseId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - releaseId: releaseId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$2, callback); - }; - ApiRelease.prototype.listNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listNextOperationSpec$1, callback); - }; - return ApiRelease; - }()); - // Operation Specifications - var serializer$5 = new msRest.Serializer(Mappers$5); - var listOperationSpec$1 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - subscriptionId - ], - queryParameters: [ - apiVersion, - filter0, - top, - skip - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiReleaseCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$5 - }; - var getEntityTagOperationSpec$2 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - apiId1, - releaseId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: ApiReleaseGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$5 - }; - var getOperationSpec$2 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - apiId1, - releaseId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiReleaseContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$5 - }; - var createOperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - apiId1, - releaseId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ApiReleaseContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: ApiReleaseContract - }, - 201: { - bodyMapper: ApiReleaseContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$5 - }; - var updateOperationSpec$1 = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - apiId1, - releaseId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ApiReleaseContract, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$5 - }; - var deleteMethodOperationSpec$2 = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - apiId1, - releaseId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$5 - }; - var listNextOperationSpec$1 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiReleaseCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$5 - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$6 = /*#__PURE__*/Object.freeze({ - OperationCollection: OperationCollection, - OperationContract: OperationContract, - Resource: Resource, - BaseResource: BaseResource, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - ApiOperationGetEntityTagHeaders: ApiOperationGetEntityTagHeaders, - ApiOperationGetHeaders: ApiOperationGetHeaders, - OperationUpdateContract: OperationUpdateContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiOperation. */ - var ApiOperation = /** @class */ (function () { - /** - * Create a ApiOperation. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiOperation(client) { - this.client = client; - } - ApiOperation.prototype.listByApi = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, listByApiOperationSpec, callback); - }; - ApiOperation.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - options: options - }, getEntityTagOperationSpec$3, callback); - }; - ApiOperation.prototype.get = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - options: options - }, getOperationSpec$3, callback); - }; - ApiOperation.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$2, callback); - }; - ApiOperation.prototype.update = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$2, callback); - }; - ApiOperation.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$3, callback); - }; - ApiOperation.prototype.listByApiNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByApiNextOperationSpec, callback); - }; - return ApiOperation; - }()); - // Operation Specifications - var serializer$6 = new msRest.Serializer(Mappers$6); - var listByApiOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: OperationCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$6 - }; - var getEntityTagOperationSpec$3 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: ApiOperationGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$6 - }; - var getOperationSpec$3 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: OperationContract, - headersMapper: ApiOperationGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$6 - }; - var createOrUpdateOperationSpec$2 = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, OperationContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: OperationContract - }, - 201: { - bodyMapper: OperationContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$6 - }; - var updateOperationSpec$2 = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, OperationUpdateContract, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$6 - }; - var deleteMethodOperationSpec$3 = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$6 - }; - var listByApiNextOperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: OperationCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$6 - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$7 = /*#__PURE__*/Object.freeze({ - PolicyCollection: PolicyCollection, - PolicyContract: PolicyContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - ApiOperationPolicyGetEntityTagHeaders: ApiOperationPolicyGetEntityTagHeaders, - ApiOperationPolicyGetHeaders: ApiOperationPolicyGetHeaders, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiOperationPolicy. */ - var ApiOperationPolicy = /** @class */ (function () { - /** - * Create a ApiOperationPolicy. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiOperationPolicy(client) { - this.client = client; - } - ApiOperationPolicy.prototype.listByOperation = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - options: options - }, listByOperationOperationSpec, callback); - }; - ApiOperationPolicy.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - options: options - }, getEntityTagOperationSpec$4, callback); - }; - ApiOperationPolicy.prototype.get = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - options: options - }, getOperationSpec$4, callback); - }; - ApiOperationPolicy.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$3, callback); - }; - ApiOperationPolicy.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$4, callback); - }; - return ApiOperationPolicy; - }()); - // Operation Specifications - var serializer$7 = new msRest.Serializer(Mappers$7); - var listByOperationOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PolicyCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$7 - }; - var getEntityTagOperationSpec$4 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - policyId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: ApiOperationPolicyGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$7 - }; - var getOperationSpec$4 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - policyId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PolicyContract, - headersMapper: ApiOperationPolicyGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$7 - }; - var createOrUpdateOperationSpec$3 = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - policyId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, PolicyContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: PolicyContract - }, - 201: { - bodyMapper: PolicyContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$7 - }; - var deleteMethodOperationSpec$4 = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - policyId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$7 - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$8 = /*#__PURE__*/Object.freeze({ - ProductCollection: ProductCollection, - ProductContract: ProductContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiProduct. */ - var ApiProduct = /** @class */ (function () { - /** - * Create a ApiProduct. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiProduct(client) { - this.client = client; - } - ApiProduct.prototype.listByApis = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, listByApisOperationSpec, callback); - }; - ApiProduct.prototype.listByApisNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByApisNextOperationSpec, callback); - }; - return ApiProduct; - }()); - // Operation Specifications - var serializer$8 = new msRest.Serializer(Mappers$8); - var listByApisOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/products", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ProductCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$8 - }; - var listByApisNextOperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ProductCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$8 - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$9 = /*#__PURE__*/Object.freeze({ - PolicyCollection: PolicyCollection, - PolicyContract: PolicyContract, - Resource: Resource, - BaseResource: BaseResource, - ApiPolicyListByApiHeaders: ApiPolicyListByApiHeaders, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - ApiPolicyGetEntityTagHeaders: ApiPolicyGetEntityTagHeaders, - ApiPolicyGetHeaders: ApiPolicyGetHeaders, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiPolicy. */ - var ApiPolicy = /** @class */ (function () { - /** - * Create a ApiPolicy. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiPolicy(client) { - this.client = client; - } - ApiPolicy.prototype.listByApi = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, listByApiOperationSpec$1, callback); - }; - ApiPolicy.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, getEntityTagOperationSpec$5, callback); - }; - ApiPolicy.prototype.get = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, getOperationSpec$5, callback); - }; - ApiPolicy.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, apiId, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$4, callback); - }; - ApiPolicy.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, apiId, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$5, callback); - }; - return ApiPolicy; - }()); - // Operation Specifications - var serializer$9 = new msRest.Serializer(Mappers$9); - var listByApiOperationSpec$1 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PolicyCollection, - headersMapper: ApiPolicyListByApiHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$9 - }; - var getEntityTagOperationSpec$5 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - policyId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: ApiPolicyGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$9 - }; - var getOperationSpec$5 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - policyId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PolicyContract, - headersMapper: ApiPolicyGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$9 - }; - var createOrUpdateOperationSpec$4 = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - policyId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, PolicyContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: PolicyContract - }, - 201: { - bodyMapper: PolicyContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$9 - }; - var deleteMethodOperationSpec$5 = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - policyId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$9 - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$a = /*#__PURE__*/Object.freeze({ - SchemaCollection: SchemaCollection, - SchemaContract: SchemaContract, - Resource: Resource, - BaseResource: BaseResource, - ApiSchemaListByApiHeaders: ApiSchemaListByApiHeaders, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - ApiSchemaGetEntityTagHeaders: ApiSchemaGetEntityTagHeaders, - ApiSchemaGetHeaders: ApiSchemaGetHeaders, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiSchema. */ - var ApiSchema = /** @class */ (function () { - /** - * Create a ApiSchema. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiSchema(client) { - this.client = client; - } - ApiSchema.prototype.listByApi = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, listByApiOperationSpec$2, callback); - }; - ApiSchema.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, apiId, schemaId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - schemaId: schemaId$$1, - options: options - }, getEntityTagOperationSpec$6, callback); - }; - ApiSchema.prototype.get = function (resourceGroupName$$1, serviceName$$1, apiId, schemaId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - schemaId: schemaId$$1, - options: options - }, getOperationSpec$6, callback); - }; - ApiSchema.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, apiId, schemaId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - schemaId: schemaId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$5, callback); - }; - ApiSchema.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, apiId, schemaId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - schemaId: schemaId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$6, callback); - }; - ApiSchema.prototype.listByApiNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByApiNextOperationSpec$1, callback); - }; - return ApiSchema; - }()); - // Operation Specifications - var serializer$a = new msRest.Serializer(Mappers$a); - var listByApiOperationSpec$2 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: SchemaCollection, - headersMapper: ApiSchemaListByApiHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$a - }; - var getEntityTagOperationSpec$6 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - schemaId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: ApiSchemaGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$a - }; - var getOperationSpec$6 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - schemaId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: SchemaContract, - headersMapper: ApiSchemaGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$a - }; - var createOrUpdateOperationSpec$5 = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - schemaId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, SchemaContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: SchemaContract - }, - 201: { - bodyMapper: SchemaContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$a - }; - var deleteMethodOperationSpec$6 = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - schemaId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$a - }; - var listByApiNextOperationSpec$1 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: SchemaCollection, - headersMapper: ApiSchemaListByApiHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$a - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$b = /*#__PURE__*/Object.freeze({ - DiagnosticCollection: DiagnosticCollection, - DiagnosticContract: DiagnosticContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - ApiDiagnosticGetEntityTagHeaders: ApiDiagnosticGetEntityTagHeaders, - ApiDiagnosticGetHeaders: ApiDiagnosticGetHeaders, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiDiagnostic. */ - var ApiDiagnostic = /** @class */ (function () { - /** - * Create a ApiDiagnostic. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiDiagnostic(client) { - this.client = client; - } - ApiDiagnostic.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, listByServiceOperationSpec$4, callback); - }; - ApiDiagnostic.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, apiId, diagnosticId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - diagnosticId: diagnosticId$$1, - options: options - }, getEntityTagOperationSpec$7, callback); - }; - ApiDiagnostic.prototype.get = function (resourceGroupName$$1, serviceName$$1, apiId, diagnosticId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - diagnosticId: diagnosticId$$1, - options: options - }, getOperationSpec$7, callback); - }; - ApiDiagnostic.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, apiId, diagnosticId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - diagnosticId: diagnosticId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$6, callback); - }; - ApiDiagnostic.prototype.update = function (resourceGroupName$$1, serviceName$$1, apiId, diagnosticId$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - diagnosticId: diagnosticId$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$3, callback); - }; - ApiDiagnostic.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, apiId, diagnosticId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - diagnosticId: diagnosticId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$7, callback); - }; - ApiDiagnostic.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$2, callback); - }; - return ApiDiagnostic; - }()); - // Operation Specifications - var serializer$b = new msRest.Serializer(Mappers$b); - var listByServiceOperationSpec$4 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - subscriptionId - ], - queryParameters: [ - apiVersion, - filter0, - top, - skip - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: DiagnosticCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$b - }; - var getEntityTagOperationSpec$7 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - diagnosticId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: ApiDiagnosticGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$b - }; - var getOperationSpec$7 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - diagnosticId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: DiagnosticContract, - headersMapper: ApiDiagnosticGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$b - }; - var createOrUpdateOperationSpec$6 = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - diagnosticId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, DiagnosticContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: DiagnosticContract - }, - 201: { - bodyMapper: DiagnosticContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$b - }; - var updateOperationSpec$3 = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - diagnosticId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, DiagnosticContract, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$b - }; - var deleteMethodOperationSpec$7 = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - diagnosticId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$b - }; - var listByServiceNextOperationSpec$2 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: DiagnosticCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$b - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$c = /*#__PURE__*/Object.freeze({ - LoggerCollection: LoggerCollection, - LoggerContract: LoggerContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiDiagnosticLogger. */ - var ApiDiagnosticLogger = /** @class */ (function () { - /** - * Create a ApiDiagnosticLogger. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiDiagnosticLogger(client) { - this.client = client; - } - ApiDiagnosticLogger.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, apiId, diagnosticId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - diagnosticId: diagnosticId$$1, - options: options - }, listByServiceOperationSpec$5, callback); - }; - ApiDiagnosticLogger.prototype.checkEntityExists = function (resourceGroupName$$1, serviceName$$1, apiId, diagnosticId$$1, loggerid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - diagnosticId: diagnosticId$$1, - loggerid: loggerid$$1, - options: options - }, checkEntityExistsOperationSpec, callback); - }; - ApiDiagnosticLogger.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, apiId, diagnosticId$$1, loggerid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - diagnosticId: diagnosticId$$1, - loggerid: loggerid$$1, - options: options - }, createOrUpdateOperationSpec$7, callback); - }; - ApiDiagnosticLogger.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, apiId, diagnosticId$$1, loggerid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - diagnosticId: diagnosticId$$1, - loggerid: loggerid$$1, - options: options - }, deleteMethodOperationSpec$8, callback); - }; - ApiDiagnosticLogger.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$3, callback); - }; - return ApiDiagnosticLogger; - }()); - // Operation Specifications - var serializer$c = new msRest.Serializer(Mappers$c); - var listByServiceOperationSpec$5 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - subscriptionId, - diagnosticId - ], - queryParameters: [ - apiVersion, - filter0, - top, - skip - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: LoggerCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$c - }; - var checkEntityExistsOperationSpec = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers/{loggerid}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - diagnosticId, - loggerid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 204: {}, - 404: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$c - }; - var createOrUpdateOperationSpec$7 = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers/{loggerid}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - diagnosticId, - loggerid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: LoggerContract - }, - 201: { - bodyMapper: LoggerContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$c - }; - var deleteMethodOperationSpec$8 = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers/{loggerid}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - diagnosticId, - loggerid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$c - }; - var listByServiceNextOperationSpec$3 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: LoggerCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$c - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$d = /*#__PURE__*/Object.freeze({ - IssueCollection: IssueCollection, - IssueContract: IssueContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - ApiIssueGetEntityTagHeaders: ApiIssueGetEntityTagHeaders, - ApiIssueGetHeaders: ApiIssueGetHeaders, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiIssue. */ - var ApiIssue = /** @class */ (function () { - /** - * Create a ApiIssue. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiIssue(client) { - this.client = client; - } - ApiIssue.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, listByServiceOperationSpec$6, callback); - }; - ApiIssue.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, apiId, issueId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - issueId: issueId$$1, - options: options - }, getEntityTagOperationSpec$8, callback); - }; - ApiIssue.prototype.get = function (resourceGroupName$$1, serviceName$$1, apiId, issueId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - issueId: issueId$$1, - options: options - }, getOperationSpec$8, callback); - }; - ApiIssue.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, apiId, issueId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - issueId: issueId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$8, callback); - }; - ApiIssue.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, apiId, issueId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - issueId: issueId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$9, callback); - }; - ApiIssue.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$4, callback); - }; - return ApiIssue; - }()); - // Operation Specifications - var serializer$d = new msRest.Serializer(Mappers$d); - var listByServiceOperationSpec$6 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - subscriptionId - ], - queryParameters: [ - apiVersion, - filter0, - top, - skip - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: IssueCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$d - }; - var getEntityTagOperationSpec$8 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - issueId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: ApiIssueGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$d - }; - var getOperationSpec$8 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - issueId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: IssueContract, - headersMapper: ApiIssueGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$d - }; - var createOrUpdateOperationSpec$8 = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - issueId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, IssueContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: IssueContract - }, - 201: { - bodyMapper: IssueContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$d - }; - var deleteMethodOperationSpec$9 = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - issueId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$d - }; - var listByServiceNextOperationSpec$4 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: IssueCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$d - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$e = /*#__PURE__*/Object.freeze({ - IssueCommentCollection: IssueCommentCollection, - IssueCommentContract: IssueCommentContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - ApiIssueCommentGetEntityTagHeaders: ApiIssueCommentGetEntityTagHeaders, - ApiIssueCommentGetHeaders: ApiIssueCommentGetHeaders, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiIssueComment. */ - var ApiIssueComment = /** @class */ (function () { - /** - * Create a ApiIssueComment. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiIssueComment(client) { - this.client = client; - } - ApiIssueComment.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, apiId, issueId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - issueId: issueId$$1, - options: options - }, listByServiceOperationSpec$7, callback); - }; - ApiIssueComment.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, apiId, issueId$$1, commentId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - issueId: issueId$$1, - commentId: commentId$$1, - options: options - }, getEntityTagOperationSpec$9, callback); - }; - ApiIssueComment.prototype.get = function (resourceGroupName$$1, serviceName$$1, apiId, issueId$$1, commentId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - issueId: issueId$$1, - commentId: commentId$$1, - options: options - }, getOperationSpec$9, callback); - }; - ApiIssueComment.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, apiId, issueId$$1, commentId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - issueId: issueId$$1, - commentId: commentId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$9, callback); - }; - ApiIssueComment.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, apiId, issueId$$1, commentId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - issueId: issueId$$1, - commentId: commentId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$a, callback); - }; - ApiIssueComment.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$5, callback); - }; - return ApiIssueComment; - }()); - // Operation Specifications - var serializer$e = new msRest.Serializer(Mappers$e); - var listByServiceOperationSpec$7 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - issueId, - subscriptionId - ], - queryParameters: [ - apiVersion, - filter0, - top, - skip - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: IssueCommentCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$e - }; - var getEntityTagOperationSpec$9 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - issueId, - commentId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: ApiIssueCommentGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$e - }; - var getOperationSpec$9 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - issueId, - commentId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: IssueCommentContract, - headersMapper: ApiIssueCommentGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$e - }; - var createOrUpdateOperationSpec$9 = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - issueId, - commentId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, IssueCommentContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: IssueCommentContract - }, - 201: { - bodyMapper: IssueCommentContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$e - }; - var deleteMethodOperationSpec$a = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - issueId, - commentId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$e - }; - var listByServiceNextOperationSpec$5 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: IssueCommentCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$e - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$f = /*#__PURE__*/Object.freeze({ - IssueAttachmentCollection: IssueAttachmentCollection, - IssueAttachmentContract: IssueAttachmentContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - ApiIssueAttachmentGetEntityTagHeaders: ApiIssueAttachmentGetEntityTagHeaders, - ApiIssueAttachmentGetHeaders: ApiIssueAttachmentGetHeaders, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiIssueAttachment. */ - var ApiIssueAttachment = /** @class */ (function () { - /** - * Create a ApiIssueAttachment. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiIssueAttachment(client) { - this.client = client; - } - ApiIssueAttachment.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, apiId, issueId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - issueId: issueId$$1, - options: options - }, listByServiceOperationSpec$8, callback); - }; - ApiIssueAttachment.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, apiId, issueId$$1, attachmentId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - issueId: issueId$$1, - attachmentId: attachmentId$$1, - options: options - }, getEntityTagOperationSpec$a, callback); - }; - ApiIssueAttachment.prototype.get = function (resourceGroupName$$1, serviceName$$1, apiId, issueId$$1, attachmentId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - issueId: issueId$$1, - attachmentId: attachmentId$$1, - options: options - }, getOperationSpec$a, callback); - }; - ApiIssueAttachment.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, apiId, issueId$$1, attachmentId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - issueId: issueId$$1, - attachmentId: attachmentId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$a, callback); - }; - ApiIssueAttachment.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, apiId, issueId$$1, attachmentId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - issueId: issueId$$1, - attachmentId: attachmentId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$b, callback); - }; - ApiIssueAttachment.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$6, callback); - }; - return ApiIssueAttachment; - }()); - // Operation Specifications - var serializer$f = new msRest.Serializer(Mappers$f); - var listByServiceOperationSpec$8 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - issueId, - subscriptionId - ], - queryParameters: [ - apiVersion, - filter0, - top, - skip - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: IssueAttachmentCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$f - }; - var getEntityTagOperationSpec$a = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - issueId, - attachmentId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: ApiIssueAttachmentGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$f - }; - var getOperationSpec$a = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - issueId, - attachmentId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: IssueAttachmentContract, - headersMapper: ApiIssueAttachmentGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$f - }; - var createOrUpdateOperationSpec$a = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - issueId, - attachmentId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, IssueAttachmentContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: IssueAttachmentContract - }, - 201: { - bodyMapper: IssueAttachmentContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$f - }; - var deleteMethodOperationSpec$b = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId1, - issueId, - attachmentId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$f - }; - var listByServiceNextOperationSpec$6 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: IssueAttachmentCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$f - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$g = /*#__PURE__*/Object.freeze({ - AuthorizationServerCollection: AuthorizationServerCollection, - AuthorizationServerContract: AuthorizationServerContract, - Resource: Resource, - BaseResource: BaseResource, - TokenBodyParameterContract: TokenBodyParameterContract, - CloudError: CloudError, - AuthorizationServerGetEntityTagHeaders: AuthorizationServerGetEntityTagHeaders, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - AuthorizationServerGetHeaders: AuthorizationServerGetHeaders, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a AuthorizationServer. */ - var AuthorizationServer = /** @class */ (function () { - /** - * Create a AuthorizationServer. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function AuthorizationServer(client) { - this.client = client; - } - AuthorizationServer.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$9, callback); - }; - AuthorizationServer.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, authsid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - authsid: authsid$$1, - options: options - }, getEntityTagOperationSpec$b, callback); - }; - AuthorizationServer.prototype.get = function (resourceGroupName$$1, serviceName$$1, authsid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - authsid: authsid$$1, - options: options - }, getOperationSpec$b, callback); - }; - AuthorizationServer.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, authsid$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - authsid: authsid$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$b, callback); - }; - AuthorizationServer.prototype.update = function (resourceGroupName$$1, serviceName$$1, authsid$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - authsid: authsid$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$4, callback); - }; - AuthorizationServer.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, authsid$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - authsid: authsid$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$c, callback); - }; - AuthorizationServer.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$7, callback); - }; - return AuthorizationServer; - }()); - // Operation Specifications - var serializer$g = new msRest.Serializer(Mappers$g); - var listByServiceOperationSpec$9 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: AuthorizationServerCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$g - }; - var getEntityTagOperationSpec$b = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}", - urlParameters: [ - resourceGroupName, - serviceName, - authsid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: AuthorizationServerGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$g - }; - var getOperationSpec$b = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}", - urlParameters: [ - resourceGroupName, - serviceName, - authsid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: AuthorizationServerContract, - headersMapper: AuthorizationServerGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$g - }; - var createOrUpdateOperationSpec$b = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}", - urlParameters: [ - resourceGroupName, - serviceName, - authsid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, AuthorizationServerContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: AuthorizationServerContract - }, - 201: { - bodyMapper: AuthorizationServerContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$g - }; - var updateOperationSpec$4 = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}", - urlParameters: [ - resourceGroupName, - serviceName, - authsid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, AuthorizationServerUpdateContract, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$g - }; - var deleteMethodOperationSpec$c = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}", - urlParameters: [ - resourceGroupName, - serviceName, - authsid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$g - }; - var listByServiceNextOperationSpec$7 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: AuthorizationServerCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$g - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$h = /*#__PURE__*/Object.freeze({ - BackendCollection: BackendCollection, - BackendContract: BackendContract, - Resource: Resource, - BaseResource: BaseResource, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - BackendGetEntityTagHeaders: BackendGetEntityTagHeaders, - BackendGetHeaders: BackendGetHeaders, - BackendUpdateParameters: BackendUpdateParameters, - BackendReconnectContract: BackendReconnectContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a Backend. */ - var Backend = /** @class */ (function () { - /** - * Create a Backend. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function Backend(client) { - this.client = client; - } - Backend.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$a, callback); - }; - Backend.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, backendid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - backendid: backendid$$1, - options: options - }, getEntityTagOperationSpec$c, callback); - }; - Backend.prototype.get = function (resourceGroupName$$1, serviceName$$1, backendid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - backendid: backendid$$1, - options: options - }, getOperationSpec$c, callback); - }; - Backend.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, backendid$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - backendid: backendid$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$c, callback); - }; - Backend.prototype.update = function (resourceGroupName$$1, serviceName$$1, backendid$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - backendid: backendid$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$5, callback); - }; - Backend.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, backendid$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - backendid: backendid$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$d, callback); - }; - Backend.prototype.reconnect = function (resourceGroupName$$1, serviceName$$1, backendid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - backendid: backendid$$1, - options: options - }, reconnectOperationSpec, callback); - }; - Backend.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$8, callback); - }; - return Backend; - }()); - // Operation Specifications - var serializer$h = new msRest.Serializer(Mappers$h); - var listByServiceOperationSpec$a = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: BackendCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$h - }; - var getEntityTagOperationSpec$c = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}", - urlParameters: [ - resourceGroupName, - serviceName, - backendid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: BackendGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$h - }; - var getOperationSpec$c = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}", - urlParameters: [ - resourceGroupName, - serviceName, - backendid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: BackendContract, - headersMapper: BackendGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$h - }; - var createOrUpdateOperationSpec$c = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}", - urlParameters: [ - resourceGroupName, - serviceName, - backendid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, BackendContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: BackendContract - }, - 201: { - bodyMapper: BackendContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$h - }; - var updateOperationSpec$5 = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}", - urlParameters: [ - resourceGroupName, - serviceName, - backendid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, BackendUpdateParameters, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$h - }; - var deleteMethodOperationSpec$d = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}", - urlParameters: [ - resourceGroupName, - serviceName, - backendid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$h - }; - var reconnectOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}/reconnect", - urlParameters: [ - resourceGroupName, - serviceName, - backendid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: [ - "options", - "parameters" - ], - mapper: BackendReconnectContract - }, - responses: { - 202: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$h - }; - var listByServiceNextOperationSpec$8 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: BackendCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$h - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$i = /*#__PURE__*/Object.freeze({ - CertificateCollection: CertificateCollection, - CertificateContract: CertificateContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - CertificateGetEntityTagHeaders: CertificateGetEntityTagHeaders, - CertificateGetHeaders: CertificateGetHeaders, - CertificateCreateOrUpdateParameters: CertificateCreateOrUpdateParameters, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a Certificate. */ - var Certificate = /** @class */ (function () { - /** - * Create a Certificate. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function Certificate(client) { - this.client = client; - } - Certificate.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$b, callback); - }; - Certificate.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, certificateId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - certificateId: certificateId$$1, - options: options - }, getEntityTagOperationSpec$d, callback); - }; - Certificate.prototype.get = function (resourceGroupName$$1, serviceName$$1, certificateId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - certificateId: certificateId$$1, - options: options - }, getOperationSpec$d, callback); - }; - Certificate.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, certificateId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - certificateId: certificateId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$d, callback); - }; - Certificate.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, certificateId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - certificateId: certificateId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$e, callback); - }; - Certificate.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$9, callback); - }; - return Certificate; - }()); - // Operation Specifications - var serializer$i = new msRest.Serializer(Mappers$i); - var listByServiceOperationSpec$b = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: CertificateCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$i - }; - var getEntityTagOperationSpec$d = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}", - urlParameters: [ - resourceGroupName, - serviceName, - certificateId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: CertificateGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$i - }; - var getOperationSpec$d = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}", - urlParameters: [ - resourceGroupName, - serviceName, - certificateId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: CertificateContract, - headersMapper: CertificateGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$i - }; - var createOrUpdateOperationSpec$d = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}", - urlParameters: [ - resourceGroupName, - serviceName, - certificateId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, CertificateCreateOrUpdateParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: CertificateContract - }, - 201: { - bodyMapper: CertificateContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$i - }; - var deleteMethodOperationSpec$e = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}", - urlParameters: [ - resourceGroupName, - serviceName, - certificateId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$i - }; - var listByServiceNextOperationSpec$9 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: CertificateCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$i - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$j = /*#__PURE__*/Object.freeze({ - OperationListResult: OperationListResult, - Operation: Operation, - OperationDisplay: OperationDisplay, - CloudError: CloudError - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiManagementOperations. */ - var ApiManagementOperations = /** @class */ (function () { - /** - * Create a ApiManagementOperations. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiManagementOperations(client) { - this.client = client; - } - ApiManagementOperations.prototype.list = function (options, callback) { - return this.client.sendOperationRequest({ - options: options - }, listOperationSpec$2, callback); - }; - ApiManagementOperations.prototype.listNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listNextOperationSpec$2, callback); - }; - return ApiManagementOperations; - }()); - // Operation Specifications - var serializer$j = new msRest.Serializer(Mappers$j); - var listOperationSpec$2 = { - httpMethod: "GET", - path: "providers/Microsoft.ApiManagement/operations", - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: OperationListResult - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$j - }; - var listNextOperationSpec$2 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: OperationListResult - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$j - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$k = /*#__PURE__*/Object.freeze({ - ApiManagementServiceBackupRestoreParameters: ApiManagementServiceBackupRestoreParameters, - ApiManagementServiceResource: ApiManagementServiceResource, - ApimResource: ApimResource, - BaseResource: BaseResource, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - CloudError: CloudError, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - ApiManagementServiceListResult: ApiManagementServiceListResult, - ApiManagementServiceGetSsoTokenResult: ApiManagementServiceGetSsoTokenResult, - ApiManagementServiceCheckNameAvailabilityParameters: ApiManagementServiceCheckNameAvailabilityParameters, - ApiManagementServiceNameAvailabilityResult: ApiManagementServiceNameAvailabilityResult, - ApiManagementServiceApplyNetworkConfigurationParameters: ApiManagementServiceApplyNetworkConfigurationParameters, - ApiManagementServiceUploadCertificateParameters: ApiManagementServiceUploadCertificateParameters, - ApiManagementServiceUpdateHostnameParameters: ApiManagementServiceUpdateHostnameParameters, - HostnameConfigurationOld: HostnameConfigurationOld, - Resource: Resource, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - PolicyContract: PolicyContract - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiManagementService. */ - var ApiManagementService = /** @class */ (function () { - /** - * Create a ApiManagementService. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiManagementService(client) { - this.client = client; - } - /** - * Restores a backup of an API Management service created using the ApiManagementService_Backup - * operation on the current service. This is a long running operation and could take several - * minutes to complete. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Parameters supplied to the Restore API Management service from backup - * operation. - * @param [options] The optional parameters - * @returns Promise - */ - ApiManagementService.prototype.restore = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.beginRestore(resourceGroupName$$1, serviceName$$1, parameters, options) - .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); - }; - /** - * Creates a backup of the API Management service to the given Azure Storage Account. This is long - * running operation and could take several minutes to complete. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Parameters supplied to the ApiManagementService_Backup operation. - * @param [options] The optional parameters - * @returns Promise - */ - ApiManagementService.prototype.backup = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.beginBackup(resourceGroupName$$1, serviceName$$1, parameters, options) - .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); - }; - /** - * Creates or updates an API Management service. This is long running operation and could take - * several minutes to complete. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Parameters supplied to the CreateOrUpdate API Management service operation. - * @param [options] The optional parameters - * @returns Promise - */ - ApiManagementService.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.beginCreateOrUpdate(resourceGroupName$$1, serviceName$$1, parameters, options) - .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); - }; - /** - * Updates an existing API Management service. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Parameters supplied to the CreateOrUpdate API Management service operation. - * @param [options] The optional parameters - * @returns Promise - */ - ApiManagementService.prototype.update = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.beginUpdate(resourceGroupName$$1, serviceName$$1, parameters, options) - .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); - }; - ApiManagementService.prototype.get = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, getOperationSpec$e, callback); - }; - ApiManagementService.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, deleteMethodOperationSpec$f, callback); - }; - ApiManagementService.prototype.listByResourceGroup = function (resourceGroupName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - options: options - }, listByResourceGroupOperationSpec, callback); - }; - ApiManagementService.prototype.list = function (options, callback) { - return this.client.sendOperationRequest({ - options: options - }, listOperationSpec$3, callback); - }; - ApiManagementService.prototype.getSsoToken = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, getSsoTokenOperationSpec, callback); - }; - ApiManagementService.prototype.checkNameAvailability = function (parameters, options, callback) { - return this.client.sendOperationRequest({ - parameters: parameters, - options: options - }, checkNameAvailabilityOperationSpec, callback); - }; - /** - * Updates the Microsoft.ApiManagement resource running in the Virtual network to pick the updated - * network settings. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param [options] The optional parameters - * @returns Promise - */ - ApiManagementService.prototype.applyNetworkConfigurationUpdates = function (resourceGroupName$$1, serviceName$$1, options) { - return this.beginApplyNetworkConfigurationUpdates(resourceGroupName$$1, serviceName$$1, options) - .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); - }; - ApiManagementService.prototype.uploadCertificate = function (resourceGroupName$$1, serviceName$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - options: options - }, uploadCertificateOperationSpec, callback); - }; - /** - * Creates, updates, or deletes the custom hostnames for an API Management service. The custom - * hostname can be applied to the Proxy and Portal endpoint. This is a long running operation and - * could take several minutes to complete. This operation will be deprecated in the next version - * update. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Parameters supplied to the UpdateHostname operation. - * @param [options] The optional parameters - * @returns Promise - */ - ApiManagementService.prototype.updateHostname = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.beginUpdateHostname(resourceGroupName$$1, serviceName$$1, parameters, options) - .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); - }; - /** - * Restores a backup of an API Management service created using the ApiManagementService_Backup - * operation on the current service. This is a long running operation and could take several - * minutes to complete. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Parameters supplied to the Restore API Management service from backup - * operation. - * @param [options] The optional parameters - * @returns Promise - */ - ApiManagementService.prototype.beginRestore = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.client.sendLRORequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - options: options - }, beginRestoreOperationSpec, options); - }; - /** - * Creates a backup of the API Management service to the given Azure Storage Account. This is long - * running operation and could take several minutes to complete. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Parameters supplied to the ApiManagementService_Backup operation. - * @param [options] The optional parameters - * @returns Promise - */ - ApiManagementService.prototype.beginBackup = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.client.sendLRORequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - options: options - }, beginBackupOperationSpec, options); - }; - /** - * Creates or updates an API Management service. This is long running operation and could take - * several minutes to complete. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Parameters supplied to the CreateOrUpdate API Management service operation. - * @param [options] The optional parameters - * @returns Promise - */ - ApiManagementService.prototype.beginCreateOrUpdate = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.client.sendLRORequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - options: options - }, beginCreateOrUpdateOperationSpec, options); - }; - /** - * Updates an existing API Management service. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Parameters supplied to the CreateOrUpdate API Management service operation. - * @param [options] The optional parameters - * @returns Promise - */ - ApiManagementService.prototype.beginUpdate = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.client.sendLRORequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - options: options - }, beginUpdateOperationSpec, options); - }; - /** - * Updates the Microsoft.ApiManagement resource running in the Virtual network to pick the updated - * network settings. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param [options] The optional parameters - * @returns Promise - */ - ApiManagementService.prototype.beginApplyNetworkConfigurationUpdates = function (resourceGroupName$$1, serviceName$$1, options) { - return this.client.sendLRORequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, beginApplyNetworkConfigurationUpdatesOperationSpec, options); - }; - /** - * Creates, updates, or deletes the custom hostnames for an API Management service. The custom - * hostname can be applied to the Proxy and Portal endpoint. This is a long running operation and - * could take several minutes to complete. This operation will be deprecated in the next version - * update. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Parameters supplied to the UpdateHostname operation. - * @param [options] The optional parameters - * @returns Promise - */ - ApiManagementService.prototype.beginUpdateHostname = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.client.sendLRORequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - options: options - }, beginUpdateHostnameOperationSpec, options); - }; - ApiManagementService.prototype.listByResourceGroupNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByResourceGroupNextOperationSpec, callback); - }; - ApiManagementService.prototype.listNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listNextOperationSpec$3, callback); - }; - return ApiManagementService; - }()); - // Operation Specifications - var serializer$k = new msRest.Serializer(Mappers$k); - var getOperationSpec$e = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiManagementServiceResource - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - var deleteMethodOperationSpec$f = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - var listByResourceGroupOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service", - urlParameters: [ - resourceGroupName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiManagementServiceListResult - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - var listOperationSpec$3 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/service", - urlParameters: [ - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiManagementServiceListResult - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - var getSsoTokenOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/getssotoken", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiManagementServiceGetSsoTokenResult - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - var checkNameAvailabilityOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/checkNameAvailability", - urlParameters: [ - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ApiManagementServiceCheckNameAvailabilityParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: ApiManagementServiceNameAvailabilityResult - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - var uploadCertificateOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/updatecertificate", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ApiManagementServiceUploadCertificateParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: CertificateInformation - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - var beginRestoreOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/restore", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ApiManagementServiceBackupRestoreParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: ApiManagementServiceResource - }, - 202: {}, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - var beginBackupOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backup", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ApiManagementServiceBackupRestoreParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: ApiManagementServiceResource - }, - 202: {}, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - var beginCreateOrUpdateOperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ApiManagementServiceResource, { required: true }) - }, - responses: { - 200: { - bodyMapper: ApiManagementServiceResource - }, - 201: { - bodyMapper: ApiManagementServiceResource - }, - 202: { - bodyMapper: ApiManagementServiceResource - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - var beginUpdateOperationSpec = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ApiManagementServiceUpdateParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: ApiManagementServiceResource - }, - 202: {}, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - var beginApplyNetworkConfigurationUpdatesOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/applynetworkconfigurationupdates", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: [ - "options", - "parameters" - ], - mapper: ApiManagementServiceApplyNetworkConfigurationParameters - }, - responses: { - 200: { - bodyMapper: ApiManagementServiceResource - }, - 202: {}, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - var beginUpdateHostnameOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/updatehostname", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ApiManagementServiceUpdateHostnameParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: ApiManagementServiceResource - }, - 202: { - bodyMapper: ApiManagementServiceResource - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - var listByResourceGroupNextOperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiManagementServiceListResult - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - var listNextOperationSpec$3 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiManagementServiceListResult - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$k - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$l = /*#__PURE__*/Object.freeze({ - DiagnosticCollection: DiagnosticCollection, - DiagnosticContract: DiagnosticContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - DiagnosticGetEntityTagHeaders: DiagnosticGetEntityTagHeaders, - DiagnosticGetHeaders: DiagnosticGetHeaders, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a Diagnostic. */ - var Diagnostic = /** @class */ (function () { - /** - * Create a Diagnostic. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function Diagnostic(client) { - this.client = client; - } - Diagnostic.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$c, callback); - }; - Diagnostic.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, diagnosticId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - diagnosticId: diagnosticId$$1, - options: options - }, getEntityTagOperationSpec$e, callback); - }; - Diagnostic.prototype.get = function (resourceGroupName$$1, serviceName$$1, diagnosticId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - diagnosticId: diagnosticId$$1, - options: options - }, getOperationSpec$f, callback); - }; - Diagnostic.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, diagnosticId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - diagnosticId: diagnosticId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$e, callback); - }; - Diagnostic.prototype.update = function (resourceGroupName$$1, serviceName$$1, diagnosticId$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - diagnosticId: diagnosticId$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$6, callback); - }; - Diagnostic.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, diagnosticId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - diagnosticId: diagnosticId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$g, callback); - }; - Diagnostic.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$a, callback); - }; - return Diagnostic; - }()); - // Operation Specifications - var serializer$l = new msRest.Serializer(Mappers$l); - var listByServiceOperationSpec$c = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion, - filter0, - top, - skip - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: DiagnosticCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$l - }; - var getEntityTagOperationSpec$e = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}", - urlParameters: [ - resourceGroupName, - serviceName, - diagnosticId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: DiagnosticGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$l - }; - var getOperationSpec$f = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}", - urlParameters: [ - resourceGroupName, - serviceName, - diagnosticId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: DiagnosticContract, - headersMapper: DiagnosticGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$l - }; - var createOrUpdateOperationSpec$e = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}", - urlParameters: [ - resourceGroupName, - serviceName, - diagnosticId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, DiagnosticContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: DiagnosticContract - }, - 201: { - bodyMapper: DiagnosticContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$l - }; - var updateOperationSpec$6 = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}", - urlParameters: [ - resourceGroupName, - serviceName, - diagnosticId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, DiagnosticContract, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$l - }; - var deleteMethodOperationSpec$g = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}", - urlParameters: [ - resourceGroupName, - serviceName, - diagnosticId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$l - }; - var listByServiceNextOperationSpec$a = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: DiagnosticCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$l - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$m = /*#__PURE__*/Object.freeze({ - LoggerCollection: LoggerCollection, - LoggerContract: LoggerContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a DiagnosticLogger. */ - var DiagnosticLogger = /** @class */ (function () { - /** - * Create a DiagnosticLogger. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function DiagnosticLogger(client) { - this.client = client; - } - DiagnosticLogger.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, diagnosticId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - diagnosticId: diagnosticId$$1, - options: options - }, listByServiceOperationSpec$d, callback); - }; - DiagnosticLogger.prototype.checkEntityExists = function (resourceGroupName$$1, serviceName$$1, diagnosticId$$1, loggerid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - diagnosticId: diagnosticId$$1, - loggerid: loggerid$$1, - options: options - }, checkEntityExistsOperationSpec$1, callback); - }; - DiagnosticLogger.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, diagnosticId$$1, loggerid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - diagnosticId: diagnosticId$$1, - loggerid: loggerid$$1, - options: options - }, createOrUpdateOperationSpec$f, callback); - }; - DiagnosticLogger.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, diagnosticId$$1, loggerid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - diagnosticId: diagnosticId$$1, - loggerid: loggerid$$1, - options: options - }, deleteMethodOperationSpec$h, callback); - }; - DiagnosticLogger.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$b, callback); - }; - return DiagnosticLogger; - }()); - // Operation Specifications - var serializer$m = new msRest.Serializer(Mappers$m); - var listByServiceOperationSpec$d = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - diagnosticId - ], - queryParameters: [ - apiVersion, - filter0, - top, - skip - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: LoggerCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$m - }; - var checkEntityExistsOperationSpec$1 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers/{loggerid}", - urlParameters: [ - resourceGroupName, - serviceName, - diagnosticId, - loggerid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 204: {}, - 404: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$m - }; - var createOrUpdateOperationSpec$f = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers/{loggerid}", - urlParameters: [ - resourceGroupName, - serviceName, - diagnosticId, - loggerid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: LoggerContract - }, - 201: { - bodyMapper: LoggerContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$m - }; - var deleteMethodOperationSpec$h = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers/{loggerid}", - urlParameters: [ - resourceGroupName, - serviceName, - diagnosticId, - loggerid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$m - }; - var listByServiceNextOperationSpec$b = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: LoggerCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$m - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$n = /*#__PURE__*/Object.freeze({ - EmailTemplateCollection: EmailTemplateCollection, - EmailTemplateContract: EmailTemplateContract, - Resource: Resource, - BaseResource: BaseResource, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - CloudError: CloudError, - EmailTemplateGetEntityTagHeaders: EmailTemplateGetEntityTagHeaders, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - EmailTemplateGetHeaders: EmailTemplateGetHeaders, - EmailTemplateUpdateParameters: EmailTemplateUpdateParameters, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a EmailTemplate. */ - var EmailTemplate = /** @class */ (function () { - /** - * Create a EmailTemplate. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function EmailTemplate(client) { - this.client = client; - } - EmailTemplate.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$e, callback); - }; - EmailTemplate.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, templateName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - templateName: templateName$$1, - options: options - }, getEntityTagOperationSpec$f, callback); - }; - EmailTemplate.prototype.get = function (resourceGroupName$$1, serviceName$$1, templateName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - templateName: templateName$$1, - options: options - }, getOperationSpec$g, callback); - }; - EmailTemplate.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, templateName$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - templateName: templateName$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$g, callback); - }; - EmailTemplate.prototype.update = function (resourceGroupName$$1, serviceName$$1, templateName$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - templateName: templateName$$1, - parameters: parameters, - options: options - }, updateOperationSpec$7, callback); - }; - EmailTemplate.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, templateName$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - templateName: templateName$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$i, callback); - }; - EmailTemplate.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$c, callback); - }; - return EmailTemplate; - }()); - // Operation Specifications - var serializer$n = new msRest.Serializer(Mappers$n); - var listByServiceOperationSpec$e = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: EmailTemplateCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$n - }; - var getEntityTagOperationSpec$f = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}", - urlParameters: [ - resourceGroupName, - serviceName, - templateName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: EmailTemplateGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$n - }; - var getOperationSpec$g = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}", - urlParameters: [ - resourceGroupName, - serviceName, - templateName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: EmailTemplateContract, - headersMapper: EmailTemplateGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$n - }; - var createOrUpdateOperationSpec$g = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}", - urlParameters: [ - resourceGroupName, - serviceName, - templateName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, EmailTemplateUpdateParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: EmailTemplateContract - }, - 201: { - bodyMapper: EmailTemplateContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$n - }; - var updateOperationSpec$7 = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}", - urlParameters: [ - resourceGroupName, - serviceName, - templateName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, EmailTemplateUpdateParameters, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$n - }; - var deleteMethodOperationSpec$i = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}", - urlParameters: [ - resourceGroupName, - serviceName, - templateName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$n - }; - var listByServiceNextOperationSpec$c = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: EmailTemplateCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$n - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$o = /*#__PURE__*/Object.freeze({ - GroupCollection: GroupCollection, - GroupContract: GroupContract, - Resource: Resource, - BaseResource: BaseResource, - CloudError: CloudError, - GroupGetEntityTagHeaders: GroupGetEntityTagHeaders, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - GroupGetHeaders: GroupGetHeaders, - GroupCreateParameters: GroupCreateParameters, - GroupUpdateParameters: GroupUpdateParameters, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a Group. */ - var Group = /** @class */ (function () { - /** - * Create a Group. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function Group(client) { - this.client = client; - } - Group.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$f, callback); - }; - Group.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, groupId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - groupId: groupId$$1, - options: options - }, getEntityTagOperationSpec$g, callback); - }; - Group.prototype.get = function (resourceGroupName$$1, serviceName$$1, groupId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - groupId: groupId$$1, - options: options - }, getOperationSpec$h, callback); - }; - Group.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, groupId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - groupId: groupId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$h, callback); - }; - Group.prototype.update = function (resourceGroupName$$1, serviceName$$1, groupId$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - groupId: groupId$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$8, callback); - }; - Group.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, groupId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - groupId: groupId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$j, callback); - }; - Group.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$d, callback); - }; - return Group; - }()); - // Operation Specifications - var serializer$o = new msRest.Serializer(Mappers$o); - var listByServiceOperationSpec$f = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: GroupCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$o - }; - var getEntityTagOperationSpec$g = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}", - urlParameters: [ - resourceGroupName, - serviceName, - groupId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: GroupGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$o - }; - var getOperationSpec$h = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}", - urlParameters: [ - resourceGroupName, - serviceName, - groupId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: GroupContract, - headersMapper: GroupGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$o - }; - var createOrUpdateOperationSpec$h = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}", - urlParameters: [ - resourceGroupName, - serviceName, - groupId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, GroupCreateParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: GroupContract - }, - 201: { - bodyMapper: GroupContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$o - }; - var updateOperationSpec$8 = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}", - urlParameters: [ - resourceGroupName, - serviceName, - groupId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, GroupUpdateParameters, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$o - }; - var deleteMethodOperationSpec$j = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}", - urlParameters: [ - resourceGroupName, - serviceName, - groupId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$o - }; - var listByServiceNextOperationSpec$d = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: GroupCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$o - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$p = /*#__PURE__*/Object.freeze({ - UserCollection: UserCollection, - UserContract: UserContract, - Resource: Resource, - BaseResource: BaseResource, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a GroupUser. */ - var GroupUser = /** @class */ (function () { - /** - * Create a GroupUser. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function GroupUser(client) { - this.client = client; - } - GroupUser.prototype.list = function (resourceGroupName$$1, serviceName$$1, groupId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - groupId: groupId$$1, - options: options - }, listOperationSpec$4, callback); - }; - GroupUser.prototype.checkEntityExists = function (resourceGroupName$$1, serviceName$$1, groupId$$1, uid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - groupId: groupId$$1, - uid: uid$$1, - options: options - }, checkEntityExistsOperationSpec$2, callback); - }; - GroupUser.prototype.create = function (resourceGroupName$$1, serviceName$$1, groupId$$1, uid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - groupId: groupId$$1, - uid: uid$$1, - options: options - }, createOperationSpec$1, callback); - }; - GroupUser.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, groupId$$1, uid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - groupId: groupId$$1, - uid: uid$$1, - options: options - }, deleteMethodOperationSpec$k, callback); - }; - GroupUser.prototype.listNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listNextOperationSpec$4, callback); - }; - return GroupUser; - }()); - // Operation Specifications - var serializer$p = new msRest.Serializer(Mappers$p); - var listOperationSpec$4 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users", - urlParameters: [ - resourceGroupName, - serviceName, - groupId, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: UserCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$p - }; - var checkEntityExistsOperationSpec$2 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{uid}", - urlParameters: [ - resourceGroupName, - serviceName, - groupId, - uid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 204: {}, - 404: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$p - }; - var createOperationSpec$1 = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{uid}", - urlParameters: [ - resourceGroupName, - serviceName, - groupId, - uid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: UserContract - }, - 201: { - bodyMapper: UserContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$p - }; - var deleteMethodOperationSpec$k = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{uid}", - urlParameters: [ - resourceGroupName, - serviceName, - groupId, - uid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$p - }; - var listNextOperationSpec$4 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: UserCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$p - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$q = /*#__PURE__*/Object.freeze({ - IdentityProviderList: IdentityProviderList, - IdentityProviderContract: IdentityProviderContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - IdentityProviderGetEntityTagHeaders: IdentityProviderGetEntityTagHeaders, - IdentityProviderGetHeaders: IdentityProviderGetHeaders, - IdentityProviderUpdateParameters: IdentityProviderUpdateParameters, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a IdentityProvider. */ - var IdentityProvider = /** @class */ (function () { - /** - * Create a IdentityProvider. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function IdentityProvider(client) { - this.client = client; - } - IdentityProvider.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$g, callback); - }; - IdentityProvider.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, identityProviderName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - identityProviderName: identityProviderName$$1, - options: options - }, getEntityTagOperationSpec$h, callback); - }; - IdentityProvider.prototype.get = function (resourceGroupName$$1, serviceName$$1, identityProviderName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - identityProviderName: identityProviderName$$1, - options: options - }, getOperationSpec$i, callback); - }; - IdentityProvider.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, identityProviderName$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - identityProviderName: identityProviderName$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$i, callback); - }; - IdentityProvider.prototype.update = function (resourceGroupName$$1, serviceName$$1, identityProviderName$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - identityProviderName: identityProviderName$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$9, callback); - }; - IdentityProvider.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, identityProviderName$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - identityProviderName: identityProviderName$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$l, callback); - }; - IdentityProvider.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$e, callback); - }; - return IdentityProvider; - }()); - // Operation Specifications - var serializer$q = new msRest.Serializer(Mappers$q); - var listByServiceOperationSpec$g = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders", - urlParameters: [ - subscriptionId, - resourceGroupName, - serviceName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: IdentityProviderList - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$q - }; - var getEntityTagOperationSpec$h = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}", - urlParameters: [ - subscriptionId, - resourceGroupName, - serviceName, - identityProviderName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: IdentityProviderGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$q - }; - var getOperationSpec$i = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}", - urlParameters: [ - subscriptionId, - resourceGroupName, - serviceName, - identityProviderName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: IdentityProviderContract, - headersMapper: IdentityProviderGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$q - }; - var createOrUpdateOperationSpec$i = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}", - urlParameters: [ - resourceGroupName, - serviceName, - identityProviderName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, IdentityProviderContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: IdentityProviderContract - }, - 201: { - bodyMapper: IdentityProviderContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$q - }; - var updateOperationSpec$9 = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}", - urlParameters: [ - resourceGroupName, - serviceName, - identityProviderName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, IdentityProviderUpdateParameters, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$q - }; - var deleteMethodOperationSpec$l = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}", - urlParameters: [ - resourceGroupName, - serviceName, - identityProviderName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$q - }; - var listByServiceNextOperationSpec$e = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: IdentityProviderList - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$q - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$r = /*#__PURE__*/Object.freeze({ - LoggerCollection: LoggerCollection, - LoggerContract: LoggerContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - LoggerGetEntityTagHeaders: LoggerGetEntityTagHeaders, - LoggerGetHeaders: LoggerGetHeaders, - LoggerUpdateContract: LoggerUpdateContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a Logger. */ - var Logger = /** @class */ (function () { - /** - * Create a Logger. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function Logger(client) { - this.client = client; - } - Logger.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$h, callback); - }; - Logger.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, loggerid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - loggerid: loggerid$$1, - options: options - }, getEntityTagOperationSpec$i, callback); - }; - Logger.prototype.get = function (resourceGroupName$$1, serviceName$$1, loggerid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - loggerid: loggerid$$1, - options: options - }, getOperationSpec$j, callback); - }; - Logger.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, loggerid$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - loggerid: loggerid$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$j, callback); - }; - Logger.prototype.update = function (resourceGroupName$$1, serviceName$$1, loggerid$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - loggerid: loggerid$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$a, callback); - }; - Logger.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, loggerid$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - loggerid: loggerid$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$m, callback); - }; - Logger.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$f, callback); - }; - return Logger; - }()); - // Operation Specifications - var serializer$r = new msRest.Serializer(Mappers$r); - var listByServiceOperationSpec$h = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: LoggerCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$r - }; - var getEntityTagOperationSpec$i = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}", - urlParameters: [ - resourceGroupName, - serviceName, - loggerid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: LoggerGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$r - }; - var getOperationSpec$j = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}", - urlParameters: [ - resourceGroupName, - serviceName, - loggerid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: LoggerContract, - headersMapper: LoggerGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$r - }; - var createOrUpdateOperationSpec$j = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}", - urlParameters: [ - resourceGroupName, - serviceName, - loggerid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, LoggerContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: LoggerContract - }, - 201: { - bodyMapper: LoggerContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$r - }; - var updateOperationSpec$a = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}", - urlParameters: [ - resourceGroupName, - serviceName, - loggerid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, LoggerUpdateContract, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$r - }; - var deleteMethodOperationSpec$m = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}", - urlParameters: [ - resourceGroupName, - serviceName, - loggerid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$r - }; - var listByServiceNextOperationSpec$f = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: LoggerCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$r - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$s = /*#__PURE__*/Object.freeze({ - NotificationCollection: NotificationCollection, - NotificationContract: NotificationContract, - Resource: Resource, - BaseResource: BaseResource, - RecipientsContractProperties: RecipientsContractProperties, - CloudError: CloudError, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a Notification. */ - var Notification = /** @class */ (function () { - /** - * Create a Notification. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function Notification(client) { - this.client = client; - } - Notification.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$i, callback); - }; - Notification.prototype.get = function (resourceGroupName$$1, serviceName$$1, notificationName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - notificationName: notificationName$$1, - options: options - }, getOperationSpec$k, callback); - }; - Notification.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, notificationName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - notificationName: notificationName$$1, - options: options - }, createOrUpdateOperationSpec$k, callback); - }; - Notification.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$g, callback); - }; - return Notification; - }()); - // Operation Specifications - var serializer$s = new msRest.Serializer(Mappers$s); - var listByServiceOperationSpec$i = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: NotificationCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$s - }; - var getOperationSpec$k = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}", - urlParameters: [ - resourceGroupName, - serviceName, - notificationName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: NotificationContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$s - }; - var createOrUpdateOperationSpec$k = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}", - urlParameters: [ - resourceGroupName, - serviceName, - notificationName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - responses: { - 200: { - bodyMapper: NotificationContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$s - }; - var listByServiceNextOperationSpec$g = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: NotificationCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$s - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$t = /*#__PURE__*/Object.freeze({ - RecipientUserCollection: RecipientUserCollection, - RecipientUserContract: RecipientUserContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a NotificationRecipientUser. */ - var NotificationRecipientUser = /** @class */ (function () { - /** - * Create a NotificationRecipientUser. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function NotificationRecipientUser(client) { - this.client = client; - } - NotificationRecipientUser.prototype.listByNotification = function (resourceGroupName$$1, serviceName$$1, notificationName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - notificationName: notificationName$$1, - options: options - }, listByNotificationOperationSpec, callback); - }; - NotificationRecipientUser.prototype.checkEntityExists = function (resourceGroupName$$1, serviceName$$1, notificationName$$1, uid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - notificationName: notificationName$$1, - uid: uid$$1, - options: options - }, checkEntityExistsOperationSpec$3, callback); - }; - NotificationRecipientUser.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, notificationName$$1, uid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - notificationName: notificationName$$1, - uid: uid$$1, - options: options - }, createOrUpdateOperationSpec$l, callback); - }; - NotificationRecipientUser.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, notificationName$$1, uid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - notificationName: notificationName$$1, - uid: uid$$1, - options: options - }, deleteMethodOperationSpec$n, callback); - }; - return NotificationRecipientUser; - }()); - // Operation Specifications - var serializer$t = new msRest.Serializer(Mappers$t); - var listByNotificationOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers", - urlParameters: [ - resourceGroupName, - serviceName, - notificationName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: RecipientUserCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$t - }; - var checkEntityExistsOperationSpec$3 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{uid}", - urlParameters: [ - resourceGroupName, - serviceName, - notificationName, - uid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 204: {}, - 404: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$t - }; - var createOrUpdateOperationSpec$l = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{uid}", - urlParameters: [ - resourceGroupName, - serviceName, - notificationName, - uid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: RecipientUserContract - }, - 201: { - bodyMapper: RecipientUserContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$t - }; - var deleteMethodOperationSpec$n = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{uid}", - urlParameters: [ - resourceGroupName, - serviceName, - notificationName, - uid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$t - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$u = /*#__PURE__*/Object.freeze({ - RecipientEmailCollection: RecipientEmailCollection, - RecipientEmailContract: RecipientEmailContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a NotificationRecipientEmail. */ - var NotificationRecipientEmail = /** @class */ (function () { - /** - * Create a NotificationRecipientEmail. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function NotificationRecipientEmail(client) { - this.client = client; - } - NotificationRecipientEmail.prototype.listByNotification = function (resourceGroupName$$1, serviceName$$1, notificationName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - notificationName: notificationName$$1, - options: options - }, listByNotificationOperationSpec$1, callback); - }; - NotificationRecipientEmail.prototype.checkEntityExists = function (resourceGroupName$$1, serviceName$$1, notificationName$$1, email$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - notificationName: notificationName$$1, - email: email$$1, - options: options - }, checkEntityExistsOperationSpec$4, callback); - }; - NotificationRecipientEmail.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, notificationName$$1, email$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - notificationName: notificationName$$1, - email: email$$1, - options: options - }, createOrUpdateOperationSpec$m, callback); - }; - NotificationRecipientEmail.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, notificationName$$1, email$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - notificationName: notificationName$$1, - email: email$$1, - options: options - }, deleteMethodOperationSpec$o, callback); - }; - return NotificationRecipientEmail; - }()); - // Operation Specifications - var serializer$u = new msRest.Serializer(Mappers$u); - var listByNotificationOperationSpec$1 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails", - urlParameters: [ - resourceGroupName, - serviceName, - notificationName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: RecipientEmailCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$u - }; - var checkEntityExistsOperationSpec$4 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}", - urlParameters: [ - resourceGroupName, - serviceName, - notificationName, - email, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 204: {}, - 404: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$u - }; - var createOrUpdateOperationSpec$m = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}", - urlParameters: [ - resourceGroupName, - serviceName, - notificationName, - email, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: RecipientEmailContract - }, - 201: { - bodyMapper: RecipientEmailContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$u - }; - var deleteMethodOperationSpec$o = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}", - urlParameters: [ - resourceGroupName, - serviceName, - notificationName, - email, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$u - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$v = /*#__PURE__*/Object.freeze({ - NetworkStatusContractByLocation: NetworkStatusContractByLocation, - NetworkStatusContract: NetworkStatusContract, - ConnectivityStatusContract: ConnectivityStatusContract, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a NetworkStatus. */ - var NetworkStatus = /** @class */ (function () { - /** - * Create a NetworkStatus. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function NetworkStatus(client) { - this.client = client; - } - NetworkStatus.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$j, callback); - }; - NetworkStatus.prototype.listByLocation = function (resourceGroupName$$1, serviceName$$1, locationName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - locationName: locationName$$1, - options: options - }, listByLocationOperationSpec, callback); - }; - return NetworkStatus; - }()); - // Operation Specifications - var serializer$v = new msRest.Serializer(Mappers$v); - var listByServiceOperationSpec$j = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/networkstatus", - urlParameters: [ - subscriptionId, - resourceGroupName, - serviceName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: { - serializedName: "parsedResponse", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NetworkStatusContractByLocation" - } - } - } - } - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$v - }; - var listByLocationOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/locations/{locationName}/networkstatus", - urlParameters: [ - subscriptionId, - resourceGroupName, - serviceName, - locationName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: NetworkStatusContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$v - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$w = /*#__PURE__*/Object.freeze({ - OpenIdConnectProviderCollection: OpenIdConnectProviderCollection, - OpenidConnectProviderContract: OpenidConnectProviderContract, - Resource: Resource, - BaseResource: BaseResource, - CloudError: CloudError, - OpenIdConnectProviderGetEntityTagHeaders: OpenIdConnectProviderGetEntityTagHeaders, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - OpenIdConnectProviderGetHeaders: OpenIdConnectProviderGetHeaders, - OpenidConnectProviderUpdateContract: OpenidConnectProviderUpdateContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a OpenIdConnectProvider. */ - var OpenIdConnectProvider = /** @class */ (function () { - /** - * Create a OpenIdConnectProvider. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function OpenIdConnectProvider(client) { - this.client = client; - } - OpenIdConnectProvider.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$k, callback); - }; - OpenIdConnectProvider.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, opid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - opid: opid$$1, - options: options - }, getEntityTagOperationSpec$j, callback); - }; - OpenIdConnectProvider.prototype.get = function (resourceGroupName$$1, serviceName$$1, opid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - opid: opid$$1, - options: options - }, getOperationSpec$l, callback); - }; - OpenIdConnectProvider.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, opid$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - opid: opid$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$n, callback); - }; - OpenIdConnectProvider.prototype.update = function (resourceGroupName$$1, serviceName$$1, opid$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - opid: opid$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$b, callback); - }; - OpenIdConnectProvider.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, opid$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - opid: opid$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$p, callback); - }; - OpenIdConnectProvider.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$h, callback); - }; - return OpenIdConnectProvider; - }()); - // Operation Specifications - var serializer$w = new msRest.Serializer(Mappers$w); - var listByServiceOperationSpec$k = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: OpenIdConnectProviderCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$w - }; - var getEntityTagOperationSpec$j = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}", - urlParameters: [ - resourceGroupName, - serviceName, - opid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: OpenIdConnectProviderGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$w - }; - var getOperationSpec$l = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}", - urlParameters: [ - resourceGroupName, - serviceName, - opid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: OpenidConnectProviderContract, - headersMapper: OpenIdConnectProviderGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$w - }; - var createOrUpdateOperationSpec$n = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}", - urlParameters: [ - resourceGroupName, - serviceName, - opid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, OpenidConnectProviderContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: OpenidConnectProviderContract - }, - 201: { - bodyMapper: OpenidConnectProviderContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$w - }; - var updateOperationSpec$b = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}", - urlParameters: [ - resourceGroupName, - serviceName, - opid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, OpenidConnectProviderUpdateContract, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$w - }; - var deleteMethodOperationSpec$p = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}", - urlParameters: [ - resourceGroupName, - serviceName, - opid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$w - }; - var listByServiceNextOperationSpec$h = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: OpenIdConnectProviderCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$w - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$x = /*#__PURE__*/Object.freeze({ - SignInSettingsGetEntityTagHeaders: SignInSettingsGetEntityTagHeaders, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PortalSigninSettings: PortalSigninSettings, - Resource: Resource, - BaseResource: BaseResource, - SignInSettingsGetHeaders: SignInSettingsGetHeaders, - CloudError: CloudError, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a SignInSettings. */ - var SignInSettings = /** @class */ (function () { - /** - * Create a SignInSettings. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function SignInSettings(client) { - this.client = client; - } - SignInSettings.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, getEntityTagOperationSpec$k, callback); - }; - SignInSettings.prototype.get = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, getOperationSpec$m, callback); - }; - SignInSettings.prototype.update = function (resourceGroupName$$1, serviceName$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$c, callback); - }; - SignInSettings.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$o, callback); - }; - return SignInSettings; - }()); - // Operation Specifications - var serializer$x = new msRest.Serializer(Mappers$x); - var getEntityTagOperationSpec$k = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: SignInSettingsGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$x - }; - var getOperationSpec$m = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PortalSigninSettings, - headersMapper: SignInSettingsGetHeaders - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$x - }; - var updateOperationSpec$c = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, PortalSigninSettings, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$x - }; - var createOrUpdateOperationSpec$o = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, PortalSigninSettings, { required: true }) - }, - responses: { - 200: { - bodyMapper: PortalSigninSettings - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$x - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$y = /*#__PURE__*/Object.freeze({ - SignUpSettingsGetEntityTagHeaders: SignUpSettingsGetEntityTagHeaders, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PortalSignupSettings: PortalSignupSettings, - Resource: Resource, - BaseResource: BaseResource, - TermsOfServiceProperties: TermsOfServiceProperties, - SignUpSettingsGetHeaders: SignUpSettingsGetHeaders, - CloudError: CloudError, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a SignUpSettings. */ - var SignUpSettings = /** @class */ (function () { - /** - * Create a SignUpSettings. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function SignUpSettings(client) { - this.client = client; - } - SignUpSettings.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, getEntityTagOperationSpec$l, callback); - }; - SignUpSettings.prototype.get = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, getOperationSpec$n, callback); - }; - SignUpSettings.prototype.update = function (resourceGroupName$$1, serviceName$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$d, callback); - }; - SignUpSettings.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$p, callback); - }; - return SignUpSettings; - }()); - // Operation Specifications - var serializer$y = new msRest.Serializer(Mappers$y); - var getEntityTagOperationSpec$l = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: SignUpSettingsGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$y - }; - var getOperationSpec$n = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PortalSignupSettings, - headersMapper: SignUpSettingsGetHeaders - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$y - }; - var updateOperationSpec$d = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, PortalSignupSettings, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$y - }; - var createOrUpdateOperationSpec$p = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, PortalSignupSettings, { required: true }) - }, - responses: { - 200: { - bodyMapper: PortalSignupSettings - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$y - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$z = /*#__PURE__*/Object.freeze({ - DelegationSettingsGetEntityTagHeaders: DelegationSettingsGetEntityTagHeaders, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PortalDelegationSettings: PortalDelegationSettings, - Resource: Resource, - BaseResource: BaseResource, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - DelegationSettingsGetHeaders: DelegationSettingsGetHeaders, - CloudError: CloudError, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a DelegationSettings. */ - var DelegationSettings = /** @class */ (function () { - /** - * Create a DelegationSettings. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function DelegationSettings(client) { - this.client = client; - } - DelegationSettings.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, getEntityTagOperationSpec$m, callback); - }; - DelegationSettings.prototype.get = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, getOperationSpec$o, callback); - }; - DelegationSettings.prototype.update = function (resourceGroupName$$1, serviceName$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$e, callback); - }; - DelegationSettings.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$q, callback); - }; - return DelegationSettings; - }()); - // Operation Specifications - var serializer$z = new msRest.Serializer(Mappers$z); - var getEntityTagOperationSpec$m = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: DelegationSettingsGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$z - }; - var getOperationSpec$o = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PortalDelegationSettings, - headersMapper: DelegationSettingsGetHeaders - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$z - }; - var updateOperationSpec$e = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, PortalDelegationSettings, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$z - }; - var createOrUpdateOperationSpec$q = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, PortalDelegationSettings, { required: true }) - }, - responses: { - 200: { - bodyMapper: PortalDelegationSettings - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$z - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$A = /*#__PURE__*/Object.freeze({ - ProductCollection: ProductCollection, - ProductContract: ProductContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - ProductGetEntityTagHeaders: ProductGetEntityTagHeaders, - ProductGetHeaders: ProductGetHeaders, - ProductUpdateParameters: ProductUpdateParameters, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a Product. */ - var Product = /** @class */ (function () { - /** - * Create a Product. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function Product(client) { - this.client = client; - } - Product.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$l, callback); - }; - Product.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, productId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - options: options - }, getEntityTagOperationSpec$n, callback); - }; - Product.prototype.get = function (resourceGroupName$$1, serviceName$$1, productId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - options: options - }, getOperationSpec$p, callback); - }; - Product.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, productId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$r, callback); - }; - Product.prototype.update = function (resourceGroupName$$1, serviceName$$1, productId$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$f, callback); - }; - Product.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, productId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$q, callback); - }; - Product.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$i, callback); - }; - return Product; - }()); - // Operation Specifications - var serializer$A = new msRest.Serializer(Mappers$A); - var listByServiceOperationSpec$l = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - expandGroups, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ProductCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$A - }; - var getEntityTagOperationSpec$n = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: ProductGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$A - }; - var getOperationSpec$p = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ProductContract, - headersMapper: ProductGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$A - }; - var createOrUpdateOperationSpec$r = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ProductContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: ProductContract - }, - 201: { - bodyMapper: ProductContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$A - }; - var updateOperationSpec$f = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ProductUpdateParameters, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$A - }; - var deleteMethodOperationSpec$q = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - subscriptionId - ], - queryParameters: [ - deleteSubscriptions, - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$A - }; - var listByServiceNextOperationSpec$i = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ProductCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$A - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$B = /*#__PURE__*/Object.freeze({ - ApiCollection: ApiCollection, - ApiContract: ApiContract, - Resource: Resource, - BaseResource: BaseResource, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PolicyContract: PolicyContract, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ProductApi. */ - var ProductApi = /** @class */ (function () { - /** - * Create a ProductApi. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ProductApi(client) { - this.client = client; - } - ProductApi.prototype.listByProduct = function (resourceGroupName$$1, serviceName$$1, productId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - options: options - }, listByProductOperationSpec, callback); - }; - ProductApi.prototype.checkEntityExists = function (resourceGroupName$$1, serviceName$$1, productId$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - apiId: apiId, - options: options - }, checkEntityExistsOperationSpec$5, callback); - }; - ProductApi.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, productId$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - apiId: apiId, - options: options - }, createOrUpdateOperationSpec$s, callback); - }; - ProductApi.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, productId$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - apiId: apiId, - options: options - }, deleteMethodOperationSpec$r, callback); - }; - ProductApi.prototype.listByProductNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByProductNextOperationSpec, callback); - }; - return ProductApi; - }()); - // Operation Specifications - var serializer$B = new msRest.Serializer(Mappers$B); - var listByProductOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$B - }; - var checkEntityExistsOperationSpec$5 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis/{apiId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - apiId0, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 204: {}, - 404: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$B - }; - var createOrUpdateOperationSpec$s = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis/{apiId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - apiId0, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiContract - }, - 201: { - bodyMapper: ApiContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$B - }; - var deleteMethodOperationSpec$r = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis/{apiId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - apiId0, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$B - }; - var listByProductNextOperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$B - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$C = /*#__PURE__*/Object.freeze({ - GroupCollection: GroupCollection, - GroupContract: GroupContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ProductGroup. */ - var ProductGroup = /** @class */ (function () { - /** - * Create a ProductGroup. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ProductGroup(client) { - this.client = client; - } - ProductGroup.prototype.listByProduct = function (resourceGroupName$$1, serviceName$$1, productId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - options: options - }, listByProductOperationSpec$1, callback); - }; - ProductGroup.prototype.checkEntityExists = function (resourceGroupName$$1, serviceName$$1, productId$$1, groupId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - groupId: groupId$$1, - options: options - }, checkEntityExistsOperationSpec$6, callback); - }; - ProductGroup.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, productId$$1, groupId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - groupId: groupId$$1, - options: options - }, createOrUpdateOperationSpec$t, callback); - }; - ProductGroup.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, productId$$1, groupId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - groupId: groupId$$1, - options: options - }, deleteMethodOperationSpec$s, callback); - }; - ProductGroup.prototype.listByProductNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByProductNextOperationSpec$1, callback); - }; - return ProductGroup; - }()); - // Operation Specifications - var serializer$C = new msRest.Serializer(Mappers$C); - var listByProductOperationSpec$1 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: GroupCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$C - }; - var checkEntityExistsOperationSpec$6 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups/{groupId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - groupId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 204: {}, - 404: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$C - }; - var createOrUpdateOperationSpec$t = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups/{groupId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - groupId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: GroupContract - }, - 201: { - bodyMapper: GroupContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$C - }; - var deleteMethodOperationSpec$s = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups/{groupId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - groupId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$C - }; - var listByProductNextOperationSpec$1 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: GroupCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$C - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$D = /*#__PURE__*/Object.freeze({ - SubscriptionCollection: SubscriptionCollection, - SubscriptionContract: SubscriptionContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ProductSubscriptions. */ - var ProductSubscriptions = /** @class */ (function () { - /** - * Create a ProductSubscriptions. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ProductSubscriptions(client) { - this.client = client; - } - ProductSubscriptions.prototype.list = function (resourceGroupName$$1, serviceName$$1, productId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - options: options - }, listOperationSpec$5, callback); - }; - ProductSubscriptions.prototype.listNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listNextOperationSpec$5, callback); - }; - return ProductSubscriptions; - }()); - // Operation Specifications - var serializer$D = new msRest.Serializer(Mappers$D); - var listOperationSpec$5 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/subscriptions", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: SubscriptionCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$D - }; - var listNextOperationSpec$5 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: SubscriptionCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$D - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$E = /*#__PURE__*/Object.freeze({ - PolicyCollection: PolicyCollection, - PolicyContract: PolicyContract, - Resource: Resource, - BaseResource: BaseResource, - ProductPolicyListByProductHeaders: ProductPolicyListByProductHeaders, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - ProductPolicyGetEntityTagHeaders: ProductPolicyGetEntityTagHeaders, - ProductPolicyGetHeaders: ProductPolicyGetHeaders, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ProductPolicy. */ - var ProductPolicy = /** @class */ (function () { - /** - * Create a ProductPolicy. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ProductPolicy(client) { - this.client = client; - } - ProductPolicy.prototype.listByProduct = function (resourceGroupName$$1, serviceName$$1, productId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - options: options - }, listByProductOperationSpec$2, callback); - }; - ProductPolicy.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, productId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - options: options - }, getEntityTagOperationSpec$o, callback); - }; - ProductPolicy.prototype.get = function (resourceGroupName$$1, serviceName$$1, productId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - options: options - }, getOperationSpec$q, callback); - }; - ProductPolicy.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, productId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$u, callback); - }; - ProductPolicy.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, productId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$t, callback); - }; - return ProductPolicy; - }()); - // Operation Specifications - var serializer$E = new msRest.Serializer(Mappers$E); - var listByProductOperationSpec$2 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - productId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PolicyCollection, - headersMapper: ProductPolicyListByProductHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$E - }; - var getEntityTagOperationSpec$o = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - productId, - policyId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: ProductPolicyGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$E - }; - var getOperationSpec$q = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - productId, - policyId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PolicyContract, - headersMapper: ProductPolicyGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$E - }; - var createOrUpdateOperationSpec$u = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - policyId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, PolicyContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: PolicyContract - }, - 201: { - bodyMapper: PolicyContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$E - }; - var deleteMethodOperationSpec$t = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies/{policyId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - policyId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$E - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$F = /*#__PURE__*/Object.freeze({ - PropertyCollection: PropertyCollection, - PropertyContract: PropertyContract, - Resource: Resource, - BaseResource: BaseResource, - CloudError: CloudError, - PropertyGetEntityTagHeaders: PropertyGetEntityTagHeaders, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PropertyGetHeaders: PropertyGetHeaders, - PropertyUpdateParameters: PropertyUpdateParameters, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a Property. */ - var Property = /** @class */ (function () { - /** - * Create a Property. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function Property(client) { - this.client = client; - } - Property.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$m, callback); - }; - Property.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, propId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - propId: propId$$1, - options: options - }, getEntityTagOperationSpec$p, callback); - }; - Property.prototype.get = function (resourceGroupName$$1, serviceName$$1, propId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - propId: propId$$1, - options: options - }, getOperationSpec$r, callback); - }; - Property.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, propId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - propId: propId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$v, callback); - }; - Property.prototype.update = function (resourceGroupName$$1, serviceName$$1, propId$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - propId: propId$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$g, callback); - }; - Property.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, propId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - propId: propId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$u, callback); - }; - Property.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$j, callback); - }; - return Property; - }()); - // Operation Specifications - var serializer$F = new msRest.Serializer(Mappers$F); - var listByServiceOperationSpec$m = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PropertyCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$F - }; - var getEntityTagOperationSpec$p = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}", - urlParameters: [ - resourceGroupName, - serviceName, - propId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: PropertyGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$F - }; - var getOperationSpec$r = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}", - urlParameters: [ - resourceGroupName, - serviceName, - propId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PropertyContract, - headersMapper: PropertyGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$F - }; - var createOrUpdateOperationSpec$v = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}", - urlParameters: [ - resourceGroupName, - serviceName, - propId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, PropertyContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: PropertyContract - }, - 201: { - bodyMapper: PropertyContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$F - }; - var updateOperationSpec$g = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}", - urlParameters: [ - resourceGroupName, - serviceName, - propId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, PropertyUpdateParameters, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$F - }; - var deleteMethodOperationSpec$u = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}", - urlParameters: [ - resourceGroupName, - serviceName, - propId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$F - }; - var listByServiceNextOperationSpec$j = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: PropertyCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$F - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$G = /*#__PURE__*/Object.freeze({ - QuotaCounterCollection: QuotaCounterCollection, - QuotaCounterContract: QuotaCounterContract, - QuotaCounterValueContractProperties: QuotaCounterValueContractProperties, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a QuotaByCounterKeys. */ - var QuotaByCounterKeys = /** @class */ (function () { - /** - * Create a QuotaByCounterKeys. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function QuotaByCounterKeys(client) { - this.client = client; - } - QuotaByCounterKeys.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, quotaCounterKey$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - quotaCounterKey: quotaCounterKey$$1, - options: options - }, listByServiceOperationSpec$n, callback); - }; - QuotaByCounterKeys.prototype.update = function (resourceGroupName$$1, serviceName$$1, quotaCounterKey$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - quotaCounterKey: quotaCounterKey$$1, - parameters: parameters, - options: options - }, updateOperationSpec$h, callback); - }; - return QuotaByCounterKeys; - }()); - // Operation Specifications - var serializer$G = new msRest.Serializer(Mappers$G); - var listByServiceOperationSpec$n = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}", - urlParameters: [ - subscriptionId, - resourceGroupName, - serviceName, - quotaCounterKey - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: QuotaCounterCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$G - }; - var updateOperationSpec$h = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}", - urlParameters: [ - resourceGroupName, - serviceName, - quotaCounterKey, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, QuotaCounterValueContractProperties, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$G - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$H = /*#__PURE__*/Object.freeze({ - QuotaCounterContract: QuotaCounterContract, - QuotaCounterValueContractProperties: QuotaCounterValueContractProperties, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a QuotaByPeriodKeys. */ - var QuotaByPeriodKeys = /** @class */ (function () { - /** - * Create a QuotaByPeriodKeys. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function QuotaByPeriodKeys(client) { - this.client = client; - } - QuotaByPeriodKeys.prototype.get = function (resourceGroupName$$1, serviceName$$1, quotaCounterKey$$1, quotaPeriodKey$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - quotaCounterKey: quotaCounterKey$$1, - quotaPeriodKey: quotaPeriodKey$$1, - options: options - }, getOperationSpec$s, callback); - }; - QuotaByPeriodKeys.prototype.update = function (resourceGroupName$$1, serviceName$$1, quotaCounterKey$$1, quotaPeriodKey$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - quotaCounterKey: quotaCounterKey$$1, - quotaPeriodKey: quotaPeriodKey$$1, - parameters: parameters, - options: options - }, updateOperationSpec$i, callback); - }; - return QuotaByPeriodKeys; - }()); - // Operation Specifications - var serializer$H = new msRest.Serializer(Mappers$H); - var getOperationSpec$s = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}/periods/{quotaPeriodKey}", - urlParameters: [ - subscriptionId, - resourceGroupName, - serviceName, - quotaCounterKey, - quotaPeriodKey - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: QuotaCounterContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$H - }; - var updateOperationSpec$i = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}/periods/{quotaPeriodKey}", - urlParameters: [ - resourceGroupName, - serviceName, - quotaCounterKey, - quotaPeriodKey, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, QuotaCounterValueContractProperties, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$H - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$I = /*#__PURE__*/Object.freeze({ - ReportCollection: ReportCollection, - ReportRecordContract: ReportRecordContract, - CloudError: CloudError, - RequestReportCollection: RequestReportCollection, - RequestReportRecordContract: RequestReportRecordContract - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a Reports. */ - var Reports = /** @class */ (function () { - /** - * Create a Reports. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function Reports(client) { - this.client = client; - } - Reports.prototype.listByApi = function (resourceGroupName$$1, serviceName$$1, filter, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - filter: filter, - options: options - }, listByApiOperationSpec$3, callback); - }; - Reports.prototype.listByUser = function (resourceGroupName$$1, serviceName$$1, filter, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - filter: filter, - options: options - }, listByUserOperationSpec, callback); - }; - Reports.prototype.listByOperation = function (resourceGroupName$$1, serviceName$$1, filter, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - filter: filter, - options: options - }, listByOperationOperationSpec$1, callback); - }; - Reports.prototype.listByProduct = function (resourceGroupName$$1, serviceName$$1, filter, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - filter: filter, - options: options - }, listByProductOperationSpec$3, callback); - }; - Reports.prototype.listByGeo = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByGeoOperationSpec, callback); - }; - Reports.prototype.listBySubscription = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listBySubscriptionOperationSpec, callback); - }; - Reports.prototype.listByTime = function (resourceGroupName$$1, serviceName$$1, interval$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - interval: interval$$1, - options: options - }, listByTimeOperationSpec, callback); - }; - Reports.prototype.listByRequest = function (resourceGroupName$$1, serviceName$$1, filter, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - filter: filter, - options: options - }, listByRequestOperationSpec, callback); - }; - Reports.prototype.listByApiNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByApiNextOperationSpec$2, callback); - }; - Reports.prototype.listByUserNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByUserNextOperationSpec, callback); - }; - Reports.prototype.listByOperationNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByOperationNextOperationSpec, callback); - }; - Reports.prototype.listByProductNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByProductNextOperationSpec$2, callback); - }; - Reports.prototype.listByGeoNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByGeoNextOperationSpec, callback); - }; - Reports.prototype.listBySubscriptionNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listBySubscriptionNextOperationSpec, callback); - }; - Reports.prototype.listByTimeNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByTimeNextOperationSpec, callback); - }; - return Reports; - }()); - // Operation Specifications - var serializer$I = new msRest.Serializer(Mappers$I); - var listByApiOperationSpec$3 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byApi", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter1, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - var listByUserOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byUser", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter1, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - var listByOperationOperationSpec$1 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byOperation", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter1, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - var listByProductOperationSpec$3 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byProduct", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter1, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - var listByGeoOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byGeo", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - var listBySubscriptionOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/bySubscription", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - var listByTimeOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byTime", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - interval, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - var listByRequestOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byRequest", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter1, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: RequestReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - var listByApiNextOperationSpec$2 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - var listByUserNextOperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - var listByOperationNextOperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - var listByProductNextOperationSpec$2 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - var listByGeoNextOperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - var listBySubscriptionNextOperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - var listByTimeNextOperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ReportCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$I - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$J = /*#__PURE__*/Object.freeze({ - SubscriptionCollection: SubscriptionCollection, - SubscriptionContract: SubscriptionContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - SubscriptionGetEntityTagHeaders: SubscriptionGetEntityTagHeaders, - SubscriptionGetHeaders: SubscriptionGetHeaders, - SubscriptionCreateParameters: SubscriptionCreateParameters, - SubscriptionUpdateParameters: SubscriptionUpdateParameters, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a Subscription. */ - var Subscription = /** @class */ (function () { - /** - * Create a Subscription. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function Subscription(client) { - this.client = client; - } - Subscription.prototype.list = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listOperationSpec$6, callback); - }; - Subscription.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, sid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - sid: sid$$1, - options: options - }, getEntityTagOperationSpec$q, callback); - }; - Subscription.prototype.get = function (resourceGroupName$$1, serviceName$$1, sid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - sid: sid$$1, - options: options - }, getOperationSpec$t, callback); - }; - Subscription.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, sid$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - sid: sid$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$w, callback); - }; - Subscription.prototype.update = function (resourceGroupName$$1, serviceName$$1, sid$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - sid: sid$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$j, callback); - }; - Subscription.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, sid$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - sid: sid$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$v, callback); - }; - Subscription.prototype.regeneratePrimaryKey = function (resourceGroupName$$1, serviceName$$1, sid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - sid: sid$$1, - options: options - }, regeneratePrimaryKeyOperationSpec, callback); - }; - Subscription.prototype.regenerateSecondaryKey = function (resourceGroupName$$1, serviceName$$1, sid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - sid: sid$$1, - options: options - }, regenerateSecondaryKeyOperationSpec, callback); - }; - Subscription.prototype.listNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listNextOperationSpec$6, callback); - }; - return Subscription; - }()); - // Operation Specifications - var serializer$J = new msRest.Serializer(Mappers$J); - var listOperationSpec$6 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: SubscriptionCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$J - }; - var getEntityTagOperationSpec$q = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}", - urlParameters: [ - resourceGroupName, - serviceName, - sid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: SubscriptionGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$J - }; - var getOperationSpec$t = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}", - urlParameters: [ - resourceGroupName, - serviceName, - sid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: SubscriptionContract, - headersMapper: SubscriptionGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$J - }; - var createOrUpdateOperationSpec$w = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}", - urlParameters: [ - resourceGroupName, - serviceName, - sid, - subscriptionId - ], - queryParameters: [ - notify, - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, SubscriptionCreateParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: SubscriptionContract - }, - 201: { - bodyMapper: SubscriptionContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$J - }; - var updateOperationSpec$j = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}", - urlParameters: [ - resourceGroupName, - serviceName, - sid, - subscriptionId - ], - queryParameters: [ - notify, - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, SubscriptionUpdateParameters, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$J - }; - var deleteMethodOperationSpec$v = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}", - urlParameters: [ - resourceGroupName, - serviceName, - sid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$J - }; - var regeneratePrimaryKeyOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}/regeneratePrimaryKey", - urlParameters: [ - resourceGroupName, - serviceName, - sid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$J - }; - var regenerateSecondaryKeyOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}/regenerateSecondaryKey", - urlParameters: [ - resourceGroupName, - serviceName, - sid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$J - }; - var listNextOperationSpec$6 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: SubscriptionCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$J - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$K = /*#__PURE__*/Object.freeze({ - TagResourceCollection: TagResourceCollection, - TagResourceContract: TagResourceContract, - TagTagResourceContractProperties: TagTagResourceContractProperties, - ApiTagResourceContractProperties: ApiTagResourceContractProperties, - ApiEntityBaseContract: ApiEntityBaseContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - OperationTagResourceContractProperties: OperationTagResourceContractProperties, - ProductTagResourceContractProperties: ProductTagResourceContractProperties, - ProductEntityBaseParameters: ProductEntityBaseParameters, - CloudError: CloudError, - ApiContractProperties: ApiContractProperties, - ApiVersionSetContractDetails: ApiVersionSetContractDetails - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a TagResource. */ - var TagResource = /** @class */ (function () { - /** - * Create a TagResource. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function TagResource(client) { - this.client = client; - } - TagResource.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$o, callback); - }; - TagResource.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$k, callback); - }; - return TagResource; - }()); - // Operation Specifications - var serializer$K = new msRest.Serializer(Mappers$K); - var listByServiceOperationSpec$o = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tagResources", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagResourceCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$K - }; - var listByServiceNextOperationSpec$k = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagResourceCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$K - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$L = /*#__PURE__*/Object.freeze({ - TagCollection: TagCollection, - TagContract: TagContract, - Resource: Resource, - BaseResource: BaseResource, - CloudError: CloudError, - TagGetEntityStateHeaders: TagGetEntityStateHeaders, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - TagGetHeaders: TagGetHeaders, - TagCreateUpdateParameters: TagCreateUpdateParameters, - TagGetEntityStateByApiHeaders: TagGetEntityStateByApiHeaders, - TagGetByApiHeaders: TagGetByApiHeaders, - TagGetEntityStateByOperationHeaders: TagGetEntityStateByOperationHeaders, - TagGetByOperationHeaders: TagGetByOperationHeaders, - TagGetEntityStateByProductHeaders: TagGetEntityStateByProductHeaders, - TagGetByProductHeaders: TagGetByProductHeaders, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a Tag. */ - var Tag = /** @class */ (function () { - /** - * Create a Tag. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function Tag(client) { - this.client = client; - } - Tag.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$p, callback); - }; - Tag.prototype.getEntityState = function (resourceGroupName$$1, serviceName$$1, tagId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - tagId: tagId$$1, - options: options - }, getEntityStateOperationSpec, callback); - }; - Tag.prototype.get = function (resourceGroupName$$1, serviceName$$1, tagId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - tagId: tagId$$1, - options: options - }, getOperationSpec$u, callback); - }; - Tag.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, tagId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - tagId: tagId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$x, callback); - }; - Tag.prototype.update = function (resourceGroupName$$1, serviceName$$1, tagId$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - tagId: tagId$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$k, callback); - }; - Tag.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, tagId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - tagId: tagId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$w, callback); - }; - Tag.prototype.listByApi = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, listByApiOperationSpec$4, callback); - }; - Tag.prototype.getEntityStateByApi = function (resourceGroupName$$1, serviceName$$1, apiId, tagId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - tagId: tagId$$1, - options: options - }, getEntityStateByApiOperationSpec, callback); - }; - Tag.prototype.getByApi = function (resourceGroupName$$1, serviceName$$1, apiId, tagId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - tagId: tagId$$1, - options: options - }, getByApiOperationSpec, callback); - }; - Tag.prototype.assignToApi = function (resourceGroupName$$1, serviceName$$1, apiId, tagId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - tagId: tagId$$1, - options: options - }, assignToApiOperationSpec, callback); - }; - Tag.prototype.detachFromApi = function (resourceGroupName$$1, serviceName$$1, apiId, tagId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - tagId: tagId$$1, - ifMatch: ifMatch, - options: options - }, detachFromApiOperationSpec, callback); - }; - Tag.prototype.listByOperation = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - options: options - }, listByOperationOperationSpec$2, callback); - }; - Tag.prototype.getEntityStateByOperation = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, tagId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - tagId: tagId$$1, - options: options - }, getEntityStateByOperationOperationSpec, callback); - }; - Tag.prototype.getByOperation = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, tagId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - tagId: tagId$$1, - options: options - }, getByOperationOperationSpec, callback); - }; - Tag.prototype.assignToOperation = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, tagId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - tagId: tagId$$1, - options: options - }, assignToOperationOperationSpec, callback); - }; - Tag.prototype.detachFromOperation = function (resourceGroupName$$1, serviceName$$1, apiId, operationId$$1, tagId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - operationId: operationId$$1, - tagId: tagId$$1, - ifMatch: ifMatch, - options: options - }, detachFromOperationOperationSpec, callback); - }; - Tag.prototype.listByProduct = function (resourceGroupName$$1, serviceName$$1, productId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - options: options - }, listByProductOperationSpec$4, callback); - }; - Tag.prototype.getEntityStateByProduct = function (resourceGroupName$$1, serviceName$$1, productId$$1, tagId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - tagId: tagId$$1, - options: options - }, getEntityStateByProductOperationSpec, callback); - }; - Tag.prototype.getByProduct = function (resourceGroupName$$1, serviceName$$1, productId$$1, tagId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - tagId: tagId$$1, - options: options - }, getByProductOperationSpec, callback); - }; - Tag.prototype.assignToProduct = function (resourceGroupName$$1, serviceName$$1, productId$$1, tagId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - tagId: tagId$$1, - options: options - }, assignToProductOperationSpec, callback); - }; - Tag.prototype.detachFromProduct = function (resourceGroupName$$1, serviceName$$1, productId$$1, tagId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - productId: productId$$1, - tagId: tagId$$1, - ifMatch: ifMatch, - options: options - }, detachFromProductOperationSpec, callback); - }; - Tag.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$l, callback); - }; - Tag.prototype.listByApiNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByApiNextOperationSpec$3, callback); - }; - Tag.prototype.listByOperationNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByOperationNextOperationSpec$1, callback); - }; - Tag.prototype.listByProductNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByProductNextOperationSpec$3, callback); - }; - return Tag; - }()); - // Operation Specifications - var serializer$L = new msRest.Serializer(Mappers$L); - var listByServiceOperationSpec$p = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$L - }; - var getEntityStateOperationSpec = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: TagGetEntityStateHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var getOperationSpec$u = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagContract, - headersMapper: TagGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var createOrUpdateOperationSpec$x = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, TagCreateUpdateParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: TagContract - }, - 201: { - bodyMapper: TagContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var updateOperationSpec$k = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, TagCreateUpdateParameters, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var deleteMethodOperationSpec$w = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var listByApiOperationSpec$4 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var getEntityStateByApiOperationSpec = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: TagGetEntityStateByApiHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var getByApiOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagContract, - headersMapper: TagGetByApiHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var assignToApiOperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagContract - }, - 201: { - bodyMapper: TagContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var detachFromApiOperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var listByOperationOperationSpec$2 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var getEntityStateByOperationOperationSpec = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: TagGetEntityStateByOperationHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var getByOperationOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagContract, - headersMapper: TagGetByOperationHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var assignToOperationOperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagContract - }, - 201: { - bodyMapper: TagContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var detachFromOperationOperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - operationId, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var listByProductOperationSpec$4 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var getEntityStateByProductOperationSpec = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: TagGetEntityStateByProductHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var getByProductOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagContract, - headersMapper: TagGetByProductHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var assignToProductOperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagContract - }, - 201: { - bodyMapper: TagContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var detachFromProductOperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - productId, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var listByServiceNextOperationSpec$l = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$L - }; - var listByApiNextOperationSpec$3 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var listByOperationNextOperationSpec$1 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - var listByProductNextOperationSpec$3 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$L - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$M = /*#__PURE__*/Object.freeze({ - TagDescriptionCollection: TagDescriptionCollection, - TagDescriptionContract: TagDescriptionContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - TagDescriptionGetEntityStateHeaders: TagDescriptionGetEntityStateHeaders, - TagDescriptionGetHeaders: TagDescriptionGetHeaders, - TagDescriptionCreateParameters: TagDescriptionCreateParameters, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a TagDescription. */ - var TagDescription = /** @class */ (function () { - /** - * Create a TagDescription. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function TagDescription(client) { - this.client = client; - } - TagDescription.prototype.listByApi = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, listByApiOperationSpec$5, callback); - }; - TagDescription.prototype.getEntityState = function (resourceGroupName$$1, serviceName$$1, apiId, tagId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - tagId: tagId$$1, - options: options - }, getEntityStateOperationSpec$1, callback); - }; - TagDescription.prototype.get = function (resourceGroupName$$1, serviceName$$1, apiId, tagId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - tagId: tagId$$1, - options: options - }, getOperationSpec$v, callback); - }; - TagDescription.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, apiId, tagId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - tagId: tagId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$y, callback); - }; - TagDescription.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, apiId, tagId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - tagId: tagId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$x, callback); - }; - TagDescription.prototype.listByApiNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByApiNextOperationSpec$4, callback); - }; - return TagDescription; - }()); - // Operation Specifications - var serializer$M = new msRest.Serializer(Mappers$M); - var listByApiOperationSpec$5 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagDescriptionCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$M - }; - var getEntityStateOperationSpec$1 = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: TagDescriptionGetEntityStateHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$M - }; - var getOperationSpec$v = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagDescriptionContract, - headersMapper: TagDescriptionGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$M - }; - var createOrUpdateOperationSpec$y = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, TagDescriptionCreateParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: TagDescriptionContract - }, - 201: { - bodyMapper: TagDescriptionContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$M - }; - var deleteMethodOperationSpec$x = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - tagId, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$M - }; - var listByApiNextOperationSpec$4 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagDescriptionCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$M - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$N = /*#__PURE__*/Object.freeze({ - TagResourceCollection: TagResourceCollection, - TagResourceContract: TagResourceContract, - TagTagResourceContractProperties: TagTagResourceContractProperties, - ApiTagResourceContractProperties: ApiTagResourceContractProperties, - ApiEntityBaseContract: ApiEntityBaseContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - OperationTagResourceContractProperties: OperationTagResourceContractProperties, - ProductTagResourceContractProperties: ProductTagResourceContractProperties, - ProductEntityBaseParameters: ProductEntityBaseParameters, - CloudError: CloudError, - ApiContractProperties: ApiContractProperties, - ApiVersionSetContractDetails: ApiVersionSetContractDetails - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a OperationOperations. */ - var OperationOperations = /** @class */ (function () { - /** - * Create a OperationOperations. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function OperationOperations(client) { - this.client = client; - } - OperationOperations.prototype.listByTags = function (resourceGroupName$$1, serviceName$$1, apiId, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - options: options - }, listByTagsOperationSpec$1, callback); - }; - OperationOperations.prototype.listByTagsNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByTagsNextOperationSpec$1, callback); - }; - return OperationOperations; - }()); - // Operation Specifications - var serializer$N = new msRest.Serializer(Mappers$N); - var listByTagsOperationSpec$1 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operationsByTags", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagResourceCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$N - }; - var listByTagsNextOperationSpec$1 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TagResourceCollection - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$N - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$O = /*#__PURE__*/Object.freeze({ - AccessInformationContract: AccessInformationContract, - TenantAccessGetHeaders: TenantAccessGetHeaders, - CloudError: CloudError, - AccessInformationUpdateParameters: AccessInformationUpdateParameters, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a TenantAccess. */ - var TenantAccess = /** @class */ (function () { - /** - * Create a TenantAccess. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function TenantAccess(client) { - this.client = client; - } - TenantAccess.prototype.get = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, getOperationSpec$w, callback); - }; - TenantAccess.prototype.update = function (resourceGroupName$$1, serviceName$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$l, callback); - }; - TenantAccess.prototype.regeneratePrimaryKey = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, regeneratePrimaryKeyOperationSpec$1, callback); - }; - TenantAccess.prototype.regenerateSecondaryKey = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, regenerateSecondaryKeyOperationSpec$1, callback); - }; - return TenantAccess; - }()); - // Operation Specifications - var serializer$O = new msRest.Serializer(Mappers$O); - var getOperationSpec$w = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - accessName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: AccessInformationContract, - headersMapper: TenantAccessGetHeaders - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$O - }; - var updateOperationSpec$l = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}", - urlParameters: [ - resourceGroupName, - serviceName, - accessName, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, AccessInformationUpdateParameters, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$O - }; - var regeneratePrimaryKeyOperationSpec$1 = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/regeneratePrimaryKey", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - accessName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$O - }; - var regenerateSecondaryKeyOperationSpec$1 = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/regenerateSecondaryKey", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - accessName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$O - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$P = /*#__PURE__*/Object.freeze({ - AccessInformationContract: AccessInformationContract, - TenantAccessGitGetHeaders: TenantAccessGitGetHeaders, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a TenantAccessGit. */ - var TenantAccessGit = /** @class */ (function () { - /** - * Create a TenantAccessGit. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function TenantAccessGit(client) { - this.client = client; - } - TenantAccessGit.prototype.get = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, getOperationSpec$x, callback); - }; - TenantAccessGit.prototype.regeneratePrimaryKey = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, regeneratePrimaryKeyOperationSpec$2, callback); - }; - TenantAccessGit.prototype.regenerateSecondaryKey = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, regenerateSecondaryKeyOperationSpec$2, callback); - }; - return TenantAccessGit; - }()); - // Operation Specifications - var serializer$P = new msRest.Serializer(Mappers$P); - var getOperationSpec$x = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - accessName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: AccessInformationContract, - headersMapper: TenantAccessGitGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$P - }; - var regeneratePrimaryKeyOperationSpec$2 = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git/regeneratePrimaryKey", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - accessName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$P - }; - var regenerateSecondaryKeyOperationSpec$2 = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git/regenerateSecondaryKey", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - accessName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$P - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$Q = /*#__PURE__*/Object.freeze({ - DeployConfigurationParameters: DeployConfigurationParameters, - OperationResultContract: OperationResultContract, - ErrorResponseBody: ErrorResponseBody, - ErrorFieldContract: ErrorFieldContract, - OperationResultLogItemContract: OperationResultLogItemContract, - ErrorResponse: ErrorResponse, - SaveConfigurationParameter: SaveConfigurationParameter, - TenantConfigurationSyncStateContract: TenantConfigurationSyncStateContract, - CloudError: CloudError - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a TenantConfiguration. */ - var TenantConfiguration = /** @class */ (function () { - /** - * Create a TenantConfiguration. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function TenantConfiguration(client) { - this.client = client; - } - /** - * This operation applies changes from the specified Git branch to the configuration database. This - * is a long running operation and could take several minutes to complete. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Deploy Configuration parameters. - * @param [options] The optional parameters - * @returns Promise - */ - TenantConfiguration.prototype.deploy = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.beginDeploy(resourceGroupName$$1, serviceName$$1, parameters, options) - .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); - }; - /** - * This operation creates a commit with the current configuration snapshot to the specified branch - * in the repository. This is a long running operation and could take several minutes to complete. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Save Configuration parameters. - * @param [options] The optional parameters - * @returns Promise - */ - TenantConfiguration.prototype.save = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.beginSave(resourceGroupName$$1, serviceName$$1, parameters, options) - .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); - }; - /** - * This operation validates the changes in the specified Git branch. This is a long running - * operation and could take several minutes to complete. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Validate Configuration parameters. - * @param [options] The optional parameters - * @returns Promise - */ - TenantConfiguration.prototype.validate = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.beginValidate(resourceGroupName$$1, serviceName$$1, parameters, options) - .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); - }; - TenantConfiguration.prototype.getSyncState = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, getSyncStateOperationSpec, callback); - }; - /** - * This operation applies changes from the specified Git branch to the configuration database. This - * is a long running operation and could take several minutes to complete. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Deploy Configuration parameters. - * @param [options] The optional parameters - * @returns Promise - */ - TenantConfiguration.prototype.beginDeploy = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.client.sendLRORequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - options: options - }, beginDeployOperationSpec, options); - }; - /** - * This operation creates a commit with the current configuration snapshot to the specified branch - * in the repository. This is a long running operation and could take several minutes to complete. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Save Configuration parameters. - * @param [options] The optional parameters - * @returns Promise - */ - TenantConfiguration.prototype.beginSave = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.client.sendLRORequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - options: options - }, beginSaveOperationSpec, options); - }; - /** - * This operation validates the changes in the specified Git branch. This is a long running - * operation and could take several minutes to complete. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param parameters Validate Configuration parameters. - * @param [options] The optional parameters - * @returns Promise - */ - TenantConfiguration.prototype.beginValidate = function (resourceGroupName$$1, serviceName$$1, parameters, options) { - return this.client.sendLRORequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - parameters: parameters, - options: options - }, beginValidateOperationSpec, options); - }; - return TenantConfiguration; - }()); - // Operation Specifications - var serializer$Q = new msRest.Serializer(Mappers$Q); - var getSyncStateOperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{configurationName}/syncState", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - configurationName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: TenantConfigurationSyncStateContract - }, - default: { - bodyMapper: CloudError - } - }, - serializer: serializer$Q - }; - var beginDeployOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{configurationName}/deploy", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - configurationName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, DeployConfigurationParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: OperationResultContract - }, - 202: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$Q - }; - var beginSaveOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{configurationName}/save", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - configurationName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, SaveConfigurationParameter, { required: true }) - }, - responses: { - 200: { - bodyMapper: OperationResultContract - }, - 202: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$Q - }; - var beginValidateOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{configurationName}/validate", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - configurationName - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, DeployConfigurationParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: OperationResultContract - }, - 202: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$Q - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$R = /*#__PURE__*/Object.freeze({ - UserCollection: UserCollection, - UserContract: UserContract, - Resource: Resource, - BaseResource: BaseResource, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - UserGetEntityTagHeaders: UserGetEntityTagHeaders, - UserGetHeaders: UserGetHeaders, - UserCreateParameters: UserCreateParameters, - UserUpdateParameters: UserUpdateParameters, - GenerateSsoUrlResult: GenerateSsoUrlResult, - UserTokenParameters: UserTokenParameters, - UserTokenResult: UserTokenResult, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a User. */ - var User = /** @class */ (function () { - /** - * Create a User. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function User(client) { - this.client = client; - } - User.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$q, callback); - }; - User.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, uid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - uid: uid$$1, - options: options - }, getEntityTagOperationSpec$r, callback); - }; - User.prototype.get = function (resourceGroupName$$1, serviceName$$1, uid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - uid: uid$$1, - options: options - }, getOperationSpec$y, callback); - }; - User.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, uid$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - uid: uid$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$z, callback); - }; - User.prototype.update = function (resourceGroupName$$1, serviceName$$1, uid$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - uid: uid$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$m, callback); - }; - User.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, uid$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - uid: uid$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$y, callback); - }; - User.prototype.generateSsoUrl = function (resourceGroupName$$1, serviceName$$1, uid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - uid: uid$$1, - options: options - }, generateSsoUrlOperationSpec, callback); - }; - User.prototype.getSharedAccessToken = function (resourceGroupName$$1, serviceName$$1, uid$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - uid: uid$$1, - parameters: parameters, - options: options - }, getSharedAccessTokenOperationSpec, callback); - }; - User.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$m, callback); - }; - return User; - }()); - // Operation Specifications - var serializer$R = new msRest.Serializer(Mappers$R); - var listByServiceOperationSpec$q = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: UserCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$R - }; - var getEntityTagOperationSpec$r = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}", - urlParameters: [ - resourceGroupName, - serviceName, - uid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: UserGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$R - }; - var getOperationSpec$y = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}", - urlParameters: [ - resourceGroupName, - serviceName, - uid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: UserContract, - headersMapper: UserGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$R - }; - var createOrUpdateOperationSpec$z = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}", - urlParameters: [ - resourceGroupName, - serviceName, - uid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, UserCreateParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: UserContract - }, - 201: { - bodyMapper: UserContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$R - }; - var updateOperationSpec$m = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}", - urlParameters: [ - resourceGroupName, - serviceName, - uid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, UserUpdateParameters, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$R - }; - var deleteMethodOperationSpec$y = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}", - urlParameters: [ - resourceGroupName, - serviceName, - uid, - subscriptionId - ], - queryParameters: [ - deleteSubscriptions, - notify, - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$R - }; - var generateSsoUrlOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/generateSsoUrl", - urlParameters: [ - resourceGroupName, - serviceName, - uid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: GenerateSsoUrlResult - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$R - }; - var getSharedAccessTokenOperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/token", - urlParameters: [ - resourceGroupName, - serviceName, - uid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, UserTokenParameters, { required: true }) - }, - responses: { - 200: { - bodyMapper: UserTokenResult - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$R - }; - var listByServiceNextOperationSpec$m = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: UserCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$R - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$S = /*#__PURE__*/Object.freeze({ - GroupCollection: GroupCollection, - GroupContract: GroupContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a UserGroup. */ - var UserGroup = /** @class */ (function () { - /** - * Create a UserGroup. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function UserGroup(client) { - this.client = client; - } - UserGroup.prototype.list = function (resourceGroupName$$1, serviceName$$1, uid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - uid: uid$$1, - options: options - }, listOperationSpec$7, callback); - }; - UserGroup.prototype.listNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listNextOperationSpec$7, callback); - }; - return UserGroup; - }()); - // Operation Specifications - var serializer$S = new msRest.Serializer(Mappers$S); - var listOperationSpec$7 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/groups", - urlParameters: [ - resourceGroupName, - serviceName, - uid, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: GroupCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$S - }; - var listNextOperationSpec$7 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: GroupCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$S - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$T = /*#__PURE__*/Object.freeze({ - SubscriptionCollection: SubscriptionCollection, - SubscriptionContract: SubscriptionContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiVersionSetContract: ApiVersionSetContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a UserSubscription. */ - var UserSubscription = /** @class */ (function () { - /** - * Create a UserSubscription. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function UserSubscription(client) { - this.client = client; - } - UserSubscription.prototype.list = function (resourceGroupName$$1, serviceName$$1, uid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - uid: uid$$1, - options: options - }, listOperationSpec$8, callback); - }; - UserSubscription.prototype.listNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listNextOperationSpec$8, callback); - }; - return UserSubscription; - }()); - // Operation Specifications - var serializer$T = new msRest.Serializer(Mappers$T); - var listOperationSpec$8 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/subscriptions", - urlParameters: [ - resourceGroupName, - serviceName, - uid, - subscriptionId - ], - queryParameters: [ - filter0, - top, - skip, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: SubscriptionCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$T - }; - var listNextOperationSpec$8 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: SubscriptionCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$T - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$U = /*#__PURE__*/Object.freeze({ - UserIdentityCollection: UserIdentityCollection, - UserIdentityContract: UserIdentityContract, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a UserIdentities. */ - var UserIdentities = /** @class */ (function () { - /** - * Create a UserIdentities. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function UserIdentities(client) { - this.client = client; - } - UserIdentities.prototype.list = function (resourceGroupName$$1, serviceName$$1, uid$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - uid: uid$$1, - options: options - }, listOperationSpec$9, callback); - }; - UserIdentities.prototype.listNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listNextOperationSpec$9, callback); - }; - return UserIdentities; - }()); - // Operation Specifications - var serializer$U = new msRest.Serializer(Mappers$U); - var listOperationSpec$9 = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/identities", - urlParameters: [ - resourceGroupName, - serviceName, - uid, - subscriptionId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: UserIdentityCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$U - }; - var listNextOperationSpec$9 = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: UserIdentityCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$U - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$V = /*#__PURE__*/Object.freeze({ - ApiVersionSetCollection: ApiVersionSetCollection, - ApiVersionSetContract: ApiVersionSetContract, - Resource: Resource, - BaseResource: BaseResource, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract, - ApiVersionSetGetEntityTagHeaders: ApiVersionSetGetEntityTagHeaders, - ApiVersionSetGetHeaders: ApiVersionSetGetHeaders, - ApiVersionSetUpdateParameters: ApiVersionSetUpdateParameters, - PolicyContract: PolicyContract, - ApiContract: ApiContract, - AuthenticationSettingsContract: AuthenticationSettingsContract, - OAuth2AuthenticationSettingsContract: OAuth2AuthenticationSettingsContract, - OpenIdAuthenticationSettingsContract: OpenIdAuthenticationSettingsContract, - SubscriptionKeyParameterNamesContract: SubscriptionKeyParameterNamesContract, - ApiVersionSetContractDetails: ApiVersionSetContractDetails, - ApiReleaseContract: ApiReleaseContract, - OperationContract: OperationContract, - ParameterContract: ParameterContract, - RequestContract: RequestContract, - RepresentationContract: RepresentationContract, - ResponseContract: ResponseContract, - SchemaContract: SchemaContract, - IssueContract: IssueContract, - IssueCommentContract: IssueCommentContract, - IssueAttachmentContract: IssueAttachmentContract, - LoggerContract: LoggerContract, - DiagnosticContract: DiagnosticContract, - ProductContract: ProductContract, - AuthorizationServerContract: AuthorizationServerContract, - TokenBodyParameterContract: TokenBodyParameterContract, - AuthorizationServerUpdateContract: AuthorizationServerUpdateContract, - BackendContract: BackendContract, - BackendProperties: BackendProperties, - BackendServiceFabricClusterProperties: BackendServiceFabricClusterProperties, - X509CertificateName: X509CertificateName, - BackendCredentialsContract: BackendCredentialsContract, - BackendAuthorizationHeaderCredentials: BackendAuthorizationHeaderCredentials, - BackendProxyContract: BackendProxyContract, - BackendTlsProperties: BackendTlsProperties, - BackendReconnectContract: BackendReconnectContract, - CertificateContract: CertificateContract, - ApimResource: ApimResource, - ApiManagementServiceUpdateParameters: ApiManagementServiceUpdateParameters, - HostnameConfiguration: HostnameConfiguration, - CertificateInformation: CertificateInformation, - VirtualNetworkConfiguration: VirtualNetworkConfiguration, - AdditionalLocation: AdditionalLocation, - ApiManagementServiceSkuProperties: ApiManagementServiceSkuProperties, - CertificateConfiguration: CertificateConfiguration, - ApiManagementServiceIdentity: ApiManagementServiceIdentity, - EmailTemplateContract: EmailTemplateContract, - EmailTemplateParametersContractProperties: EmailTemplateParametersContractProperties, - GroupContract: GroupContract, - UserContract: UserContract, - UserIdentityContract: UserIdentityContract, - GroupContractProperties: GroupContractProperties, - IdentityProviderContract: IdentityProviderContract, - NotificationContract: NotificationContract, - RecipientsContractProperties: RecipientsContractProperties, - RecipientUserContract: RecipientUserContract, - RecipientEmailContract: RecipientEmailContract, - OpenidConnectProviderContract: OpenidConnectProviderContract, - PortalSigninSettings: PortalSigninSettings, - PortalSignupSettings: PortalSignupSettings, - TermsOfServiceProperties: TermsOfServiceProperties, - PortalDelegationSettings: PortalDelegationSettings, - SubscriptionsDelegationSettingsProperties: SubscriptionsDelegationSettingsProperties, - RegistrationDelegationSettingsProperties: RegistrationDelegationSettingsProperties, - SubscriptionContract: SubscriptionContract, - PropertyContract: PropertyContract, - TagContract: TagContract, - TagDescriptionContract: TagDescriptionContract, - ApiManagementServiceResource: ApiManagementServiceResource - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiVersionSet. */ - var ApiVersionSet = /** @class */ (function () { - /** - * Create a ApiVersionSet. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiVersionSet(client) { - this.client = client; - } - ApiVersionSet.prototype.listByService = function (resourceGroupName$$1, serviceName$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - options: options - }, listByServiceOperationSpec$r, callback); - }; - ApiVersionSet.prototype.getEntityTag = function (resourceGroupName$$1, serviceName$$1, versionSetId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - versionSetId: versionSetId$$1, - options: options - }, getEntityTagOperationSpec$s, callback); - }; - ApiVersionSet.prototype.get = function (resourceGroupName$$1, serviceName$$1, versionSetId$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - versionSetId: versionSetId$$1, - options: options - }, getOperationSpec$z, callback); - }; - ApiVersionSet.prototype.createOrUpdate = function (resourceGroupName$$1, serviceName$$1, versionSetId$$1, parameters, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - versionSetId: versionSetId$$1, - parameters: parameters, - options: options - }, createOrUpdateOperationSpec$A, callback); - }; - ApiVersionSet.prototype.update = function (resourceGroupName$$1, serviceName$$1, versionSetId$$1, parameters, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - versionSetId: versionSetId$$1, - parameters: parameters, - ifMatch: ifMatch, - options: options - }, updateOperationSpec$n, callback); - }; - ApiVersionSet.prototype.deleteMethod = function (resourceGroupName$$1, serviceName$$1, versionSetId$$1, ifMatch, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - versionSetId: versionSetId$$1, - ifMatch: ifMatch, - options: options - }, deleteMethodOperationSpec$z, callback); - }; - ApiVersionSet.prototype.listByServiceNext = function (nextPageLink$$1, options, callback) { - return this.client.sendOperationRequest({ - nextPageLink: nextPageLink$$1, - options: options - }, listByServiceNextOperationSpec$n, callback); - }; - return ApiVersionSet; - }()); - // Operation Specifications - var serializer$V = new msRest.Serializer(Mappers$V); - var listByServiceOperationSpec$r = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId - ], - queryParameters: [ - apiVersion, - filter0, - top, - skip - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiVersionSetCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$V - }; - var getEntityTagOperationSpec$s = { - httpMethod: "HEAD", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - versionSetId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - headersMapper: ApiVersionSetGetEntityTagHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$V - }; - var getOperationSpec$z = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - versionSetId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiVersionSetContract, - headersMapper: ApiVersionSetGetHeaders - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$V - }; - var createOrUpdateOperationSpec$A = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - versionSetId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch1, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ApiVersionSetContract, { required: true }) - }, - responses: { - 200: { - bodyMapper: ApiVersionSetContract - }, - 201: { - bodyMapper: ApiVersionSetContract - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$V - }; - var updateOperationSpec$n = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - versionSetId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: __assign({}, ApiVersionSetUpdateParameters, { required: true }) - }, - responses: { - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$V - }; - var deleteMethodOperationSpec$z = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}", - urlParameters: [ - resourceGroupName, - serviceName, - subscriptionId, - versionSetId - ], - queryParameters: [ - apiVersion - ], - headerParameters: [ - ifMatch0, - acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$V - }; - var listByServiceNextOperationSpec$n = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - nextPageLink - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiVersionSetCollection - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$V - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - var Mappers$W = /*#__PURE__*/Object.freeze({ - ApiExportResult: ApiExportResult, - ErrorResponse: ErrorResponse, - ErrorFieldContract: ErrorFieldContract - }); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - /** Class representing a ApiExport. */ - var ApiExport = /** @class */ (function () { - /** - * Create a ApiExport. - * @param {ApiManagementClientContext} client Reference to the service client. - */ - function ApiExport(client) { - this.client = client; - } - ApiExport.prototype.get = function (resourceGroupName$$1, serviceName$$1, apiId, format$$1, options, callback) { - return this.client.sendOperationRequest({ - resourceGroupName: resourceGroupName$$1, - serviceName: serviceName$$1, - apiId: apiId, - format: format$$1, - options: options - }, getOperationSpec$A, callback); - }; - return ApiExport; - }()); - // Operation Specifications - var serializer$W = new msRest.Serializer(Mappers$W); - var getOperationSpec$A = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}", - urlParameters: [ - resourceGroupName, - serviceName, - apiId0, - subscriptionId - ], - queryParameters: [ - format, - exportParameter, - apiVersion - ], - headerParameters: [ - acceptLanguage - ], - responses: { - 200: { - bodyMapper: ApiExportResult - }, - default: { - bodyMapper: ErrorResponse - } - }, - serializer: serializer$W - }; - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - var packageName = "@azure/arm-apimanagement"; - var packageVersion = "1.0.0-preview"; - var ApiManagementClientContext = /** @class */ (function (_super) { - __extends(ApiManagementClientContext, _super); - /** - * Initializes a new instance of the ApiManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. - * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure - * subscription. The subscription ID forms part of the URI for every service call. - * @param [options] The parameter options - */ - function ApiManagementClientContext(credentials, subscriptionId, options) { - var _this = this; - if (credentials == undefined) { - throw new Error('\'credentials\' cannot be null.'); - } - if (subscriptionId == undefined) { - throw new Error('\'subscriptionId\' cannot be null.'); - } - if (!options) { - options = {}; - } - _this = _super.call(this, credentials, options) || this; - _this.apiVersion = '2018-01-01'; - _this.acceptLanguage = 'en-US'; - _this.longRunningOperationRetryTimeout = 30; - _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com"; - _this.requestContentType = "application/json; charset=utf-8"; - _this.credentials = credentials; - _this.subscriptionId = subscriptionId; - _this.addUserAgentInfo(packageName + "/" + packageVersion); - if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { - _this.acceptLanguage = options.acceptLanguage; - } - if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { - _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; - } - return _this; - } - return ApiManagementClientContext; - }(msRestAzure.AzureServiceClient)); - - /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - var ApiManagementClient = /** @class */ (function (_super) { - __extends(ApiManagementClient, _super); - /** - * Initializes a new instance of the ApiManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. - * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure - * subscription. The subscription ID forms part of the URI for every service call. - * @param [options] The parameter options - */ - function ApiManagementClient(credentials, subscriptionId, options) { - var _this = _super.call(this, credentials, subscriptionId, options) || this; - _this.policy = new Policy(_this); - _this.policySnippets = new PolicySnippets(_this); - _this.regions = new Regions(_this); - _this.api = new Api(_this); - _this.apiRevisions = new ApiRevisions(_this); - _this.apiRelease = new ApiRelease(_this); - _this.apiOperation = new ApiOperation(_this); - _this.apiOperationPolicy = new ApiOperationPolicy(_this); - _this.apiProduct = new ApiProduct(_this); - _this.apiPolicy = new ApiPolicy(_this); - _this.apiSchema = new ApiSchema(_this); - _this.apiDiagnostic = new ApiDiagnostic(_this); - _this.apiDiagnosticLogger = new ApiDiagnosticLogger(_this); - _this.apiIssue = new ApiIssue(_this); - _this.apiIssueComment = new ApiIssueComment(_this); - _this.apiIssueAttachment = new ApiIssueAttachment(_this); - _this.authorizationServer = new AuthorizationServer(_this); - _this.backend = new Backend(_this); - _this.certificate = new Certificate(_this); - _this.apiManagementOperations = new ApiManagementOperations(_this); - _this.apiManagementService = new ApiManagementService(_this); - _this.diagnostic = new Diagnostic(_this); - _this.diagnosticLogger = new DiagnosticLogger(_this); - _this.emailTemplate = new EmailTemplate(_this); - _this.group = new Group(_this); - _this.groupUser = new GroupUser(_this); - _this.identityProvider = new IdentityProvider(_this); - _this.logger = new Logger(_this); - _this.notification = new Notification(_this); - _this.notificationRecipientUser = new NotificationRecipientUser(_this); - _this.notificationRecipientEmail = new NotificationRecipientEmail(_this); - _this.networkStatus = new NetworkStatus(_this); - _this.openIdConnectProvider = new OpenIdConnectProvider(_this); - _this.signInSettings = new SignInSettings(_this); - _this.signUpSettings = new SignUpSettings(_this); - _this.delegationSettings = new DelegationSettings(_this); - _this.product = new Product(_this); - _this.productApi = new ProductApi(_this); - _this.productGroup = new ProductGroup(_this); - _this.productSubscriptions = new ProductSubscriptions(_this); - _this.productPolicy = new ProductPolicy(_this); - _this.property = new Property(_this); - _this.quotaByCounterKeys = new QuotaByCounterKeys(_this); - _this.quotaByPeriodKeys = new QuotaByPeriodKeys(_this); - _this.reports = new Reports(_this); - _this.subscription = new Subscription(_this); - _this.tagResource = new TagResource(_this); - _this.tag = new Tag(_this); - _this.tagDescription = new TagDescription(_this); - _this.operation = new OperationOperations(_this); - _this.tenantAccess = new TenantAccess(_this); - _this.tenantAccessGit = new TenantAccessGit(_this); - _this.tenantConfiguration = new TenantConfiguration(_this); - _this.user = new User(_this); - _this.userGroup = new UserGroup(_this); - _this.userSubscription = new UserSubscription(_this); - _this.userIdentities = new UserIdentities(_this); - _this.apiVersionSet = new ApiVersionSet(_this); - _this.apiExport = new ApiExport(_this); - return _this; - } - return ApiManagementClient; - }(ApiManagementClientContext)); - - exports.ApiManagementClient = ApiManagementClient; - exports.ApiManagementClientContext = ApiManagementClientContext; - exports.ApiManagementModels = index; - exports.ApiManagementMappers = mappers; - exports.Policy = Policy; - exports.PolicySnippets = PolicySnippets; - exports.Regions = Regions; - exports.Api = Api; - exports.ApiRevisions = ApiRevisions; - exports.ApiRelease = ApiRelease; - exports.ApiOperation = ApiOperation; - exports.ApiOperationPolicy = ApiOperationPolicy; - exports.ApiProduct = ApiProduct; - exports.ApiPolicy = ApiPolicy; - exports.ApiSchema = ApiSchema; - exports.ApiDiagnostic = ApiDiagnostic; - exports.ApiDiagnosticLogger = ApiDiagnosticLogger; - exports.ApiIssue = ApiIssue; - exports.ApiIssueComment = ApiIssueComment; - exports.ApiIssueAttachment = ApiIssueAttachment; - exports.AuthorizationServer = AuthorizationServer; - exports.Backend = Backend; - exports.Certificate = Certificate; - exports.ApiManagementOperations = ApiManagementOperations; - exports.ApiManagementService = ApiManagementService; - exports.Diagnostic = Diagnostic; - exports.DiagnosticLogger = DiagnosticLogger; - exports.EmailTemplate = EmailTemplate; - exports.Group = Group; - exports.GroupUser = GroupUser; - exports.IdentityProvider = IdentityProvider; - exports.Logger = Logger; - exports.Notification = Notification; - exports.NotificationRecipientUser = NotificationRecipientUser; - exports.NotificationRecipientEmail = NotificationRecipientEmail; - exports.NetworkStatus = NetworkStatus; - exports.OpenIdConnectProvider = OpenIdConnectProvider; - exports.SignInSettings = SignInSettings; - exports.SignUpSettings = SignUpSettings; - exports.DelegationSettings = DelegationSettings; - exports.Product = Product; - exports.ProductApi = ProductApi; - exports.ProductGroup = ProductGroup; - exports.ProductSubscriptions = ProductSubscriptions; - exports.ProductPolicy = ProductPolicy; - exports.Property = Property; - exports.QuotaByCounterKeys = QuotaByCounterKeys; - exports.QuotaByPeriodKeys = QuotaByPeriodKeys; - exports.Reports = Reports; - exports.Subscription = Subscription; - exports.TagResource = TagResource; - exports.Tag = Tag; - exports.TagDescription = TagDescription; - exports.OperationOperations = OperationOperations; - exports.TenantAccess = TenantAccess; - exports.TenantAccessGit = TenantAccessGit; - exports.TenantConfiguration = TenantConfiguration; - exports.User = User; - exports.UserGroup = UserGroup; - exports.UserSubscription = UserSubscription; - exports.UserIdentities = UserIdentities; - exports.ApiVersionSet = ApiVersionSet; - exports.ApiExport = ApiExport; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=arm-apimanagement.js.map diff --git a/packages/@azure/arm-apimanagement/dist/arm-apimanagement.js.map b/packages/@azure/arm-apimanagement/dist/arm-apimanagement.js.map deleted file mode 100644 index d189cfd90bc3..000000000000 --- a/packages/@azure/arm-apimanagement/dist/arm-apimanagement.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"arm-apimanagement.js","sources":["../node_modules/tslib/tslib.es6.js","../esm/models/index.js","../esm/models/mappers.js","../esm/models/policyMappers.js","../esm/models/parameters.js","../esm/operations/policy.js","../esm/models/policySnippetsMappers.js","../esm/operations/policySnippets.js","../esm/models/regionsMappers.js","../esm/operations/regions.js","../esm/models/apiMappers.js","../esm/operations/api.js","../esm/models/apiRevisionsMappers.js","../esm/operations/apiRevisions.js","../esm/models/apiReleaseMappers.js","../esm/operations/apiRelease.js","../esm/models/apiOperationMappers.js","../esm/operations/apiOperation.js","../esm/models/apiOperationPolicyMappers.js","../esm/operations/apiOperationPolicy.js","../esm/models/apiProductMappers.js","../esm/operations/apiProduct.js","../esm/models/apiPolicyMappers.js","../esm/operations/apiPolicy.js","../esm/models/apiSchemaMappers.js","../esm/operations/apiSchema.js","../esm/models/apiDiagnosticMappers.js","../esm/operations/apiDiagnostic.js","../esm/models/apiDiagnosticLoggerMappers.js","../esm/operations/apiDiagnosticLogger.js","../esm/models/apiIssueMappers.js","../esm/operations/apiIssue.js","../esm/models/apiIssueCommentMappers.js","../esm/operations/apiIssueComment.js","../esm/models/apiIssueAttachmentMappers.js","../esm/operations/apiIssueAttachment.js","../esm/models/authorizationServerMappers.js","../esm/operations/authorizationServer.js","../esm/models/backendMappers.js","../esm/operations/backend.js","../esm/models/certificateMappers.js","../esm/operations/certificate.js","../esm/models/apiManagementOperationsMappers.js","../esm/operations/apiManagementOperations.js","../esm/models/apiManagementServiceMappers.js","../esm/operations/apiManagementService.js","../esm/models/diagnosticMappers.js","../esm/operations/diagnostic.js","../esm/models/diagnosticLoggerMappers.js","../esm/operations/diagnosticLogger.js","../esm/models/emailTemplateMappers.js","../esm/operations/emailTemplate.js","../esm/models/groupMappers.js","../esm/operations/group.js","../esm/models/groupUserMappers.js","../esm/operations/groupUser.js","../esm/models/identityProviderMappers.js","../esm/operations/identityProvider.js","../esm/models/loggerMappers.js","../esm/operations/logger.js","../esm/models/notificationMappers.js","../esm/operations/notification.js","../esm/models/notificationRecipientUserMappers.js","../esm/operations/notificationRecipientUser.js","../esm/models/notificationRecipientEmailMappers.js","../esm/operations/notificationRecipientEmail.js","../esm/models/networkStatusMappers.js","../esm/operations/networkStatus.js","../esm/models/openIdConnectProviderMappers.js","../esm/operations/openIdConnectProvider.js","../esm/models/signInSettingsMappers.js","../esm/operations/signInSettings.js","../esm/models/signUpSettingsMappers.js","../esm/operations/signUpSettings.js","../esm/models/delegationSettingsMappers.js","../esm/operations/delegationSettings.js","../esm/models/productMappers.js","../esm/operations/product.js","../esm/models/productApiMappers.js","../esm/operations/productApi.js","../esm/models/productGroupMappers.js","../esm/operations/productGroup.js","../esm/models/productSubscriptionsMappers.js","../esm/operations/productSubscriptions.js","../esm/models/productPolicyMappers.js","../esm/operations/productPolicy.js","../esm/models/propertyMappers.js","../esm/operations/property.js","../esm/models/quotaByCounterKeysMappers.js","../esm/operations/quotaByCounterKeys.js","../esm/models/quotaByPeriodKeysMappers.js","../esm/operations/quotaByPeriodKeys.js","../esm/models/reportsMappers.js","../esm/operations/reports.js","../esm/models/subscriptionMappers.js","../esm/operations/subscription.js","../esm/models/tagResourceMappers.js","../esm/operations/tagResource.js","../esm/models/tagMappers.js","../esm/operations/tag.js","../esm/models/tagDescriptionMappers.js","../esm/operations/tagDescription.js","../esm/models/operationOperationsMappers.js","../esm/operations/operationOperations.js","../esm/models/tenantAccessMappers.js","../esm/operations/tenantAccess.js","../esm/models/tenantAccessGitMappers.js","../esm/operations/tenantAccessGit.js","../esm/models/tenantConfigurationMappers.js","../esm/operations/tenantConfiguration.js","../esm/models/userMappers.js","../esm/operations/user.js","../esm/models/userGroupMappers.js","../esm/operations/userGroup.js","../esm/models/userSubscriptionMappers.js","../esm/operations/userSubscription.js","../esm/models/userIdentitiesMappers.js","../esm/operations/userIdentities.js","../esm/models/apiVersionSetMappers.js","../esm/operations/apiVersionSet.js","../esm/models/apiExportMappers.js","../esm/operations/apiExport.js","../esm/operations/index.js","../esm/apiManagementClientContext.js","../esm/apiManagementClient.js"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\r\n t[p[i]] = s[p[i]];\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\n/**\r\n * Defines values for PolicyContentFormat.\r\n * Possible values include: 'xml', 'xml-link', 'rawxml', 'rawxml-link'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: PolicyContentFormat =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var PolicyContentFormat;\r\n(function (PolicyContentFormat) {\r\n /**\r\n * The contents are inline and Content type is an XML document.\r\n */\r\n PolicyContentFormat[\"Xml\"] = \"xml\";\r\n /**\r\n * The policy XML document is hosted on a http endpoint accessible from the\r\n * API Management service.\r\n */\r\n PolicyContentFormat[\"XmlLink\"] = \"xml-link\";\r\n /**\r\n * The contents are inline and Content type is a non XML encoded policy\r\n * document.\r\n */\r\n PolicyContentFormat[\"Rawxml\"] = \"rawxml\";\r\n /**\r\n * The policy document is not Xml encoded and is hosted on a http endpoint\r\n * accessible from the API Management service.\r\n */\r\n PolicyContentFormat[\"RawxmlLink\"] = \"rawxml-link\";\r\n})(PolicyContentFormat || (PolicyContentFormat = {}));\r\n/**\r\n * Defines values for Protocol.\r\n * Possible values include: 'http', 'https'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var Protocol;\r\n(function (Protocol) {\r\n Protocol[\"Http\"] = \"http\";\r\n Protocol[\"Https\"] = \"https\";\r\n})(Protocol || (Protocol = {}));\r\n/**\r\n * Defines values for ContentFormat.\r\n * Possible values include: 'wadl-xml', 'wadl-link-json', 'swagger-json',\r\n * 'swagger-link-json', 'wsdl', 'wsdl-link'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: ContentFormat =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var ContentFormat;\r\n(function (ContentFormat) {\r\n /**\r\n * The contents are inline and Content type is a WADL document.\r\n */\r\n ContentFormat[\"WadlXml\"] = \"wadl-xml\";\r\n /**\r\n * The WADL document is hosted on a publicly accessible internet address.\r\n */\r\n ContentFormat[\"WadlLinkJson\"] = \"wadl-link-json\";\r\n /**\r\n * The contents are inline and Content Type is a OpenApi 2.0 Document.\r\n */\r\n ContentFormat[\"SwaggerJson\"] = \"swagger-json\";\r\n /**\r\n * The Open Api 2.0 document is hosted on a publicly accessible internet\r\n * address.\r\n */\r\n ContentFormat[\"SwaggerLinkJson\"] = \"swagger-link-json\";\r\n /**\r\n * The contents are inline and the document is a WSDL/Soap document.\r\n */\r\n ContentFormat[\"Wsdl\"] = \"wsdl\";\r\n /**\r\n * The WSDL document is hosted on a publicly accessible internet address.\r\n */\r\n ContentFormat[\"WsdlLink\"] = \"wsdl-link\";\r\n})(ContentFormat || (ContentFormat = {}));\r\n/**\r\n * Defines values for SoapApiType.\r\n * Possible values include: 'SoapToRest', 'SoapPassThrough'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: SoapApiType =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var SoapApiType;\r\n(function (SoapApiType) {\r\n /**\r\n * Imports a SOAP API having a RESTful front end.\r\n */\r\n SoapApiType[\"SoapToRest\"] = \"http\";\r\n /**\r\n * Imports the Soap API having a SOAP front end.\r\n */\r\n SoapApiType[\"SoapPassThrough\"] = \"soap\";\r\n})(SoapApiType || (SoapApiType = {}));\r\n/**\r\n * Defines values for BearerTokenSendingMethods.\r\n * Possible values include: 'authorizationHeader', 'query'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: BearerTokenSendingMethods =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var BearerTokenSendingMethods;\r\n(function (BearerTokenSendingMethods) {\r\n /**\r\n * Access token will be transmitted in the Authorization header using Bearer\r\n * schema\r\n */\r\n BearerTokenSendingMethods[\"AuthorizationHeader\"] = \"authorizationHeader\";\r\n /**\r\n * Access token will be transmitted as query parameters.\r\n */\r\n BearerTokenSendingMethods[\"Query\"] = \"query\";\r\n})(BearerTokenSendingMethods || (BearerTokenSendingMethods = {}));\r\n/**\r\n * Defines values for ApiType.\r\n * Possible values include: 'http', 'soap'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: ApiType = \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var ApiType;\r\n(function (ApiType) {\r\n ApiType[\"Http\"] = \"http\";\r\n ApiType[\"Soap\"] = \"soap\";\r\n})(ApiType || (ApiType = {}));\r\n/**\r\n * Defines values for State.\r\n * Possible values include: 'proposed', 'open', 'removed', 'resolved', 'closed'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: State = \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var State;\r\n(function (State) {\r\n /**\r\n * The issue is proposed.\r\n */\r\n State[\"Proposed\"] = \"proposed\";\r\n /**\r\n * The issue is opened.\r\n */\r\n State[\"Open\"] = \"open\";\r\n /**\r\n * The issue was removed.\r\n */\r\n State[\"Removed\"] = \"removed\";\r\n /**\r\n * The issue is now resolved.\r\n */\r\n State[\"Resolved\"] = \"resolved\";\r\n /**\r\n * The issue was closed.\r\n */\r\n State[\"Closed\"] = \"closed\";\r\n})(State || (State = {}));\r\n/**\r\n * Defines values for LoggerType.\r\n * Possible values include: 'azureEventHub', 'applicationInsights'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: LoggerType = \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var LoggerType;\r\n(function (LoggerType) {\r\n /**\r\n * Azure Event Hub as log destination.\r\n */\r\n LoggerType[\"AzureEventHub\"] = \"azureEventHub\";\r\n /**\r\n * Azure Application Insights as log destination.\r\n */\r\n LoggerType[\"ApplicationInsights\"] = \"applicationInsights\";\r\n})(LoggerType || (LoggerType = {}));\r\n/**\r\n * Defines values for ProductState.\r\n * Possible values include: 'notPublished', 'published'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var ProductState;\r\n(function (ProductState) {\r\n ProductState[\"NotPublished\"] = \"notPublished\";\r\n ProductState[\"Published\"] = \"published\";\r\n})(ProductState || (ProductState = {}));\r\n/**\r\n * Defines values for GrantType.\r\n * Possible values include: 'authorizationCode', 'implicit',\r\n * 'resourceOwnerPassword', 'clientCredentials'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: GrantType = \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var GrantType;\r\n(function (GrantType) {\r\n /**\r\n * Authorization Code Grant flow as described\r\n * https://tools.ietf.org/html/rfc6749#section-4.1.\r\n */\r\n GrantType[\"AuthorizationCode\"] = \"authorizationCode\";\r\n /**\r\n * Implicit Code Grant flow as described\r\n * https://tools.ietf.org/html/rfc6749#section-4.2.\r\n */\r\n GrantType[\"Implicit\"] = \"implicit\";\r\n /**\r\n * Resource Owner Password Grant flow as described\r\n * https://tools.ietf.org/html/rfc6749#section-4.3.\r\n */\r\n GrantType[\"ResourceOwnerPassword\"] = \"resourceOwnerPassword\";\r\n /**\r\n * Client Credentials Grant flow as described\r\n * https://tools.ietf.org/html/rfc6749#section-4.4.\r\n */\r\n GrantType[\"ClientCredentials\"] = \"clientCredentials\";\r\n})(GrantType || (GrantType = {}));\r\n/**\r\n * Defines values for AuthorizationMethod.\r\n * Possible values include: 'HEAD', 'OPTIONS', 'TRACE', 'GET', 'POST', 'PUT',\r\n * 'PATCH', 'DELETE'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var AuthorizationMethod;\r\n(function (AuthorizationMethod) {\r\n AuthorizationMethod[\"HEAD\"] = \"HEAD\";\r\n AuthorizationMethod[\"OPTIONS\"] = \"OPTIONS\";\r\n AuthorizationMethod[\"TRACE\"] = \"TRACE\";\r\n AuthorizationMethod[\"GET\"] = \"GET\";\r\n AuthorizationMethod[\"POST\"] = \"POST\";\r\n AuthorizationMethod[\"PUT\"] = \"PUT\";\r\n AuthorizationMethod[\"PATCH\"] = \"PATCH\";\r\n AuthorizationMethod[\"DELETE\"] = \"DELETE\";\r\n})(AuthorizationMethod || (AuthorizationMethod = {}));\r\n/**\r\n * Defines values for ClientAuthenticationMethod.\r\n * Possible values include: 'Basic', 'Body'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: ClientAuthenticationMethod =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var ClientAuthenticationMethod;\r\n(function (ClientAuthenticationMethod) {\r\n /**\r\n * Basic Client Authentication method.\r\n */\r\n ClientAuthenticationMethod[\"Basic\"] = \"Basic\";\r\n /**\r\n * Body based Authentication method.\r\n */\r\n ClientAuthenticationMethod[\"Body\"] = \"Body\";\r\n})(ClientAuthenticationMethod || (ClientAuthenticationMethod = {}));\r\n/**\r\n * Defines values for BearerTokenSendingMethod.\r\n * Possible values include: 'authorizationHeader', 'query'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: BearerTokenSendingMethod =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var BearerTokenSendingMethod;\r\n(function (BearerTokenSendingMethod) {\r\n BearerTokenSendingMethod[\"AuthorizationHeader\"] = \"authorizationHeader\";\r\n BearerTokenSendingMethod[\"Query\"] = \"query\";\r\n})(BearerTokenSendingMethod || (BearerTokenSendingMethod = {}));\r\n/**\r\n * Defines values for BackendProtocol.\r\n * Possible values include: 'http', 'soap'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: BackendProtocol =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var BackendProtocol;\r\n(function (BackendProtocol) {\r\n /**\r\n * The Backend is a RESTful service.\r\n */\r\n BackendProtocol[\"Http\"] = \"http\";\r\n /**\r\n * The Backend is a SOAP service.\r\n */\r\n BackendProtocol[\"Soap\"] = \"soap\";\r\n})(BackendProtocol || (BackendProtocol = {}));\r\n/**\r\n * Defines values for HostnameType.\r\n * Possible values include: 'Proxy', 'Portal', 'Management', 'Scm'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var HostnameType;\r\n(function (HostnameType) {\r\n HostnameType[\"Proxy\"] = \"Proxy\";\r\n HostnameType[\"Portal\"] = \"Portal\";\r\n HostnameType[\"Management\"] = \"Management\";\r\n HostnameType[\"Scm\"] = \"Scm\";\r\n})(HostnameType || (HostnameType = {}));\r\n/**\r\n * Defines values for SkuType.\r\n * Possible values include: 'Developer', 'Standard', 'Premium', 'Basic'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: SkuType = \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var SkuType;\r\n(function (SkuType) {\r\n /**\r\n * Developer SKU of Api Management.\r\n */\r\n SkuType[\"Developer\"] = \"Developer\";\r\n /**\r\n * Standard SKU of Api Management.\r\n */\r\n SkuType[\"Standard\"] = \"Standard\";\r\n /**\r\n * Premium SKU of Api Management.\r\n */\r\n SkuType[\"Premium\"] = \"Premium\";\r\n /**\r\n * Basic SKU of Api Management.\r\n */\r\n SkuType[\"Basic\"] = \"Basic\";\r\n})(SkuType || (SkuType = {}));\r\n/**\r\n * Defines values for VirtualNetworkType.\r\n * Possible values include: 'None', 'External', 'Internal'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: VirtualNetworkType =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var VirtualNetworkType;\r\n(function (VirtualNetworkType) {\r\n /**\r\n * The service is not part of any Virtual Network.\r\n */\r\n VirtualNetworkType[\"None\"] = \"None\";\r\n /**\r\n * The service is part of Virtual Network and it is accessible from Internet.\r\n */\r\n VirtualNetworkType[\"External\"] = \"External\";\r\n /**\r\n * The service is part of Virtual Network and it is only accessible from\r\n * within the virtual network.\r\n */\r\n VirtualNetworkType[\"Internal\"] = \"Internal\";\r\n})(VirtualNetworkType || (VirtualNetworkType = {}));\r\n/**\r\n * Defines values for NameAvailabilityReason.\r\n * Possible values include: 'Valid', 'Invalid', 'AlreadyExists'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var NameAvailabilityReason;\r\n(function (NameAvailabilityReason) {\r\n NameAvailabilityReason[\"Valid\"] = \"Valid\";\r\n NameAvailabilityReason[\"Invalid\"] = \"Invalid\";\r\n NameAvailabilityReason[\"AlreadyExists\"] = \"AlreadyExists\";\r\n})(NameAvailabilityReason || (NameAvailabilityReason = {}));\r\n/**\r\n * Defines values for GroupType.\r\n * Possible values include: 'custom', 'system', 'external'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var GroupType;\r\n(function (GroupType) {\r\n GroupType[\"Custom\"] = \"custom\";\r\n GroupType[\"System\"] = \"system\";\r\n GroupType[\"External\"] = \"external\";\r\n})(GroupType || (GroupType = {}));\r\n/**\r\n * Defines values for Confirmation.\r\n * Possible values include: 'signup', 'invite'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: Confirmation =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var Confirmation;\r\n(function (Confirmation) {\r\n /**\r\n * Send an e-mail to the user confirming they have successfully signed up.\r\n */\r\n Confirmation[\"Signup\"] = \"signup\";\r\n /**\r\n * Send an e-mail inviting the user to sign-up and complete registration.\r\n */\r\n Confirmation[\"Invite\"] = \"invite\";\r\n})(Confirmation || (Confirmation = {}));\r\n/**\r\n * Defines values for UserState.\r\n * Possible values include: 'active', 'blocked', 'pending', 'deleted'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: UserState = \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var UserState;\r\n(function (UserState) {\r\n /**\r\n * User state is active.\r\n */\r\n UserState[\"Active\"] = \"active\";\r\n /**\r\n * User is blocked. Blocked users cannot authenticate at developer portal or\r\n * call API.\r\n */\r\n UserState[\"Blocked\"] = \"blocked\";\r\n /**\r\n * User account is pending. Requires identity confirmation before it can be\r\n * made active.\r\n */\r\n UserState[\"Pending\"] = \"pending\";\r\n /**\r\n * User account is closed. All identities and related entities are removed.\r\n */\r\n UserState[\"Deleted\"] = \"deleted\";\r\n})(UserState || (UserState = {}));\r\n/**\r\n * Defines values for IdentityProviderType.\r\n * Possible values include: 'facebook', 'google', 'microsoft', 'twitter',\r\n * 'aad', 'aadB2C'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: IdentityProviderType =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var IdentityProviderType;\r\n(function (IdentityProviderType) {\r\n /**\r\n * Facebook as Identity provider.\r\n */\r\n IdentityProviderType[\"Facebook\"] = \"facebook\";\r\n /**\r\n * Google as Identity provider.\r\n */\r\n IdentityProviderType[\"Google\"] = \"google\";\r\n /**\r\n * Microsoft Live as Identity provider.\r\n */\r\n IdentityProviderType[\"Microsoft\"] = \"microsoft\";\r\n /**\r\n * Twitter as Identity provider.\r\n */\r\n IdentityProviderType[\"Twitter\"] = \"twitter\";\r\n /**\r\n * Azure Active Directory as Identity provider.\r\n */\r\n IdentityProviderType[\"Aad\"] = \"aad\";\r\n /**\r\n * Azure Active Directory B2C as Identity provider.\r\n */\r\n IdentityProviderType[\"AadB2C\"] = \"aadB2C\";\r\n})(IdentityProviderType || (IdentityProviderType = {}));\r\n/**\r\n * Defines values for ConnectivityStatusType.\r\n * Possible values include: 'initializing', 'success', 'failure'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: ConnectivityStatusType =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var ConnectivityStatusType;\r\n(function (ConnectivityStatusType) {\r\n ConnectivityStatusType[\"Initializing\"] = \"initializing\";\r\n ConnectivityStatusType[\"Success\"] = \"success\";\r\n ConnectivityStatusType[\"Failure\"] = \"failure\";\r\n})(ConnectivityStatusType || (ConnectivityStatusType = {}));\r\n/**\r\n * Defines values for SubscriptionState.\r\n * Possible values include: 'suspended', 'active', 'expired', 'submitted',\r\n * 'rejected', 'cancelled'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var SubscriptionState;\r\n(function (SubscriptionState) {\r\n SubscriptionState[\"Suspended\"] = \"suspended\";\r\n SubscriptionState[\"Active\"] = \"active\";\r\n SubscriptionState[\"Expired\"] = \"expired\";\r\n SubscriptionState[\"Submitted\"] = \"submitted\";\r\n SubscriptionState[\"Rejected\"] = \"rejected\";\r\n SubscriptionState[\"Cancelled\"] = \"cancelled\";\r\n})(SubscriptionState || (SubscriptionState = {}));\r\n/**\r\n * Defines values for AsyncOperationStatus.\r\n * Possible values include: 'Started', 'InProgress', 'Succeeded', 'Failed'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var AsyncOperationStatus;\r\n(function (AsyncOperationStatus) {\r\n AsyncOperationStatus[\"Started\"] = \"Started\";\r\n AsyncOperationStatus[\"InProgress\"] = \"InProgress\";\r\n AsyncOperationStatus[\"Succeeded\"] = \"Succeeded\";\r\n AsyncOperationStatus[\"Failed\"] = \"Failed\";\r\n})(AsyncOperationStatus || (AsyncOperationStatus = {}));\r\n/**\r\n * Defines values for KeyType.\r\n * Possible values include: 'primary', 'secondary'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var KeyType;\r\n(function (KeyType) {\r\n KeyType[\"Primary\"] = \"primary\";\r\n KeyType[\"Secondary\"] = \"secondary\";\r\n})(KeyType || (KeyType = {}));\r\n/**\r\n * Defines values for VersioningScheme.\r\n * Possible values include: 'Segment', 'Query', 'Header'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: VersioningScheme =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var VersioningScheme;\r\n(function (VersioningScheme) {\r\n /**\r\n * The API Version is passed in a path segment.\r\n */\r\n VersioningScheme[\"Segment\"] = \"Segment\";\r\n /**\r\n * The API Version is passed in a query parameter.\r\n */\r\n VersioningScheme[\"Query\"] = \"Query\";\r\n /**\r\n * The API Version is passed in a HTTP header.\r\n */\r\n VersioningScheme[\"Header\"] = \"Header\";\r\n})(VersioningScheme || (VersioningScheme = {}));\r\n/**\r\n * Defines values for TemplateName.\r\n * Possible values include: 'applicationApprovedNotificationMessage',\r\n * 'accountClosedDeveloper',\r\n * 'quotaLimitApproachingDeveloperNotificationMessage',\r\n * 'newDeveloperNotificationMessage', 'emailChangeIdentityDefault',\r\n * 'inviteUserNotificationMessage', 'newCommentNotificationMessage',\r\n * 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage',\r\n * 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault',\r\n * 'passwordResetByAdminNotificationMessage',\r\n * 'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: TemplateName =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var TemplateName;\r\n(function (TemplateName) {\r\n TemplateName[\"ApplicationApprovedNotificationMessage\"] = \"applicationApprovedNotificationMessage\";\r\n TemplateName[\"AccountClosedDeveloper\"] = \"accountClosedDeveloper\";\r\n TemplateName[\"QuotaLimitApproachingDeveloperNotificationMessage\"] = \"quotaLimitApproachingDeveloperNotificationMessage\";\r\n TemplateName[\"NewDeveloperNotificationMessage\"] = \"newDeveloperNotificationMessage\";\r\n TemplateName[\"EmailChangeIdentityDefault\"] = \"emailChangeIdentityDefault\";\r\n TemplateName[\"InviteUserNotificationMessage\"] = \"inviteUserNotificationMessage\";\r\n TemplateName[\"NewCommentNotificationMessage\"] = \"newCommentNotificationMessage\";\r\n TemplateName[\"ConfirmSignUpIdentityDefault\"] = \"confirmSignUpIdentityDefault\";\r\n TemplateName[\"NewIssueNotificationMessage\"] = \"newIssueNotificationMessage\";\r\n TemplateName[\"PurchaseDeveloperNotificationMessage\"] = \"purchaseDeveloperNotificationMessage\";\r\n TemplateName[\"PasswordResetIdentityDefault\"] = \"passwordResetIdentityDefault\";\r\n TemplateName[\"PasswordResetByAdminNotificationMessage\"] = \"passwordResetByAdminNotificationMessage\";\r\n TemplateName[\"RejectDeveloperNotificationMessage\"] = \"rejectDeveloperNotificationMessage\";\r\n TemplateName[\"RequestDeveloperNotificationMessage\"] = \"requestDeveloperNotificationMessage\";\r\n})(TemplateName || (TemplateName = {}));\r\n/**\r\n * Defines values for NotificationName.\r\n * Possible values include: 'RequestPublisherNotificationMessage',\r\n * 'PurchasePublisherNotificationMessage', 'NewApplicationNotificationMessage',\r\n * 'BCC', 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher',\r\n * 'QuotaLimitApproachingPublisherNotificationMessage'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: NotificationName =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var NotificationName;\r\n(function (NotificationName) {\r\n /**\r\n * The following email recipients and users will receive email notifications\r\n * about subscription requests for API products requiring approval.\r\n */\r\n NotificationName[\"RequestPublisherNotificationMessage\"] = \"RequestPublisherNotificationMessage\";\r\n /**\r\n * The following email recipients and users will receive email notifications\r\n * about new API product subscriptions.\r\n */\r\n NotificationName[\"PurchasePublisherNotificationMessage\"] = \"PurchasePublisherNotificationMessage\";\r\n /**\r\n * The following email recipients and users will receive email notifications\r\n * when new applications are submitted to the application gallery.\r\n */\r\n NotificationName[\"NewApplicationNotificationMessage\"] = \"NewApplicationNotificationMessage\";\r\n /**\r\n * The following recipients will receive blind carbon copies of all emails\r\n * sent to developers.\r\n */\r\n NotificationName[\"BCC\"] = \"BCC\";\r\n /**\r\n * The following email recipients and users will receive email notifications\r\n * when a new issue or comment is submitted on the developer portal.\r\n */\r\n NotificationName[\"NewIssuePublisherNotificationMessage\"] = \"NewIssuePublisherNotificationMessage\";\r\n /**\r\n * The following email recipients and users will receive email notifications\r\n * when developer closes his account.\r\n */\r\n NotificationName[\"AccountClosedPublisher\"] = \"AccountClosedPublisher\";\r\n /**\r\n * The following email recipients and users will receive email notifications\r\n * when subscription usage gets close to usage quota.\r\n */\r\n NotificationName[\"QuotaLimitApproachingPublisherNotificationMessage\"] = \"QuotaLimitApproachingPublisherNotificationMessage\";\r\n})(NotificationName || (NotificationName = {}));\r\n/**\r\n * Defines values for PolicyScopeContract.\r\n * Possible values include: 'Tenant', 'Product', 'Api', 'Operation', 'All'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var PolicyScopeContract;\r\n(function (PolicyScopeContract) {\r\n PolicyScopeContract[\"Tenant\"] = \"Tenant\";\r\n PolicyScopeContract[\"Product\"] = \"Product\";\r\n PolicyScopeContract[\"Api\"] = \"Api\";\r\n PolicyScopeContract[\"Operation\"] = \"Operation\";\r\n PolicyScopeContract[\"All\"] = \"All\";\r\n})(PolicyScopeContract || (PolicyScopeContract = {}));\r\n/**\r\n * Defines values for ExportFormat.\r\n * Possible values include: 'Swagger', 'Wsdl', 'Wadl'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: ExportFormat =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var ExportFormat;\r\n(function (ExportFormat) {\r\n /**\r\n * Export the Api Definition in OpenApi Specification 2.0 format to the\r\n * Storage Blob.\r\n */\r\n ExportFormat[\"Swagger\"] = \"swagger-link\";\r\n /**\r\n * Export the Api Definition in WSDL Schema to Storage Blob. This is only\r\n * supported for APIs of Type `soap`\r\n */\r\n ExportFormat[\"Wsdl\"] = \"wsdl-link\";\r\n /**\r\n * Export the Api Definition in WADL Schema to Storage Blob.\r\n */\r\n ExportFormat[\"Wadl\"] = \"wadl-link\";\r\n})(ExportFormat || (ExportFormat = {}));\r\n/**\r\n * Defines values for VersioningScheme1.\r\n * Possible values include: 'Segment', 'Query', 'Header'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: VersioningScheme1 =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var VersioningScheme1;\r\n(function (VersioningScheme1) {\r\n VersioningScheme1[\"Segment\"] = \"Segment\";\r\n VersioningScheme1[\"Query\"] = \"Query\";\r\n VersioningScheme1[\"Header\"] = \"Header\";\r\n})(VersioningScheme1 || (VersioningScheme1 = {}));\r\n/**\r\n * Defines values for StoreName.\r\n * Possible values include: 'CertificateAuthority', 'Root'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: StoreName = \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var StoreName;\r\n(function (StoreName) {\r\n StoreName[\"CertificateAuthority\"] = \"CertificateAuthority\";\r\n StoreName[\"Root\"] = \"Root\";\r\n})(StoreName || (StoreName = {}));\r\n//# sourceMappingURL=index.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport { CloudErrorMapper, BaseResourceMapper } from \"ms-rest-azure-js\";\r\nexport var CloudError = CloudErrorMapper;\r\nexport var BaseResource = BaseResourceMapper;\r\nexport var ErrorFieldContract = {\r\n serializedName: \"ErrorFieldContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ErrorFieldContract\",\r\n modelProperties: {\r\n code: {\r\n serializedName: \"code\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n message: {\r\n serializedName: \"message\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n target: {\r\n serializedName: \"target\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ErrorResponseBody = {\r\n serializedName: \"ErrorResponseBody\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ErrorResponseBody\",\r\n modelProperties: {\r\n code: {\r\n serializedName: \"code\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n message: {\r\n serializedName: \"message\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n details: {\r\n serializedName: \"details\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ErrorFieldContract\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ErrorResponse = {\r\n serializedName: \"ErrorResponse\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ErrorResponse\",\r\n modelProperties: {\r\n code: {\r\n serializedName: \"error.code\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n message: {\r\n serializedName: \"error.message\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n details: {\r\n serializedName: \"error.details\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ErrorFieldContract\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var Resource = {\r\n serializedName: \"Resource\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Resource\",\r\n modelProperties: {\r\n id: {\r\n readOnly: true,\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n name: {\r\n readOnly: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n type: {\r\n readOnly: true,\r\n serializedName: \"type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PolicyContract = {\r\n serializedName: \"PolicyContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PolicyContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { policyContent: {\r\n required: true,\r\n serializedName: \"properties.policyContent\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, contentFormat: {\r\n serializedName: \"properties.contentFormat\",\r\n defaultValue: 'xml',\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var PolicyCollection = {\r\n serializedName: \"PolicyCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PolicyCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"value\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"PolicyContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PolicySnippetContract = {\r\n serializedName: \"PolicySnippetContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PolicySnippetContract\",\r\n modelProperties: {\r\n name: {\r\n readOnly: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n content: {\r\n readOnly: true,\r\n serializedName: \"content\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n toolTip: {\r\n readOnly: true,\r\n serializedName: \"toolTip\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n scope: {\r\n readOnly: true,\r\n serializedName: \"scope\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PolicySnippetsCollection = {\r\n serializedName: \"PolicySnippetsCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PolicySnippetsCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"value\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"PolicySnippetContract\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RegionContract = {\r\n serializedName: \"RegionContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RegionContract\",\r\n modelProperties: {\r\n name: {\r\n readOnly: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n isMasterRegion: {\r\n serializedName: \"isMasterRegion\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n isDeleted: {\r\n serializedName: \"isDeleted\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiExportResult = {\r\n serializedName: \"ApiExportResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiExportResult\",\r\n modelProperties: {\r\n link: {\r\n serializedName: \"link\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiVersionSetContractDetails = {\r\n serializedName: \"ApiVersionSetContractDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiVersionSetContractDetails\",\r\n modelProperties: {\r\n id: {\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n versioningScheme: {\r\n serializedName: \"versioningScheme\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n versionQueryName: {\r\n serializedName: \"versionQueryName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n versionHeaderName: {\r\n serializedName: \"versionHeaderName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiEntityBaseContract = {\r\n serializedName: \"ApiEntityBaseContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiEntityBaseContract\",\r\n modelProperties: {\r\n description: {\r\n serializedName: \"description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n authenticationSettings: {\r\n serializedName: \"authenticationSettings\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AuthenticationSettingsContract\"\r\n }\r\n },\r\n subscriptionKeyParameterNames: {\r\n serializedName: \"subscriptionKeyParameterNames\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SubscriptionKeyParameterNamesContract\"\r\n }\r\n },\r\n apiType: {\r\n serializedName: \"type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiRevision: {\r\n serializedName: \"apiRevision\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiVersion: {\r\n serializedName: \"apiVersion\",\r\n constraints: {\r\n MaxLength: 100\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n isCurrent: {\r\n readOnly: true,\r\n serializedName: \"isCurrent\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n isOnline: {\r\n readOnly: true,\r\n serializedName: \"isOnline\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n apiRevisionDescription: {\r\n serializedName: \"apiRevisionDescription\",\r\n constraints: {\r\n MaxLength: 256\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiVersionDescription: {\r\n serializedName: \"apiVersionDescription\",\r\n constraints: {\r\n MaxLength: 256\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiVersionSetId: {\r\n serializedName: \"apiVersionSetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiContractProperties = {\r\n serializedName: \"ApiContractProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiContractProperties\",\r\n modelProperties: tslib_1.__assign({}, ApiEntityBaseContract.type.modelProperties, { displayName: {\r\n serializedName: \"displayName\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, serviceUrl: {\r\n serializedName: \"serviceUrl\",\r\n constraints: {\r\n MaxLength: 2000,\r\n MinLength: 0\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, path: {\r\n required: true,\r\n serializedName: \"path\",\r\n constraints: {\r\n MaxLength: 400,\r\n MinLength: 0\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, protocols: {\r\n serializedName: \"protocols\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"http\",\r\n \"https\"\r\n ]\r\n }\r\n }\r\n }\r\n }, apiVersionSet: {\r\n serializedName: \"apiVersionSet\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiVersionSetContractDetails\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ApiContract = {\r\n serializedName: \"ApiContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, authenticationSettings: {\r\n serializedName: \"properties.authenticationSettings\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AuthenticationSettingsContract\"\r\n }\r\n }, subscriptionKeyParameterNames: {\r\n serializedName: \"properties.subscriptionKeyParameterNames\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SubscriptionKeyParameterNamesContract\"\r\n }\r\n }, apiType: {\r\n serializedName: \"properties.type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, apiRevision: {\r\n serializedName: \"properties.apiRevision\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, apiVersion: {\r\n serializedName: \"properties.apiVersion\",\r\n constraints: {\r\n MaxLength: 100\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, isCurrent: {\r\n readOnly: true,\r\n serializedName: \"properties.isCurrent\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }, isOnline: {\r\n readOnly: true,\r\n serializedName: \"properties.isOnline\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }, apiRevisionDescription: {\r\n serializedName: \"properties.apiRevisionDescription\",\r\n constraints: {\r\n MaxLength: 256\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, apiVersionDescription: {\r\n serializedName: \"properties.apiVersionDescription\",\r\n constraints: {\r\n MaxLength: 256\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, apiVersionSetId: {\r\n serializedName: \"properties.apiVersionSetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, displayName: {\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, serviceUrl: {\r\n serializedName: \"properties.serviceUrl\",\r\n constraints: {\r\n MaxLength: 2000,\r\n MinLength: 0\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, path: {\r\n required: true,\r\n serializedName: \"properties.path\",\r\n constraints: {\r\n MaxLength: 400,\r\n MinLength: 0\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, protocols: {\r\n serializedName: \"properties.protocols\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"http\",\r\n \"https\"\r\n ]\r\n }\r\n }\r\n }\r\n }, apiVersionSet: {\r\n serializedName: \"properties.apiVersionSet\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiVersionSetContractDetails\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ApiCreateOrUpdatePropertiesWsdlSelector = {\r\n serializedName: \"ApiCreateOrUpdateProperties_wsdlSelector\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiCreateOrUpdatePropertiesWsdlSelector\",\r\n modelProperties: {\r\n wsdlServiceName: {\r\n serializedName: \"wsdlServiceName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n wsdlEndpointName: {\r\n serializedName: \"wsdlEndpointName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiCreateOrUpdateParameter = {\r\n serializedName: \"ApiCreateOrUpdateParameter\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiCreateOrUpdateParameter\",\r\n modelProperties: {\r\n description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n authenticationSettings: {\r\n serializedName: \"properties.authenticationSettings\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AuthenticationSettingsContract\"\r\n }\r\n },\r\n subscriptionKeyParameterNames: {\r\n serializedName: \"properties.subscriptionKeyParameterNames\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SubscriptionKeyParameterNamesContract\"\r\n }\r\n },\r\n apiType: {\r\n serializedName: \"properties.type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiRevision: {\r\n serializedName: \"properties.apiRevision\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiVersion: {\r\n serializedName: \"properties.apiVersion\",\r\n constraints: {\r\n MaxLength: 100\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n isCurrent: {\r\n readOnly: true,\r\n serializedName: \"properties.isCurrent\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n isOnline: {\r\n readOnly: true,\r\n serializedName: \"properties.isOnline\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n apiRevisionDescription: {\r\n serializedName: \"properties.apiRevisionDescription\",\r\n constraints: {\r\n MaxLength: 256\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiVersionDescription: {\r\n serializedName: \"properties.apiVersionDescription\",\r\n constraints: {\r\n MaxLength: 256\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiVersionSetId: {\r\n serializedName: \"properties.apiVersionSetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n displayName: {\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n serviceUrl: {\r\n serializedName: \"properties.serviceUrl\",\r\n constraints: {\r\n MaxLength: 2000,\r\n MinLength: 0\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n path: {\r\n required: true,\r\n serializedName: \"properties.path\",\r\n constraints: {\r\n MaxLength: 400,\r\n MinLength: 0\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n protocols: {\r\n serializedName: \"properties.protocols\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"http\",\r\n \"https\"\r\n ]\r\n }\r\n }\r\n }\r\n },\r\n apiVersionSet: {\r\n serializedName: \"properties.apiVersionSet\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiVersionSetContractDetails\"\r\n }\r\n },\r\n contentValue: {\r\n serializedName: \"properties.contentValue\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n contentFormat: {\r\n serializedName: \"properties.contentFormat\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n wsdlSelector: {\r\n serializedName: \"properties.wsdlSelector\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiCreateOrUpdatePropertiesWsdlSelector\"\r\n }\r\n },\r\n soapApiType: {\r\n serializedName: \"properties.apiType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiUpdateContract = {\r\n serializedName: \"ApiUpdateContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiUpdateContract\",\r\n modelProperties: {\r\n description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n authenticationSettings: {\r\n serializedName: \"properties.authenticationSettings\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AuthenticationSettingsContract\"\r\n }\r\n },\r\n subscriptionKeyParameterNames: {\r\n serializedName: \"properties.subscriptionKeyParameterNames\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SubscriptionKeyParameterNamesContract\"\r\n }\r\n },\r\n apiType: {\r\n serializedName: \"properties.type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiRevision: {\r\n serializedName: \"properties.apiRevision\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiVersion: {\r\n serializedName: \"properties.apiVersion\",\r\n constraints: {\r\n MaxLength: 100\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n isCurrent: {\r\n readOnly: true,\r\n serializedName: \"properties.isCurrent\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n isOnline: {\r\n readOnly: true,\r\n serializedName: \"properties.isOnline\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n apiRevisionDescription: {\r\n serializedName: \"properties.apiRevisionDescription\",\r\n constraints: {\r\n MaxLength: 256\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiVersionDescription: {\r\n serializedName: \"properties.apiVersionDescription\",\r\n constraints: {\r\n MaxLength: 256\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiVersionSetId: {\r\n serializedName: \"properties.apiVersionSetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n displayName: {\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n serviceUrl: {\r\n serializedName: \"properties.serviceUrl\",\r\n constraints: {\r\n MaxLength: 2000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n path: {\r\n serializedName: \"properties.path\",\r\n constraints: {\r\n MaxLength: 400,\r\n MinLength: 0\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n protocols: {\r\n serializedName: \"properties.protocols\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"http\",\r\n \"https\"\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OAuth2AuthenticationSettingsContract = {\r\n serializedName: \"OAuth2AuthenticationSettingsContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OAuth2AuthenticationSettingsContract\",\r\n modelProperties: {\r\n authorizationServerId: {\r\n serializedName: \"authorizationServerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n scope: {\r\n serializedName: \"scope\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OpenIdAuthenticationSettingsContract = {\r\n serializedName: \"OpenIdAuthenticationSettingsContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OpenIdAuthenticationSettingsContract\",\r\n modelProperties: {\r\n openidProviderId: {\r\n serializedName: \"openidProviderId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n bearerTokenSendingMethods: {\r\n serializedName: \"bearerTokenSendingMethods\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AuthenticationSettingsContract = {\r\n serializedName: \"AuthenticationSettingsContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AuthenticationSettingsContract\",\r\n modelProperties: {\r\n oAuth2: {\r\n serializedName: \"oAuth2\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OAuth2AuthenticationSettingsContract\"\r\n }\r\n },\r\n openid: {\r\n serializedName: \"openid\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OpenIdAuthenticationSettingsContract\"\r\n }\r\n },\r\n subscriptionKeyRequired: {\r\n serializedName: \"subscriptionKeyRequired\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SubscriptionKeyParameterNamesContract = {\r\n serializedName: \"SubscriptionKeyParameterNamesContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SubscriptionKeyParameterNamesContract\",\r\n modelProperties: {\r\n header: {\r\n serializedName: \"header\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n query: {\r\n serializedName: \"query\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiRevisionContract = {\r\n serializedName: \"ApiRevisionContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiRevisionContract\",\r\n modelProperties: {\r\n apiId: {\r\n readOnly: true,\r\n serializedName: \"apiId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiRevision: {\r\n readOnly: true,\r\n serializedName: \"apiRevision\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n createdDateTime: {\r\n readOnly: true,\r\n serializedName: \"createdDateTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n updatedDateTime: {\r\n readOnly: true,\r\n serializedName: \"updatedDateTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n description: {\r\n readOnly: true,\r\n serializedName: \"description\",\r\n constraints: {\r\n MaxLength: 256\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n privateUrl: {\r\n readOnly: true,\r\n serializedName: \"privateUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n isOnline: {\r\n readOnly: true,\r\n serializedName: \"isOnline\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n isCurrent: {\r\n readOnly: true,\r\n serializedName: \"isCurrent\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiRevisionInfoContract = {\r\n serializedName: \"ApiRevisionInfoContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiRevisionInfoContract\",\r\n modelProperties: {\r\n sourceApiId: {\r\n serializedName: \"sourceApiId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiVersionName: {\r\n serializedName: \"apiVersionName\",\r\n constraints: {\r\n MaxLength: 100\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiRevisionDescription: {\r\n serializedName: \"apiRevisionDescription\",\r\n constraints: {\r\n MaxLength: 256\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiVersionSet: {\r\n serializedName: \"apiVersionSet\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiVersionSetContractDetails\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiReleaseContract = {\r\n serializedName: \"ApiReleaseContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiReleaseContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { apiId: {\r\n serializedName: \"properties.apiId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, createdDateTime: {\r\n readOnly: true,\r\n serializedName: \"properties.createdDateTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, updatedDateTime: {\r\n readOnly: true,\r\n serializedName: \"properties.updatedDateTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, notes: {\r\n serializedName: \"properties.notes\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var OperationContract = {\r\n serializedName: \"OperationContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { templateParameters: {\r\n serializedName: \"properties.templateParameters\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ParameterContract\"\r\n }\r\n }\r\n }\r\n }, description: {\r\n serializedName: \"properties.description\",\r\n constraints: {\r\n MaxLength: 1000\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, request: {\r\n serializedName: \"properties.request\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RequestContract\"\r\n }\r\n }, responses: {\r\n serializedName: \"properties.responses\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ResponseContract\"\r\n }\r\n }\r\n }\r\n }, policies: {\r\n serializedName: \"properties.policies\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, displayName: {\r\n required: true,\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, method: {\r\n required: true,\r\n serializedName: \"properties.method\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, urlTemplate: {\r\n required: true,\r\n serializedName: \"properties.urlTemplate\",\r\n constraints: {\r\n MaxLength: 1000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ParameterContract = {\r\n serializedName: \"ParameterContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ParameterContract\",\r\n modelProperties: {\r\n name: {\r\n required: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n type: {\r\n required: true,\r\n serializedName: \"type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n defaultValue: {\r\n serializedName: \"defaultValue\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n required: {\r\n serializedName: \"required\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n values: {\r\n serializedName: \"values\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RepresentationContract = {\r\n serializedName: \"RepresentationContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RepresentationContract\",\r\n modelProperties: {\r\n contentType: {\r\n required: true,\r\n serializedName: \"contentType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n sample: {\r\n serializedName: \"sample\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n schemaId: {\r\n serializedName: \"schemaId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n typeName: {\r\n serializedName: \"typeName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n formParameters: {\r\n serializedName: \"formParameters\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ParameterContract\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RequestContract = {\r\n serializedName: \"RequestContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RequestContract\",\r\n modelProperties: {\r\n description: {\r\n serializedName: \"description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n queryParameters: {\r\n serializedName: \"queryParameters\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ParameterContract\"\r\n }\r\n }\r\n }\r\n },\r\n headers: {\r\n serializedName: \"headers\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ParameterContract\"\r\n }\r\n }\r\n }\r\n },\r\n representations: {\r\n serializedName: \"representations\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RepresentationContract\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ResponseContract = {\r\n serializedName: \"ResponseContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ResponseContract\",\r\n modelProperties: {\r\n statusCode: {\r\n required: true,\r\n serializedName: \"statusCode\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n representations: {\r\n serializedName: \"representations\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RepresentationContract\"\r\n }\r\n }\r\n }\r\n },\r\n headers: {\r\n serializedName: \"headers\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ParameterContract\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OperationEntityBaseContract = {\r\n serializedName: \"OperationEntityBaseContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationEntityBaseContract\",\r\n modelProperties: {\r\n templateParameters: {\r\n serializedName: \"templateParameters\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ParameterContract\"\r\n }\r\n }\r\n }\r\n },\r\n description: {\r\n serializedName: \"description\",\r\n constraints: {\r\n MaxLength: 1000\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n request: {\r\n serializedName: \"request\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RequestContract\"\r\n }\r\n },\r\n responses: {\r\n serializedName: \"responses\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ResponseContract\"\r\n }\r\n }\r\n }\r\n },\r\n policies: {\r\n serializedName: \"policies\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OperationUpdateContract = {\r\n serializedName: \"OperationUpdateContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationUpdateContract\",\r\n modelProperties: {\r\n templateParameters: {\r\n serializedName: \"properties.templateParameters\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ParameterContract\"\r\n }\r\n }\r\n }\r\n },\r\n description: {\r\n serializedName: \"properties.description\",\r\n constraints: {\r\n MaxLength: 1000\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n request: {\r\n serializedName: \"properties.request\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RequestContract\"\r\n }\r\n },\r\n responses: {\r\n serializedName: \"properties.responses\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ResponseContract\"\r\n }\r\n }\r\n }\r\n },\r\n policies: {\r\n serializedName: \"properties.policies\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n displayName: {\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n method: {\r\n serializedName: \"properties.method\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n urlTemplate: {\r\n serializedName: \"properties.urlTemplate\",\r\n constraints: {\r\n MaxLength: 1000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SchemaContract = {\r\n serializedName: \"SchemaContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SchemaContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { contentType: {\r\n required: true,\r\n serializedName: \"properties.contentType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, value: {\r\n serializedName: \"properties.document.value\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var IssueContract = {\r\n serializedName: \"IssueContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"IssueContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { title: {\r\n required: true,\r\n serializedName: \"properties.title\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, description: {\r\n required: true,\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, createdDate: {\r\n serializedName: \"properties.createdDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, state: {\r\n serializedName: \"properties.state\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, userId: {\r\n required: true,\r\n serializedName: \"properties.userId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, apiId: {\r\n serializedName: \"properties.apiId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var IssueCommentContract = {\r\n serializedName: \"IssueCommentContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"IssueCommentContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { text: {\r\n required: true,\r\n serializedName: \"properties.text\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, createdDate: {\r\n serializedName: \"properties.createdDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, userId: {\r\n required: true,\r\n serializedName: \"properties.userId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var IssueAttachmentContract = {\r\n serializedName: \"IssueAttachmentContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"IssueAttachmentContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { title: {\r\n required: true,\r\n serializedName: \"properties.title\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, contentFormat: {\r\n required: true,\r\n serializedName: \"properties.contentFormat\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, content: {\r\n required: true,\r\n serializedName: \"properties.content\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var LoggerContract = {\r\n serializedName: \"LoggerContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"LoggerContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { loggerType: {\r\n required: true,\r\n serializedName: \"properties.loggerType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, description: {\r\n serializedName: \"properties.description\",\r\n constraints: {\r\n MaxLength: 256\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, credentials: {\r\n required: true,\r\n serializedName: \"properties.credentials\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, isBuffered: {\r\n serializedName: \"properties.isBuffered\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var DiagnosticContract = {\r\n serializedName: \"DiagnosticContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiagnosticContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { enabled: {\r\n required: true,\r\n serializedName: \"properties.enabled\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ProductEntityBaseParameters = {\r\n serializedName: \"ProductEntityBaseParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProductEntityBaseParameters\",\r\n modelProperties: {\r\n description: {\r\n serializedName: \"description\",\r\n constraints: {\r\n MaxLength: 1000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n terms: {\r\n serializedName: \"terms\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n subscriptionRequired: {\r\n serializedName: \"subscriptionRequired\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n approvalRequired: {\r\n serializedName: \"approvalRequired\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n subscriptionsLimit: {\r\n serializedName: \"subscriptionsLimit\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n state: {\r\n serializedName: \"state\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"notPublished\",\r\n \"published\"\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProductTagResourceContractProperties = {\r\n serializedName: \"ProductTagResourceContractProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProductTagResourceContractProperties\",\r\n modelProperties: tslib_1.__assign({}, ProductEntityBaseParameters.type.modelProperties, { id: {\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, name: {\r\n required: true,\r\n serializedName: \"name\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var OperationTagResourceContractProperties = {\r\n serializedName: \"OperationTagResourceContractProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationTagResourceContractProperties\",\r\n modelProperties: {\r\n id: {\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n name: {\r\n readOnly: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiName: {\r\n readOnly: true,\r\n serializedName: \"apiName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiRevision: {\r\n readOnly: true,\r\n serializedName: \"apiRevision\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiVersion: {\r\n readOnly: true,\r\n serializedName: \"apiVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n readOnly: true,\r\n serializedName: \"description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n method: {\r\n readOnly: true,\r\n serializedName: \"method\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n urlTemplate: {\r\n readOnly: true,\r\n serializedName: \"urlTemplate\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiTagResourceContractProperties = {\r\n serializedName: \"ApiTagResourceContractProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiTagResourceContractProperties\",\r\n modelProperties: tslib_1.__assign({}, ApiEntityBaseContract.type.modelProperties, { id: {\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, name: {\r\n serializedName: \"name\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, serviceUrl: {\r\n serializedName: \"serviceUrl\",\r\n constraints: {\r\n MaxLength: 2000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, path: {\r\n serializedName: \"path\",\r\n constraints: {\r\n MaxLength: 400,\r\n MinLength: 0\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, protocols: {\r\n serializedName: \"protocols\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"http\",\r\n \"https\"\r\n ]\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var TagTagResourceContractProperties = {\r\n serializedName: \"TagTagResourceContractProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagTagResourceContractProperties\",\r\n modelProperties: {\r\n id: {\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n name: {\r\n serializedName: \"name\",\r\n constraints: {\r\n MaxLength: 160,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagResourceContract = {\r\n serializedName: \"TagResourceContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagResourceContract\",\r\n modelProperties: {\r\n tag: {\r\n required: true,\r\n serializedName: \"tag\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagTagResourceContractProperties\"\r\n }\r\n },\r\n api: {\r\n serializedName: \"api\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiTagResourceContractProperties\"\r\n }\r\n },\r\n operation: {\r\n serializedName: \"operation\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationTagResourceContractProperties\"\r\n }\r\n },\r\n product: {\r\n serializedName: \"product\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProductTagResourceContractProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProductContract = {\r\n serializedName: \"ProductContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProductContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { description: {\r\n serializedName: \"properties.description\",\r\n constraints: {\r\n MaxLength: 1000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, terms: {\r\n serializedName: \"properties.terms\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, subscriptionRequired: {\r\n serializedName: \"properties.subscriptionRequired\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }, approvalRequired: {\r\n serializedName: \"properties.approvalRequired\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }, subscriptionsLimit: {\r\n serializedName: \"properties.subscriptionsLimit\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, state: {\r\n serializedName: \"properties.state\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"notPublished\",\r\n \"published\"\r\n ]\r\n }\r\n }, displayName: {\r\n required: true,\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var AuthorizationServerContract = {\r\n serializedName: \"AuthorizationServerContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AuthorizationServerContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, authorizationMethods: {\r\n serializedName: \"properties.authorizationMethods\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"HEAD\",\r\n \"OPTIONS\",\r\n \"TRACE\",\r\n \"GET\",\r\n \"POST\",\r\n \"PUT\",\r\n \"PATCH\",\r\n \"DELETE\"\r\n ]\r\n }\r\n }\r\n }\r\n }, clientAuthenticationMethod: {\r\n serializedName: \"properties.clientAuthenticationMethod\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, tokenBodyParameters: {\r\n serializedName: \"properties.tokenBodyParameters\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"TokenBodyParameterContract\"\r\n }\r\n }\r\n }\r\n }, tokenEndpoint: {\r\n serializedName: \"properties.tokenEndpoint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, supportState: {\r\n serializedName: \"properties.supportState\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }, defaultScope: {\r\n serializedName: \"properties.defaultScope\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, bearerTokenSendingMethods: {\r\n serializedName: \"properties.bearerTokenSendingMethods\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, clientSecret: {\r\n serializedName: \"properties.clientSecret\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, resourceOwnerUsername: {\r\n serializedName: \"properties.resourceOwnerUsername\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, resourceOwnerPassword: {\r\n serializedName: \"properties.resourceOwnerPassword\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, displayName: {\r\n required: true,\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 50,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, clientRegistrationEndpoint: {\r\n required: true,\r\n serializedName: \"properties.clientRegistrationEndpoint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, authorizationEndpoint: {\r\n required: true,\r\n serializedName: \"properties.authorizationEndpoint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, grantTypes: {\r\n required: true,\r\n serializedName: \"properties.grantTypes\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, clientId: {\r\n required: true,\r\n serializedName: \"properties.clientId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var AuthorizationServerUpdateContract = {\r\n serializedName: \"AuthorizationServerUpdateContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AuthorizationServerUpdateContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, authorizationMethods: {\r\n serializedName: \"properties.authorizationMethods\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"HEAD\",\r\n \"OPTIONS\",\r\n \"TRACE\",\r\n \"GET\",\r\n \"POST\",\r\n \"PUT\",\r\n \"PATCH\",\r\n \"DELETE\"\r\n ]\r\n }\r\n }\r\n }\r\n }, clientAuthenticationMethod: {\r\n serializedName: \"properties.clientAuthenticationMethod\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, tokenBodyParameters: {\r\n serializedName: \"properties.tokenBodyParameters\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"TokenBodyParameterContract\"\r\n }\r\n }\r\n }\r\n }, tokenEndpoint: {\r\n serializedName: \"properties.tokenEndpoint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, supportState: {\r\n serializedName: \"properties.supportState\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }, defaultScope: {\r\n serializedName: \"properties.defaultScope\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, bearerTokenSendingMethods: {\r\n serializedName: \"properties.bearerTokenSendingMethods\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, clientSecret: {\r\n serializedName: \"properties.clientSecret\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, resourceOwnerUsername: {\r\n serializedName: \"properties.resourceOwnerUsername\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, resourceOwnerPassword: {\r\n serializedName: \"properties.resourceOwnerPassword\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, displayName: {\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 50,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, clientRegistrationEndpoint: {\r\n serializedName: \"properties.clientRegistrationEndpoint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, authorizationEndpoint: {\r\n serializedName: \"properties.authorizationEndpoint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, grantTypes: {\r\n serializedName: \"properties.grantTypes\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, clientId: {\r\n serializedName: \"properties.clientId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var TokenBodyParameterContract = {\r\n serializedName: \"TokenBodyParameterContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TokenBodyParameterContract\",\r\n modelProperties: {\r\n name: {\r\n required: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n value: {\r\n required: true,\r\n serializedName: \"value\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AuthorizationServerContractBaseProperties = {\r\n serializedName: \"AuthorizationServerContractBaseProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AuthorizationServerContractBaseProperties\",\r\n modelProperties: {\r\n description: {\r\n serializedName: \"description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n authorizationMethods: {\r\n serializedName: \"authorizationMethods\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"HEAD\",\r\n \"OPTIONS\",\r\n \"TRACE\",\r\n \"GET\",\r\n \"POST\",\r\n \"PUT\",\r\n \"PATCH\",\r\n \"DELETE\"\r\n ]\r\n }\r\n }\r\n }\r\n },\r\n clientAuthenticationMethod: {\r\n serializedName: \"clientAuthenticationMethod\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n tokenBodyParameters: {\r\n serializedName: \"tokenBodyParameters\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"TokenBodyParameterContract\"\r\n }\r\n }\r\n }\r\n },\r\n tokenEndpoint: {\r\n serializedName: \"tokenEndpoint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n supportState: {\r\n serializedName: \"supportState\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n defaultScope: {\r\n serializedName: \"defaultScope\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n bearerTokenSendingMethods: {\r\n serializedName: \"bearerTokenSendingMethods\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n clientSecret: {\r\n serializedName: \"clientSecret\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n resourceOwnerUsername: {\r\n serializedName: \"resourceOwnerUsername\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n resourceOwnerPassword: {\r\n serializedName: \"resourceOwnerPassword\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var BackendAuthorizationHeaderCredentials = {\r\n serializedName: \"BackendAuthorizationHeaderCredentials\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendAuthorizationHeaderCredentials\",\r\n modelProperties: {\r\n scheme: {\r\n required: true,\r\n serializedName: \"scheme\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n parameter: {\r\n required: true,\r\n serializedName: \"parameter\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var X509CertificateName = {\r\n serializedName: \"X509CertificateName\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"X509CertificateName\",\r\n modelProperties: {\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n issuerCertificateThumbprint: {\r\n serializedName: \"issuerCertificateThumbprint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var BackendServiceFabricClusterProperties = {\r\n serializedName: \"BackendServiceFabricClusterProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendServiceFabricClusterProperties\",\r\n modelProperties: {\r\n clientCertificatethumbprint: {\r\n required: true,\r\n serializedName: \"clientCertificatethumbprint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n maxPartitionResolutionRetries: {\r\n serializedName: \"maxPartitionResolutionRetries\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n managementEndpoints: {\r\n required: true,\r\n serializedName: \"managementEndpoints\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n serverCertificateThumbprints: {\r\n serializedName: \"serverCertificateThumbprints\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n serverX509Names: {\r\n serializedName: \"serverX509Names\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"X509CertificateName\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var BackendProperties = {\r\n serializedName: \"BackendProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendProperties\",\r\n modelProperties: {\r\n serviceFabricCluster: {\r\n serializedName: \"serviceFabricCluster\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendServiceFabricClusterProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var BackendCredentialsContract = {\r\n serializedName: \"BackendCredentialsContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendCredentialsContract\",\r\n modelProperties: {\r\n certificate: {\r\n serializedName: \"certificate\",\r\n constraints: {\r\n MaxItems: 32\r\n },\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n query: {\r\n serializedName: \"query\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n header: {\r\n serializedName: \"header\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n authorization: {\r\n serializedName: \"authorization\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendAuthorizationHeaderCredentials\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var BackendProxyContract = {\r\n serializedName: \"BackendProxyContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendProxyContract\",\r\n modelProperties: {\r\n url: {\r\n required: true,\r\n serializedName: \"url\",\r\n constraints: {\r\n MaxLength: 2000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n username: {\r\n serializedName: \"username\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n password: {\r\n serializedName: \"password\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var BackendTlsProperties = {\r\n serializedName: \"BackendTlsProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendTlsProperties\",\r\n modelProperties: {\r\n validateCertificateChain: {\r\n serializedName: \"validateCertificateChain\",\r\n defaultValue: true,\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n validateCertificateName: {\r\n serializedName: \"validateCertificateName\",\r\n defaultValue: true,\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var BackendBaseParameters = {\r\n serializedName: \"BackendBaseParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendBaseParameters\",\r\n modelProperties: {\r\n title: {\r\n serializedName: \"title\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"description\",\r\n constraints: {\r\n MaxLength: 2000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n resourceId: {\r\n serializedName: \"resourceId\",\r\n constraints: {\r\n MaxLength: 2000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendProperties\"\r\n }\r\n },\r\n credentials: {\r\n serializedName: \"credentials\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendCredentialsContract\"\r\n }\r\n },\r\n proxy: {\r\n serializedName: \"proxy\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendProxyContract\"\r\n }\r\n },\r\n tls: {\r\n serializedName: \"tls\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendTlsProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var BackendContract = {\r\n serializedName: \"BackendContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { title: {\r\n serializedName: \"properties.title\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, description: {\r\n serializedName: \"properties.description\",\r\n constraints: {\r\n MaxLength: 2000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, resourceId: {\r\n serializedName: \"properties.resourceId\",\r\n constraints: {\r\n MaxLength: 2000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, properties: {\r\n serializedName: \"properties.properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendProperties\"\r\n }\r\n }, credentials: {\r\n serializedName: \"properties.credentials\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendCredentialsContract\"\r\n }\r\n }, proxy: {\r\n serializedName: \"properties.proxy\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendProxyContract\"\r\n }\r\n }, tls: {\r\n serializedName: \"properties.tls\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendTlsProperties\"\r\n }\r\n }, url: {\r\n required: true,\r\n serializedName: \"properties.url\",\r\n constraints: {\r\n MaxLength: 2000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, protocol: {\r\n required: true,\r\n serializedName: \"properties.protocol\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var BackendUpdateParameters = {\r\n serializedName: \"BackendUpdateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendUpdateParameters\",\r\n modelProperties: {\r\n title: {\r\n serializedName: \"properties.title\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"properties.description\",\r\n constraints: {\r\n MaxLength: 2000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n resourceId: {\r\n serializedName: \"properties.resourceId\",\r\n constraints: {\r\n MaxLength: 2000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n properties: {\r\n serializedName: \"properties.properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendProperties\"\r\n }\r\n },\r\n credentials: {\r\n serializedName: \"properties.credentials\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendCredentialsContract\"\r\n }\r\n },\r\n proxy: {\r\n serializedName: \"properties.proxy\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendProxyContract\"\r\n }\r\n },\r\n tls: {\r\n serializedName: \"properties.tls\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendTlsProperties\"\r\n }\r\n },\r\n url: {\r\n serializedName: \"properties.url\",\r\n constraints: {\r\n MaxLength: 2000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n protocol: {\r\n serializedName: \"properties.protocol\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var BackendReconnectContract = {\r\n serializedName: \"BackendReconnectContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendReconnectContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { after: {\r\n serializedName: \"properties.after\",\r\n type: {\r\n name: \"TimeSpan\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var CertificateContract = {\r\n serializedName: \"CertificateContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CertificateContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { subject: {\r\n required: true,\r\n serializedName: \"properties.subject\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, thumbprint: {\r\n required: true,\r\n serializedName: \"properties.thumbprint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, expirationDate: {\r\n required: true,\r\n serializedName: \"properties.expirationDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var CertificateCreateOrUpdateParameters = {\r\n serializedName: \"CertificateCreateOrUpdateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CertificateCreateOrUpdateParameters\",\r\n modelProperties: {\r\n data: {\r\n required: true,\r\n serializedName: \"properties.data\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n password: {\r\n required: true,\r\n serializedName: \"properties.password\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CertificateInformation = {\r\n serializedName: \"CertificateInformation\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CertificateInformation\",\r\n modelProperties: {\r\n expiry: {\r\n required: true,\r\n serializedName: \"expiry\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n thumbprint: {\r\n required: true,\r\n serializedName: \"thumbprint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n subject: {\r\n required: true,\r\n serializedName: \"subject\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CertificateConfiguration = {\r\n serializedName: \"CertificateConfiguration\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CertificateConfiguration\",\r\n modelProperties: {\r\n encodedCertificate: {\r\n serializedName: \"encodedCertificate\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n certificatePassword: {\r\n serializedName: \"certificatePassword\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n storeName: {\r\n required: true,\r\n serializedName: \"storeName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n certificate: {\r\n serializedName: \"certificate\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CertificateInformation\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var HostnameConfiguration = {\r\n serializedName: \"HostnameConfiguration\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"HostnameConfiguration\",\r\n modelProperties: {\r\n type: {\r\n required: true,\r\n serializedName: \"type\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Proxy\",\r\n \"Portal\",\r\n \"Management\",\r\n \"Scm\"\r\n ]\r\n }\r\n },\r\n hostName: {\r\n required: true,\r\n serializedName: \"hostName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n keyVaultId: {\r\n serializedName: \"keyVaultId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n encodedCertificate: {\r\n serializedName: \"encodedCertificate\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n certificatePassword: {\r\n serializedName: \"certificatePassword\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n defaultSslBinding: {\r\n serializedName: \"defaultSslBinding\",\r\n defaultValue: false,\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n negotiateClientCertificate: {\r\n serializedName: \"negotiateClientCertificate\",\r\n defaultValue: false,\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n certificate: {\r\n serializedName: \"certificate\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CertificateInformation\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var VirtualNetworkConfiguration = {\r\n serializedName: \"VirtualNetworkConfiguration\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VirtualNetworkConfiguration\",\r\n modelProperties: {\r\n vnetid: {\r\n readOnly: true,\r\n serializedName: \"vnetid\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n subnetname: {\r\n readOnly: true,\r\n serializedName: \"subnetname\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n subnetResourceId: {\r\n serializedName: \"subnetResourceId\",\r\n constraints: {\r\n Pattern: /^\\/subscriptions\\/[^\\/]*\\/resourceGroups\\/[^\\/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^\\/]*\\/subnets\\/[^\\/]*$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiManagementServiceSkuProperties = {\r\n serializedName: \"ApiManagementServiceSkuProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceSkuProperties\",\r\n modelProperties: {\r\n name: {\r\n required: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n capacity: {\r\n serializedName: \"capacity\",\r\n defaultValue: 1,\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AdditionalLocation = {\r\n serializedName: \"AdditionalLocation\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AdditionalLocation\",\r\n modelProperties: {\r\n location: {\r\n required: true,\r\n serializedName: \"location\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n sku: {\r\n required: true,\r\n serializedName: \"sku\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceSkuProperties\"\r\n }\r\n },\r\n publicIPAddresses: {\r\n readOnly: true,\r\n serializedName: \"publicIPAddresses\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n privateIPAddresses: {\r\n readOnly: true,\r\n serializedName: \"privateIPAddresses\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n virtualNetworkConfiguration: {\r\n serializedName: \"virtualNetworkConfiguration\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VirtualNetworkConfiguration\"\r\n }\r\n },\r\n gatewayRegionalUrl: {\r\n readOnly: true,\r\n serializedName: \"gatewayRegionalUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiManagementServiceBackupRestoreParameters = {\r\n serializedName: \"ApiManagementServiceBackupRestoreParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceBackupRestoreParameters\",\r\n modelProperties: {\r\n storageAccount: {\r\n required: true,\r\n serializedName: \"storageAccount\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n accessKey: {\r\n required: true,\r\n serializedName: \"accessKey\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n containerName: {\r\n required: true,\r\n serializedName: \"containerName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n backupName: {\r\n required: true,\r\n serializedName: \"backupName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiManagementServiceBaseProperties = {\r\n serializedName: \"ApiManagementServiceBaseProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceBaseProperties\",\r\n modelProperties: {\r\n notificationSenderEmail: {\r\n serializedName: \"notificationSenderEmail\",\r\n constraints: {\r\n MaxLength: 100\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n provisioningState: {\r\n readOnly: true,\r\n serializedName: \"provisioningState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n targetProvisioningState: {\r\n readOnly: true,\r\n serializedName: \"targetProvisioningState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n createdAtUtc: {\r\n readOnly: true,\r\n serializedName: \"createdAtUtc\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n gatewayUrl: {\r\n readOnly: true,\r\n serializedName: \"gatewayUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n gatewayRegionalUrl: {\r\n readOnly: true,\r\n serializedName: \"gatewayRegionalUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n portalUrl: {\r\n readOnly: true,\r\n serializedName: \"portalUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n managementApiUrl: {\r\n readOnly: true,\r\n serializedName: \"managementApiUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n scmUrl: {\r\n readOnly: true,\r\n serializedName: \"scmUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n hostnameConfigurations: {\r\n serializedName: \"hostnameConfigurations\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HostnameConfiguration\"\r\n }\r\n }\r\n }\r\n },\r\n publicIPAddresses: {\r\n readOnly: true,\r\n serializedName: \"publicIPAddresses\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n privateIPAddresses: {\r\n readOnly: true,\r\n serializedName: \"privateIPAddresses\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n virtualNetworkConfiguration: {\r\n serializedName: \"virtualNetworkConfiguration\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VirtualNetworkConfiguration\"\r\n }\r\n },\r\n additionalLocations: {\r\n serializedName: \"additionalLocations\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"AdditionalLocation\"\r\n }\r\n }\r\n }\r\n },\r\n customProperties: {\r\n serializedName: \"customProperties\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n certificates: {\r\n serializedName: \"certificates\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"CertificateConfiguration\"\r\n }\r\n }\r\n }\r\n },\r\n virtualNetworkType: {\r\n serializedName: \"virtualNetworkType\",\r\n defaultValue: 'None',\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiManagementServiceIdentity = {\r\n serializedName: \"ApiManagementServiceIdentity\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceIdentity\",\r\n modelProperties: {\r\n type: {\r\n required: true,\r\n isConstant: true,\r\n serializedName: \"type\",\r\n defaultValue: 'SystemAssigned',\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n principalId: {\r\n readOnly: true,\r\n serializedName: \"principalId\",\r\n type: {\r\n name: \"Uuid\"\r\n }\r\n },\r\n tenantId: {\r\n readOnly: true,\r\n serializedName: \"tenantId\",\r\n type: {\r\n name: \"Uuid\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApimResource = {\r\n serializedName: \"ApimResource\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApimResource\",\r\n modelProperties: {\r\n id: {\r\n readOnly: true,\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n name: {\r\n readOnly: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n type: {\r\n readOnly: true,\r\n serializedName: \"type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n tags: {\r\n serializedName: \"tags\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiManagementServiceResource = {\r\n serializedName: \"ApiManagementServiceResource\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceResource\",\r\n modelProperties: tslib_1.__assign({}, ApimResource.type.modelProperties, { notificationSenderEmail: {\r\n serializedName: \"properties.notificationSenderEmail\",\r\n constraints: {\r\n MaxLength: 100\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, provisioningState: {\r\n readOnly: true,\r\n serializedName: \"properties.provisioningState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, targetProvisioningState: {\r\n readOnly: true,\r\n serializedName: \"properties.targetProvisioningState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, createdAtUtc: {\r\n readOnly: true,\r\n serializedName: \"properties.createdAtUtc\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, gatewayUrl: {\r\n readOnly: true,\r\n serializedName: \"properties.gatewayUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, gatewayRegionalUrl: {\r\n readOnly: true,\r\n serializedName: \"properties.gatewayRegionalUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, portalUrl: {\r\n readOnly: true,\r\n serializedName: \"properties.portalUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, managementApiUrl: {\r\n readOnly: true,\r\n serializedName: \"properties.managementApiUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, scmUrl: {\r\n readOnly: true,\r\n serializedName: \"properties.scmUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, hostnameConfigurations: {\r\n serializedName: \"properties.hostnameConfigurations\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HostnameConfiguration\"\r\n }\r\n }\r\n }\r\n }, publicIPAddresses: {\r\n readOnly: true,\r\n serializedName: \"properties.publicIPAddresses\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, privateIPAddresses: {\r\n readOnly: true,\r\n serializedName: \"properties.privateIPAddresses\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, virtualNetworkConfiguration: {\r\n serializedName: \"properties.virtualNetworkConfiguration\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VirtualNetworkConfiguration\"\r\n }\r\n }, additionalLocations: {\r\n serializedName: \"properties.additionalLocations\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"AdditionalLocation\"\r\n }\r\n }\r\n }\r\n }, customProperties: {\r\n serializedName: \"properties.customProperties\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, certificates: {\r\n serializedName: \"properties.certificates\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"CertificateConfiguration\"\r\n }\r\n }\r\n }\r\n }, virtualNetworkType: {\r\n serializedName: \"properties.virtualNetworkType\",\r\n defaultValue: 'None',\r\n type: {\r\n name: \"String\"\r\n }\r\n }, publisherEmail: {\r\n required: true,\r\n serializedName: \"properties.publisherEmail\",\r\n constraints: {\r\n MaxLength: 100\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, publisherName: {\r\n required: true,\r\n serializedName: \"properties.publisherName\",\r\n constraints: {\r\n MaxLength: 100\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, sku: {\r\n required: true,\r\n serializedName: \"sku\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceSkuProperties\"\r\n }\r\n }, identity: {\r\n serializedName: \"identity\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceIdentity\"\r\n }\r\n }, location: {\r\n required: true,\r\n serializedName: \"location\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, etag: {\r\n readOnly: true,\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ApiManagementServiceUpdateParameters = {\r\n serializedName: \"ApiManagementServiceUpdateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceUpdateParameters\",\r\n modelProperties: tslib_1.__assign({}, ApimResource.type.modelProperties, { notificationSenderEmail: {\r\n serializedName: \"properties.notificationSenderEmail\",\r\n constraints: {\r\n MaxLength: 100\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, provisioningState: {\r\n readOnly: true,\r\n serializedName: \"properties.provisioningState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, targetProvisioningState: {\r\n readOnly: true,\r\n serializedName: \"properties.targetProvisioningState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, createdAtUtc: {\r\n readOnly: true,\r\n serializedName: \"properties.createdAtUtc\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, gatewayUrl: {\r\n readOnly: true,\r\n serializedName: \"properties.gatewayUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, gatewayRegionalUrl: {\r\n readOnly: true,\r\n serializedName: \"properties.gatewayRegionalUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, portalUrl: {\r\n readOnly: true,\r\n serializedName: \"properties.portalUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, managementApiUrl: {\r\n readOnly: true,\r\n serializedName: \"properties.managementApiUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, scmUrl: {\r\n readOnly: true,\r\n serializedName: \"properties.scmUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, hostnameConfigurations: {\r\n serializedName: \"properties.hostnameConfigurations\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HostnameConfiguration\"\r\n }\r\n }\r\n }\r\n }, publicIPAddresses: {\r\n readOnly: true,\r\n serializedName: \"properties.publicIPAddresses\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, privateIPAddresses: {\r\n readOnly: true,\r\n serializedName: \"properties.privateIPAddresses\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, virtualNetworkConfiguration: {\r\n serializedName: \"properties.virtualNetworkConfiguration\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VirtualNetworkConfiguration\"\r\n }\r\n }, additionalLocations: {\r\n serializedName: \"properties.additionalLocations\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"AdditionalLocation\"\r\n }\r\n }\r\n }\r\n }, customProperties: {\r\n serializedName: \"properties.customProperties\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, certificates: {\r\n serializedName: \"properties.certificates\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"CertificateConfiguration\"\r\n }\r\n }\r\n }\r\n }, virtualNetworkType: {\r\n serializedName: \"properties.virtualNetworkType\",\r\n defaultValue: 'None',\r\n type: {\r\n name: \"String\"\r\n }\r\n }, publisherEmail: {\r\n serializedName: \"properties.publisherEmail\",\r\n constraints: {\r\n MaxLength: 100\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, publisherName: {\r\n serializedName: \"properties.publisherName\",\r\n constraints: {\r\n MaxLength: 100\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, sku: {\r\n serializedName: \"sku\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceSkuProperties\"\r\n }\r\n }, identity: {\r\n serializedName: \"identity\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceIdentity\"\r\n }\r\n }, etag: {\r\n readOnly: true,\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ApiManagementServiceGetSsoTokenResult = {\r\n serializedName: \"ApiManagementServiceGetSsoTokenResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceGetSsoTokenResult\",\r\n modelProperties: {\r\n redirectUri: {\r\n serializedName: \"redirectUri\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiManagementServiceCheckNameAvailabilityParameters = {\r\n serializedName: \"ApiManagementServiceCheckNameAvailabilityParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceCheckNameAvailabilityParameters\",\r\n modelProperties: {\r\n name: {\r\n required: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiManagementServiceNameAvailabilityResult = {\r\n serializedName: \"ApiManagementServiceNameAvailabilityResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceNameAvailabilityResult\",\r\n modelProperties: {\r\n nameAvailable: {\r\n readOnly: true,\r\n serializedName: \"nameAvailable\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n message: {\r\n readOnly: true,\r\n serializedName: \"message\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n reason: {\r\n serializedName: \"reason\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Valid\",\r\n \"Invalid\",\r\n \"AlreadyExists\"\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiManagementServiceApplyNetworkConfigurationParameters = {\r\n serializedName: \"ApiManagementServiceApplyNetworkConfigurationParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceApplyNetworkConfigurationParameters\",\r\n modelProperties: {\r\n location: {\r\n serializedName: \"location\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiManagementServiceUploadCertificateParameters = {\r\n serializedName: \"ApiManagementServiceUploadCertificateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceUploadCertificateParameters\",\r\n modelProperties: {\r\n type: {\r\n required: true,\r\n serializedName: \"type\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Proxy\",\r\n \"Portal\",\r\n \"Management\",\r\n \"Scm\"\r\n ]\r\n }\r\n },\r\n certificate: {\r\n required: true,\r\n serializedName: \"certificate\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n certificatePassword: {\r\n required: true,\r\n serializedName: \"certificate_password\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var HostnameConfigurationOld = {\r\n serializedName: \"HostnameConfigurationOld\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"HostnameConfigurationOld\",\r\n modelProperties: {\r\n type: {\r\n required: true,\r\n serializedName: \"type\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Proxy\",\r\n \"Portal\",\r\n \"Management\",\r\n \"Scm\"\r\n ]\r\n }\r\n },\r\n hostname: {\r\n required: true,\r\n serializedName: \"hostname\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n certificate: {\r\n required: true,\r\n serializedName: \"certificate\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CertificateInformation\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiManagementServiceUpdateHostnameParameters = {\r\n serializedName: \"ApiManagementServiceUpdateHostnameParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceUpdateHostnameParameters\",\r\n modelProperties: {\r\n update: {\r\n serializedName: \"update\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HostnameConfigurationOld\"\r\n }\r\n }\r\n }\r\n },\r\n deleteProperty: {\r\n serializedName: \"delete\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Proxy\",\r\n \"Portal\",\r\n \"Management\",\r\n \"Scm\"\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OperationDisplay = {\r\n serializedName: \"Operation_display\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationDisplay\",\r\n modelProperties: {\r\n provider: {\r\n serializedName: \"provider\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n operation: {\r\n serializedName: \"operation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n resource: {\r\n serializedName: \"resource\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var Operation = {\r\n serializedName: \"Operation\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Operation\",\r\n modelProperties: {\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n display: {\r\n serializedName: \"display\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationDisplay\"\r\n }\r\n },\r\n origin: {\r\n serializedName: \"origin\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Object\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var EmailTemplateParametersContractProperties = {\r\n serializedName: \"EmailTemplateParametersContractProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EmailTemplateParametersContractProperties\",\r\n modelProperties: {\r\n name: {\r\n serializedName: \"name\",\r\n constraints: {\r\n MaxLength: 256,\r\n MinLength: 1,\r\n Pattern: /^[A-Za-z0-9-._]+$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n title: {\r\n serializedName: \"title\",\r\n constraints: {\r\n MaxLength: 4096,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"description\",\r\n constraints: {\r\n MaxLength: 256,\r\n MinLength: 1,\r\n Pattern: /^[A-Za-z0-9-._]+$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var EmailTemplateContract = {\r\n serializedName: \"EmailTemplateContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EmailTemplateContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { subject: {\r\n required: true,\r\n serializedName: \"properties.subject\",\r\n constraints: {\r\n MaxLength: 1000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, body: {\r\n required: true,\r\n serializedName: \"properties.body\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, title: {\r\n serializedName: \"properties.title\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, isDefault: {\r\n readOnly: true,\r\n serializedName: \"properties.isDefault\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }, parameters: {\r\n serializedName: \"properties.parameters\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"EmailTemplateParametersContractProperties\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var EmailTemplateUpdateParameters = {\r\n serializedName: \"EmailTemplateUpdateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EmailTemplateUpdateParameters\",\r\n modelProperties: {\r\n subject: {\r\n serializedName: \"properties.subject\",\r\n constraints: {\r\n MaxLength: 1000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n title: {\r\n serializedName: \"properties.title\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n body: {\r\n serializedName: \"properties.body\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n parameters: {\r\n serializedName: \"properties.parameters\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"EmailTemplateParametersContractProperties\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var GroupContractProperties = {\r\n serializedName: \"GroupContractProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"GroupContractProperties\",\r\n modelProperties: {\r\n displayName: {\r\n required: true,\r\n serializedName: \"displayName\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"description\",\r\n constraints: {\r\n MaxLength: 1000\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n builtIn: {\r\n readOnly: true,\r\n serializedName: \"builtIn\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n type: {\r\n serializedName: \"type\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"custom\",\r\n \"system\",\r\n \"external\"\r\n ]\r\n }\r\n },\r\n externalId: {\r\n serializedName: \"externalId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var GroupContract = {\r\n serializedName: \"GroupContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"GroupContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { displayName: {\r\n required: true,\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, description: {\r\n serializedName: \"properties.description\",\r\n constraints: {\r\n MaxLength: 1000\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, builtIn: {\r\n readOnly: true,\r\n serializedName: \"properties.builtIn\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }, groupContractType: {\r\n serializedName: \"properties.type\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"custom\",\r\n \"system\",\r\n \"external\"\r\n ]\r\n }\r\n }, externalId: {\r\n serializedName: \"properties.externalId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var GroupCreateParameters = {\r\n serializedName: \"GroupCreateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"GroupCreateParameters\",\r\n modelProperties: {\r\n displayName: {\r\n required: true,\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n type: {\r\n serializedName: \"properties.type\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"custom\",\r\n \"system\",\r\n \"external\"\r\n ]\r\n }\r\n },\r\n externalId: {\r\n serializedName: \"properties.externalId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var GroupUpdateParameters = {\r\n serializedName: \"GroupUpdateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"GroupUpdateParameters\",\r\n modelProperties: {\r\n displayName: {\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n type: {\r\n serializedName: \"properties.type\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"custom\",\r\n \"system\",\r\n \"external\"\r\n ]\r\n }\r\n },\r\n externalId: {\r\n serializedName: \"properties.externalId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UserIdentityContract = {\r\n serializedName: \"UserIdentityContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserIdentityContract\",\r\n modelProperties: {\r\n provider: {\r\n serializedName: \"provider\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n id: {\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UserEntityBaseParameters = {\r\n serializedName: \"UserEntityBaseParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserEntityBaseParameters\",\r\n modelProperties: {\r\n state: {\r\n serializedName: \"state\",\r\n defaultValue: 'active',\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n note: {\r\n serializedName: \"note\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n identities: {\r\n readOnly: true,\r\n serializedName: \"identities\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserIdentityContract\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UserContract = {\r\n serializedName: \"UserContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { state: {\r\n serializedName: \"properties.state\",\r\n defaultValue: 'active',\r\n type: {\r\n name: \"String\"\r\n }\r\n }, note: {\r\n serializedName: \"properties.note\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, identities: {\r\n readOnly: true,\r\n serializedName: \"properties.identities\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserIdentityContract\"\r\n }\r\n }\r\n }\r\n }, firstName: {\r\n serializedName: \"properties.firstName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, lastName: {\r\n serializedName: \"properties.lastName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, email: {\r\n serializedName: \"properties.email\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, registrationDate: {\r\n serializedName: \"properties.registrationDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, groups: {\r\n readOnly: true,\r\n serializedName: \"properties.groups\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"GroupContractProperties\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var IdentityProviderContract = {\r\n serializedName: \"IdentityProviderContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"IdentityProviderContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { identityProviderContractType: {\r\n serializedName: \"properties.type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, allowedTenants: {\r\n serializedName: \"properties.allowedTenants\",\r\n constraints: {\r\n MaxItems: 32\r\n },\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, signupPolicyName: {\r\n serializedName: \"properties.signupPolicyName\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, signinPolicyName: {\r\n serializedName: \"properties.signinPolicyName\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, profileEditingPolicyName: {\r\n serializedName: \"properties.profileEditingPolicyName\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, passwordResetPolicyName: {\r\n serializedName: \"properties.passwordResetPolicyName\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, clientId: {\r\n required: true,\r\n serializedName: \"properties.clientId\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, clientSecret: {\r\n required: true,\r\n serializedName: \"properties.clientSecret\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var IdentityProviderUpdateParameters = {\r\n serializedName: \"IdentityProviderUpdateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"IdentityProviderUpdateParameters\",\r\n modelProperties: {\r\n type: {\r\n serializedName: \"properties.type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n allowedTenants: {\r\n serializedName: \"properties.allowedTenants\",\r\n constraints: {\r\n MaxItems: 32\r\n },\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n signupPolicyName: {\r\n serializedName: \"properties.signupPolicyName\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n signinPolicyName: {\r\n serializedName: \"properties.signinPolicyName\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n profileEditingPolicyName: {\r\n serializedName: \"properties.profileEditingPolicyName\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n passwordResetPolicyName: {\r\n serializedName: \"properties.passwordResetPolicyName\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n clientId: {\r\n serializedName: \"properties.clientId\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n clientSecret: {\r\n serializedName: \"properties.clientSecret\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var IdentityProviderBaseParameters = {\r\n serializedName: \"IdentityProviderBaseParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"IdentityProviderBaseParameters\",\r\n modelProperties: {\r\n type: {\r\n serializedName: \"type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n allowedTenants: {\r\n serializedName: \"allowedTenants\",\r\n constraints: {\r\n MaxItems: 32\r\n },\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n signupPolicyName: {\r\n serializedName: \"signupPolicyName\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n signinPolicyName: {\r\n serializedName: \"signinPolicyName\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n profileEditingPolicyName: {\r\n serializedName: \"profileEditingPolicyName\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n passwordResetPolicyName: {\r\n serializedName: \"passwordResetPolicyName\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var LoggerUpdateContract = {\r\n serializedName: \"LoggerUpdateContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"LoggerUpdateContract\",\r\n modelProperties: {\r\n loggerType: {\r\n serializedName: \"properties.loggerType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n credentials: {\r\n serializedName: \"properties.credentials\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n isBuffered: {\r\n serializedName: \"properties.isBuffered\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecipientsContractProperties = {\r\n serializedName: \"RecipientsContractProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecipientsContractProperties\",\r\n modelProperties: {\r\n emails: {\r\n serializedName: \"emails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n users: {\r\n serializedName: \"users\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var NotificationContract = {\r\n serializedName: \"NotificationContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"NotificationContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { title: {\r\n required: true,\r\n serializedName: \"properties.title\",\r\n constraints: {\r\n MaxLength: 1000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recipients: {\r\n serializedName: \"properties.recipients\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecipientsContractProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecipientUserContract = {\r\n serializedName: \"RecipientUserContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecipientUserContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { userId: {\r\n serializedName: \"properties.userId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecipientUserCollection = {\r\n serializedName: \"RecipientUserCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecipientUserCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"value\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecipientUserContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecipientEmailContract = {\r\n serializedName: \"RecipientEmailContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecipientEmailContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { email: {\r\n serializedName: \"properties.email\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecipientEmailCollection = {\r\n serializedName: \"RecipientEmailCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecipientEmailCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"value\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecipientEmailContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ConnectivityStatusContract = {\r\n serializedName: \"ConnectivityStatusContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ConnectivityStatusContract\",\r\n modelProperties: {\r\n name: {\r\n required: true,\r\n serializedName: \"name\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n status: {\r\n required: true,\r\n serializedName: \"status\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n error: {\r\n serializedName: \"error\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n lastUpdated: {\r\n required: true,\r\n serializedName: \"lastUpdated\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n lastStatusChange: {\r\n required: true,\r\n serializedName: \"lastStatusChange\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var NetworkStatusContract = {\r\n serializedName: \"NetworkStatusContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"NetworkStatusContract\",\r\n modelProperties: {\r\n dnsServers: {\r\n required: true,\r\n serializedName: \"dnsServers\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n connectivityStatus: {\r\n required: true,\r\n serializedName: \"connectivityStatus\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ConnectivityStatusContract\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var NetworkStatusContractByLocation = {\r\n serializedName: \"NetworkStatusContractByLocation\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"NetworkStatusContractByLocation\",\r\n modelProperties: {\r\n location: {\r\n serializedName: \"location\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n networkStatus: {\r\n serializedName: \"networkStatus\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"NetworkStatusContract\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OpenidConnectProviderContract = {\r\n serializedName: \"OpenidConnectProviderContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OpenidConnectProviderContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { displayName: {\r\n required: true,\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 50\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, metadataEndpoint: {\r\n required: true,\r\n serializedName: \"properties.metadataEndpoint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, clientId: {\r\n required: true,\r\n serializedName: \"properties.clientId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, clientSecret: {\r\n serializedName: \"properties.clientSecret\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var OpenidConnectProviderUpdateContract = {\r\n serializedName: \"OpenidConnectProviderUpdateContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OpenidConnectProviderUpdateContract\",\r\n modelProperties: {\r\n displayName: {\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 50\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n metadataEndpoint: {\r\n serializedName: \"properties.metadataEndpoint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n clientId: {\r\n serializedName: \"properties.clientId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n clientSecret: {\r\n serializedName: \"properties.clientSecret\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PortalSigninSettings = {\r\n serializedName: \"PortalSigninSettings\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PortalSigninSettings\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { enabled: {\r\n serializedName: \"properties.enabled\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var TermsOfServiceProperties = {\r\n serializedName: \"TermsOfServiceProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TermsOfServiceProperties\",\r\n modelProperties: {\r\n text: {\r\n serializedName: \"text\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n enabled: {\r\n serializedName: \"enabled\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n consentRequired: {\r\n serializedName: \"consentRequired\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PortalSignupSettings = {\r\n serializedName: \"PortalSignupSettings\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PortalSignupSettings\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { enabled: {\r\n serializedName: \"properties.enabled\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }, termsOfService: {\r\n serializedName: \"properties.termsOfService\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TermsOfServiceProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var SubscriptionsDelegationSettingsProperties = {\r\n serializedName: \"SubscriptionsDelegationSettingsProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SubscriptionsDelegationSettingsProperties\",\r\n modelProperties: {\r\n enabled: {\r\n serializedName: \"enabled\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RegistrationDelegationSettingsProperties = {\r\n serializedName: \"RegistrationDelegationSettingsProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RegistrationDelegationSettingsProperties\",\r\n modelProperties: {\r\n enabled: {\r\n serializedName: \"enabled\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PortalDelegationSettings = {\r\n serializedName: \"PortalDelegationSettings\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PortalDelegationSettings\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { url: {\r\n serializedName: \"properties.url\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, validationKey: {\r\n serializedName: \"properties.validationKey\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, subscriptions: {\r\n serializedName: \"properties.subscriptions\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SubscriptionsDelegationSettingsProperties\"\r\n }\r\n }, userRegistration: {\r\n serializedName: \"properties.userRegistration\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RegistrationDelegationSettingsProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ProductUpdateParameters = {\r\n serializedName: \"ProductUpdateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProductUpdateParameters\",\r\n modelProperties: {\r\n description: {\r\n serializedName: \"properties.description\",\r\n constraints: {\r\n MaxLength: 1000,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n terms: {\r\n serializedName: \"properties.terms\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n subscriptionRequired: {\r\n serializedName: \"properties.subscriptionRequired\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n approvalRequired: {\r\n serializedName: \"properties.approvalRequired\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n subscriptionsLimit: {\r\n serializedName: \"properties.subscriptionsLimit\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n state: {\r\n serializedName: \"properties.state\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"notPublished\",\r\n \"published\"\r\n ]\r\n }\r\n },\r\n displayName: {\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 300,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SubscriptionContract = {\r\n serializedName: \"SubscriptionContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SubscriptionContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { userId: {\r\n required: true,\r\n serializedName: \"properties.userId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, productId: {\r\n required: true,\r\n serializedName: \"properties.productId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, displayName: {\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 0\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, state: {\r\n required: true,\r\n serializedName: \"properties.state\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"suspended\",\r\n \"active\",\r\n \"expired\",\r\n \"submitted\",\r\n \"rejected\",\r\n \"cancelled\"\r\n ]\r\n }\r\n }, createdDate: {\r\n readOnly: true,\r\n serializedName: \"properties.createdDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, startDate: {\r\n serializedName: \"properties.startDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, expirationDate: {\r\n serializedName: \"properties.expirationDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, endDate: {\r\n serializedName: \"properties.endDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, notificationDate: {\r\n serializedName: \"properties.notificationDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, primaryKey: {\r\n required: true,\r\n serializedName: \"properties.primaryKey\",\r\n constraints: {\r\n MaxLength: 256,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, secondaryKey: {\r\n required: true,\r\n serializedName: \"properties.secondaryKey\",\r\n constraints: {\r\n MaxLength: 256,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, stateComment: {\r\n serializedName: \"properties.stateComment\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var PropertyContract = {\r\n serializedName: \"PropertyContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PropertyContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { tags: {\r\n serializedName: \"properties.tags\",\r\n constraints: {\r\n MaxItems: 32\r\n },\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, secret: {\r\n serializedName: \"properties.secret\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }, displayName: {\r\n required: true,\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 256,\r\n MinLength: 1,\r\n Pattern: /^[A-Za-z0-9-._]+$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, value: {\r\n required: true,\r\n serializedName: \"properties.value\",\r\n constraints: {\r\n MaxLength: 4096,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var PropertyUpdateParameters = {\r\n serializedName: \"PropertyUpdateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PropertyUpdateParameters\",\r\n modelProperties: {\r\n tags: {\r\n serializedName: \"properties.tags\",\r\n constraints: {\r\n MaxItems: 32\r\n },\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n secret: {\r\n serializedName: \"properties.secret\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n displayName: {\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 256,\r\n MinLength: 1,\r\n Pattern: /^[A-Za-z0-9-._]+$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n value: {\r\n serializedName: \"properties.value\",\r\n constraints: {\r\n MaxLength: 4096,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PropertyEntityBaseParameters = {\r\n serializedName: \"PropertyEntityBaseParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PropertyEntityBaseParameters\",\r\n modelProperties: {\r\n tags: {\r\n serializedName: \"tags\",\r\n constraints: {\r\n MaxItems: 32\r\n },\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n secret: {\r\n serializedName: \"secret\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var QuotaCounterValueContractProperties = {\r\n serializedName: \"QuotaCounterValueContractProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"QuotaCounterValueContractProperties\",\r\n modelProperties: {\r\n callsCount: {\r\n serializedName: \"callsCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n kbTransferred: {\r\n serializedName: \"kbTransferred\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var QuotaCounterContract = {\r\n serializedName: \"QuotaCounterContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"QuotaCounterContract\",\r\n modelProperties: {\r\n counterKey: {\r\n required: true,\r\n serializedName: \"counterKey\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n periodKey: {\r\n required: true,\r\n serializedName: \"periodKey\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n periodStartTime: {\r\n required: true,\r\n serializedName: \"periodStartTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n periodEndTime: {\r\n required: true,\r\n serializedName: \"periodEndTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n value: {\r\n serializedName: \"value\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"QuotaCounterValueContractProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var QuotaCounterCollection = {\r\n serializedName: \"QuotaCounterCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"QuotaCounterCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"value\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"QuotaCounterContract\"\r\n }\r\n }\r\n }\r\n },\r\n count: {\r\n serializedName: \"count\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var QuotaCounterValueContract = {\r\n serializedName: \"QuotaCounterValueContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"QuotaCounterValueContract\",\r\n modelProperties: {\r\n callsCount: {\r\n serializedName: \"value.callsCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n kbTransferred: {\r\n serializedName: \"value.kbTransferred\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ReportRecordContract = {\r\n serializedName: \"ReportRecordContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ReportRecordContract\",\r\n modelProperties: {\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n timestamp: {\r\n serializedName: \"timestamp\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n interval: {\r\n serializedName: \"interval\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n country: {\r\n serializedName: \"country\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n region: {\r\n serializedName: \"region\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n zip: {\r\n serializedName: \"zip\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n userId: {\r\n readOnly: true,\r\n serializedName: \"userId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n productId: {\r\n readOnly: true,\r\n serializedName: \"productId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiId: {\r\n serializedName: \"apiId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n operationId: {\r\n serializedName: \"operationId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiRegion: {\r\n serializedName: \"apiRegion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n subscriptionId: {\r\n serializedName: \"subscriptionId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n callCountSuccess: {\r\n serializedName: \"callCountSuccess\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n callCountBlocked: {\r\n serializedName: \"callCountBlocked\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n callCountFailed: {\r\n serializedName: \"callCountFailed\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n callCountOther: {\r\n serializedName: \"callCountOther\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n callCountTotal: {\r\n serializedName: \"callCountTotal\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n bandwidth: {\r\n serializedName: \"bandwidth\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n cacheHitCount: {\r\n serializedName: \"cacheHitCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n cacheMissCount: {\r\n serializedName: \"cacheMissCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n apiTimeAvg: {\r\n serializedName: \"apiTimeAvg\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n apiTimeMin: {\r\n serializedName: \"apiTimeMin\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n apiTimeMax: {\r\n serializedName: \"apiTimeMax\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n serviceTimeAvg: {\r\n serializedName: \"serviceTimeAvg\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n serviceTimeMin: {\r\n serializedName: \"serviceTimeMin\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n serviceTimeMax: {\r\n serializedName: \"serviceTimeMax\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RequestReportRecordContract = {\r\n serializedName: \"RequestReportRecordContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RequestReportRecordContract\",\r\n modelProperties: {\r\n apiId: {\r\n serializedName: \"apiId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n operationId: {\r\n serializedName: \"operationId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n productId: {\r\n readOnly: true,\r\n serializedName: \"productId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n userId: {\r\n readOnly: true,\r\n serializedName: \"userId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n method: {\r\n serializedName: \"method\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n url: {\r\n serializedName: \"url\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n ipAddress: {\r\n serializedName: \"ipAddress\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n backendResponseCode: {\r\n serializedName: \"backendResponseCode\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n responseCode: {\r\n serializedName: \"responseCode\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n responseSize: {\r\n serializedName: \"responseSize\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n timestamp: {\r\n serializedName: \"timestamp\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n cache: {\r\n serializedName: \"cache\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n apiTime: {\r\n serializedName: \"apiTime\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n serviceTime: {\r\n serializedName: \"serviceTime\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n apiRegion: {\r\n serializedName: \"apiRegion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n subscriptionId: {\r\n serializedName: \"subscriptionId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n requestId: {\r\n serializedName: \"requestId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n requestSize: {\r\n serializedName: \"requestSize\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SubscriptionCreateParameters = {\r\n serializedName: \"SubscriptionCreateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SubscriptionCreateParameters\",\r\n modelProperties: {\r\n userId: {\r\n required: true,\r\n serializedName: \"properties.userId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n productId: {\r\n required: true,\r\n serializedName: \"properties.productId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n displayName: {\r\n required: true,\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryKey: {\r\n serializedName: \"properties.primaryKey\",\r\n constraints: {\r\n MaxLength: 256,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n secondaryKey: {\r\n serializedName: \"properties.secondaryKey\",\r\n constraints: {\r\n MaxLength: 256,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n state: {\r\n serializedName: \"properties.state\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"suspended\",\r\n \"active\",\r\n \"expired\",\r\n \"submitted\",\r\n \"rejected\",\r\n \"cancelled\"\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SubscriptionUpdateParameters = {\r\n serializedName: \"SubscriptionUpdateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SubscriptionUpdateParameters\",\r\n modelProperties: {\r\n userId: {\r\n serializedName: \"properties.userId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n productId: {\r\n serializedName: \"properties.productId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n expirationDate: {\r\n serializedName: \"properties.expirationDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n displayName: {\r\n serializedName: \"properties.displayName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryKey: {\r\n serializedName: \"properties.primaryKey\",\r\n constraints: {\r\n MaxLength: 256,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n secondaryKey: {\r\n serializedName: \"properties.secondaryKey\",\r\n constraints: {\r\n MaxLength: 256,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n state: {\r\n serializedName: \"properties.state\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"suspended\",\r\n \"active\",\r\n \"expired\",\r\n \"submitted\",\r\n \"rejected\",\r\n \"cancelled\"\r\n ]\r\n }\r\n },\r\n stateComment: {\r\n serializedName: \"properties.stateComment\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagContract = {\r\n serializedName: \"TagContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { displayName: {\r\n required: true,\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 160,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var TagCreateUpdateParameters = {\r\n serializedName: \"TagCreateUpdateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagCreateUpdateParameters\",\r\n modelProperties: {\r\n displayName: {\r\n required: true,\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 160,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagDescriptionContract = {\r\n serializedName: \"TagDescriptionContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagDescriptionContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, externalDocsUrl: {\r\n serializedName: \"properties.externalDocsUrl\",\r\n constraints: {\r\n MaxLength: 2000\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, externalDocsDescription: {\r\n serializedName: \"properties.externalDocsDescription\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, displayName: {\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 160,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var TagDescriptionCreateParameters = {\r\n serializedName: \"TagDescriptionCreateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagDescriptionCreateParameters\",\r\n modelProperties: {\r\n description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n externalDocsUrl: {\r\n serializedName: \"properties.externalDocsUrl\",\r\n constraints: {\r\n MaxLength: 2000\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n externalDocsDescription: {\r\n serializedName: \"properties.externalDocsDescription\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AccessInformationContract = {\r\n serializedName: \"AccessInformationContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AccessInformationContract\",\r\n modelProperties: {\r\n id: {\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryKey: {\r\n serializedName: \"primaryKey\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n secondaryKey: {\r\n serializedName: \"secondaryKey\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n enabled: {\r\n serializedName: \"enabled\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AccessInformationUpdateParameters = {\r\n serializedName: \"AccessInformationUpdateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AccessInformationUpdateParameters\",\r\n modelProperties: {\r\n enabled: {\r\n serializedName: \"enabled\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DeployConfigurationParameters = {\r\n serializedName: \"DeployConfigurationParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DeployConfigurationParameters\",\r\n modelProperties: {\r\n branch: {\r\n required: true,\r\n serializedName: \"branch\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n force: {\r\n serializedName: \"force\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OperationResultLogItemContract = {\r\n serializedName: \"OperationResultLogItemContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationResultLogItemContract\",\r\n modelProperties: {\r\n objectType: {\r\n serializedName: \"objectType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n action: {\r\n serializedName: \"action\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n objectKey: {\r\n serializedName: \"objectKey\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OperationResultContract = {\r\n serializedName: \"OperationResultContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationResultContract\",\r\n modelProperties: {\r\n id: {\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n status: {\r\n serializedName: \"status\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Started\",\r\n \"InProgress\",\r\n \"Succeeded\",\r\n \"Failed\"\r\n ]\r\n }\r\n },\r\n started: {\r\n serializedName: \"started\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n updated: {\r\n serializedName: \"updated\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n resultInfo: {\r\n serializedName: \"resultInfo\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n error: {\r\n serializedName: \"error\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ErrorResponseBody\"\r\n }\r\n },\r\n actionLog: {\r\n readOnly: true,\r\n serializedName: \"actionLog\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationResultLogItemContract\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SaveConfigurationParameter = {\r\n serializedName: \"SaveConfigurationParameter\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SaveConfigurationParameter\",\r\n modelProperties: {\r\n branch: {\r\n required: true,\r\n serializedName: \"branch\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n force: {\r\n serializedName: \"force\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TenantConfigurationSyncStateContract = {\r\n serializedName: \"TenantConfigurationSyncStateContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TenantConfigurationSyncStateContract\",\r\n modelProperties: {\r\n branch: {\r\n serializedName: \"branch\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n commitId: {\r\n serializedName: \"commitId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n isExport: {\r\n serializedName: \"isExport\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n isSynced: {\r\n serializedName: \"isSynced\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n isGitEnabled: {\r\n serializedName: \"isGitEnabled\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n syncDate: {\r\n serializedName: \"syncDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n configurationChangeDate: {\r\n serializedName: \"configurationChangeDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var GenerateSsoUrlResult = {\r\n serializedName: \"GenerateSsoUrlResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"GenerateSsoUrlResult\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"value\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UserCreateParameters = {\r\n serializedName: \"UserCreateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserCreateParameters\",\r\n modelProperties: {\r\n state: {\r\n serializedName: \"properties.state\",\r\n defaultValue: 'active',\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n note: {\r\n serializedName: \"properties.note\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n identities: {\r\n readOnly: true,\r\n serializedName: \"properties.identities\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserIdentityContract\"\r\n }\r\n }\r\n }\r\n },\r\n email: {\r\n required: true,\r\n serializedName: \"properties.email\",\r\n constraints: {\r\n MaxLength: 254,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n firstName: {\r\n required: true,\r\n serializedName: \"properties.firstName\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n lastName: {\r\n required: true,\r\n serializedName: \"properties.lastName\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n password: {\r\n serializedName: \"properties.password\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n confirmation: {\r\n serializedName: \"properties.confirmation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UserTokenParameters = {\r\n serializedName: \"UserTokenParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserTokenParameters\",\r\n modelProperties: {\r\n keyType: {\r\n required: true,\r\n serializedName: \"keyType\",\r\n defaultValue: 'primary',\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"primary\",\r\n \"secondary\"\r\n ]\r\n }\r\n },\r\n expiry: {\r\n required: true,\r\n serializedName: \"expiry\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UserTokenResult = {\r\n serializedName: \"UserTokenResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserTokenResult\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"value\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UserUpdateParameters = {\r\n serializedName: \"UserUpdateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserUpdateParameters\",\r\n modelProperties: {\r\n state: {\r\n serializedName: \"properties.state\",\r\n defaultValue: 'active',\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n note: {\r\n serializedName: \"properties.note\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n identities: {\r\n readOnly: true,\r\n serializedName: \"properties.identities\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserIdentityContract\"\r\n }\r\n }\r\n }\r\n },\r\n email: {\r\n serializedName: \"properties.email\",\r\n constraints: {\r\n MaxLength: 254,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n password: {\r\n serializedName: \"properties.password\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n firstName: {\r\n serializedName: \"properties.firstName\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n lastName: {\r\n serializedName: \"properties.lastName\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiVersionSetContract = {\r\n serializedName: \"ApiVersionSetContract\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiVersionSetContract\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, versionQueryName: {\r\n serializedName: \"properties.versionQueryName\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, versionHeaderName: {\r\n serializedName: \"properties.versionHeaderName\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, displayName: {\r\n required: true,\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }, versioningScheme: {\r\n required: true,\r\n serializedName: \"properties.versioningScheme\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ApiVersionSetEntityBase = {\r\n serializedName: \"ApiVersionSetEntityBase\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiVersionSetEntityBase\",\r\n modelProperties: {\r\n description: {\r\n serializedName: \"description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n versionQueryName: {\r\n serializedName: \"versionQueryName\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n versionHeaderName: {\r\n serializedName: \"versionHeaderName\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiVersionSetUpdateParameters = {\r\n serializedName: \"ApiVersionSetUpdateParameters\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiVersionSetUpdateParameters\",\r\n modelProperties: {\r\n description: {\r\n serializedName: \"properties.description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n versionQueryName: {\r\n serializedName: \"properties.versionQueryName\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n versionHeaderName: {\r\n serializedName: \"properties.versionHeaderName\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n displayName: {\r\n serializedName: \"properties.displayName\",\r\n constraints: {\r\n MaxLength: 100,\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n versioningScheme: {\r\n serializedName: \"properties.versioningScheme\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PolicyGetEntityTagHeaders = {\r\n serializedName: \"policy-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PolicyGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PolicyGetHeaders = {\r\n serializedName: \"policy-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PolicyGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiGetEntityTagHeaders = {\r\n serializedName: \"api-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiGetHeaders = {\r\n serializedName: \"api-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiCreateOrUpdateHeaders = {\r\n serializedName: \"api-createorupdate-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiCreateOrUpdateHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiReleaseGetEntityTagHeaders = {\r\n serializedName: \"apirelease-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiReleaseGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiOperationGetEntityTagHeaders = {\r\n serializedName: \"apioperation-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiOperationGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiOperationGetHeaders = {\r\n serializedName: \"apioperation-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiOperationGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiOperationPolicyGetEntityTagHeaders = {\r\n serializedName: \"apioperationpolicy-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiOperationPolicyGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiOperationPolicyGetHeaders = {\r\n serializedName: \"apioperationpolicy-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiOperationPolicyGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiPolicyListByApiHeaders = {\r\n serializedName: \"apipolicy-listbyapi-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiPolicyListByApiHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiPolicyGetEntityTagHeaders = {\r\n serializedName: \"apipolicy-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiPolicyGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiPolicyGetHeaders = {\r\n serializedName: \"apipolicy-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiPolicyGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiSchemaListByApiHeaders = {\r\n serializedName: \"apischema-listbyapi-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiSchemaListByApiHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiSchemaGetEntityTagHeaders = {\r\n serializedName: \"apischema-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiSchemaGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiSchemaGetHeaders = {\r\n serializedName: \"apischema-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiSchemaGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiDiagnosticGetEntityTagHeaders = {\r\n serializedName: \"apidiagnostic-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiDiagnosticGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiDiagnosticGetHeaders = {\r\n serializedName: \"apidiagnostic-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiDiagnosticGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiIssueGetEntityTagHeaders = {\r\n serializedName: \"apiissue-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiIssueGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiIssueGetHeaders = {\r\n serializedName: \"apiissue-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiIssueGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiIssueCommentGetEntityTagHeaders = {\r\n serializedName: \"apiissuecomment-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiIssueCommentGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiIssueCommentGetHeaders = {\r\n serializedName: \"apiissuecomment-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiIssueCommentGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiIssueAttachmentGetEntityTagHeaders = {\r\n serializedName: \"apiissueattachment-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiIssueAttachmentGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiIssueAttachmentGetHeaders = {\r\n serializedName: \"apiissueattachment-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiIssueAttachmentGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AuthorizationServerGetEntityTagHeaders = {\r\n serializedName: \"authorizationserver-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AuthorizationServerGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AuthorizationServerGetHeaders = {\r\n serializedName: \"authorizationserver-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AuthorizationServerGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var BackendGetEntityTagHeaders = {\r\n serializedName: \"backend-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var BackendGetHeaders = {\r\n serializedName: \"backend-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CertificateGetEntityTagHeaders = {\r\n serializedName: \"certificate-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CertificateGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CertificateGetHeaders = {\r\n serializedName: \"certificate-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CertificateGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DiagnosticGetEntityTagHeaders = {\r\n serializedName: \"diagnostic-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiagnosticGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DiagnosticGetHeaders = {\r\n serializedName: \"diagnostic-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiagnosticGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var EmailTemplateGetEntityTagHeaders = {\r\n serializedName: \"emailtemplate-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EmailTemplateGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var EmailTemplateGetHeaders = {\r\n serializedName: \"emailtemplate-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EmailTemplateGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var GroupGetEntityTagHeaders = {\r\n serializedName: \"group-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"GroupGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var GroupGetHeaders = {\r\n serializedName: \"group-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"GroupGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var IdentityProviderGetEntityTagHeaders = {\r\n serializedName: \"identityprovider-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"IdentityProviderGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var IdentityProviderGetHeaders = {\r\n serializedName: \"identityprovider-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"IdentityProviderGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var LoggerGetEntityTagHeaders = {\r\n serializedName: \"logger-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"LoggerGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var LoggerGetHeaders = {\r\n serializedName: \"logger-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"LoggerGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OpenIdConnectProviderGetEntityTagHeaders = {\r\n serializedName: \"openidconnectprovider-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OpenIdConnectProviderGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OpenIdConnectProviderGetHeaders = {\r\n serializedName: \"openidconnectprovider-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OpenIdConnectProviderGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SignInSettingsGetEntityTagHeaders = {\r\n serializedName: \"signinsettings-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SignInSettingsGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SignInSettingsGetHeaders = {\r\n serializedName: \"signinsettings-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SignInSettingsGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SignUpSettingsGetEntityTagHeaders = {\r\n serializedName: \"signupsettings-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SignUpSettingsGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SignUpSettingsGetHeaders = {\r\n serializedName: \"signupsettings-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SignUpSettingsGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DelegationSettingsGetEntityTagHeaders = {\r\n serializedName: \"delegationsettings-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DelegationSettingsGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DelegationSettingsGetHeaders = {\r\n serializedName: \"delegationsettings-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DelegationSettingsGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProductGetEntityTagHeaders = {\r\n serializedName: \"product-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProductGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProductGetHeaders = {\r\n serializedName: \"product-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProductGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProductPolicyListByProductHeaders = {\r\n serializedName: \"productpolicy-listbyproduct-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProductPolicyListByProductHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProductPolicyGetEntityTagHeaders = {\r\n serializedName: \"productpolicy-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProductPolicyGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProductPolicyGetHeaders = {\r\n serializedName: \"productpolicy-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProductPolicyGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PropertyGetEntityTagHeaders = {\r\n serializedName: \"property-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PropertyGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PropertyGetHeaders = {\r\n serializedName: \"property-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PropertyGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SubscriptionGetEntityTagHeaders = {\r\n serializedName: \"subscription-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SubscriptionGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SubscriptionGetHeaders = {\r\n serializedName: \"subscription-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SubscriptionGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagGetEntityStateHeaders = {\r\n serializedName: \"tag-getentitystate-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagGetEntityStateHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagGetHeaders = {\r\n serializedName: \"tag-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagGetEntityStateByApiHeaders = {\r\n serializedName: \"tag-getentitystatebyapi-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagGetEntityStateByApiHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagGetByApiHeaders = {\r\n serializedName: \"tag-getbyapi-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagGetByApiHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagDescriptionGetEntityStateHeaders = {\r\n serializedName: \"tagdescription-getentitystate-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagDescriptionGetEntityStateHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagDescriptionGetHeaders = {\r\n serializedName: \"tagdescription-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagDescriptionGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagGetEntityStateByOperationHeaders = {\r\n serializedName: \"tag-getentitystatebyoperation-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagGetEntityStateByOperationHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagGetByOperationHeaders = {\r\n serializedName: \"tag-getbyoperation-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagGetByOperationHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagGetEntityStateByProductHeaders = {\r\n serializedName: \"tag-getentitystatebyproduct-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagGetEntityStateByProductHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagGetByProductHeaders = {\r\n serializedName: \"tag-getbyproduct-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagGetByProductHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TenantAccessGetHeaders = {\r\n serializedName: \"tenantaccess-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TenantAccessGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TenantAccessGitGetHeaders = {\r\n serializedName: \"tenantaccessgit-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TenantAccessGitGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UserGetEntityTagHeaders = {\r\n serializedName: \"user-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UserGetHeaders = {\r\n serializedName: \"user-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiVersionSetGetEntityTagHeaders = {\r\n serializedName: \"apiversionset-getentitytag-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiVersionSetGetEntityTagHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiVersionSetGetHeaders = {\r\n serializedName: \"apiversionset-get-headers\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiVersionSetGetHeaders\",\r\n modelProperties: {\r\n eTag: {\r\n serializedName: \"etag\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RegionListResult = {\r\n serializedName: \"RegionListResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RegionListResult\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RegionContract\"\r\n }\r\n }\r\n }\r\n },\r\n count: {\r\n serializedName: \"count\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiCollection = {\r\n serializedName: \"ApiCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiCollection\",\r\n modelProperties: {\r\n value: {\r\n readOnly: true,\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n readOnly: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagResourceCollection = {\r\n serializedName: \"TagResourceCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagResourceCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagResourceContract\"\r\n }\r\n }\r\n }\r\n },\r\n count: {\r\n serializedName: \"count\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiRevisionCollection = {\r\n serializedName: \"ApiRevisionCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiRevisionCollection\",\r\n modelProperties: {\r\n value: {\r\n readOnly: true,\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiRevisionContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n readOnly: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiReleaseCollection = {\r\n serializedName: \"ApiReleaseCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiReleaseCollection\",\r\n modelProperties: {\r\n value: {\r\n readOnly: true,\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiReleaseContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n readOnly: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OperationCollection = {\r\n serializedName: \"OperationCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationCollection\",\r\n modelProperties: {\r\n value: {\r\n readOnly: true,\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n readOnly: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProductCollection = {\r\n serializedName: \"ProductCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProductCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProductContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SchemaCollection = {\r\n serializedName: \"SchemaCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SchemaCollection\",\r\n modelProperties: {\r\n value: {\r\n readOnly: true,\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"SchemaContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n readOnly: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DiagnosticCollection = {\r\n serializedName: \"DiagnosticCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiagnosticCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiagnosticContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var LoggerCollection = {\r\n serializedName: \"LoggerCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"LoggerCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"LoggerContract\"\r\n }\r\n }\r\n }\r\n },\r\n count: {\r\n serializedName: \"count\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var IssueCollection = {\r\n serializedName: \"IssueCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"IssueCollection\",\r\n modelProperties: {\r\n value: {\r\n readOnly: true,\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"IssueContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n readOnly: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var IssueCommentCollection = {\r\n serializedName: \"IssueCommentCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"IssueCommentCollection\",\r\n modelProperties: {\r\n value: {\r\n readOnly: true,\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"IssueCommentContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n readOnly: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var IssueAttachmentCollection = {\r\n serializedName: \"IssueAttachmentCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"IssueAttachmentCollection\",\r\n modelProperties: {\r\n value: {\r\n readOnly: true,\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"IssueAttachmentContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n readOnly: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AuthorizationServerCollection = {\r\n serializedName: \"AuthorizationServerCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AuthorizationServerCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"AuthorizationServerContract\"\r\n }\r\n }\r\n }\r\n },\r\n count: {\r\n serializedName: \"count\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var BackendCollection = {\r\n serializedName: \"BackendCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"BackendContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CertificateCollection = {\r\n serializedName: \"CertificateCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CertificateCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"CertificateContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OperationListResult = {\r\n serializedName: \"OperationListResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationListResult\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"Operation\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiManagementServiceListResult = {\r\n serializedName: \"ApiManagementServiceListResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceListResult\",\r\n modelProperties: {\r\n value: {\r\n required: true,\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiManagementServiceResource\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var EmailTemplateCollection = {\r\n serializedName: \"EmailTemplateCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EmailTemplateCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"EmailTemplateContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var GroupCollection = {\r\n serializedName: \"GroupCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"GroupCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"GroupContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UserCollection = {\r\n serializedName: \"UserCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var IdentityProviderList = {\r\n serializedName: \"IdentityProviderList\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"IdentityProviderList\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"IdentityProviderContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var NotificationCollection = {\r\n serializedName: \"NotificationCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"NotificationCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"NotificationContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OpenIdConnectProviderCollection = {\r\n serializedName: \"OpenIdConnectProviderCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OpenIdConnectProviderCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"OpenidConnectProviderContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SubscriptionCollection = {\r\n serializedName: \"SubscriptionCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SubscriptionCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"SubscriptionContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PropertyCollection = {\r\n serializedName: \"PropertyCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PropertyCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"PropertyContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ReportCollection = {\r\n serializedName: \"ReportCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ReportCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ReportRecordContract\"\r\n }\r\n }\r\n }\r\n },\r\n count: {\r\n serializedName: \"count\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RequestReportCollection = {\r\n serializedName: \"RequestReportCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RequestReportCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RequestReportRecordContract\"\r\n }\r\n }\r\n }\r\n },\r\n count: {\r\n serializedName: \"count\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagCollection = {\r\n serializedName: \"TagCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TagDescriptionCollection = {\r\n serializedName: \"TagDescriptionCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagDescriptionCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"TagDescriptionContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UserIdentityCollection = {\r\n serializedName: \"UserIdentityCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserIdentityCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"UserIdentityContract\"\r\n }\r\n }\r\n }\r\n },\r\n count: {\r\n serializedName: \"count\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApiVersionSetCollection = {\r\n serializedName: \"ApiVersionSetCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiVersionSetCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApiVersionSetContract\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\n//# sourceMappingURL=mappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { PolicyCollection, PolicyContract, Resource, BaseResource, CloudError, PolicyGetEntityTagHeaders, ErrorResponse, ErrorFieldContract, PolicyGetHeaders, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=policyMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport var acceptLanguage = {\r\n parameterPath: \"acceptLanguage\",\r\n mapper: {\r\n serializedName: \"accept-language\",\r\n defaultValue: 'en-US',\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var accessName = {\r\n parameterPath: \"accessName\",\r\n mapper: {\r\n required: true,\r\n isConstant: true,\r\n serializedName: \"accessName\",\r\n defaultValue: 'access',\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var apiId0 = {\r\n parameterPath: \"apiId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"apiId\",\r\n constraints: {\r\n MaxLength: 256,\r\n MinLength: 1,\r\n Pattern: /^[^*#&+:<>?]+$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var apiId1 = {\r\n parameterPath: \"apiId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"apiId\",\r\n constraints: {\r\n MaxLength: 80,\r\n MinLength: 1,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var apiVersion = {\r\n parameterPath: \"apiVersion\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"api-version\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var attachmentId = {\r\n parameterPath: \"attachmentId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"attachmentId\",\r\n constraints: {\r\n MaxLength: 256,\r\n MinLength: 1,\r\n Pattern: /^[^*#&+:<>?]+$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var authsid = {\r\n parameterPath: \"authsid\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"authsid\",\r\n constraints: {\r\n MaxLength: 80,\r\n MinLength: 1,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var backendid = {\r\n parameterPath: \"backendid\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"backendid\",\r\n constraints: {\r\n MaxLength: 80,\r\n MinLength: 1,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var certificateId = {\r\n parameterPath: \"certificateId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"certificateId\",\r\n constraints: {\r\n MaxLength: 80,\r\n MinLength: 1,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var commentId = {\r\n parameterPath: \"commentId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"commentId\",\r\n constraints: {\r\n MaxLength: 256,\r\n MinLength: 1,\r\n Pattern: /^[^*#&+:<>?]+$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var configurationName = {\r\n parameterPath: \"configurationName\",\r\n mapper: {\r\n required: true,\r\n isConstant: true,\r\n serializedName: \"configurationName\",\r\n defaultValue: 'configuration',\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var deleteRevisions = {\r\n parameterPath: [\r\n \"options\",\r\n \"deleteRevisions\"\r\n ],\r\n mapper: {\r\n serializedName: \"deleteRevisions\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n};\r\nexport var deleteSubscriptions = {\r\n parameterPath: [\r\n \"options\",\r\n \"deleteSubscriptions\"\r\n ],\r\n mapper: {\r\n serializedName: \"deleteSubscriptions\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n};\r\nexport var diagnosticId = {\r\n parameterPath: \"diagnosticId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"diagnosticId\",\r\n constraints: {\r\n MaxLength: 80,\r\n MinLength: 1,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var email = {\r\n parameterPath: \"email\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"email\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var expandApiVersionSet = {\r\n parameterPath: [\r\n \"options\",\r\n \"expandApiVersionSet\"\r\n ],\r\n mapper: {\r\n serializedName: \"expandApiVersionSet\",\r\n defaultValue: false,\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n};\r\nexport var expandGroups = {\r\n parameterPath: [\r\n \"options\",\r\n \"expandGroups\"\r\n ],\r\n mapper: {\r\n serializedName: \"expandGroups\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n};\r\nexport var exportParameter = {\r\n parameterPath: \"exportParameter\",\r\n mapper: {\r\n required: true,\r\n isConstant: true,\r\n serializedName: \"export\",\r\n defaultValue: 'true',\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var filter0 = {\r\n parameterPath: [\r\n \"options\",\r\n \"filter\"\r\n ],\r\n mapper: {\r\n serializedName: \"$filter\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var filter1 = {\r\n parameterPath: \"filter\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"$filter\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var format = {\r\n parameterPath: \"format\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"format\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var groupId = {\r\n parameterPath: \"groupId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"groupId\",\r\n constraints: {\r\n MaxLength: 80,\r\n MinLength: 1,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var identityProviderName = {\r\n parameterPath: \"identityProviderName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"identityProviderName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var ifMatch0 = {\r\n parameterPath: \"ifMatch\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"If-Match\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var ifMatch1 = {\r\n parameterPath: [\r\n \"options\",\r\n \"ifMatch\"\r\n ],\r\n mapper: {\r\n serializedName: \"If-Match\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var interval = {\r\n parameterPath: \"interval\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"interval\",\r\n type: {\r\n name: \"TimeSpan\"\r\n }\r\n }\r\n};\r\nexport var issueId = {\r\n parameterPath: \"issueId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"issueId\",\r\n constraints: {\r\n MaxLength: 256,\r\n MinLength: 1,\r\n Pattern: /^[^*#&+:<>?]+$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var locationName = {\r\n parameterPath: \"locationName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"locationName\",\r\n constraints: {\r\n MinLength: 1\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var loggerid = {\r\n parameterPath: \"loggerid\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"loggerid\",\r\n constraints: {\r\n MaxLength: 80,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var nextPageLink = {\r\n parameterPath: \"nextPageLink\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n skipEncoding: true\r\n};\r\nexport var notificationName = {\r\n parameterPath: \"notificationName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"notificationName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var notify = {\r\n parameterPath: [\r\n \"options\",\r\n \"notify\"\r\n ],\r\n mapper: {\r\n serializedName: \"notify\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n};\r\nexport var operationId = {\r\n parameterPath: \"operationId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"operationId\",\r\n constraints: {\r\n MaxLength: 80,\r\n MinLength: 1,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var opid = {\r\n parameterPath: \"opid\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"opid\",\r\n constraints: {\r\n MaxLength: 256,\r\n Pattern: /^[^*#&+:<>?]+$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var policyId = {\r\n parameterPath: \"policyId\",\r\n mapper: {\r\n required: true,\r\n isConstant: true,\r\n serializedName: \"policyId\",\r\n defaultValue: 'policy',\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var productId = {\r\n parameterPath: \"productId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"productId\",\r\n constraints: {\r\n MaxLength: 80,\r\n MinLength: 1,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var propId = {\r\n parameterPath: \"propId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"propId\",\r\n constraints: {\r\n MaxLength: 80,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var quotaCounterKey = {\r\n parameterPath: \"quotaCounterKey\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"quotaCounterKey\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var quotaPeriodKey = {\r\n parameterPath: \"quotaPeriodKey\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"quotaPeriodKey\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var releaseId = {\r\n parameterPath: \"releaseId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"releaseId\",\r\n constraints: {\r\n MaxLength: 80,\r\n MinLength: 1,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var resourceGroupName = {\r\n parameterPath: \"resourceGroupName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"resourceGroupName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var schemaId = {\r\n parameterPath: \"schemaId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"schemaId\",\r\n constraints: {\r\n MaxLength: 80,\r\n MinLength: 1,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var scope = {\r\n parameterPath: [\r\n \"options\",\r\n \"scope\"\r\n ],\r\n mapper: {\r\n serializedName: \"scope\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Tenant\",\r\n \"Product\",\r\n \"Api\",\r\n \"Operation\",\r\n \"All\"\r\n ]\r\n }\r\n }\r\n};\r\nexport var serviceName = {\r\n parameterPath: \"serviceName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"serviceName\",\r\n constraints: {\r\n MaxLength: 50,\r\n MinLength: 1,\r\n Pattern: /^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var sid = {\r\n parameterPath: \"sid\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"sid\",\r\n constraints: {\r\n MaxLength: 80,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var skip = {\r\n parameterPath: [\r\n \"options\",\r\n \"skip\"\r\n ],\r\n mapper: {\r\n serializedName: \"$skip\",\r\n constraints: {\r\n InclusiveMinimum: 0\r\n },\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n};\r\nexport var subscriptionId = {\r\n parameterPath: \"subscriptionId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"subscriptionId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var tagId = {\r\n parameterPath: \"tagId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"tagId\",\r\n constraints: {\r\n MaxLength: 80,\r\n MinLength: 1,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var templateName = {\r\n parameterPath: \"templateName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"templateName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var top = {\r\n parameterPath: [\r\n \"options\",\r\n \"top\"\r\n ],\r\n mapper: {\r\n serializedName: \"$top\",\r\n constraints: {\r\n InclusiveMinimum: 1\r\n },\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n};\r\nexport var uid = {\r\n parameterPath: \"uid\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"uid\",\r\n constraints: {\r\n MaxLength: 80,\r\n MinLength: 1,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var versionSetId = {\r\n parameterPath: \"versionSetId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"versionSetId\",\r\n constraints: {\r\n MaxLength: 80,\r\n MinLength: 1,\r\n Pattern: /(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)/\r\n },\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\n//# sourceMappingURL=parameters.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/policyMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Policy. */\r\nvar Policy = /** @class */ (function () {\r\n /**\r\n * Create a Policy.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function Policy(client) {\r\n this.client = client;\r\n }\r\n Policy.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n Policy.prototype.getEntityTag = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n Policy.prototype.get = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n Policy.prototype.createOrUpdate = function (resourceGroupName, serviceName, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n Policy.prototype.deleteMethod = function (resourceGroupName, serviceName, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n return Policy;\r\n}());\r\nexport { Policy };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.scope,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PolicyCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.policyId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.PolicyGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.policyId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PolicyContract,\r\n headersMapper: Mappers.PolicyGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.policyId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.PolicyContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PolicyContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.PolicyContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.policyId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=policy.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { PolicySnippetsCollection, PolicySnippetContract, CloudError } from \"../models/mappers\";\r\n//# sourceMappingURL=policySnippetsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/policySnippetsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a PolicySnippets. */\r\nvar PolicySnippets = /** @class */ (function () {\r\n /**\r\n * Create a PolicySnippets.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function PolicySnippets(client) {\r\n this.client = client;\r\n }\r\n PolicySnippets.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n return PolicySnippets;\r\n}());\r\nexport { PolicySnippets };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policySnippets\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.scope,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PolicySnippetsCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=policySnippets.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { RegionListResult, RegionContract, CloudError } from \"../models/mappers\";\r\n//# sourceMappingURL=regionsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/regionsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Regions. */\r\nvar Regions = /** @class */ (function () {\r\n /**\r\n * Create a Regions.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function Regions(client) {\r\n this.client = client;\r\n }\r\n Regions.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n Regions.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return Regions;\r\n}());\r\nexport { Regions };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/regions\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RegionListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RegionListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=regions.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { ApiCollection, ApiContract, Resource, BaseResource, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ErrorResponse, ErrorFieldContract, ApiGetEntityTagHeaders, ApiGetHeaders, ApiCreateOrUpdateParameter, ApiCreateOrUpdatePropertiesWsdlSelector, ApiCreateOrUpdateHeaders, ApiUpdateContract, TagResourceCollection, TagResourceContract, TagTagResourceContractProperties, ApiTagResourceContractProperties, ApiEntityBaseContract, OperationTagResourceContractProperties, ProductTagResourceContractProperties, ProductEntityBaseParameters, CloudError, PolicyContract, ApiContractProperties, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=apiMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Api. */\r\nvar Api = /** @class */ (function () {\r\n /**\r\n * Create a Api.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function Api(client) {\r\n this.client = client;\r\n }\r\n Api.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n Api.prototype.getEntityTag = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n Api.prototype.get = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n Api.prototype.createOrUpdate = function (resourceGroupName, serviceName, apiId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n Api.prototype.update = function (resourceGroupName, serviceName, apiId, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n Api.prototype.deleteMethod = function (resourceGroupName, serviceName, apiId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n Api.prototype.listByTags = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByTagsOperationSpec, callback);\r\n };\r\n Api.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n Api.prototype.listByTagsNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByTagsNextOperationSpec, callback);\r\n };\r\n return Api;\r\n}());\r\nexport { Api };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion,\r\n Parameters.expandApiVersionSet\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.ApiGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiContract,\r\n headersMapper: Mappers.ApiGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ApiCreateOrUpdateParameter, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiContract,\r\n headersMapper: Mappers.ApiCreateOrUpdateHeaders\r\n },\r\n 201: {\r\n bodyMapper: Mappers.ApiContract,\r\n headersMapper: Mappers.ApiCreateOrUpdateHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ApiUpdateContract, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.deleteRevisions,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByTagsOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apisByTags\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagResourceCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByTagsNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagResourceCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=api.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { ApiRevisionCollection, ApiRevisionContract, ErrorResponse, ErrorFieldContract } from \"../models/mappers\";\r\n//# sourceMappingURL=apiRevisionsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiRevisionsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiRevisions. */\r\nvar ApiRevisions = /** @class */ (function () {\r\n /**\r\n * Create a ApiRevisions.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiRevisions(client) {\r\n this.client = client;\r\n }\r\n ApiRevisions.prototype.list = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n ApiRevisions.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ApiRevisions;\r\n}());\r\nexport { ApiRevisions };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/revisions\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.apiId1\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiRevisionCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiRevisionCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiRevisions.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { ApiReleaseCollection, ApiReleaseContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, ApiReleaseGetEntityTagHeaders, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=apiReleaseMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiReleaseMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiRelease. */\r\nvar ApiRelease = /** @class */ (function () {\r\n /**\r\n * Create a ApiRelease.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiRelease(client) {\r\n this.client = client;\r\n }\r\n ApiRelease.prototype.list = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n ApiRelease.prototype.getEntityTag = function (resourceGroupName, serviceName, apiId, releaseId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n releaseId: releaseId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n ApiRelease.prototype.get = function (resourceGroupName, serviceName, apiId, releaseId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n releaseId: releaseId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ApiRelease.prototype.create = function (resourceGroupName, serviceName, apiId, releaseId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n releaseId: releaseId,\r\n parameters: parameters,\r\n options: options\r\n }, createOperationSpec, callback);\r\n };\r\n ApiRelease.prototype.update = function (resourceGroupName, serviceName, apiId, releaseId, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n releaseId: releaseId,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n ApiRelease.prototype.deleteMethod = function (resourceGroupName, serviceName, apiId, releaseId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n releaseId: releaseId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n ApiRelease.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ApiRelease;\r\n}());\r\nexport { ApiRelease };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiReleaseCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.apiId1,\r\n Parameters.releaseId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.ApiReleaseGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.apiId1,\r\n Parameters.releaseId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiReleaseContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.apiId1,\r\n Parameters.releaseId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ApiReleaseContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiReleaseContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.ApiReleaseContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.apiId1,\r\n Parameters.releaseId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ApiReleaseContract, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.apiId1,\r\n Parameters.releaseId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiReleaseCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiRelease.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { OperationCollection, OperationContract, Resource, BaseResource, ParameterContract, RequestContract, RepresentationContract, ResponseContract, ErrorResponse, ErrorFieldContract, ApiOperationGetEntityTagHeaders, ApiOperationGetHeaders, OperationUpdateContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=apiOperationMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiOperationMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiOperation. */\r\nvar ApiOperation = /** @class */ (function () {\r\n /**\r\n * Create a ApiOperation.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiOperation(client) {\r\n this.client = client;\r\n }\r\n ApiOperation.prototype.listByApi = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, listByApiOperationSpec, callback);\r\n };\r\n ApiOperation.prototype.getEntityTag = function (resourceGroupName, serviceName, apiId, operationId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n ApiOperation.prototype.get = function (resourceGroupName, serviceName, apiId, operationId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ApiOperation.prototype.createOrUpdate = function (resourceGroupName, serviceName, apiId, operationId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n ApiOperation.prototype.update = function (resourceGroupName, serviceName, apiId, operationId, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n ApiOperation.prototype.deleteMethod = function (resourceGroupName, serviceName, apiId, operationId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n ApiOperation.prototype.listByApiNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByApiNextOperationSpec, callback);\r\n };\r\n return ApiOperation;\r\n}());\r\nexport { ApiOperation };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByApiOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OperationCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.ApiOperationGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OperationContract,\r\n headersMapper: Mappers.ApiOperationGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.OperationContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OperationContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.OperationContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.OperationUpdateContract, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByApiNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OperationCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiOperation.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { PolicyCollection, PolicyContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, ApiOperationPolicyGetEntityTagHeaders, ApiOperationPolicyGetHeaders, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=apiOperationPolicyMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiOperationPolicyMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiOperationPolicy. */\r\nvar ApiOperationPolicy = /** @class */ (function () {\r\n /**\r\n * Create a ApiOperationPolicy.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiOperationPolicy(client) {\r\n this.client = client;\r\n }\r\n ApiOperationPolicy.prototype.listByOperation = function (resourceGroupName, serviceName, apiId, operationId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n options: options\r\n }, listByOperationOperationSpec, callback);\r\n };\r\n ApiOperationPolicy.prototype.getEntityTag = function (resourceGroupName, serviceName, apiId, operationId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n ApiOperationPolicy.prototype.get = function (resourceGroupName, serviceName, apiId, operationId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ApiOperationPolicy.prototype.createOrUpdate = function (resourceGroupName, serviceName, apiId, operationId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n ApiOperationPolicy.prototype.deleteMethod = function (resourceGroupName, serviceName, apiId, operationId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n return ApiOperationPolicy;\r\n}());\r\nexport { ApiOperationPolicy };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByOperationOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PolicyCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.policyId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.ApiOperationPolicyGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.policyId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PolicyContract,\r\n headersMapper: Mappers.ApiOperationPolicyGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.policyId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.PolicyContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PolicyContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.PolicyContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.policyId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiOperationPolicy.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { ProductCollection, ProductContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=apiProductMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiProductMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiProduct. */\r\nvar ApiProduct = /** @class */ (function () {\r\n /**\r\n * Create a ApiProduct.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiProduct(client) {\r\n this.client = client;\r\n }\r\n ApiProduct.prototype.listByApis = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, listByApisOperationSpec, callback);\r\n };\r\n ApiProduct.prototype.listByApisNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByApisNextOperationSpec, callback);\r\n };\r\n return ApiProduct;\r\n}());\r\nexport { ApiProduct };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByApisOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/products\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProductCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByApisNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProductCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiProduct.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { PolicyCollection, PolicyContract, Resource, BaseResource, ApiPolicyListByApiHeaders, ErrorResponse, ErrorFieldContract, ApiPolicyGetEntityTagHeaders, ApiPolicyGetHeaders, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=apiPolicyMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiPolicyMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiPolicy. */\r\nvar ApiPolicy = /** @class */ (function () {\r\n /**\r\n * Create a ApiPolicy.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiPolicy(client) {\r\n this.client = client;\r\n }\r\n ApiPolicy.prototype.listByApi = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, listByApiOperationSpec, callback);\r\n };\r\n ApiPolicy.prototype.getEntityTag = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n ApiPolicy.prototype.get = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ApiPolicy.prototype.createOrUpdate = function (resourceGroupName, serviceName, apiId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n ApiPolicy.prototype.deleteMethod = function (resourceGroupName, serviceName, apiId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n return ApiPolicy;\r\n}());\r\nexport { ApiPolicy };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByApiOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PolicyCollection,\r\n headersMapper: Mappers.ApiPolicyListByApiHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.policyId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.ApiPolicyGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.policyId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PolicyContract,\r\n headersMapper: Mappers.ApiPolicyGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.policyId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.PolicyContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PolicyContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.PolicyContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.policyId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiPolicy.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { SchemaCollection, SchemaContract, Resource, BaseResource, ApiSchemaListByApiHeaders, ErrorResponse, ErrorFieldContract, ApiSchemaGetEntityTagHeaders, ApiSchemaGetHeaders, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=apiSchemaMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiSchemaMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiSchema. */\r\nvar ApiSchema = /** @class */ (function () {\r\n /**\r\n * Create a ApiSchema.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiSchema(client) {\r\n this.client = client;\r\n }\r\n ApiSchema.prototype.listByApi = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, listByApiOperationSpec, callback);\r\n };\r\n ApiSchema.prototype.getEntityTag = function (resourceGroupName, serviceName, apiId, schemaId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n schemaId: schemaId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n ApiSchema.prototype.get = function (resourceGroupName, serviceName, apiId, schemaId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n schemaId: schemaId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ApiSchema.prototype.createOrUpdate = function (resourceGroupName, serviceName, apiId, schemaId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n schemaId: schemaId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n ApiSchema.prototype.deleteMethod = function (resourceGroupName, serviceName, apiId, schemaId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n schemaId: schemaId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n ApiSchema.prototype.listByApiNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByApiNextOperationSpec, callback);\r\n };\r\n return ApiSchema;\r\n}());\r\nexport { ApiSchema };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByApiOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.SchemaCollection,\r\n headersMapper: Mappers.ApiSchemaListByApiHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.schemaId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.ApiSchemaGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.schemaId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.SchemaContract,\r\n headersMapper: Mappers.ApiSchemaGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.schemaId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.SchemaContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.SchemaContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.SchemaContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.schemaId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByApiNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.SchemaCollection,\r\n headersMapper: Mappers.ApiSchemaListByApiHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiSchema.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { DiagnosticCollection, DiagnosticContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, ApiDiagnosticGetEntityTagHeaders, ApiDiagnosticGetHeaders, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=apiDiagnosticMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiDiagnosticMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiDiagnostic. */\r\nvar ApiDiagnostic = /** @class */ (function () {\r\n /**\r\n * Create a ApiDiagnostic.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiDiagnostic(client) {\r\n this.client = client;\r\n }\r\n ApiDiagnostic.prototype.listByService = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n ApiDiagnostic.prototype.getEntityTag = function (resourceGroupName, serviceName, apiId, diagnosticId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n diagnosticId: diagnosticId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n ApiDiagnostic.prototype.get = function (resourceGroupName, serviceName, apiId, diagnosticId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n diagnosticId: diagnosticId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ApiDiagnostic.prototype.createOrUpdate = function (resourceGroupName, serviceName, apiId, diagnosticId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n diagnosticId: diagnosticId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n ApiDiagnostic.prototype.update = function (resourceGroupName, serviceName, apiId, diagnosticId, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n diagnosticId: diagnosticId,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n ApiDiagnostic.prototype.deleteMethod = function (resourceGroupName, serviceName, apiId, diagnosticId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n diagnosticId: diagnosticId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n ApiDiagnostic.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return ApiDiagnostic;\r\n}());\r\nexport { ApiDiagnostic };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.DiagnosticCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.diagnosticId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.ApiDiagnosticGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.diagnosticId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.DiagnosticContract,\r\n headersMapper: Mappers.ApiDiagnosticGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.diagnosticId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.DiagnosticContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.DiagnosticContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.DiagnosticContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.diagnosticId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.DiagnosticContract, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.diagnosticId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.DiagnosticCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiDiagnostic.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { LoggerCollection, LoggerContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=apiDiagnosticLoggerMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiDiagnosticLoggerMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiDiagnosticLogger. */\r\nvar ApiDiagnosticLogger = /** @class */ (function () {\r\n /**\r\n * Create a ApiDiagnosticLogger.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiDiagnosticLogger(client) {\r\n this.client = client;\r\n }\r\n ApiDiagnosticLogger.prototype.listByService = function (resourceGroupName, serviceName, apiId, diagnosticId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n diagnosticId: diagnosticId,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n ApiDiagnosticLogger.prototype.checkEntityExists = function (resourceGroupName, serviceName, apiId, diagnosticId, loggerid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n diagnosticId: diagnosticId,\r\n loggerid: loggerid,\r\n options: options\r\n }, checkEntityExistsOperationSpec, callback);\r\n };\r\n ApiDiagnosticLogger.prototype.createOrUpdate = function (resourceGroupName, serviceName, apiId, diagnosticId, loggerid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n diagnosticId: diagnosticId,\r\n loggerid: loggerid,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n ApiDiagnosticLogger.prototype.deleteMethod = function (resourceGroupName, serviceName, apiId, diagnosticId, loggerid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n diagnosticId: diagnosticId,\r\n loggerid: loggerid,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n ApiDiagnosticLogger.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return ApiDiagnosticLogger;\r\n}());\r\nexport { ApiDiagnosticLogger };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.subscriptionId,\r\n Parameters.diagnosticId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.LoggerCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar checkEntityExistsOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers/{loggerid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.diagnosticId,\r\n Parameters.loggerid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 204: {},\r\n 404: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers/{loggerid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.diagnosticId,\r\n Parameters.loggerid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.LoggerContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.LoggerContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers/{loggerid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.diagnosticId,\r\n Parameters.loggerid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.LoggerCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiDiagnosticLogger.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { IssueCollection, IssueContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, ApiIssueGetEntityTagHeaders, ApiIssueGetHeaders, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=apiIssueMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiIssueMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiIssue. */\r\nvar ApiIssue = /** @class */ (function () {\r\n /**\r\n * Create a ApiIssue.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiIssue(client) {\r\n this.client = client;\r\n }\r\n ApiIssue.prototype.listByService = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n ApiIssue.prototype.getEntityTag = function (resourceGroupName, serviceName, apiId, issueId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n issueId: issueId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n ApiIssue.prototype.get = function (resourceGroupName, serviceName, apiId, issueId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n issueId: issueId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ApiIssue.prototype.createOrUpdate = function (resourceGroupName, serviceName, apiId, issueId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n issueId: issueId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n ApiIssue.prototype.deleteMethod = function (resourceGroupName, serviceName, apiId, issueId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n issueId: issueId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n ApiIssue.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return ApiIssue;\r\n}());\r\nexport { ApiIssue };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IssueCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.issueId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.ApiIssueGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.issueId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IssueContract,\r\n headersMapper: Mappers.ApiIssueGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.issueId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.IssueContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IssueContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.IssueContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.issueId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IssueCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiIssue.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { IssueCommentCollection, IssueCommentContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, ApiIssueCommentGetEntityTagHeaders, ApiIssueCommentGetHeaders, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=apiIssueCommentMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiIssueCommentMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiIssueComment. */\r\nvar ApiIssueComment = /** @class */ (function () {\r\n /**\r\n * Create a ApiIssueComment.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiIssueComment(client) {\r\n this.client = client;\r\n }\r\n ApiIssueComment.prototype.listByService = function (resourceGroupName, serviceName, apiId, issueId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n issueId: issueId,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n ApiIssueComment.prototype.getEntityTag = function (resourceGroupName, serviceName, apiId, issueId, commentId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n issueId: issueId,\r\n commentId: commentId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n ApiIssueComment.prototype.get = function (resourceGroupName, serviceName, apiId, issueId, commentId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n issueId: issueId,\r\n commentId: commentId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ApiIssueComment.prototype.createOrUpdate = function (resourceGroupName, serviceName, apiId, issueId, commentId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n issueId: issueId,\r\n commentId: commentId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n ApiIssueComment.prototype.deleteMethod = function (resourceGroupName, serviceName, apiId, issueId, commentId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n issueId: issueId,\r\n commentId: commentId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n ApiIssueComment.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return ApiIssueComment;\r\n}());\r\nexport { ApiIssueComment };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.issueId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IssueCommentCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.issueId,\r\n Parameters.commentId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.ApiIssueCommentGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.issueId,\r\n Parameters.commentId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IssueCommentContract,\r\n headersMapper: Mappers.ApiIssueCommentGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.issueId,\r\n Parameters.commentId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.IssueCommentContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IssueCommentContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.IssueCommentContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.issueId,\r\n Parameters.commentId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IssueCommentCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiIssueComment.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { IssueAttachmentCollection, IssueAttachmentContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, ApiIssueAttachmentGetEntityTagHeaders, ApiIssueAttachmentGetHeaders, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=apiIssueAttachmentMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiIssueAttachmentMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiIssueAttachment. */\r\nvar ApiIssueAttachment = /** @class */ (function () {\r\n /**\r\n * Create a ApiIssueAttachment.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiIssueAttachment(client) {\r\n this.client = client;\r\n }\r\n ApiIssueAttachment.prototype.listByService = function (resourceGroupName, serviceName, apiId, issueId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n issueId: issueId,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n ApiIssueAttachment.prototype.getEntityTag = function (resourceGroupName, serviceName, apiId, issueId, attachmentId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n issueId: issueId,\r\n attachmentId: attachmentId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n ApiIssueAttachment.prototype.get = function (resourceGroupName, serviceName, apiId, issueId, attachmentId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n issueId: issueId,\r\n attachmentId: attachmentId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ApiIssueAttachment.prototype.createOrUpdate = function (resourceGroupName, serviceName, apiId, issueId, attachmentId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n issueId: issueId,\r\n attachmentId: attachmentId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n ApiIssueAttachment.prototype.deleteMethod = function (resourceGroupName, serviceName, apiId, issueId, attachmentId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n issueId: issueId,\r\n attachmentId: attachmentId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n ApiIssueAttachment.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return ApiIssueAttachment;\r\n}());\r\nexport { ApiIssueAttachment };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.issueId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IssueAttachmentCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.issueId,\r\n Parameters.attachmentId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.ApiIssueAttachmentGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.issueId,\r\n Parameters.attachmentId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IssueAttachmentContract,\r\n headersMapper: Mappers.ApiIssueAttachmentGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.issueId,\r\n Parameters.attachmentId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.IssueAttachmentContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IssueAttachmentContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.IssueAttachmentContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId1,\r\n Parameters.issueId,\r\n Parameters.attachmentId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IssueAttachmentCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiIssueAttachment.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { AuthorizationServerCollection, AuthorizationServerContract, Resource, BaseResource, TokenBodyParameterContract, CloudError, AuthorizationServerGetEntityTagHeaders, ErrorResponse, ErrorFieldContract, AuthorizationServerGetHeaders, AuthorizationServerUpdateContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=authorizationServerMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/authorizationServerMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a AuthorizationServer. */\r\nvar AuthorizationServer = /** @class */ (function () {\r\n /**\r\n * Create a AuthorizationServer.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function AuthorizationServer(client) {\r\n this.client = client;\r\n }\r\n AuthorizationServer.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n AuthorizationServer.prototype.getEntityTag = function (resourceGroupName, serviceName, authsid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n authsid: authsid,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n AuthorizationServer.prototype.get = function (resourceGroupName, serviceName, authsid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n authsid: authsid,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n AuthorizationServer.prototype.createOrUpdate = function (resourceGroupName, serviceName, authsid, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n authsid: authsid,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n AuthorizationServer.prototype.update = function (resourceGroupName, serviceName, authsid, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n authsid: authsid,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n AuthorizationServer.prototype.deleteMethod = function (resourceGroupName, serviceName, authsid, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n authsid: authsid,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n AuthorizationServer.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return AuthorizationServer;\r\n}());\r\nexport { AuthorizationServer };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.AuthorizationServerCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.authsid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.AuthorizationServerGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.authsid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.AuthorizationServerContract,\r\n headersMapper: Mappers.AuthorizationServerGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.authsid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.AuthorizationServerContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.AuthorizationServerContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.AuthorizationServerContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.authsid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.AuthorizationServerUpdateContract, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.authsid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.AuthorizationServerCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=authorizationServer.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { BackendCollection, BackendContract, Resource, BaseResource, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, ErrorResponse, ErrorFieldContract, BackendGetEntityTagHeaders, BackendGetHeaders, BackendUpdateParameters, BackendReconnectContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=backendMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/backendMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Backend. */\r\nvar Backend = /** @class */ (function () {\r\n /**\r\n * Create a Backend.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function Backend(client) {\r\n this.client = client;\r\n }\r\n Backend.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n Backend.prototype.getEntityTag = function (resourceGroupName, serviceName, backendid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n backendid: backendid,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n Backend.prototype.get = function (resourceGroupName, serviceName, backendid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n backendid: backendid,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n Backend.prototype.createOrUpdate = function (resourceGroupName, serviceName, backendid, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n backendid: backendid,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n Backend.prototype.update = function (resourceGroupName, serviceName, backendid, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n backendid: backendid,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n Backend.prototype.deleteMethod = function (resourceGroupName, serviceName, backendid, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n backendid: backendid,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n Backend.prototype.reconnect = function (resourceGroupName, serviceName, backendid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n backendid: backendid,\r\n options: options\r\n }, reconnectOperationSpec, callback);\r\n };\r\n Backend.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return Backend;\r\n}());\r\nexport { Backend };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.BackendCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.backendid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.BackendGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.backendid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.BackendContract,\r\n headersMapper: Mappers.BackendGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.backendid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.BackendContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.BackendContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.BackendContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.backendid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.BackendUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.backendid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar reconnectOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}/reconnect\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.backendid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: [\r\n \"options\",\r\n \"parameters\"\r\n ],\r\n mapper: Mappers.BackendReconnectContract\r\n },\r\n responses: {\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.BackendCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=backend.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { CertificateCollection, CertificateContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, CertificateGetEntityTagHeaders, CertificateGetHeaders, CertificateCreateOrUpdateParameters, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=certificateMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/certificateMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Certificate. */\r\nvar Certificate = /** @class */ (function () {\r\n /**\r\n * Create a Certificate.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function Certificate(client) {\r\n this.client = client;\r\n }\r\n Certificate.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n Certificate.prototype.getEntityTag = function (resourceGroupName, serviceName, certificateId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n certificateId: certificateId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n Certificate.prototype.get = function (resourceGroupName, serviceName, certificateId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n certificateId: certificateId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n Certificate.prototype.createOrUpdate = function (resourceGroupName, serviceName, certificateId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n certificateId: certificateId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n Certificate.prototype.deleteMethod = function (resourceGroupName, serviceName, certificateId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n certificateId: certificateId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n Certificate.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return Certificate;\r\n}());\r\nexport { Certificate };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.CertificateCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.certificateId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.CertificateGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.certificateId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.CertificateContract,\r\n headersMapper: Mappers.CertificateGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.certificateId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.CertificateCreateOrUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.CertificateContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.CertificateContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.certificateId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.CertificateCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=certificate.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { OperationListResult, Operation, OperationDisplay, CloudError } from \"../models/mappers\";\r\n//# sourceMappingURL=apiManagementOperationsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiManagementOperationsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiManagementOperations. */\r\nvar ApiManagementOperations = /** @class */ (function () {\r\n /**\r\n * Create a ApiManagementOperations.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiManagementOperations(client) {\r\n this.client = client;\r\n }\r\n ApiManagementOperations.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n ApiManagementOperations.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ApiManagementOperations;\r\n}());\r\nexport { ApiManagementOperations };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"providers/Microsoft.ApiManagement/operations\",\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OperationListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OperationListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiManagementOperations.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { ApiManagementServiceBackupRestoreParameters, ApiManagementServiceResource, ApimResource, BaseResource, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, CloudError, ApiManagementServiceUpdateParameters, ApiManagementServiceListResult, ApiManagementServiceGetSsoTokenResult, ApiManagementServiceCheckNameAvailabilityParameters, ApiManagementServiceNameAvailabilityResult, ApiManagementServiceApplyNetworkConfigurationParameters, ApiManagementServiceUploadCertificateParameters, ApiManagementServiceUpdateHostnameParameters, HostnameConfigurationOld, Resource, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, PolicyContract } from \"../models/mappers\";\r\n//# sourceMappingURL=apiManagementServiceMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiManagementServiceMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiManagementService. */\r\nvar ApiManagementService = /** @class */ (function () {\r\n /**\r\n * Create a ApiManagementService.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiManagementService(client) {\r\n this.client = client;\r\n }\r\n /**\r\n * Restores a backup of an API Management service created using the ApiManagementService_Backup\r\n * operation on the current service. This is a long running operation and could take several\r\n * minutes to complete.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Parameters supplied to the Restore API Management service from backup\r\n * operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ApiManagementService.prototype.restore = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.beginRestore(resourceGroupName, serviceName, parameters, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Creates a backup of the API Management service to the given Azure Storage Account. This is long\r\n * running operation and could take several minutes to complete.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Parameters supplied to the ApiManagementService_Backup operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ApiManagementService.prototype.backup = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.beginBackup(resourceGroupName, serviceName, parameters, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Creates or updates an API Management service. This is long running operation and could take\r\n * several minutes to complete.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Parameters supplied to the CreateOrUpdate API Management service operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ApiManagementService.prototype.createOrUpdate = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.beginCreateOrUpdate(resourceGroupName, serviceName, parameters, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Updates an existing API Management service.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Parameters supplied to the CreateOrUpdate API Management service operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ApiManagementService.prototype.update = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.beginUpdate(resourceGroupName, serviceName, parameters, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n ApiManagementService.prototype.get = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ApiManagementService.prototype.deleteMethod = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n ApiManagementService.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n options: options\r\n }, listByResourceGroupOperationSpec, callback);\r\n };\r\n ApiManagementService.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n ApiManagementService.prototype.getSsoToken = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, getSsoTokenOperationSpec, callback);\r\n };\r\n ApiManagementService.prototype.checkNameAvailability = function (parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n parameters: parameters,\r\n options: options\r\n }, checkNameAvailabilityOperationSpec, callback);\r\n };\r\n /**\r\n * Updates the Microsoft.ApiManagement resource running in the Virtual network to pick the updated\r\n * network settings.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ApiManagementService.prototype.applyNetworkConfigurationUpdates = function (resourceGroupName, serviceName, options) {\r\n return this.beginApplyNetworkConfigurationUpdates(resourceGroupName, serviceName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n ApiManagementService.prototype.uploadCertificate = function (resourceGroupName, serviceName, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n options: options\r\n }, uploadCertificateOperationSpec, callback);\r\n };\r\n /**\r\n * Creates, updates, or deletes the custom hostnames for an API Management service. The custom\r\n * hostname can be applied to the Proxy and Portal endpoint. This is a long running operation and\r\n * could take several minutes to complete. This operation will be deprecated in the next version\r\n * update.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Parameters supplied to the UpdateHostname operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ApiManagementService.prototype.updateHostname = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.beginUpdateHostname(resourceGroupName, serviceName, parameters, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Restores a backup of an API Management service created using the ApiManagementService_Backup\r\n * operation on the current service. This is a long running operation and could take several\r\n * minutes to complete.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Parameters supplied to the Restore API Management service from backup\r\n * operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ApiManagementService.prototype.beginRestore = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n options: options\r\n }, beginRestoreOperationSpec, options);\r\n };\r\n /**\r\n * Creates a backup of the API Management service to the given Azure Storage Account. This is long\r\n * running operation and could take several minutes to complete.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Parameters supplied to the ApiManagementService_Backup operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ApiManagementService.prototype.beginBackup = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n options: options\r\n }, beginBackupOperationSpec, options);\r\n };\r\n /**\r\n * Creates or updates an API Management service. This is long running operation and could take\r\n * several minutes to complete.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Parameters supplied to the CreateOrUpdate API Management service operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ApiManagementService.prototype.beginCreateOrUpdate = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n options: options\r\n }, beginCreateOrUpdateOperationSpec, options);\r\n };\r\n /**\r\n * Updates an existing API Management service.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Parameters supplied to the CreateOrUpdate API Management service operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ApiManagementService.prototype.beginUpdate = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n options: options\r\n }, beginUpdateOperationSpec, options);\r\n };\r\n /**\r\n * Updates the Microsoft.ApiManagement resource running in the Virtual network to pick the updated\r\n * network settings.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ApiManagementService.prototype.beginApplyNetworkConfigurationUpdates = function (resourceGroupName, serviceName, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, beginApplyNetworkConfigurationUpdatesOperationSpec, options);\r\n };\r\n /**\r\n * Creates, updates, or deletes the custom hostnames for an API Management service. The custom\r\n * hostname can be applied to the Proxy and Portal endpoint. This is a long running operation and\r\n * could take several minutes to complete. This operation will be deprecated in the next version\r\n * update.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Parameters supplied to the UpdateHostname operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ApiManagementService.prototype.beginUpdateHostname = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n options: options\r\n }, beginUpdateHostnameOperationSpec, options);\r\n };\r\n ApiManagementService.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByResourceGroupNextOperationSpec, callback);\r\n };\r\n ApiManagementService.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ApiManagementService;\r\n}());\r\nexport { ApiManagementService };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiManagementServiceResource\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByResourceGroupOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiManagementServiceListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/service\",\r\n urlParameters: [\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiManagementServiceListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getSsoTokenOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/getssotoken\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiManagementServiceGetSsoTokenResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar checkNameAvailabilityOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/checkNameAvailability\",\r\n urlParameters: [\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ApiManagementServiceCheckNameAvailabilityParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiManagementServiceNameAvailabilityResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar uploadCertificateOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/updatecertificate\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ApiManagementServiceUploadCertificateParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.CertificateInformation\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginRestoreOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/restore\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ApiManagementServiceBackupRestoreParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiManagementServiceResource\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginBackupOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backup\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ApiManagementServiceBackupRestoreParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiManagementServiceResource\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginCreateOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ApiManagementServiceResource, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiManagementServiceResource\r\n },\r\n 201: {\r\n bodyMapper: Mappers.ApiManagementServiceResource\r\n },\r\n 202: {\r\n bodyMapper: Mappers.ApiManagementServiceResource\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginUpdateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ApiManagementServiceUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiManagementServiceResource\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginApplyNetworkConfigurationUpdatesOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/applynetworkconfigurationupdates\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: [\r\n \"options\",\r\n \"parameters\"\r\n ],\r\n mapper: Mappers.ApiManagementServiceApplyNetworkConfigurationParameters\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiManagementServiceResource\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginUpdateHostnameOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/updatehostname\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ApiManagementServiceUpdateHostnameParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiManagementServiceResource\r\n },\r\n 202: {\r\n bodyMapper: Mappers.ApiManagementServiceResource\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByResourceGroupNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiManagementServiceListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiManagementServiceListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiManagementService.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { DiagnosticCollection, DiagnosticContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, DiagnosticGetEntityTagHeaders, DiagnosticGetHeaders, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=diagnosticMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/diagnosticMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Diagnostic. */\r\nvar Diagnostic = /** @class */ (function () {\r\n /**\r\n * Create a Diagnostic.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function Diagnostic(client) {\r\n this.client = client;\r\n }\r\n Diagnostic.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n Diagnostic.prototype.getEntityTag = function (resourceGroupName, serviceName, diagnosticId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n diagnosticId: diagnosticId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n Diagnostic.prototype.get = function (resourceGroupName, serviceName, diagnosticId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n diagnosticId: diagnosticId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n Diagnostic.prototype.createOrUpdate = function (resourceGroupName, serviceName, diagnosticId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n diagnosticId: diagnosticId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n Diagnostic.prototype.update = function (resourceGroupName, serviceName, diagnosticId, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n diagnosticId: diagnosticId,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n Diagnostic.prototype.deleteMethod = function (resourceGroupName, serviceName, diagnosticId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n diagnosticId: diagnosticId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n Diagnostic.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return Diagnostic;\r\n}());\r\nexport { Diagnostic };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.DiagnosticCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.diagnosticId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.DiagnosticGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.diagnosticId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.DiagnosticContract,\r\n headersMapper: Mappers.DiagnosticGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.diagnosticId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.DiagnosticContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.DiagnosticContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.DiagnosticContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.diagnosticId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.DiagnosticContract, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.diagnosticId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.DiagnosticCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=diagnostic.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { LoggerCollection, LoggerContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=diagnosticLoggerMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/diagnosticLoggerMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a DiagnosticLogger. */\r\nvar DiagnosticLogger = /** @class */ (function () {\r\n /**\r\n * Create a DiagnosticLogger.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function DiagnosticLogger(client) {\r\n this.client = client;\r\n }\r\n DiagnosticLogger.prototype.listByService = function (resourceGroupName, serviceName, diagnosticId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n diagnosticId: diagnosticId,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n DiagnosticLogger.prototype.checkEntityExists = function (resourceGroupName, serviceName, diagnosticId, loggerid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n diagnosticId: diagnosticId,\r\n loggerid: loggerid,\r\n options: options\r\n }, checkEntityExistsOperationSpec, callback);\r\n };\r\n DiagnosticLogger.prototype.createOrUpdate = function (resourceGroupName, serviceName, diagnosticId, loggerid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n diagnosticId: diagnosticId,\r\n loggerid: loggerid,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n DiagnosticLogger.prototype.deleteMethod = function (resourceGroupName, serviceName, diagnosticId, loggerid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n diagnosticId: diagnosticId,\r\n loggerid: loggerid,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n DiagnosticLogger.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return DiagnosticLogger;\r\n}());\r\nexport { DiagnosticLogger };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.diagnosticId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.LoggerCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar checkEntityExistsOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers/{loggerid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.diagnosticId,\r\n Parameters.loggerid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 204: {},\r\n 404: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers/{loggerid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.diagnosticId,\r\n Parameters.loggerid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.LoggerContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.LoggerContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers/{loggerid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.diagnosticId,\r\n Parameters.loggerid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.LoggerCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=diagnosticLogger.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { EmailTemplateCollection, EmailTemplateContract, Resource, BaseResource, EmailTemplateParametersContractProperties, CloudError, EmailTemplateGetEntityTagHeaders, ErrorResponse, ErrorFieldContract, EmailTemplateGetHeaders, EmailTemplateUpdateParameters, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=emailTemplateMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/emailTemplateMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a EmailTemplate. */\r\nvar EmailTemplate = /** @class */ (function () {\r\n /**\r\n * Create a EmailTemplate.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function EmailTemplate(client) {\r\n this.client = client;\r\n }\r\n EmailTemplate.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n EmailTemplate.prototype.getEntityTag = function (resourceGroupName, serviceName, templateName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n templateName: templateName,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n EmailTemplate.prototype.get = function (resourceGroupName, serviceName, templateName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n templateName: templateName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n EmailTemplate.prototype.createOrUpdate = function (resourceGroupName, serviceName, templateName, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n templateName: templateName,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n EmailTemplate.prototype.update = function (resourceGroupName, serviceName, templateName, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n templateName: templateName,\r\n parameters: parameters,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n EmailTemplate.prototype.deleteMethod = function (resourceGroupName, serviceName, templateName, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n templateName: templateName,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n EmailTemplate.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return EmailTemplate;\r\n}());\r\nexport { EmailTemplate };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.EmailTemplateCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.templateName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.EmailTemplateGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.templateName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.EmailTemplateContract,\r\n headersMapper: Mappers.EmailTemplateGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.templateName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.EmailTemplateUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.EmailTemplateContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.EmailTemplateContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.templateName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.EmailTemplateUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.templateName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.EmailTemplateCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=emailTemplate.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { GroupCollection, GroupContract, Resource, BaseResource, CloudError, GroupGetEntityTagHeaders, ErrorResponse, ErrorFieldContract, GroupGetHeaders, GroupCreateParameters, GroupUpdateParameters, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=groupMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/groupMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Group. */\r\nvar Group = /** @class */ (function () {\r\n /**\r\n * Create a Group.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function Group(client) {\r\n this.client = client;\r\n }\r\n Group.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n Group.prototype.getEntityTag = function (resourceGroupName, serviceName, groupId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n groupId: groupId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n Group.prototype.get = function (resourceGroupName, serviceName, groupId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n groupId: groupId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n Group.prototype.createOrUpdate = function (resourceGroupName, serviceName, groupId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n groupId: groupId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n Group.prototype.update = function (resourceGroupName, serviceName, groupId, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n groupId: groupId,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n Group.prototype.deleteMethod = function (resourceGroupName, serviceName, groupId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n groupId: groupId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n Group.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return Group;\r\n}());\r\nexport { Group };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.GroupCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.groupId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.GroupGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.groupId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.GroupContract,\r\n headersMapper: Mappers.GroupGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.groupId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.GroupCreateParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.GroupContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.GroupContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.groupId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.GroupUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.groupId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.GroupCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=group.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { UserCollection, UserContract, Resource, BaseResource, UserIdentityContract, GroupContractProperties, ErrorResponse, ErrorFieldContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=groupUserMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/groupUserMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a GroupUser. */\r\nvar GroupUser = /** @class */ (function () {\r\n /**\r\n * Create a GroupUser.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function GroupUser(client) {\r\n this.client = client;\r\n }\r\n GroupUser.prototype.list = function (resourceGroupName, serviceName, groupId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n groupId: groupId,\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n GroupUser.prototype.checkEntityExists = function (resourceGroupName, serviceName, groupId, uid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n groupId: groupId,\r\n uid: uid,\r\n options: options\r\n }, checkEntityExistsOperationSpec, callback);\r\n };\r\n GroupUser.prototype.create = function (resourceGroupName, serviceName, groupId, uid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n groupId: groupId,\r\n uid: uid,\r\n options: options\r\n }, createOperationSpec, callback);\r\n };\r\n GroupUser.prototype.deleteMethod = function (resourceGroupName, serviceName, groupId, uid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n groupId: groupId,\r\n uid: uid,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n GroupUser.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return GroupUser;\r\n}());\r\nexport { GroupUser };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.groupId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.UserCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar checkEntityExistsOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{uid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.groupId,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 204: {},\r\n 404: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{uid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.groupId,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.UserContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.UserContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{uid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.groupId,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.UserCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=groupUser.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { IdentityProviderList, IdentityProviderContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, IdentityProviderGetEntityTagHeaders, IdentityProviderGetHeaders, IdentityProviderUpdateParameters, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=identityProviderMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/identityProviderMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a IdentityProvider. */\r\nvar IdentityProvider = /** @class */ (function () {\r\n /**\r\n * Create a IdentityProvider.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function IdentityProvider(client) {\r\n this.client = client;\r\n }\r\n IdentityProvider.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n IdentityProvider.prototype.getEntityTag = function (resourceGroupName, serviceName, identityProviderName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n identityProviderName: identityProviderName,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n IdentityProvider.prototype.get = function (resourceGroupName, serviceName, identityProviderName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n identityProviderName: identityProviderName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n IdentityProvider.prototype.createOrUpdate = function (resourceGroupName, serviceName, identityProviderName, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n identityProviderName: identityProviderName,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n IdentityProvider.prototype.update = function (resourceGroupName, serviceName, identityProviderName, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n identityProviderName: identityProviderName,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n IdentityProvider.prototype.deleteMethod = function (resourceGroupName, serviceName, identityProviderName, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n identityProviderName: identityProviderName,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n IdentityProvider.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return IdentityProvider;\r\n}());\r\nexport { IdentityProvider };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IdentityProviderList\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.identityProviderName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.IdentityProviderGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.identityProviderName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IdentityProviderContract,\r\n headersMapper: Mappers.IdentityProviderGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.identityProviderName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.IdentityProviderContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IdentityProviderContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.IdentityProviderContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.identityProviderName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.IdentityProviderUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.identityProviderName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.IdentityProviderList\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=identityProvider.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { LoggerCollection, LoggerContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, LoggerGetEntityTagHeaders, LoggerGetHeaders, LoggerUpdateContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=loggerMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/loggerMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Logger. */\r\nvar Logger = /** @class */ (function () {\r\n /**\r\n * Create a Logger.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function Logger(client) {\r\n this.client = client;\r\n }\r\n Logger.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n Logger.prototype.getEntityTag = function (resourceGroupName, serviceName, loggerid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n loggerid: loggerid,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n Logger.prototype.get = function (resourceGroupName, serviceName, loggerid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n loggerid: loggerid,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n Logger.prototype.createOrUpdate = function (resourceGroupName, serviceName, loggerid, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n loggerid: loggerid,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n Logger.prototype.update = function (resourceGroupName, serviceName, loggerid, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n loggerid: loggerid,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n Logger.prototype.deleteMethod = function (resourceGroupName, serviceName, loggerid, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n loggerid: loggerid,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n Logger.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return Logger;\r\n}());\r\nexport { Logger };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.LoggerCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.loggerid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.LoggerGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.loggerid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.LoggerContract,\r\n headersMapper: Mappers.LoggerGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.loggerid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.LoggerContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.LoggerContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.LoggerContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.loggerid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.LoggerUpdateContract, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.loggerid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.LoggerCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=logger.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { NotificationCollection, NotificationContract, Resource, BaseResource, RecipientsContractProperties, CloudError, ErrorResponse, ErrorFieldContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=notificationMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/notificationMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Notification. */\r\nvar Notification = /** @class */ (function () {\r\n /**\r\n * Create a Notification.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function Notification(client) {\r\n this.client = client;\r\n }\r\n Notification.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n Notification.prototype.get = function (resourceGroupName, serviceName, notificationName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n notificationName: notificationName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n Notification.prototype.createOrUpdate = function (resourceGroupName, serviceName, notificationName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n notificationName: notificationName,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n Notification.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return Notification;\r\n}());\r\nexport { Notification };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NotificationCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.notificationName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NotificationContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.notificationName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NotificationContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NotificationCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=notification.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { RecipientUserCollection, RecipientUserContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=notificationRecipientUserMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/notificationRecipientUserMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a NotificationRecipientUser. */\r\nvar NotificationRecipientUser = /** @class */ (function () {\r\n /**\r\n * Create a NotificationRecipientUser.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function NotificationRecipientUser(client) {\r\n this.client = client;\r\n }\r\n NotificationRecipientUser.prototype.listByNotification = function (resourceGroupName, serviceName, notificationName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n notificationName: notificationName,\r\n options: options\r\n }, listByNotificationOperationSpec, callback);\r\n };\r\n NotificationRecipientUser.prototype.checkEntityExists = function (resourceGroupName, serviceName, notificationName, uid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n notificationName: notificationName,\r\n uid: uid,\r\n options: options\r\n }, checkEntityExistsOperationSpec, callback);\r\n };\r\n NotificationRecipientUser.prototype.createOrUpdate = function (resourceGroupName, serviceName, notificationName, uid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n notificationName: notificationName,\r\n uid: uid,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n NotificationRecipientUser.prototype.deleteMethod = function (resourceGroupName, serviceName, notificationName, uid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n notificationName: notificationName,\r\n uid: uid,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n return NotificationRecipientUser;\r\n}());\r\nexport { NotificationRecipientUser };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByNotificationOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.notificationName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RecipientUserCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar checkEntityExistsOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{uid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.notificationName,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 204: {},\r\n 404: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{uid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.notificationName,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RecipientUserContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.RecipientUserContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{uid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.notificationName,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=notificationRecipientUser.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { RecipientEmailCollection, RecipientEmailContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=notificationRecipientEmailMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/notificationRecipientEmailMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a NotificationRecipientEmail. */\r\nvar NotificationRecipientEmail = /** @class */ (function () {\r\n /**\r\n * Create a NotificationRecipientEmail.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function NotificationRecipientEmail(client) {\r\n this.client = client;\r\n }\r\n NotificationRecipientEmail.prototype.listByNotification = function (resourceGroupName, serviceName, notificationName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n notificationName: notificationName,\r\n options: options\r\n }, listByNotificationOperationSpec, callback);\r\n };\r\n NotificationRecipientEmail.prototype.checkEntityExists = function (resourceGroupName, serviceName, notificationName, email, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n notificationName: notificationName,\r\n email: email,\r\n options: options\r\n }, checkEntityExistsOperationSpec, callback);\r\n };\r\n NotificationRecipientEmail.prototype.createOrUpdate = function (resourceGroupName, serviceName, notificationName, email, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n notificationName: notificationName,\r\n email: email,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n NotificationRecipientEmail.prototype.deleteMethod = function (resourceGroupName, serviceName, notificationName, email, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n notificationName: notificationName,\r\n email: email,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n return NotificationRecipientEmail;\r\n}());\r\nexport { NotificationRecipientEmail };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByNotificationOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.notificationName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RecipientEmailCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar checkEntityExistsOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.notificationName,\r\n Parameters.email,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 204: {},\r\n 404: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.notificationName,\r\n Parameters.email,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RecipientEmailContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.RecipientEmailContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.notificationName,\r\n Parameters.email,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=notificationRecipientEmail.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { NetworkStatusContractByLocation, NetworkStatusContract, ConnectivityStatusContract, ErrorResponse, ErrorFieldContract } from \"../models/mappers\";\r\n//# sourceMappingURL=networkStatusMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/networkStatusMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a NetworkStatus. */\r\nvar NetworkStatus = /** @class */ (function () {\r\n /**\r\n * Create a NetworkStatus.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function NetworkStatus(client) {\r\n this.client = client;\r\n }\r\n NetworkStatus.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n NetworkStatus.prototype.listByLocation = function (resourceGroupName, serviceName, locationName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n locationName: locationName,\r\n options: options\r\n }, listByLocationOperationSpec, callback);\r\n };\r\n return NetworkStatus;\r\n}());\r\nexport { NetworkStatus };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/networkstatus\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: {\r\n serializedName: \"parsedResponse\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"NetworkStatusContractByLocation\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByLocationOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/locations/{locationName}/networkstatus\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.locationName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NetworkStatusContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=networkStatus.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { OpenIdConnectProviderCollection, OpenidConnectProviderContract, Resource, BaseResource, CloudError, OpenIdConnectProviderGetEntityTagHeaders, ErrorResponse, ErrorFieldContract, OpenIdConnectProviderGetHeaders, OpenidConnectProviderUpdateContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=openIdConnectProviderMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/openIdConnectProviderMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a OpenIdConnectProvider. */\r\nvar OpenIdConnectProvider = /** @class */ (function () {\r\n /**\r\n * Create a OpenIdConnectProvider.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function OpenIdConnectProvider(client) {\r\n this.client = client;\r\n }\r\n OpenIdConnectProvider.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n OpenIdConnectProvider.prototype.getEntityTag = function (resourceGroupName, serviceName, opid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n opid: opid,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n OpenIdConnectProvider.prototype.get = function (resourceGroupName, serviceName, opid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n opid: opid,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n OpenIdConnectProvider.prototype.createOrUpdate = function (resourceGroupName, serviceName, opid, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n opid: opid,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n OpenIdConnectProvider.prototype.update = function (resourceGroupName, serviceName, opid, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n opid: opid,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n OpenIdConnectProvider.prototype.deleteMethod = function (resourceGroupName, serviceName, opid, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n opid: opid,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n OpenIdConnectProvider.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return OpenIdConnectProvider;\r\n}());\r\nexport { OpenIdConnectProvider };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OpenIdConnectProviderCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.opid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.OpenIdConnectProviderGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.opid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OpenidConnectProviderContract,\r\n headersMapper: Mappers.OpenIdConnectProviderGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.opid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.OpenidConnectProviderContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OpenidConnectProviderContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.OpenidConnectProviderContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.opid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.OpenidConnectProviderUpdateContract, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.opid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OpenIdConnectProviderCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=openIdConnectProvider.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { SignInSettingsGetEntityTagHeaders, ErrorResponse, ErrorFieldContract, PortalSigninSettings, Resource, BaseResource, SignInSettingsGetHeaders, CloudError, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=signInSettingsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/signInSettingsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a SignInSettings. */\r\nvar SignInSettings = /** @class */ (function () {\r\n /**\r\n * Create a SignInSettings.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function SignInSettings(client) {\r\n this.client = client;\r\n }\r\n SignInSettings.prototype.getEntityTag = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n SignInSettings.prototype.get = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n SignInSettings.prototype.update = function (resourceGroupName, serviceName, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n SignInSettings.prototype.createOrUpdate = function (resourceGroupName, serviceName, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n return SignInSettings;\r\n}());\r\nexport { SignInSettings };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.SignInSettingsGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PortalSigninSettings,\r\n headersMapper: Mappers.SignInSettingsGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.PortalSigninSettings, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.PortalSigninSettings, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PortalSigninSettings\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=signInSettings.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { SignUpSettingsGetEntityTagHeaders, ErrorResponse, ErrorFieldContract, PortalSignupSettings, Resource, BaseResource, TermsOfServiceProperties, SignUpSettingsGetHeaders, CloudError, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=signUpSettingsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/signUpSettingsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a SignUpSettings. */\r\nvar SignUpSettings = /** @class */ (function () {\r\n /**\r\n * Create a SignUpSettings.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function SignUpSettings(client) {\r\n this.client = client;\r\n }\r\n SignUpSettings.prototype.getEntityTag = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n SignUpSettings.prototype.get = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n SignUpSettings.prototype.update = function (resourceGroupName, serviceName, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n SignUpSettings.prototype.createOrUpdate = function (resourceGroupName, serviceName, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n return SignUpSettings;\r\n}());\r\nexport { SignUpSettings };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.SignUpSettingsGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PortalSignupSettings,\r\n headersMapper: Mappers.SignUpSettingsGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.PortalSignupSettings, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.PortalSignupSettings, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PortalSignupSettings\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=signUpSettings.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { DelegationSettingsGetEntityTagHeaders, ErrorResponse, ErrorFieldContract, PortalDelegationSettings, Resource, BaseResource, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, DelegationSettingsGetHeaders, CloudError, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=delegationSettingsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/delegationSettingsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a DelegationSettings. */\r\nvar DelegationSettings = /** @class */ (function () {\r\n /**\r\n * Create a DelegationSettings.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function DelegationSettings(client) {\r\n this.client = client;\r\n }\r\n DelegationSettings.prototype.getEntityTag = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n DelegationSettings.prototype.get = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n DelegationSettings.prototype.update = function (resourceGroupName, serviceName, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n DelegationSettings.prototype.createOrUpdate = function (resourceGroupName, serviceName, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n return DelegationSettings;\r\n}());\r\nexport { DelegationSettings };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.DelegationSettingsGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PortalDelegationSettings,\r\n headersMapper: Mappers.DelegationSettingsGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.PortalDelegationSettings, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.PortalDelegationSettings, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PortalDelegationSettings\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=delegationSettings.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { ProductCollection, ProductContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, ProductGetEntityTagHeaders, ProductGetHeaders, ProductUpdateParameters, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=productMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/productMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Product. */\r\nvar Product = /** @class */ (function () {\r\n /**\r\n * Create a Product.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function Product(client) {\r\n this.client = client;\r\n }\r\n Product.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n Product.prototype.getEntityTag = function (resourceGroupName, serviceName, productId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n Product.prototype.get = function (resourceGroupName, serviceName, productId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n Product.prototype.createOrUpdate = function (resourceGroupName, serviceName, productId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n Product.prototype.update = function (resourceGroupName, serviceName, productId, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n Product.prototype.deleteMethod = function (resourceGroupName, serviceName, productId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n Product.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return Product;\r\n}());\r\nexport { Product };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.expandGroups,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProductCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.ProductGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProductContract,\r\n headersMapper: Mappers.ProductGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ProductContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProductContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.ProductContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ProductUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.deleteSubscriptions,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProductCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=product.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { ApiCollection, ApiContract, Resource, BaseResource, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ErrorResponse, ErrorFieldContract, PolicyContract, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=productApiMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/productApiMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ProductApi. */\r\nvar ProductApi = /** @class */ (function () {\r\n /**\r\n * Create a ProductApi.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ProductApi(client) {\r\n this.client = client;\r\n }\r\n ProductApi.prototype.listByProduct = function (resourceGroupName, serviceName, productId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n options: options\r\n }, listByProductOperationSpec, callback);\r\n };\r\n ProductApi.prototype.checkEntityExists = function (resourceGroupName, serviceName, productId, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n apiId: apiId,\r\n options: options\r\n }, checkEntityExistsOperationSpec, callback);\r\n };\r\n ProductApi.prototype.createOrUpdate = function (resourceGroupName, serviceName, productId, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n apiId: apiId,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n ProductApi.prototype.deleteMethod = function (resourceGroupName, serviceName, productId, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n apiId: apiId,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n ProductApi.prototype.listByProductNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByProductNextOperationSpec, callback);\r\n };\r\n return ProductApi;\r\n}());\r\nexport { ProductApi };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByProductOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar checkEntityExistsOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis/{apiId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 204: {},\r\n 404: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis/{apiId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.ApiContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis/{apiId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByProductNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=productApi.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { GroupCollection, GroupContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=productGroupMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/productGroupMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ProductGroup. */\r\nvar ProductGroup = /** @class */ (function () {\r\n /**\r\n * Create a ProductGroup.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ProductGroup(client) {\r\n this.client = client;\r\n }\r\n ProductGroup.prototype.listByProduct = function (resourceGroupName, serviceName, productId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n options: options\r\n }, listByProductOperationSpec, callback);\r\n };\r\n ProductGroup.prototype.checkEntityExists = function (resourceGroupName, serviceName, productId, groupId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n groupId: groupId,\r\n options: options\r\n }, checkEntityExistsOperationSpec, callback);\r\n };\r\n ProductGroup.prototype.createOrUpdate = function (resourceGroupName, serviceName, productId, groupId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n groupId: groupId,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n ProductGroup.prototype.deleteMethod = function (resourceGroupName, serviceName, productId, groupId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n groupId: groupId,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n ProductGroup.prototype.listByProductNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByProductNextOperationSpec, callback);\r\n };\r\n return ProductGroup;\r\n}());\r\nexport { ProductGroup };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByProductOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.GroupCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar checkEntityExistsOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups/{groupId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.groupId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 204: {},\r\n 404: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups/{groupId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.groupId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.GroupContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.GroupContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups/{groupId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.groupId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByProductNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.GroupCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=productGroup.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { SubscriptionCollection, SubscriptionContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=productSubscriptionsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/productSubscriptionsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ProductSubscriptions. */\r\nvar ProductSubscriptions = /** @class */ (function () {\r\n /**\r\n * Create a ProductSubscriptions.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ProductSubscriptions(client) {\r\n this.client = client;\r\n }\r\n ProductSubscriptions.prototype.list = function (resourceGroupName, serviceName, productId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n ProductSubscriptions.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ProductSubscriptions;\r\n}());\r\nexport { ProductSubscriptions };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/subscriptions\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.SubscriptionCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.SubscriptionCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=productSubscriptions.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { PolicyCollection, PolicyContract, Resource, BaseResource, ProductPolicyListByProductHeaders, ErrorResponse, ErrorFieldContract, ProductPolicyGetEntityTagHeaders, ProductPolicyGetHeaders, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=productPolicyMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/productPolicyMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ProductPolicy. */\r\nvar ProductPolicy = /** @class */ (function () {\r\n /**\r\n * Create a ProductPolicy.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ProductPolicy(client) {\r\n this.client = client;\r\n }\r\n ProductPolicy.prototype.listByProduct = function (resourceGroupName, serviceName, productId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n options: options\r\n }, listByProductOperationSpec, callback);\r\n };\r\n ProductPolicy.prototype.getEntityTag = function (resourceGroupName, serviceName, productId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n ProductPolicy.prototype.get = function (resourceGroupName, serviceName, productId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ProductPolicy.prototype.createOrUpdate = function (resourceGroupName, serviceName, productId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n ProductPolicy.prototype.deleteMethod = function (resourceGroupName, serviceName, productId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n return ProductPolicy;\r\n}());\r\nexport { ProductPolicy };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByProductOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.productId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PolicyCollection,\r\n headersMapper: Mappers.ProductPolicyListByProductHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.productId,\r\n Parameters.policyId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.ProductPolicyGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.productId,\r\n Parameters.policyId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PolicyContract,\r\n headersMapper: Mappers.ProductPolicyGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.policyId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.PolicyContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PolicyContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.PolicyContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies/{policyId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.policyId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=productPolicy.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { PropertyCollection, PropertyContract, Resource, BaseResource, CloudError, PropertyGetEntityTagHeaders, ErrorResponse, ErrorFieldContract, PropertyGetHeaders, PropertyUpdateParameters, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=propertyMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/propertyMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Property. */\r\nvar Property = /** @class */ (function () {\r\n /**\r\n * Create a Property.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function Property(client) {\r\n this.client = client;\r\n }\r\n Property.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n Property.prototype.getEntityTag = function (resourceGroupName, serviceName, propId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n propId: propId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n Property.prototype.get = function (resourceGroupName, serviceName, propId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n propId: propId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n Property.prototype.createOrUpdate = function (resourceGroupName, serviceName, propId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n propId: propId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n Property.prototype.update = function (resourceGroupName, serviceName, propId, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n propId: propId,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n Property.prototype.deleteMethod = function (resourceGroupName, serviceName, propId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n propId: propId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n Property.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return Property;\r\n}());\r\nexport { Property };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PropertyCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.propId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.PropertyGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.propId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PropertyContract,\r\n headersMapper: Mappers.PropertyGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.propId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.PropertyContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PropertyContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.PropertyContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.propId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.PropertyUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.propId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.PropertyCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=property.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { QuotaCounterCollection, QuotaCounterContract, QuotaCounterValueContractProperties, ErrorResponse, ErrorFieldContract } from \"../models/mappers\";\r\n//# sourceMappingURL=quotaByCounterKeysMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/quotaByCounterKeysMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a QuotaByCounterKeys. */\r\nvar QuotaByCounterKeys = /** @class */ (function () {\r\n /**\r\n * Create a QuotaByCounterKeys.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function QuotaByCounterKeys(client) {\r\n this.client = client;\r\n }\r\n QuotaByCounterKeys.prototype.listByService = function (resourceGroupName, serviceName, quotaCounterKey, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n quotaCounterKey: quotaCounterKey,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n QuotaByCounterKeys.prototype.update = function (resourceGroupName, serviceName, quotaCounterKey, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n quotaCounterKey: quotaCounterKey,\r\n parameters: parameters,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n return QuotaByCounterKeys;\r\n}());\r\nexport { QuotaByCounterKeys };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.quotaCounterKey\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.QuotaCounterCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.quotaCounterKey,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.QuotaCounterValueContractProperties, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=quotaByCounterKeys.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { QuotaCounterContract, QuotaCounterValueContractProperties, ErrorResponse, ErrorFieldContract } from \"../models/mappers\";\r\n//# sourceMappingURL=quotaByPeriodKeysMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/quotaByPeriodKeysMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a QuotaByPeriodKeys. */\r\nvar QuotaByPeriodKeys = /** @class */ (function () {\r\n /**\r\n * Create a QuotaByPeriodKeys.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function QuotaByPeriodKeys(client) {\r\n this.client = client;\r\n }\r\n QuotaByPeriodKeys.prototype.get = function (resourceGroupName, serviceName, quotaCounterKey, quotaPeriodKey, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n quotaCounterKey: quotaCounterKey,\r\n quotaPeriodKey: quotaPeriodKey,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n QuotaByPeriodKeys.prototype.update = function (resourceGroupName, serviceName, quotaCounterKey, quotaPeriodKey, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n quotaCounterKey: quotaCounterKey,\r\n quotaPeriodKey: quotaPeriodKey,\r\n parameters: parameters,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n return QuotaByPeriodKeys;\r\n}());\r\nexport { QuotaByPeriodKeys };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}/periods/{quotaPeriodKey}\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.quotaCounterKey,\r\n Parameters.quotaPeriodKey\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.QuotaCounterContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}/periods/{quotaPeriodKey}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.quotaCounterKey,\r\n Parameters.quotaPeriodKey,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.QuotaCounterValueContractProperties, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=quotaByPeriodKeys.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { ReportCollection, ReportRecordContract, CloudError, RequestReportCollection, RequestReportRecordContract } from \"../models/mappers\";\r\n//# sourceMappingURL=reportsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/reportsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Reports. */\r\nvar Reports = /** @class */ (function () {\r\n /**\r\n * Create a Reports.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function Reports(client) {\r\n this.client = client;\r\n }\r\n Reports.prototype.listByApi = function (resourceGroupName, serviceName, filter, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n filter: filter,\r\n options: options\r\n }, listByApiOperationSpec, callback);\r\n };\r\n Reports.prototype.listByUser = function (resourceGroupName, serviceName, filter, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n filter: filter,\r\n options: options\r\n }, listByUserOperationSpec, callback);\r\n };\r\n Reports.prototype.listByOperation = function (resourceGroupName, serviceName, filter, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n filter: filter,\r\n options: options\r\n }, listByOperationOperationSpec, callback);\r\n };\r\n Reports.prototype.listByProduct = function (resourceGroupName, serviceName, filter, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n filter: filter,\r\n options: options\r\n }, listByProductOperationSpec, callback);\r\n };\r\n Reports.prototype.listByGeo = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByGeoOperationSpec, callback);\r\n };\r\n Reports.prototype.listBySubscription = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listBySubscriptionOperationSpec, callback);\r\n };\r\n Reports.prototype.listByTime = function (resourceGroupName, serviceName, interval, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n interval: interval,\r\n options: options\r\n }, listByTimeOperationSpec, callback);\r\n };\r\n Reports.prototype.listByRequest = function (resourceGroupName, serviceName, filter, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n filter: filter,\r\n options: options\r\n }, listByRequestOperationSpec, callback);\r\n };\r\n Reports.prototype.listByApiNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByApiNextOperationSpec, callback);\r\n };\r\n Reports.prototype.listByUserNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByUserNextOperationSpec, callback);\r\n };\r\n Reports.prototype.listByOperationNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByOperationNextOperationSpec, callback);\r\n };\r\n Reports.prototype.listByProductNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByProductNextOperationSpec, callback);\r\n };\r\n Reports.prototype.listByGeoNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByGeoNextOperationSpec, callback);\r\n };\r\n Reports.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listBySubscriptionNextOperationSpec, callback);\r\n };\r\n Reports.prototype.listByTimeNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByTimeNextOperationSpec, callback);\r\n };\r\n return Reports;\r\n}());\r\nexport { Reports };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByApiOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byApi\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter1,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByUserOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byUser\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter1,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByOperationOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byOperation\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter1,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByProductOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byProduct\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter1,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByGeoOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byGeo\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listBySubscriptionOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/bySubscription\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByTimeOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byTime\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.interval,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByRequestOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byRequest\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter1,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RequestReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByApiNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByUserNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByOperationNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByProductNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByGeoNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listBySubscriptionNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByTimeNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReportCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=reports.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { SubscriptionCollection, SubscriptionContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, SubscriptionGetEntityTagHeaders, SubscriptionGetHeaders, SubscriptionCreateParameters, SubscriptionUpdateParameters, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=subscriptionMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/subscriptionMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Subscription. */\r\nvar Subscription = /** @class */ (function () {\r\n /**\r\n * Create a Subscription.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function Subscription(client) {\r\n this.client = client;\r\n }\r\n Subscription.prototype.list = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n Subscription.prototype.getEntityTag = function (resourceGroupName, serviceName, sid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n sid: sid,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n Subscription.prototype.get = function (resourceGroupName, serviceName, sid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n sid: sid,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n Subscription.prototype.createOrUpdate = function (resourceGroupName, serviceName, sid, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n sid: sid,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n Subscription.prototype.update = function (resourceGroupName, serviceName, sid, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n sid: sid,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n Subscription.prototype.deleteMethod = function (resourceGroupName, serviceName, sid, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n sid: sid,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n Subscription.prototype.regeneratePrimaryKey = function (resourceGroupName, serviceName, sid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n sid: sid,\r\n options: options\r\n }, regeneratePrimaryKeyOperationSpec, callback);\r\n };\r\n Subscription.prototype.regenerateSecondaryKey = function (resourceGroupName, serviceName, sid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n sid: sid,\r\n options: options\r\n }, regenerateSecondaryKeyOperationSpec, callback);\r\n };\r\n Subscription.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return Subscription;\r\n}());\r\nexport { Subscription };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.SubscriptionCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.sid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.SubscriptionGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.sid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.SubscriptionContract,\r\n headersMapper: Mappers.SubscriptionGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.sid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.notify,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.SubscriptionCreateParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.SubscriptionContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.SubscriptionContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.sid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.notify,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.SubscriptionUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.sid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar regeneratePrimaryKeyOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}/regeneratePrimaryKey\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.sid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar regenerateSecondaryKeyOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}/regenerateSecondaryKey\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.sid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.SubscriptionCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=subscription.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { TagResourceCollection, TagResourceContract, TagTagResourceContractProperties, ApiTagResourceContractProperties, ApiEntityBaseContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, OperationTagResourceContractProperties, ProductTagResourceContractProperties, ProductEntityBaseParameters, CloudError, ApiContractProperties, ApiVersionSetContractDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=tagResourceMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/tagResourceMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a TagResource. */\r\nvar TagResource = /** @class */ (function () {\r\n /**\r\n * Create a TagResource.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function TagResource(client) {\r\n this.client = client;\r\n }\r\n TagResource.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n TagResource.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return TagResource;\r\n}());\r\nexport { TagResource };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tagResources\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagResourceCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagResourceCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=tagResource.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { TagCollection, TagContract, Resource, BaseResource, CloudError, TagGetEntityStateHeaders, ErrorResponse, ErrorFieldContract, TagGetHeaders, TagCreateUpdateParameters, TagGetEntityStateByApiHeaders, TagGetByApiHeaders, TagGetEntityStateByOperationHeaders, TagGetByOperationHeaders, TagGetEntityStateByProductHeaders, TagGetByProductHeaders, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=tagMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/tagMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Tag. */\r\nvar Tag = /** @class */ (function () {\r\n /**\r\n * Create a Tag.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function Tag(client) {\r\n this.client = client;\r\n }\r\n Tag.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n Tag.prototype.getEntityState = function (resourceGroupName, serviceName, tagId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n tagId: tagId,\r\n options: options\r\n }, getEntityStateOperationSpec, callback);\r\n };\r\n Tag.prototype.get = function (resourceGroupName, serviceName, tagId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n tagId: tagId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n Tag.prototype.createOrUpdate = function (resourceGroupName, serviceName, tagId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n tagId: tagId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n Tag.prototype.update = function (resourceGroupName, serviceName, tagId, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n tagId: tagId,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n Tag.prototype.deleteMethod = function (resourceGroupName, serviceName, tagId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n tagId: tagId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n Tag.prototype.listByApi = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, listByApiOperationSpec, callback);\r\n };\r\n Tag.prototype.getEntityStateByApi = function (resourceGroupName, serviceName, apiId, tagId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n tagId: tagId,\r\n options: options\r\n }, getEntityStateByApiOperationSpec, callback);\r\n };\r\n Tag.prototype.getByApi = function (resourceGroupName, serviceName, apiId, tagId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n tagId: tagId,\r\n options: options\r\n }, getByApiOperationSpec, callback);\r\n };\r\n Tag.prototype.assignToApi = function (resourceGroupName, serviceName, apiId, tagId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n tagId: tagId,\r\n options: options\r\n }, assignToApiOperationSpec, callback);\r\n };\r\n Tag.prototype.detachFromApi = function (resourceGroupName, serviceName, apiId, tagId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n tagId: tagId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, detachFromApiOperationSpec, callback);\r\n };\r\n Tag.prototype.listByOperation = function (resourceGroupName, serviceName, apiId, operationId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n options: options\r\n }, listByOperationOperationSpec, callback);\r\n };\r\n Tag.prototype.getEntityStateByOperation = function (resourceGroupName, serviceName, apiId, operationId, tagId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n tagId: tagId,\r\n options: options\r\n }, getEntityStateByOperationOperationSpec, callback);\r\n };\r\n Tag.prototype.getByOperation = function (resourceGroupName, serviceName, apiId, operationId, tagId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n tagId: tagId,\r\n options: options\r\n }, getByOperationOperationSpec, callback);\r\n };\r\n Tag.prototype.assignToOperation = function (resourceGroupName, serviceName, apiId, operationId, tagId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n tagId: tagId,\r\n options: options\r\n }, assignToOperationOperationSpec, callback);\r\n };\r\n Tag.prototype.detachFromOperation = function (resourceGroupName, serviceName, apiId, operationId, tagId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n operationId: operationId,\r\n tagId: tagId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, detachFromOperationOperationSpec, callback);\r\n };\r\n Tag.prototype.listByProduct = function (resourceGroupName, serviceName, productId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n options: options\r\n }, listByProductOperationSpec, callback);\r\n };\r\n Tag.prototype.getEntityStateByProduct = function (resourceGroupName, serviceName, productId, tagId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n tagId: tagId,\r\n options: options\r\n }, getEntityStateByProductOperationSpec, callback);\r\n };\r\n Tag.prototype.getByProduct = function (resourceGroupName, serviceName, productId, tagId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n tagId: tagId,\r\n options: options\r\n }, getByProductOperationSpec, callback);\r\n };\r\n Tag.prototype.assignToProduct = function (resourceGroupName, serviceName, productId, tagId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n tagId: tagId,\r\n options: options\r\n }, assignToProductOperationSpec, callback);\r\n };\r\n Tag.prototype.detachFromProduct = function (resourceGroupName, serviceName, productId, tagId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n productId: productId,\r\n tagId: tagId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, detachFromProductOperationSpec, callback);\r\n };\r\n Tag.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n Tag.prototype.listByApiNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByApiNextOperationSpec, callback);\r\n };\r\n Tag.prototype.listByOperationNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByOperationNextOperationSpec, callback);\r\n };\r\n Tag.prototype.listByProductNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByProductNextOperationSpec, callback);\r\n };\r\n return Tag;\r\n}());\r\nexport { Tag };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityStateOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.TagGetEntityStateHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagContract,\r\n headersMapper: Mappers.TagGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.TagCreateUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.TagContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.TagCreateUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByApiOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityStateByApiOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.TagGetEntityStateByApiHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getByApiOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagContract,\r\n headersMapper: Mappers.TagGetByApiHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar assignToApiOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.TagContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar detachFromApiOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByOperationOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityStateByOperationOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.TagGetEntityStateByOperationHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getByOperationOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagContract,\r\n headersMapper: Mappers.TagGetByOperationHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar assignToOperationOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.TagContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar detachFromOperationOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.operationId,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByProductOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityStateByProductOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.TagGetEntityStateByProductHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getByProductOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagContract,\r\n headersMapper: Mappers.TagGetByProductHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar assignToProductOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.TagContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar detachFromProductOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.productId,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByApiNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByOperationNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByProductNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=tag.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { TagDescriptionCollection, TagDescriptionContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, TagDescriptionGetEntityStateHeaders, TagDescriptionGetHeaders, TagDescriptionCreateParameters, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=tagDescriptionMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/tagDescriptionMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a TagDescription. */\r\nvar TagDescription = /** @class */ (function () {\r\n /**\r\n * Create a TagDescription.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function TagDescription(client) {\r\n this.client = client;\r\n }\r\n TagDescription.prototype.listByApi = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, listByApiOperationSpec, callback);\r\n };\r\n TagDescription.prototype.getEntityState = function (resourceGroupName, serviceName, apiId, tagId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n tagId: tagId,\r\n options: options\r\n }, getEntityStateOperationSpec, callback);\r\n };\r\n TagDescription.prototype.get = function (resourceGroupName, serviceName, apiId, tagId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n tagId: tagId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n TagDescription.prototype.createOrUpdate = function (resourceGroupName, serviceName, apiId, tagId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n tagId: tagId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n TagDescription.prototype.deleteMethod = function (resourceGroupName, serviceName, apiId, tagId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n tagId: tagId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n TagDescription.prototype.listByApiNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByApiNextOperationSpec, callback);\r\n };\r\n return TagDescription;\r\n}());\r\nexport { TagDescription };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByApiOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagDescriptionCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityStateOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.TagDescriptionGetEntityStateHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagDescriptionContract,\r\n headersMapper: Mappers.TagDescriptionGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.TagDescriptionCreateParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagDescriptionContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.TagDescriptionContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.tagId,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByApiNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagDescriptionCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=tagDescription.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { TagResourceCollection, TagResourceContract, TagTagResourceContractProperties, ApiTagResourceContractProperties, ApiEntityBaseContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, OperationTagResourceContractProperties, ProductTagResourceContractProperties, ProductEntityBaseParameters, CloudError, ApiContractProperties, ApiVersionSetContractDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=operationOperationsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/operationOperationsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a OperationOperations. */\r\nvar OperationOperations = /** @class */ (function () {\r\n /**\r\n * Create a OperationOperations.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function OperationOperations(client) {\r\n this.client = client;\r\n }\r\n OperationOperations.prototype.listByTags = function (resourceGroupName, serviceName, apiId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n options: options\r\n }, listByTagsOperationSpec, callback);\r\n };\r\n OperationOperations.prototype.listByTagsNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByTagsNextOperationSpec, callback);\r\n };\r\n return OperationOperations;\r\n}());\r\nexport { OperationOperations };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByTagsOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operationsByTags\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagResourceCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByTagsNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TagResourceCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=operationOperations.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { AccessInformationContract, TenantAccessGetHeaders, CloudError, AccessInformationUpdateParameters, ErrorResponse, ErrorFieldContract } from \"../models/mappers\";\r\n//# sourceMappingURL=tenantAccessMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/tenantAccessMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a TenantAccess. */\r\nvar TenantAccess = /** @class */ (function () {\r\n /**\r\n * Create a TenantAccess.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function TenantAccess(client) {\r\n this.client = client;\r\n }\r\n TenantAccess.prototype.get = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n TenantAccess.prototype.update = function (resourceGroupName, serviceName, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n TenantAccess.prototype.regeneratePrimaryKey = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, regeneratePrimaryKeyOperationSpec, callback);\r\n };\r\n TenantAccess.prototype.regenerateSecondaryKey = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, regenerateSecondaryKeyOperationSpec, callback);\r\n };\r\n return TenantAccess;\r\n}());\r\nexport { TenantAccess };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.accessName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.AccessInformationContract,\r\n headersMapper: Mappers.TenantAccessGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.accessName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.AccessInformationUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar regeneratePrimaryKeyOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/regeneratePrimaryKey\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.accessName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar regenerateSecondaryKeyOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/regenerateSecondaryKey\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.accessName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=tenantAccess.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { AccessInformationContract, TenantAccessGitGetHeaders, ErrorResponse, ErrorFieldContract } from \"../models/mappers\";\r\n//# sourceMappingURL=tenantAccessGitMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/tenantAccessGitMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a TenantAccessGit. */\r\nvar TenantAccessGit = /** @class */ (function () {\r\n /**\r\n * Create a TenantAccessGit.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function TenantAccessGit(client) {\r\n this.client = client;\r\n }\r\n TenantAccessGit.prototype.get = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n TenantAccessGit.prototype.regeneratePrimaryKey = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, regeneratePrimaryKeyOperationSpec, callback);\r\n };\r\n TenantAccessGit.prototype.regenerateSecondaryKey = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, regenerateSecondaryKeyOperationSpec, callback);\r\n };\r\n return TenantAccessGit;\r\n}());\r\nexport { TenantAccessGit };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.accessName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.AccessInformationContract,\r\n headersMapper: Mappers.TenantAccessGitGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar regeneratePrimaryKeyOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git/regeneratePrimaryKey\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.accessName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar regenerateSecondaryKeyOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git/regenerateSecondaryKey\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.accessName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=tenantAccessGit.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { DeployConfigurationParameters, OperationResultContract, ErrorResponseBody, ErrorFieldContract, OperationResultLogItemContract, ErrorResponse, SaveConfigurationParameter, TenantConfigurationSyncStateContract, CloudError } from \"../models/mappers\";\r\n//# sourceMappingURL=tenantConfigurationMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/tenantConfigurationMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a TenantConfiguration. */\r\nvar TenantConfiguration = /** @class */ (function () {\r\n /**\r\n * Create a TenantConfiguration.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function TenantConfiguration(client) {\r\n this.client = client;\r\n }\r\n /**\r\n * This operation applies changes from the specified Git branch to the configuration database. This\r\n * is a long running operation and could take several minutes to complete.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Deploy Configuration parameters.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n TenantConfiguration.prototype.deploy = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.beginDeploy(resourceGroupName, serviceName, parameters, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * This operation creates a commit with the current configuration snapshot to the specified branch\r\n * in the repository. This is a long running operation and could take several minutes to complete.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Save Configuration parameters.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n TenantConfiguration.prototype.save = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.beginSave(resourceGroupName, serviceName, parameters, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * This operation validates the changes in the specified Git branch. This is a long running\r\n * operation and could take several minutes to complete.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Validate Configuration parameters.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n TenantConfiguration.prototype.validate = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.beginValidate(resourceGroupName, serviceName, parameters, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n TenantConfiguration.prototype.getSyncState = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, getSyncStateOperationSpec, callback);\r\n };\r\n /**\r\n * This operation applies changes from the specified Git branch to the configuration database. This\r\n * is a long running operation and could take several minutes to complete.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Deploy Configuration parameters.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n TenantConfiguration.prototype.beginDeploy = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n options: options\r\n }, beginDeployOperationSpec, options);\r\n };\r\n /**\r\n * This operation creates a commit with the current configuration snapshot to the specified branch\r\n * in the repository. This is a long running operation and could take several minutes to complete.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Save Configuration parameters.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n TenantConfiguration.prototype.beginSave = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n options: options\r\n }, beginSaveOperationSpec, options);\r\n };\r\n /**\r\n * This operation validates the changes in the specified Git branch. This is a long running\r\n * operation and could take several minutes to complete.\r\n * @param resourceGroupName The name of the resource group.\r\n * @param serviceName The name of the API Management service.\r\n * @param parameters Validate Configuration parameters.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n TenantConfiguration.prototype.beginValidate = function (resourceGroupName, serviceName, parameters, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n parameters: parameters,\r\n options: options\r\n }, beginValidateOperationSpec, options);\r\n };\r\n return TenantConfiguration;\r\n}());\r\nexport { TenantConfiguration };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar getSyncStateOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{configurationName}/syncState\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.configurationName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TenantConfigurationSyncStateContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginDeployOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{configurationName}/deploy\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.configurationName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.DeployConfigurationParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OperationResultContract\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginSaveOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{configurationName}/save\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.configurationName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.SaveConfigurationParameter, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OperationResultContract\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginValidateOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{configurationName}/validate\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.configurationName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.DeployConfigurationParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OperationResultContract\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=tenantConfiguration.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { UserCollection, UserContract, Resource, BaseResource, UserIdentityContract, GroupContractProperties, ErrorResponse, ErrorFieldContract, UserGetEntityTagHeaders, UserGetHeaders, UserCreateParameters, UserUpdateParameters, GenerateSsoUrlResult, UserTokenParameters, UserTokenResult, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=userMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/userMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a User. */\r\nvar User = /** @class */ (function () {\r\n /**\r\n * Create a User.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function User(client) {\r\n this.client = client;\r\n }\r\n User.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n User.prototype.getEntityTag = function (resourceGroupName, serviceName, uid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n uid: uid,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n User.prototype.get = function (resourceGroupName, serviceName, uid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n uid: uid,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n User.prototype.createOrUpdate = function (resourceGroupName, serviceName, uid, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n uid: uid,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n User.prototype.update = function (resourceGroupName, serviceName, uid, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n uid: uid,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n User.prototype.deleteMethod = function (resourceGroupName, serviceName, uid, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n uid: uid,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n User.prototype.generateSsoUrl = function (resourceGroupName, serviceName, uid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n uid: uid,\r\n options: options\r\n }, generateSsoUrlOperationSpec, callback);\r\n };\r\n User.prototype.getSharedAccessToken = function (resourceGroupName, serviceName, uid, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n uid: uid,\r\n parameters: parameters,\r\n options: options\r\n }, getSharedAccessTokenOperationSpec, callback);\r\n };\r\n User.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return User;\r\n}());\r\nexport { User };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.UserCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.UserGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.UserContract,\r\n headersMapper: Mappers.UserGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.UserCreateParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.UserContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.UserContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.UserUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.deleteSubscriptions,\r\n Parameters.notify,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar generateSsoUrlOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/generateSsoUrl\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.GenerateSsoUrlResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getSharedAccessTokenOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/token\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.UserTokenParameters, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.UserTokenResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.UserCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=user.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { GroupCollection, GroupContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=userGroupMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/userGroupMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a UserGroup. */\r\nvar UserGroup = /** @class */ (function () {\r\n /**\r\n * Create a UserGroup.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function UserGroup(client) {\r\n this.client = client;\r\n }\r\n UserGroup.prototype.list = function (resourceGroupName, serviceName, uid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n uid: uid,\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n UserGroup.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return UserGroup;\r\n}());\r\nexport { UserGroup };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/groups\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.GroupCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.GroupCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=userGroup.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { SubscriptionCollection, SubscriptionContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, PropertyContract, TagContract, TagDescriptionContract, ApiVersionSetContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=userSubscriptionMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/userSubscriptionMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a UserSubscription. */\r\nvar UserSubscription = /** @class */ (function () {\r\n /**\r\n * Create a UserSubscription.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function UserSubscription(client) {\r\n this.client = client;\r\n }\r\n UserSubscription.prototype.list = function (resourceGroupName, serviceName, uid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n uid: uid,\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n UserSubscription.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return UserSubscription;\r\n}());\r\nexport { UserSubscription };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/subscriptions\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.SubscriptionCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.SubscriptionCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=userSubscription.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { UserIdentityCollection, UserIdentityContract, ErrorResponse, ErrorFieldContract } from \"../models/mappers\";\r\n//# sourceMappingURL=userIdentitiesMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/userIdentitiesMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a UserIdentities. */\r\nvar UserIdentities = /** @class */ (function () {\r\n /**\r\n * Create a UserIdentities.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function UserIdentities(client) {\r\n this.client = client;\r\n }\r\n UserIdentities.prototype.list = function (resourceGroupName, serviceName, uid, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n uid: uid,\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n UserIdentities.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return UserIdentities;\r\n}());\r\nexport { UserIdentities };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/identities\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.uid,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.UserIdentityCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.UserIdentityCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=userIdentities.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { ApiVersionSetCollection, ApiVersionSetContract, Resource, BaseResource, ErrorResponse, ErrorFieldContract, ApiVersionSetGetEntityTagHeaders, ApiVersionSetGetHeaders, ApiVersionSetUpdateParameters, PolicyContract, ApiContract, AuthenticationSettingsContract, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, SubscriptionKeyParameterNamesContract, ApiVersionSetContractDetails, ApiReleaseContract, OperationContract, ParameterContract, RequestContract, RepresentationContract, ResponseContract, SchemaContract, IssueContract, IssueCommentContract, IssueAttachmentContract, LoggerContract, DiagnosticContract, ProductContract, AuthorizationServerContract, TokenBodyParameterContract, AuthorizationServerUpdateContract, BackendContract, BackendProperties, BackendServiceFabricClusterProperties, X509CertificateName, BackendCredentialsContract, BackendAuthorizationHeaderCredentials, BackendProxyContract, BackendTlsProperties, BackendReconnectContract, CertificateContract, ApimResource, ApiManagementServiceUpdateParameters, HostnameConfiguration, CertificateInformation, VirtualNetworkConfiguration, AdditionalLocation, ApiManagementServiceSkuProperties, CertificateConfiguration, ApiManagementServiceIdentity, EmailTemplateContract, EmailTemplateParametersContractProperties, GroupContract, UserContract, UserIdentityContract, GroupContractProperties, IdentityProviderContract, NotificationContract, RecipientsContractProperties, RecipientUserContract, RecipientEmailContract, OpenidConnectProviderContract, PortalSigninSettings, PortalSignupSettings, TermsOfServiceProperties, PortalDelegationSettings, SubscriptionsDelegationSettingsProperties, RegistrationDelegationSettingsProperties, SubscriptionContract, PropertyContract, TagContract, TagDescriptionContract, ApiManagementServiceResource } from \"../models/mappers\";\r\n//# sourceMappingURL=apiVersionSetMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiVersionSetMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiVersionSet. */\r\nvar ApiVersionSet = /** @class */ (function () {\r\n /**\r\n * Create a ApiVersionSet.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiVersionSet(client) {\r\n this.client = client;\r\n }\r\n ApiVersionSet.prototype.listByService = function (resourceGroupName, serviceName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n options: options\r\n }, listByServiceOperationSpec, callback);\r\n };\r\n ApiVersionSet.prototype.getEntityTag = function (resourceGroupName, serviceName, versionSetId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n versionSetId: versionSetId,\r\n options: options\r\n }, getEntityTagOperationSpec, callback);\r\n };\r\n ApiVersionSet.prototype.get = function (resourceGroupName, serviceName, versionSetId, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n versionSetId: versionSetId,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ApiVersionSet.prototype.createOrUpdate = function (resourceGroupName, serviceName, versionSetId, parameters, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n versionSetId: versionSetId,\r\n parameters: parameters,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n ApiVersionSet.prototype.update = function (resourceGroupName, serviceName, versionSetId, parameters, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n versionSetId: versionSetId,\r\n parameters: parameters,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, updateOperationSpec, callback);\r\n };\r\n ApiVersionSet.prototype.deleteMethod = function (resourceGroupName, serviceName, versionSetId, ifMatch, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n versionSetId: versionSetId,\r\n ifMatch: ifMatch,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n ApiVersionSet.prototype.listByServiceNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByServiceNextOperationSpec, callback);\r\n };\r\n return ApiVersionSet;\r\n}());\r\nexport { ApiVersionSet };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByServiceOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.filter0,\r\n Parameters.top,\r\n Parameters.skip\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiVersionSetCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getEntityTagOperationSpec = {\r\n httpMethod: \"HEAD\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.versionSetId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n headersMapper: Mappers.ApiVersionSetGetEntityTagHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.versionSetId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiVersionSetContract,\r\n headersMapper: Mappers.ApiVersionSetGetHeaders\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.versionSetId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch1,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ApiVersionSetContract, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiVersionSetContract\r\n },\r\n 201: {\r\n bodyMapper: Mappers.ApiVersionSetContract\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar updateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.versionSetId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"parameters\",\r\n mapper: tslib_1.__assign({}, Mappers.ApiVersionSetUpdateParameters, { required: true })\r\n },\r\n responses: {\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.subscriptionId,\r\n Parameters.versionSetId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.ifMatch0,\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByServiceNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiVersionSetCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiVersionSet.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { ApiExportResult, ErrorResponse, ErrorFieldContract } from \"../models/mappers\";\r\n//# sourceMappingURL=apiExportMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/apiExportMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ApiExport. */\r\nvar ApiExport = /** @class */ (function () {\r\n /**\r\n * Create a ApiExport.\r\n * @param {ApiManagementClientContext} client Reference to the service client.\r\n */\r\n function ApiExport(client) {\r\n this.client = client;\r\n }\r\n ApiExport.prototype.get = function (resourceGroupName, serviceName, apiId, format, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n serviceName: serviceName,\r\n apiId: apiId,\r\n format: format,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n return ApiExport;\r\n}());\r\nexport { ApiExport };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.serviceName,\r\n Parameters.apiId0,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.format,\r\n Parameters.exportParameter,\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ApiExportResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.ErrorResponse\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=apiExport.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport * from \"./policy\";\r\nexport * from \"./policySnippets\";\r\nexport * from \"./regions\";\r\nexport * from \"./api\";\r\nexport * from \"./apiRevisions\";\r\nexport * from \"./apiRelease\";\r\nexport * from \"./apiOperation\";\r\nexport * from \"./apiOperationPolicy\";\r\nexport * from \"./apiProduct\";\r\nexport * from \"./apiPolicy\";\r\nexport * from \"./apiSchema\";\r\nexport * from \"./apiDiagnostic\";\r\nexport * from \"./apiDiagnosticLogger\";\r\nexport * from \"./apiIssue\";\r\nexport * from \"./apiIssueComment\";\r\nexport * from \"./apiIssueAttachment\";\r\nexport * from \"./authorizationServer\";\r\nexport * from \"./backend\";\r\nexport * from \"./certificate\";\r\nexport * from \"./apiManagementOperations\";\r\nexport * from \"./apiManagementService\";\r\nexport * from \"./diagnostic\";\r\nexport * from \"./diagnosticLogger\";\r\nexport * from \"./emailTemplate\";\r\nexport * from \"./group\";\r\nexport * from \"./groupUser\";\r\nexport * from \"./identityProvider\";\r\nexport * from \"./logger\";\r\nexport * from \"./notification\";\r\nexport * from \"./notificationRecipientUser\";\r\nexport * from \"./notificationRecipientEmail\";\r\nexport * from \"./networkStatus\";\r\nexport * from \"./openIdConnectProvider\";\r\nexport * from \"./signInSettings\";\r\nexport * from \"./signUpSettings\";\r\nexport * from \"./delegationSettings\";\r\nexport * from \"./product\";\r\nexport * from \"./productApi\";\r\nexport * from \"./productGroup\";\r\nexport * from \"./productSubscriptions\";\r\nexport * from \"./productPolicy\";\r\nexport * from \"./property\";\r\nexport * from \"./quotaByCounterKeys\";\r\nexport * from \"./quotaByPeriodKeys\";\r\nexport * from \"./reports\";\r\nexport * from \"./subscription\";\r\nexport * from \"./tagResource\";\r\nexport * from \"./tag\";\r\nexport * from \"./tagDescription\";\r\nexport * from \"./operationOperations\";\r\nexport * from \"./tenantAccess\";\r\nexport * from \"./tenantAccessGit\";\r\nexport * from \"./tenantConfiguration\";\r\nexport * from \"./user\";\r\nexport * from \"./userGroup\";\r\nexport * from \"./userSubscription\";\r\nexport * from \"./userIdentities\";\r\nexport * from \"./apiVersionSet\";\r\nexport * from \"./apiExport\";\r\n//# sourceMappingURL=index.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRestAzure from \"ms-rest-azure-js\";\r\nvar packageName = \"@azure/arm-apimanagement\";\r\nvar packageVersion = \"1.0.0-preview\";\r\nvar ApiManagementClientContext = /** @class */ (function (_super) {\r\n tslib_1.__extends(ApiManagementClientContext, _super);\r\n /**\r\n * Initializes a new instance of the ApiManagementClient class.\r\n * @param credentials Credentials needed for the client to connect to Azure.\r\n * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure\r\n * subscription. The subscription ID forms part of the URI for every service call.\r\n * @param [options] The parameter options\r\n */\r\n function ApiManagementClientContext(credentials, subscriptionId, options) {\r\n var _this = this;\r\n if (credentials == undefined) {\r\n throw new Error('\\'credentials\\' cannot be null.');\r\n }\r\n if (subscriptionId == undefined) {\r\n throw new Error('\\'subscriptionId\\' cannot be null.');\r\n }\r\n if (!options) {\r\n options = {};\r\n }\r\n _this = _super.call(this, credentials, options) || this;\r\n _this.apiVersion = '2018-01-01';\r\n _this.acceptLanguage = 'en-US';\r\n _this.longRunningOperationRetryTimeout = 30;\r\n _this.baseUri = options.baseUri || _this.baseUri || \"https://management.azure.com\";\r\n _this.requestContentType = \"application/json; charset=utf-8\";\r\n _this.credentials = credentials;\r\n _this.subscriptionId = subscriptionId;\r\n _this.addUserAgentInfo(packageName + \"/\" + packageVersion);\r\n if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {\r\n _this.acceptLanguage = options.acceptLanguage;\r\n }\r\n if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {\r\n _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;\r\n }\r\n return _this;\r\n }\r\n return ApiManagementClientContext;\r\n}(msRestAzure.AzureServiceClient));\r\nexport { ApiManagementClientContext };\r\n//# sourceMappingURL=apiManagementClientContext.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as Models from \"./models\";\r\nimport * as Mappers from \"./models/mappers\";\r\nimport * as operations from \"./operations\";\r\nimport { ApiManagementClientContext } from \"./apiManagementClientContext\";\r\nvar ApiManagementClient = /** @class */ (function (_super) {\r\n tslib_1.__extends(ApiManagementClient, _super);\r\n /**\r\n * Initializes a new instance of the ApiManagementClient class.\r\n * @param credentials Credentials needed for the client to connect to Azure.\r\n * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure\r\n * subscription. The subscription ID forms part of the URI for every service call.\r\n * @param [options] The parameter options\r\n */\r\n function ApiManagementClient(credentials, subscriptionId, options) {\r\n var _this = _super.call(this, credentials, subscriptionId, options) || this;\r\n _this.policy = new operations.Policy(_this);\r\n _this.policySnippets = new operations.PolicySnippets(_this);\r\n _this.regions = new operations.Regions(_this);\r\n _this.api = new operations.Api(_this);\r\n _this.apiRevisions = new operations.ApiRevisions(_this);\r\n _this.apiRelease = new operations.ApiRelease(_this);\r\n _this.apiOperation = new operations.ApiOperation(_this);\r\n _this.apiOperationPolicy = new operations.ApiOperationPolicy(_this);\r\n _this.apiProduct = new operations.ApiProduct(_this);\r\n _this.apiPolicy = new operations.ApiPolicy(_this);\r\n _this.apiSchema = new operations.ApiSchema(_this);\r\n _this.apiDiagnostic = new operations.ApiDiagnostic(_this);\r\n _this.apiDiagnosticLogger = new operations.ApiDiagnosticLogger(_this);\r\n _this.apiIssue = new operations.ApiIssue(_this);\r\n _this.apiIssueComment = new operations.ApiIssueComment(_this);\r\n _this.apiIssueAttachment = new operations.ApiIssueAttachment(_this);\r\n _this.authorizationServer = new operations.AuthorizationServer(_this);\r\n _this.backend = new operations.Backend(_this);\r\n _this.certificate = new operations.Certificate(_this);\r\n _this.apiManagementOperations = new operations.ApiManagementOperations(_this);\r\n _this.apiManagementService = new operations.ApiManagementService(_this);\r\n _this.diagnostic = new operations.Diagnostic(_this);\r\n _this.diagnosticLogger = new operations.DiagnosticLogger(_this);\r\n _this.emailTemplate = new operations.EmailTemplate(_this);\r\n _this.group = new operations.Group(_this);\r\n _this.groupUser = new operations.GroupUser(_this);\r\n _this.identityProvider = new operations.IdentityProvider(_this);\r\n _this.logger = new operations.Logger(_this);\r\n _this.notification = new operations.Notification(_this);\r\n _this.notificationRecipientUser = new operations.NotificationRecipientUser(_this);\r\n _this.notificationRecipientEmail = new operations.NotificationRecipientEmail(_this);\r\n _this.networkStatus = new operations.NetworkStatus(_this);\r\n _this.openIdConnectProvider = new operations.OpenIdConnectProvider(_this);\r\n _this.signInSettings = new operations.SignInSettings(_this);\r\n _this.signUpSettings = new operations.SignUpSettings(_this);\r\n _this.delegationSettings = new operations.DelegationSettings(_this);\r\n _this.product = new operations.Product(_this);\r\n _this.productApi = new operations.ProductApi(_this);\r\n _this.productGroup = new operations.ProductGroup(_this);\r\n _this.productSubscriptions = new operations.ProductSubscriptions(_this);\r\n _this.productPolicy = new operations.ProductPolicy(_this);\r\n _this.property = new operations.Property(_this);\r\n _this.quotaByCounterKeys = new operations.QuotaByCounterKeys(_this);\r\n _this.quotaByPeriodKeys = new operations.QuotaByPeriodKeys(_this);\r\n _this.reports = new operations.Reports(_this);\r\n _this.subscription = new operations.Subscription(_this);\r\n _this.tagResource = new operations.TagResource(_this);\r\n _this.tag = new operations.Tag(_this);\r\n _this.tagDescription = new operations.TagDescription(_this);\r\n _this.operation = new operations.OperationOperations(_this);\r\n _this.tenantAccess = new operations.TenantAccess(_this);\r\n _this.tenantAccessGit = new operations.TenantAccessGit(_this);\r\n _this.tenantConfiguration = new operations.TenantConfiguration(_this);\r\n _this.user = new operations.User(_this);\r\n _this.userGroup = new operations.UserGroup(_this);\r\n _this.userSubscription = new operations.UserSubscription(_this);\r\n _this.userIdentities = new operations.UserIdentities(_this);\r\n _this.apiVersionSet = new operations.ApiVersionSet(_this);\r\n _this.apiExport = new operations.ApiExport(_this);\r\n return _this;\r\n }\r\n return ApiManagementClient;\r\n}(ApiManagementClientContext));\r\n// Operation Specifications\r\nexport { ApiManagementClient, ApiManagementClientContext, Models as ApiManagementModels, Mappers as ApiManagementMappers };\r\nexport * from \"./operations\";\r\n//# sourceMappingURL=apiManagementClient.js.map"],"names":["CloudErrorMapper","BaseResourceMapper","tslib_1.__assign","resourceGroupName","serviceName","msRest.Serializer","Parameters.resourceGroupName","Parameters.serviceName","Parameters.subscriptionId","Parameters.scope","Parameters.apiVersion","Parameters.acceptLanguage","Mappers.PolicyCollection","Mappers.CloudError","Parameters.policyId","Mappers.PolicyGetEntityTagHeaders","Mappers.ErrorResponse","Mappers.PolicyContract","Mappers.PolicyGetHeaders","Parameters.ifMatch0","listByServiceOperationSpec","serializer","Mappers","Mappers.PolicySnippetsCollection","nextPageLink","Mappers.RegionListResult","Parameters.nextPageLink","getEntityTagOperationSpec","getOperationSpec","createOrUpdateOperationSpec","deleteMethodOperationSpec","listByServiceNextOperationSpec","Parameters.filter0","Parameters.top","Parameters.skip","Parameters.expandApiVersionSet","Mappers.ApiCollection","Parameters.apiId0","Mappers.ApiGetEntityTagHeaders","Mappers.ApiContract","Mappers.ApiGetHeaders","Parameters.ifMatch1","Mappers.ApiCreateOrUpdateParameter","Mappers.ApiCreateOrUpdateHeaders","Mappers.ApiUpdateContract","Parameters.deleteRevisions","Mappers.TagResourceCollection","Parameters.apiId1","Mappers.ApiRevisionCollection","listOperationSpec","releaseId","updateOperationSpec","listNextOperationSpec","Mappers.ApiReleaseCollection","Parameters.releaseId","Mappers.ApiReleaseGetEntityTagHeaders","Mappers.ApiReleaseContract","operationId","Mappers.OperationCollection","Parameters.operationId","Mappers.ApiOperationGetEntityTagHeaders","Mappers.OperationContract","Mappers.ApiOperationGetHeaders","Mappers.OperationUpdateContract","Mappers.ApiOperationPolicyGetEntityTagHeaders","Mappers.ApiOperationPolicyGetHeaders","Mappers.ProductCollection","listByApiOperationSpec","Mappers.ApiPolicyListByApiHeaders","Mappers.ApiPolicyGetEntityTagHeaders","Mappers.ApiPolicyGetHeaders","schemaId","listByApiNextOperationSpec","Mappers.SchemaCollection","Mappers.ApiSchemaListByApiHeaders","Parameters.schemaId","Mappers.ApiSchemaGetEntityTagHeaders","Mappers.SchemaContract","Mappers.ApiSchemaGetHeaders","diagnosticId","Mappers.DiagnosticCollection","Parameters.diagnosticId","Mappers.ApiDiagnosticGetEntityTagHeaders","Mappers.DiagnosticContract","Mappers.ApiDiagnosticGetHeaders","loggerid","Mappers.LoggerCollection","Parameters.loggerid","Mappers.LoggerContract","issueId","Mappers.IssueCollection","Parameters.issueId","Mappers.ApiIssueGetEntityTagHeaders","Mappers.IssueContract","Mappers.ApiIssueGetHeaders","commentId","Mappers.IssueCommentCollection","Parameters.commentId","Mappers.ApiIssueCommentGetEntityTagHeaders","Mappers.IssueCommentContract","Mappers.ApiIssueCommentGetHeaders","attachmentId","Mappers.IssueAttachmentCollection","Parameters.attachmentId","Mappers.ApiIssueAttachmentGetEntityTagHeaders","Mappers.IssueAttachmentContract","Mappers.ApiIssueAttachmentGetHeaders","authsid","Mappers.AuthorizationServerCollection","Parameters.authsid","Mappers.AuthorizationServerGetEntityTagHeaders","Mappers.AuthorizationServerContract","Mappers.AuthorizationServerGetHeaders","Mappers.AuthorizationServerUpdateContract","backendid","Mappers.BackendCollection","Parameters.backendid","Mappers.BackendGetEntityTagHeaders","Mappers.BackendContract","Mappers.BackendGetHeaders","Mappers.BackendUpdateParameters","Mappers.BackendReconnectContract","certificateId","Mappers.CertificateCollection","Parameters.certificateId","Mappers.CertificateGetEntityTagHeaders","Mappers.CertificateContract","Mappers.CertificateGetHeaders","Mappers.CertificateCreateOrUpdateParameters","Mappers.OperationListResult","Mappers.ApiManagementServiceResource","Mappers.ApiManagementServiceListResult","Mappers.ApiManagementServiceGetSsoTokenResult","Mappers.ApiManagementServiceCheckNameAvailabilityParameters","Mappers.ApiManagementServiceNameAvailabilityResult","Mappers.ApiManagementServiceUploadCertificateParameters","Mappers.CertificateInformation","Mappers.ApiManagementServiceBackupRestoreParameters","Mappers.ApiManagementServiceUpdateParameters","Mappers.ApiManagementServiceApplyNetworkConfigurationParameters","Mappers.ApiManagementServiceUpdateHostnameParameters","Mappers.DiagnosticGetEntityTagHeaders","Mappers.DiagnosticGetHeaders","checkEntityExistsOperationSpec","templateName","Mappers.EmailTemplateCollection","Parameters.templateName","Mappers.EmailTemplateGetEntityTagHeaders","Mappers.EmailTemplateContract","Mappers.EmailTemplateGetHeaders","Mappers.EmailTemplateUpdateParameters","groupId","Mappers.GroupCollection","Parameters.groupId","Mappers.GroupGetEntityTagHeaders","Mappers.GroupContract","Mappers.GroupGetHeaders","Mappers.GroupCreateParameters","Mappers.GroupUpdateParameters","uid","createOperationSpec","Mappers.UserCollection","Parameters.uid","Mappers.UserContract","identityProviderName","Mappers.IdentityProviderList","Parameters.identityProviderName","Mappers.IdentityProviderGetEntityTagHeaders","Mappers.IdentityProviderContract","Mappers.IdentityProviderGetHeaders","Mappers.IdentityProviderUpdateParameters","Mappers.LoggerGetEntityTagHeaders","Mappers.LoggerGetHeaders","Mappers.LoggerUpdateContract","notificationName","Mappers.NotificationCollection","Parameters.notificationName","Mappers.NotificationContract","Mappers.RecipientUserCollection","Mappers.RecipientUserContract","listByNotificationOperationSpec","email","Mappers.RecipientEmailCollection","Parameters.email","Mappers.RecipientEmailContract","locationName","Parameters.locationName","Mappers.NetworkStatusContract","opid","Mappers.OpenIdConnectProviderCollection","Parameters.opid","Mappers.OpenIdConnectProviderGetEntityTagHeaders","Mappers.OpenidConnectProviderContract","Mappers.OpenIdConnectProviderGetHeaders","Mappers.OpenidConnectProviderUpdateContract","Mappers.SignInSettingsGetEntityTagHeaders","Mappers.PortalSigninSettings","Mappers.SignInSettingsGetHeaders","Mappers.SignUpSettingsGetEntityTagHeaders","Mappers.PortalSignupSettings","Mappers.SignUpSettingsGetHeaders","Mappers.DelegationSettingsGetEntityTagHeaders","Mappers.PortalDelegationSettings","Mappers.DelegationSettingsGetHeaders","productId","Parameters.expandGroups","Parameters.productId","Mappers.ProductGetEntityTagHeaders","Mappers.ProductContract","Mappers.ProductGetHeaders","Mappers.ProductUpdateParameters","Parameters.deleteSubscriptions","listByProductOperationSpec","listByProductNextOperationSpec","Mappers.SubscriptionCollection","Mappers.ProductPolicyListByProductHeaders","Mappers.ProductPolicyGetEntityTagHeaders","Mappers.ProductPolicyGetHeaders","propId","Mappers.PropertyCollection","Parameters.propId","Mappers.PropertyGetEntityTagHeaders","Mappers.PropertyContract","Mappers.PropertyGetHeaders","Mappers.PropertyUpdateParameters","quotaCounterKey","Parameters.quotaCounterKey","Mappers.QuotaCounterCollection","Mappers.QuotaCounterValueContractProperties","quotaPeriodKey","Parameters.quotaPeriodKey","Mappers.QuotaCounterContract","listByOperationOperationSpec","interval","Parameters.filter1","Mappers.ReportCollection","Parameters.interval","Mappers.RequestReportCollection","sid","Parameters.sid","Mappers.SubscriptionGetEntityTagHeaders","Mappers.SubscriptionContract","Mappers.SubscriptionGetHeaders","Parameters.notify","Mappers.SubscriptionCreateParameters","Mappers.SubscriptionUpdateParameters","tagId","listByOperationNextOperationSpec","Mappers.TagCollection","Parameters.tagId","Mappers.TagGetEntityStateHeaders","Mappers.TagContract","Mappers.TagGetHeaders","Mappers.TagCreateUpdateParameters","Mappers.TagGetEntityStateByApiHeaders","Mappers.TagGetByApiHeaders","Mappers.TagGetEntityStateByOperationHeaders","Mappers.TagGetByOperationHeaders","Mappers.TagGetEntityStateByProductHeaders","Mappers.TagGetByProductHeaders","getEntityStateOperationSpec","Mappers.TagDescriptionCollection","Mappers.TagDescriptionGetEntityStateHeaders","Mappers.TagDescriptionContract","Mappers.TagDescriptionGetHeaders","Mappers.TagDescriptionCreateParameters","listByTagsOperationSpec","listByTagsNextOperationSpec","regeneratePrimaryKeyOperationSpec","regenerateSecondaryKeyOperationSpec","Parameters.accessName","Mappers.AccessInformationContract","Mappers.TenantAccessGetHeaders","Mappers.AccessInformationUpdateParameters","Mappers.TenantAccessGitGetHeaders","Parameters.configurationName","Mappers.TenantConfigurationSyncStateContract","Mappers.DeployConfigurationParameters","Mappers.OperationResultContract","Mappers.SaveConfigurationParameter","Mappers.UserGetEntityTagHeaders","Mappers.UserGetHeaders","Mappers.UserCreateParameters","Mappers.UserUpdateParameters","Mappers.GenerateSsoUrlResult","Mappers.UserTokenParameters","Mappers.UserTokenResult","Mappers.UserIdentityCollection","versionSetId","Mappers.ApiVersionSetCollection","Parameters.versionSetId","Mappers.ApiVersionSetGetEntityTagHeaders","Mappers.ApiVersionSetContract","Mappers.ApiVersionSetGetHeaders","Mappers.ApiVersionSetUpdateParameters","format","Parameters.format","Parameters.exportParameter","Mappers.ApiExportResult","tslib_1.__extends","msRestAzure.AzureServiceClient","operations.Policy","operations.PolicySnippets","operations.Regions","operations.Api","operations.ApiRevisions","operations.ApiRelease","operations.ApiOperation","operations.ApiOperationPolicy","operations.ApiProduct","operations.ApiPolicy","operations.ApiSchema","operations.ApiDiagnostic","operations.ApiDiagnosticLogger","operations.ApiIssue","operations.ApiIssueComment","operations.ApiIssueAttachment","operations.AuthorizationServer","operations.Backend","operations.Certificate","operations.ApiManagementOperations","operations.ApiManagementService","operations.Diagnostic","operations.DiagnosticLogger","operations.EmailTemplate","operations.Group","operations.GroupUser","operations.IdentityProvider","operations.Logger","operations.Notification","operations.NotificationRecipientUser","operations.NotificationRecipientEmail","operations.NetworkStatus","operations.OpenIdConnectProvider","operations.SignInSettings","operations.SignUpSettings","operations.DelegationSettings","operations.Product","operations.ProductApi","operations.ProductGroup","operations.ProductSubscriptions","operations.ProductPolicy","operations.Property","operations.QuotaByCounterKeys","operations.QuotaByPeriodKeys","operations.Reports","operations.Subscription","operations.TagResource","operations.Tag","operations.TagDescription","operations.OperationOperations","operations.TenantAccess","operations.TenantAccessGit","operations.TenantConfiguration","operations.User","operations.UserGroup","operations.UserSubscription","operations.UserIdentities","operations.ApiVersionSet","operations.ApiExport"],"mappings":";;;;;;;;;;;;;;;IAAA;IACA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;;AAEF,IAAO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxB,IAAI,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IAC3C,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IACzF,CAAC;;A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,aAAwB,CAAC,KAAK,CAAC,CAAC;IAClE,QAAQ,KAAK,CAAC,SAAS,GAAG,IAAIC,SAAoB,CAAC,KAAK,CAAC,CAAC;IAC1D,QAAQ,OAAO,KAAK,CAAC;IACrB,KAAK;IACL,IAAI,OAAO,mBAAmB,CAAC;IAC/B,CAAC,CAAC,0BAA0B,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/packages/@azure/arm-apimanagement/dist/arm-apimanagement.min.js b/packages/@azure/arm-apimanagement/dist/arm-apimanagement.min.js deleted file mode 100644 index 7fa28f653c23..000000000000 --- a/packages/@azure/arm-apimanagement/dist/arm-apimanagement.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("ms-rest-azure-js"),require("ms-rest-js")):"function"==typeof define&&define.amd?define(["exports","ms-rest-azure-js","ms-rest-js"],t):t((e.Azure=e.Azure||{},e.Azure.ArmApimanagement={}),e.msRestAzure,e.msRest)}(this,function(e,t,r){"use strict";var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function o(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i,s,n,p,c,m,d,u,l,y,g,C,N,P,h,S,M,v,f,z,b,A,I,G,R,T,q,O,E,k,B,L,U,D,x,H,w,V,F,K,j,X,$,Q,_,W,Z,J,Y,ee,te,re,ae,ie,oe,se,ne,pe,ce,me,de,ue,le,ye,ge,Ce,Ne=function(){return(Ne=Object.assign||function(e){for(var t,r=1,a=arguments.length;r?]+$/},type:{name:"String"}}},Wi={parameterPath:"apiId",mapper:{required:!0,serializedName:"apiId",constraints:{MaxLength:80,MinLength:1,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},Zi={parameterPath:"apiVersion",mapper:{required:!0,serializedName:"api-version",type:{name:"String"}}},Ji={parameterPath:"attachmentId",mapper:{required:!0,serializedName:"attachmentId",constraints:{MaxLength:256,MinLength:1,Pattern:/^[^*#&+:<>?]+$/},type:{name:"String"}}},Yi={parameterPath:"authsid",mapper:{required:!0,serializedName:"authsid",constraints:{MaxLength:80,MinLength:1,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},eo={parameterPath:"backendid",mapper:{required:!0,serializedName:"backendid",constraints:{MaxLength:80,MinLength:1,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},to={parameterPath:"certificateId",mapper:{required:!0,serializedName:"certificateId",constraints:{MaxLength:80,MinLength:1,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},ro={parameterPath:"commentId",mapper:{required:!0,serializedName:"commentId",constraints:{MaxLength:256,MinLength:1,Pattern:/^[^*#&+:<>?]+$/},type:{name:"String"}}},ao={parameterPath:"configurationName",mapper:{required:!0,isConstant:!0,serializedName:"configurationName",defaultValue:"configuration",type:{name:"String"}}},io={parameterPath:["options","deleteSubscriptions"],mapper:{serializedName:"deleteSubscriptions",type:{name:"Boolean"}}},oo={parameterPath:"diagnosticId",mapper:{required:!0,serializedName:"diagnosticId",constraints:{MaxLength:80,MinLength:1,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},so={parameterPath:"email",mapper:{required:!0,serializedName:"email",type:{name:"String"}}},no={parameterPath:["options","filter"],mapper:{serializedName:"$filter",type:{name:"String"}}},po={parameterPath:"filter",mapper:{required:!0,serializedName:"$filter",type:{name:"String"}}},co={parameterPath:"groupId",mapper:{required:!0,serializedName:"groupId",constraints:{MaxLength:80,MinLength:1,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},mo={parameterPath:"identityProviderName",mapper:{required:!0,serializedName:"identityProviderName",type:{name:"String"}}},uo={parameterPath:"ifMatch",mapper:{required:!0,serializedName:"If-Match",type:{name:"String"}}},lo={parameterPath:["options","ifMatch"],mapper:{serializedName:"If-Match",type:{name:"String"}}},yo={parameterPath:"issueId",mapper:{required:!0,serializedName:"issueId",constraints:{MaxLength:256,MinLength:1,Pattern:/^[^*#&+:<>?]+$/},type:{name:"String"}}},go={parameterPath:"loggerid",mapper:{required:!0,serializedName:"loggerid",constraints:{MaxLength:80,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},Co={parameterPath:"nextPageLink",mapper:{required:!0,serializedName:"nextLink",type:{name:"String"}},skipEncoding:!0},No={parameterPath:"notificationName",mapper:{required:!0,serializedName:"notificationName",type:{name:"String"}}},Po={parameterPath:["options","notify"],mapper:{serializedName:"notify",type:{name:"Boolean"}}},ho={parameterPath:"operationId",mapper:{required:!0,serializedName:"operationId",constraints:{MaxLength:80,MinLength:1,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},So={parameterPath:"opid",mapper:{required:!0,serializedName:"opid",constraints:{MaxLength:256,Pattern:/^[^*#&+:<>?]+$/},type:{name:"String"}}},Mo={parameterPath:"policyId",mapper:{required:!0,isConstant:!0,serializedName:"policyId",defaultValue:"policy",type:{name:"String"}}},vo={parameterPath:"productId",mapper:{required:!0,serializedName:"productId",constraints:{MaxLength:80,MinLength:1,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},fo={parameterPath:"propId",mapper:{required:!0,serializedName:"propId",constraints:{MaxLength:80,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},zo={parameterPath:"quotaCounterKey",mapper:{required:!0,serializedName:"quotaCounterKey",type:{name:"String"}}},bo={parameterPath:"quotaPeriodKey",mapper:{required:!0,serializedName:"quotaPeriodKey",type:{name:"String"}}},Ao={parameterPath:"releaseId",mapper:{required:!0,serializedName:"releaseId",constraints:{MaxLength:80,MinLength:1,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},Io={parameterPath:"resourceGroupName",mapper:{required:!0,serializedName:"resourceGroupName",type:{name:"String"}}},Go={parameterPath:"schemaId",mapper:{required:!0,serializedName:"schemaId",constraints:{MaxLength:80,MinLength:1,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},Ro={parameterPath:["options","scope"],mapper:{serializedName:"scope",type:{name:"Enum",allowedValues:["Tenant","Product","Api","Operation","All"]}}},To={parameterPath:"serviceName",mapper:{required:!0,serializedName:"serviceName",constraints:{MaxLength:50,MinLength:1,Pattern:/^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/},type:{name:"String"}}},qo={parameterPath:"sid",mapper:{required:!0,serializedName:"sid",constraints:{MaxLength:80,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},Oo={parameterPath:["options","skip"],mapper:{serializedName:"$skip",constraints:{InclusiveMinimum:0},type:{name:"Number"}}},Eo={parameterPath:"subscriptionId",mapper:{required:!0,serializedName:"subscriptionId",type:{name:"String"}}},ko={parameterPath:"tagId",mapper:{required:!0,serializedName:"tagId",constraints:{MaxLength:80,MinLength:1,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},Bo={parameterPath:"templateName",mapper:{required:!0,serializedName:"templateName",type:{name:"String"}}},Lo={parameterPath:["options","top"],mapper:{serializedName:"$top",constraints:{InclusiveMinimum:1},type:{name:"Number"}}},Uo={parameterPath:"uid",mapper:{required:!0,serializedName:"uid",constraints:{MaxLength:80,MinLength:1,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},Do={parameterPath:"versionSetId",mapper:{required:!0,serializedName:"versionSetId",constraints:{MaxLength:80,MinLength:1,Pattern:/(^[\w]+$)|(^[\w][\w\-]+[\w]$)/},type:{name:"String"}}},xo=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},wo,a)},e.prototype.getEntityTag=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Vo,a)},e.prototype.get=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Fo,a)},e.prototype.createOrUpdate=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,parameters:r,options:a},Ko,i)},e.prototype.deleteMethod=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,ifMatch:r,options:a},jo,i)},e}(),Ho=new r.Serializer(Xi),wo={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies",urlParameters:[Io,To,Eo],queryParameters:[Ro,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ae},default:{bodyMapper:he}},serializer:Ho},Vo={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}",urlParameters:[Io,To,Mo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Qr},default:{bodyMapper:fe}},serializer:Ho},Fo={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}",urlParameters:[Io,To,Mo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:be,headersMapper:_r},default:{bodyMapper:fe}},serializer:Ho},Ko={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}",urlParameters:[Io,To,Mo,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},be,{required:!0})},responses:{200:{bodyMapper:be},201:{bodyMapper:be},default:{bodyMapper:fe}},serializer:Ho},jo={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}",urlParameters:[Io,To,Mo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Ho},Xo=Object.freeze({PolicySnippetsCollection:Ge,PolicySnippetContract:Ie,CloudError:he}),$o=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Qo,a)},e}(),Qo={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policySnippets",urlParameters:[Io,To,Eo],queryParameters:[Ro,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ge},default:{bodyMapper:he}},serializer:new r.Serializer(Xo)},_o=Object.freeze({RegionListResult:li,RegionContract:Re,CloudError:he}),Wo=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Jo,a)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Yo,r)},e}(),Zo=new r.Serializer(_o),Jo={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/regions",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:li},default:{bodyMapper:he}},serializer:Zo},Yo={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:li},default:{bodyMapper:he}},serializer:Zo},es=Object.freeze({ApiCollection:yi,ApiContract:ke,Resource:ze,BaseResource:Se,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ErrorResponse:fe,ErrorFieldContract:Me,ApiGetEntityTagHeaders:Wr,ApiGetHeaders:Zr,ApiCreateOrUpdateParameter:Le,ApiCreateOrUpdatePropertiesWsdlSelector:Be,ApiCreateOrUpdateHeaders:Jr,ApiUpdateContract:Ue,TagResourceCollection:gi,TagResourceContract:nt,TagTagResourceContractProperties:st,ApiTagResourceContractProperties:ot,ApiEntityBaseContract:Oe,OperationTagResourceContractProperties:it,ProductTagResourceContractProperties:at,ProductEntityBaseParameters:rt,CloudError:he,PolicyContract:be,ApiContractProperties:Ee,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),ts=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},as,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},is,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},os,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,parameters:a,options:i},ss,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,parameters:a,ifMatch:i,options:o},ns,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,ifMatch:a,options:i},ps,o)},e.prototype.listByTags=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},cs,a)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},ms,r)},e.prototype.listByTagsNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},ds,r)},e}(),rs=new r.Serializer(es),as={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi,{parameterPath:["options","expandApiVersionSet"],mapper:{serializedName:"expandApiVersionSet",defaultValue:!1,type:{name:"Boolean"}}}],headerParameters:[$i],responses:{200:{bodyMapper:yi},default:{bodyMapper:fe}},serializer:rs},is={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}",urlParameters:[Io,To,_i,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Wr},default:{bodyMapper:fe}},serializer:rs},os={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}",urlParameters:[Io,To,_i,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:ke,headersMapper:Zr},default:{bodyMapper:fe}},serializer:rs},ss={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}",urlParameters:[Io,To,_i,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Le,{required:!0})},responses:{200:{bodyMapper:ke,headersMapper:Jr},201:{bodyMapper:ke,headersMapper:Jr},default:{bodyMapper:fe}},serializer:rs},ns={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}",urlParameters:[Io,To,_i,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Ue,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:rs},ps={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}",urlParameters:[Io,To,_i,Eo],queryParameters:[{parameterPath:["options","deleteRevisions"],mapper:{serializedName:"deleteRevisions",type:{name:"Boolean"}}},Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:rs},cs={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apisByTags",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:gi},default:{bodyMapper:he}},serializer:rs},ms={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:yi},default:{bodyMapper:fe}},serializer:rs},ds={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:gi},default:{bodyMapper:he}},serializer:rs},us=Object.freeze({ApiRevisionCollection:Ci,ApiRevisionContract:Ve,ErrorResponse:fe,ErrorFieldContract:Me}),ls=function(){function e(e){this.client=e}return e.prototype.list=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},gs,i)},e.prototype.listNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Cs,r)},e}(),ys=new r.Serializer(us),gs={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/revisions",urlParameters:[Io,To,Eo,Wi],queryParameters:[Zi,no,Lo,Oo],headerParameters:[$i],responses:{200:{bodyMapper:Ci},default:{bodyMapper:fe}},serializer:ys},Cs={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Ci},default:{bodyMapper:fe}},serializer:ys},Ns=Object.freeze({ApiReleaseCollection:Ni,ApiReleaseContract:Fe,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,ApiReleaseGetEntityTagHeaders:Yr,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Ps=function(){function e(e){this.client=e}return e.prototype.list=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},Ss,i)},e.prototype.getEntityTag=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,releaseId:a,options:i},Ms,o)},e.prototype.get=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,releaseId:a,options:i},vs,o)},e.prototype.create=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,releaseId:a,parameters:i,options:o},fs,s)},e.prototype.update=function(e,t,r,a,i,o,s,n){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,releaseId:a,parameters:i,ifMatch:o,options:s},zs,n)},e.prototype.deleteMethod=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,releaseId:a,ifMatch:i,options:o},bs,s)},e.prototype.listNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},As,r)},e}(),hs=new r.Serializer(Ns),Ss={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases",urlParameters:[Io,To,Wi,Eo],queryParameters:[Zi,no,Lo,Oo],headerParameters:[$i],responses:{200:{bodyMapper:Ni},default:{bodyMapper:fe}},serializer:hs},Ms={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}",urlParameters:[Io,To,Eo,Wi,Ao],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Yr},default:{bodyMapper:fe}},serializer:hs},vs={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}",urlParameters:[Io,To,Eo,Wi,Ao],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Fe},default:{bodyMapper:fe}},serializer:hs},fs={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}",urlParameters:[Io,To,Eo,Wi,Ao],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Fe,{required:!0})},responses:{200:{bodyMapper:Fe},201:{bodyMapper:Fe},default:{bodyMapper:fe}},serializer:hs},zs={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}",urlParameters:[Io,To,Eo,Wi,Ao],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Fe,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:hs},bs={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}",urlParameters:[Io,To,Eo,Wi,Ao],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:hs},As={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Ni},default:{bodyMapper:fe}},serializer:hs},Is=Object.freeze({OperationCollection:Pi,OperationContract:Ke,Resource:ze,BaseResource:Se,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,ErrorResponse:fe,ErrorFieldContract:Me,ApiOperationGetEntityTagHeaders:ea,ApiOperationGetHeaders:ta,OperationUpdateContract:_e,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Gs=function(){function e(e){this.client=e}return e.prototype.listByApi=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},Ts,i)},e.prototype.getEntityTag=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,options:i},qs,o)},e.prototype.get=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,options:i},Os,o)},e.prototype.createOrUpdate=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,parameters:i,options:o},Es,s)},e.prototype.update=function(e,t,r,a,i,o,s,n){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,parameters:i,ifMatch:o,options:s},ks,n)},e.prototype.deleteMethod=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,ifMatch:i,options:o},Bs,s)},e.prototype.listByApiNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Ls,r)},e}(),Rs=new r.Serializer(Is),Ts={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations",urlParameters:[Io,To,_i,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Pi},default:{bodyMapper:fe}},serializer:Rs},qs={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}",urlParameters:[Io,To,_i,ho,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:ea},default:{bodyMapper:fe}},serializer:Rs},Os={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}",urlParameters:[Io,To,_i,ho,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ke,headersMapper:ta},default:{bodyMapper:fe}},serializer:Rs},Es={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}",urlParameters:[Io,To,_i,ho,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Ke,{required:!0})},responses:{200:{bodyMapper:Ke},201:{bodyMapper:Ke},default:{bodyMapper:fe}},serializer:Rs},ks={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}",urlParameters:[Io,To,_i,ho,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},_e,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:Rs},Bs={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}",urlParameters:[Io,To,_i,ho,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Rs},Ls={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Pi},default:{bodyMapper:fe}},serializer:Rs},Us=Object.freeze({PolicyCollection:Ae,PolicyContract:be,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,ApiOperationPolicyGetEntityTagHeaders:ra,ApiOperationPolicyGetHeaders:aa,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Ds=function(){function e(e){this.client=e}return e.prototype.listByOperation=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,options:i},Hs,o)},e.prototype.getEntityTag=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,options:i},ws,o)},e.prototype.get=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,options:i},Vs,o)},e.prototype.createOrUpdate=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,parameters:i,options:o},Fs,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,ifMatch:i,options:o},Ks,s)},e}(),xs=new r.Serializer(Us),Hs={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies",urlParameters:[Io,To,_i,ho,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ae},default:{bodyMapper:fe}},serializer:xs},ws={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}",urlParameters:[Io,To,_i,ho,Mo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:ra},default:{bodyMapper:fe}},serializer:xs},Vs={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}",urlParameters:[Io,To,_i,ho,Mo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:be,headersMapper:aa},default:{bodyMapper:fe}},serializer:xs},Fs={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}",urlParameters:[Io,To,_i,ho,Mo,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},be,{required:!0})},responses:{200:{bodyMapper:be},201:{bodyMapper:be},default:{bodyMapper:fe}},serializer:xs},Ks={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}",urlParameters:[Io,To,_i,ho,Mo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:xs},js=Object.freeze({ProductCollection:hi,ProductContract:pt,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Xs=function(){function e(e){this.client=e}return e.prototype.listByApis=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},Qs,i)},e.prototype.listByApisNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},_s,r)},e}(),$s=new r.Serializer(js),Qs={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/products",urlParameters:[Io,To,Wi,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:hi},default:{bodyMapper:fe}},serializer:$s},_s={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:hi},default:{bodyMapper:fe}},serializer:$s},Ws=Object.freeze({PolicyCollection:Ae,PolicyContract:be,Resource:ze,BaseResource:Se,ApiPolicyListByApiHeaders:ia,ErrorResponse:fe,ErrorFieldContract:Me,ApiPolicyGetEntityTagHeaders:oa,ApiPolicyGetHeaders:sa,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Zs=function(){function e(e){this.client=e}return e.prototype.listByApi=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},Ys,i)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},en,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},tn,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,parameters:a,options:i},rn,o)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,ifMatch:a,options:i},an,o)},e}(),Js=new r.Serializer(Ws),Ys={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies",urlParameters:[Io,To,_i,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ae,headersMapper:ia},default:{bodyMapper:fe}},serializer:Js},en={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}",urlParameters:[Io,To,_i,Mo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:oa},default:{bodyMapper:fe}},serializer:Js},tn={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}",urlParameters:[Io,To,_i,Mo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:be,headersMapper:sa},default:{bodyMapper:fe}},serializer:Js},rn={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}",urlParameters:[Io,To,_i,Mo,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},be,{required:!0})},responses:{200:{bodyMapper:be},201:{bodyMapper:be},default:{bodyMapper:fe}},serializer:Js},an={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}",urlParameters:[Io,To,_i,Mo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Js},on=Object.freeze({SchemaCollection:Si,SchemaContract:We,Resource:ze,BaseResource:Se,ApiSchemaListByApiHeaders:na,ErrorResponse:fe,ErrorFieldContract:Me,ApiSchemaGetEntityTagHeaders:pa,ApiSchemaGetHeaders:ca,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),sn=function(){function e(e){this.client=e}return e.prototype.listByApi=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},pn,i)},e.prototype.getEntityTag=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,schemaId:a,options:i},cn,o)},e.prototype.get=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,schemaId:a,options:i},mn,o)},e.prototype.createOrUpdate=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,schemaId:a,parameters:i,options:o},dn,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,schemaId:a,ifMatch:i,options:o},un,s)},e.prototype.listByApiNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},ln,r)},e}(),nn=new r.Serializer(on),pn={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas",urlParameters:[Io,To,_i,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Si,headersMapper:na},default:{bodyMapper:fe}},serializer:nn},cn={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}",urlParameters:[Io,To,_i,Go,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:pa},default:{bodyMapper:fe}},serializer:nn},mn={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}",urlParameters:[Io,To,_i,Go,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:We,headersMapper:ca},default:{bodyMapper:fe}},serializer:nn},dn={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}",urlParameters:[Io,To,_i,Go,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},We,{required:!0})},responses:{200:{bodyMapper:We},201:{bodyMapper:We},default:{bodyMapper:fe}},serializer:nn},un={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}",urlParameters:[Io,To,_i,Go,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:nn},ln={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Si,headersMapper:na},default:{bodyMapper:fe}},serializer:nn},yn=Object.freeze({DiagnosticCollection:Mi,DiagnosticContract:tt,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,ApiDiagnosticGetEntityTagHeaders:ma,ApiDiagnosticGetHeaders:da,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),gn=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},Nn,i)},e.prototype.getEntityTag=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,diagnosticId:a,options:i},Pn,o)},e.prototype.get=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,diagnosticId:a,options:i},hn,o)},e.prototype.createOrUpdate=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,diagnosticId:a,parameters:i,options:o},Sn,s)},e.prototype.update=function(e,t,r,a,i,o,s,n){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,diagnosticId:a,parameters:i,ifMatch:o,options:s},Mn,n)},e.prototype.deleteMethod=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,diagnosticId:a,ifMatch:i,options:o},vn,s)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},fn,r)},e}(),Cn=new r.Serializer(yn),Nn={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics",urlParameters:[Io,To,Wi,Eo],queryParameters:[Zi,no,Lo,Oo],headerParameters:[$i],responses:{200:{bodyMapper:Mi},default:{bodyMapper:fe}},serializer:Cn},Pn={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}",urlParameters:[Io,To,Wi,oo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:ma},default:{bodyMapper:fe}},serializer:Cn},hn={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}",urlParameters:[Io,To,Wi,oo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:tt,headersMapper:da},default:{bodyMapper:fe}},serializer:Cn},Sn={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}",urlParameters:[Io,To,Wi,oo,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},tt,{required:!0})},responses:{200:{bodyMapper:tt},201:{bodyMapper:tt},default:{bodyMapper:fe}},serializer:Cn},Mn={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}",urlParameters:[Io,To,Wi,oo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},tt,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:Cn},vn={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}",urlParameters:[Io,To,Wi,oo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Cn},fn={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Mi},default:{bodyMapper:fe}},serializer:Cn},zn=Object.freeze({LoggerCollection:vi,LoggerContract:et,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),bn=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,diagnosticId:a,options:i},In,o)},e.prototype.checkEntityExists=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,diagnosticId:a,loggerid:i,options:o},Gn,s)},e.prototype.createOrUpdate=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,diagnosticId:a,loggerid:i,options:o},Rn,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,diagnosticId:a,loggerid:i,options:o},Tn,s)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},qn,r)},e}(),An=new r.Serializer(zn),In={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers",urlParameters:[Io,To,Wi,Eo,oo],queryParameters:[Zi,no,Lo,Oo],headerParameters:[$i],responses:{200:{bodyMapper:vi},default:{bodyMapper:fe}},serializer:An},Gn={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers/{loggerid}",urlParameters:[Io,To,Wi,oo,go,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{204:{},404:{},default:{bodyMapper:fe}},serializer:An},Rn={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers/{loggerid}",urlParameters:[Io,To,Wi,oo,go,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:et},201:{bodyMapper:et},default:{bodyMapper:fe}},serializer:An},Tn={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers/{loggerid}",urlParameters:[Io,To,Wi,oo,go,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:An},qn={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:vi},default:{bodyMapper:fe}},serializer:An},On=Object.freeze({IssueCollection:fi,IssueContract:Ze,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,ApiIssueGetEntityTagHeaders:ua,ApiIssueGetHeaders:la,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),En=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},Bn,i)},e.prototype.getEntityTag=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,issueId:a,options:i},Ln,o)},e.prototype.get=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,issueId:a,options:i},Un,o)},e.prototype.createOrUpdate=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,issueId:a,parameters:i,options:o},Dn,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,issueId:a,ifMatch:i,options:o},xn,s)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Hn,r)},e}(),kn=new r.Serializer(On),Bn={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues",urlParameters:[Io,To,Wi,Eo],queryParameters:[Zi,no,Lo,Oo],headerParameters:[$i],responses:{200:{bodyMapper:fi},default:{bodyMapper:fe}},serializer:kn},Ln={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}",urlParameters:[Io,To,Wi,yo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:ua},default:{bodyMapper:fe}},serializer:kn},Un={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}",urlParameters:[Io,To,Wi,yo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ze,headersMapper:la},default:{bodyMapper:fe}},serializer:kn},Dn={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}",urlParameters:[Io,To,Wi,yo,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Ze,{required:!0})},responses:{200:{bodyMapper:Ze},201:{bodyMapper:Ze},default:{bodyMapper:fe}},serializer:kn},xn={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}",urlParameters:[Io,To,Wi,yo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:kn},Hn={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:fi},default:{bodyMapper:fe}},serializer:kn},wn=Object.freeze({IssueCommentCollection:zi,IssueCommentContract:Je,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,ApiIssueCommentGetEntityTagHeaders:ya,ApiIssueCommentGetHeaders:ga,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Vn=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,issueId:a,options:i},Kn,o)},e.prototype.getEntityTag=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,issueId:a,commentId:i,options:o},jn,s)},e.prototype.get=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,issueId:a,commentId:i,options:o},Xn,s)},e.prototype.createOrUpdate=function(e,t,r,a,i,o,s,n){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,issueId:a,commentId:i,parameters:o,options:s},$n,n)},e.prototype.deleteMethod=function(e,t,r,a,i,o,s,n){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,issueId:a,commentId:i,ifMatch:o,options:s},Qn,n)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},_n,r)},e}(),Fn=new r.Serializer(wn),Kn={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments",urlParameters:[Io,To,Wi,yo,Eo],queryParameters:[Zi,no,Lo,Oo],headerParameters:[$i],responses:{200:{bodyMapper:zi},default:{bodyMapper:fe}},serializer:Fn},jn={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}",urlParameters:[Io,To,Wi,yo,ro,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:ya},default:{bodyMapper:fe}},serializer:Fn},Xn={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}",urlParameters:[Io,To,Wi,yo,ro,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Je,headersMapper:ga},default:{bodyMapper:fe}},serializer:Fn},$n={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}",urlParameters:[Io,To,Wi,yo,ro,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Je,{required:!0})},responses:{200:{bodyMapper:Je},201:{bodyMapper:Je},default:{bodyMapper:fe}},serializer:Fn},Qn={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}",urlParameters:[Io,To,Wi,yo,ro,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Fn},_n={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:zi},default:{bodyMapper:fe}},serializer:Fn},Wn=Object.freeze({IssueAttachmentCollection:bi,IssueAttachmentContract:Ye,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,ApiIssueAttachmentGetEntityTagHeaders:Ca,ApiIssueAttachmentGetHeaders:Na,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Zn=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,issueId:a,options:i},Yn,o)},e.prototype.getEntityTag=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,issueId:a,attachmentId:i,options:o},ep,s)},e.prototype.get=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,issueId:a,attachmentId:i,options:o},tp,s)},e.prototype.createOrUpdate=function(e,t,r,a,i,o,s,n){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,issueId:a,attachmentId:i,parameters:o,options:s},rp,n)},e.prototype.deleteMethod=function(e,t,r,a,i,o,s,n){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,issueId:a,attachmentId:i,ifMatch:o,options:s},ap,n)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},ip,r)},e}(),Jn=new r.Serializer(Wn),Yn={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments",urlParameters:[Io,To,Wi,yo,Eo],queryParameters:[Zi,no,Lo,Oo],headerParameters:[$i],responses:{200:{bodyMapper:bi},default:{bodyMapper:fe}},serializer:Jn},ep={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}",urlParameters:[Io,To,Wi,yo,Ji,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Ca},default:{bodyMapper:fe}},serializer:Jn},tp={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}",urlParameters:[Io,To,Wi,yo,Ji,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ye,headersMapper:Na},default:{bodyMapper:fe}},serializer:Jn},rp={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}",urlParameters:[Io,To,Wi,yo,Ji,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Ye,{required:!0})},responses:{200:{bodyMapper:Ye},201:{bodyMapper:Ye},default:{bodyMapper:fe}},serializer:Jn},ap={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}",urlParameters:[Io,To,Wi,yo,Ji,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Jn},ip={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:bi},default:{bodyMapper:fe}},serializer:Jn},op=Object.freeze({AuthorizationServerCollection:Ai,AuthorizationServerContract:ct,Resource:ze,BaseResource:Se,TokenBodyParameterContract:dt,CloudError:he,AuthorizationServerGetEntityTagHeaders:Pa,ErrorResponse:fe,ErrorFieldContract:Me,AuthorizationServerGetHeaders:ha,AuthorizationServerUpdateContract:mt,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),sp=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},pp,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,authsid:r,options:a},cp,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,authsid:r,options:a},mp,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,authsid:r,parameters:a,options:i},dp,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,authsid:r,parameters:a,ifMatch:i,options:o},up,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,authsid:r,ifMatch:a,options:i},lp,o)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},yp,r)},e}(),np=new r.Serializer(op),pp={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ai},default:{bodyMapper:he}},serializer:np},cp={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}",urlParameters:[Io,To,Yi,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Pa},default:{bodyMapper:fe}},serializer:np},mp={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}",urlParameters:[Io,To,Yi,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:ct,headersMapper:ha},default:{bodyMapper:fe}},serializer:np},dp={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}",urlParameters:[Io,To,Yi,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},ct,{required:!0})},responses:{200:{bodyMapper:ct},201:{bodyMapper:ct},default:{bodyMapper:fe}},serializer:np},up={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}",urlParameters:[Io,To,Yi,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},mt,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:np},lp={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}",urlParameters:[Io,To,Yi,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:np},yp={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Ai},default:{bodyMapper:he}},serializer:np},gp=Object.freeze({BackendCollection:Ii,BackendContract:ht,Resource:ze,BaseResource:Se,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,ErrorResponse:fe,ErrorFieldContract:Me,BackendGetEntityTagHeaders:Sa,BackendGetHeaders:Ma,BackendUpdateParameters:St,BackendReconnectContract:Mt,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Cp=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Pp,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,backendid:r,options:a},hp,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,backendid:r,options:a},Sp,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,backendid:r,parameters:a,options:i},Mp,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,backendid:r,parameters:a,ifMatch:i,options:o},vp,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,backendid:r,ifMatch:a,options:i},fp,o)},e.prototype.reconnect=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,backendid:r,options:a},zp,i)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},bp,r)},e}(),Np=new r.Serializer(gp),Pp={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ii},default:{bodyMapper:fe}},serializer:Np},hp={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}",urlParameters:[Io,To,eo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Sa},default:{bodyMapper:fe}},serializer:Np},Sp={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}",urlParameters:[Io,To,eo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:ht,headersMapper:Ma},default:{bodyMapper:fe}},serializer:Np},Mp={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}",urlParameters:[Io,To,eo,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},ht,{required:!0})},responses:{200:{bodyMapper:ht},201:{bodyMapper:ht},default:{bodyMapper:fe}},serializer:Np},vp={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}",urlParameters:[Io,To,eo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},St,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:Np},fp={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}",urlParameters:[Io,To,eo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Np},zp={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}/reconnect",urlParameters:[Io,To,eo,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:["options","parameters"],mapper:Mt},responses:{202:{},default:{bodyMapper:fe}},serializer:Np},bp={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Ii},default:{bodyMapper:fe}},serializer:Np},Ap=Object.freeze({CertificateCollection:Gi,CertificateContract:vt,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,CertificateGetEntityTagHeaders:va,CertificateGetHeaders:fa,CertificateCreateOrUpdateParameters:ft,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Ip=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Rp,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,certificateId:r,options:a},Tp,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,certificateId:r,options:a},qp,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,certificateId:r,parameters:a,options:i},Op,o)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,certificateId:r,ifMatch:a,options:i},Ep,o)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},kp,r)},e}(),Gp=new r.Serializer(Ap),Rp={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Gi},default:{bodyMapper:fe}},serializer:Gp},Tp={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}",urlParameters:[Io,To,to,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:va},default:{bodyMapper:fe}},serializer:Gp},qp={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}",urlParameters:[Io,To,to,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:vt,headersMapper:fa},default:{bodyMapper:fe}},serializer:Gp},Op={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}",urlParameters:[Io,To,to,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},ft,{required:!0})},responses:{200:{bodyMapper:vt},201:{bodyMapper:vt},default:{bodyMapper:fe}},serializer:Gp},Ep={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}",urlParameters:[Io,To,to,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Gp},kp={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Gi},default:{bodyMapper:fe}},serializer:Gp},Bp=Object.freeze({OperationListResult:Ri,Operation:Ft,OperationDisplay:Vt,CloudError:he}),Lp=function(){function e(e){this.client=e}return e.prototype.list=function(e,t){return this.client.sendOperationRequest({options:e},Dp,t)},e.prototype.listNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},xp,r)},e}(),Up=new r.Serializer(Bp),Dp={httpMethod:"GET",path:"providers/Microsoft.ApiManagement/operations",queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ri},default:{bodyMapper:he}},serializer:Up},xp={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Ri},default:{bodyMapper:he}},serializer:Up},Hp=Object.freeze({ApiManagementServiceBackupRestoreParameters:Tt,ApiManagementServiceResource:Et,ApimResource:Ot,BaseResource:Se,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,CloudError:he,ApiManagementServiceUpdateParameters:kt,ApiManagementServiceListResult:Ti,ApiManagementServiceGetSsoTokenResult:Bt,ApiManagementServiceCheckNameAvailabilityParameters:Lt,ApiManagementServiceNameAvailabilityResult:Ut,ApiManagementServiceApplyNetworkConfigurationParameters:Dt,ApiManagementServiceUploadCertificateParameters:xt,ApiManagementServiceUpdateHostnameParameters:wt,HostnameConfigurationOld:Ht,Resource:ze,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,PolicyContract:be}),wp=function(){function e(e){this.client=e}return e.prototype.restore=function(e,t,r,a){return this.beginRestore(e,t,r,a).then(function(e){return e.pollUntilFinished()})},e.prototype.backup=function(e,t,r,a){return this.beginBackup(e,t,r,a).then(function(e){return e.pollUntilFinished()})},e.prototype.createOrUpdate=function(e,t,r,a){return this.beginCreateOrUpdate(e,t,r,a).then(function(e){return e.pollUntilFinished()})},e.prototype.update=function(e,t,r,a){return this.beginUpdate(e,t,r,a).then(function(e){return e.pollUntilFinished()})},e.prototype.get=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Fp,a)},e.prototype.deleteMethod=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Kp,a)},e.prototype.listByResourceGroup=function(e,t,r){return this.client.sendOperationRequest({resourceGroupName:e,options:t},jp,r)},e.prototype.list=function(e,t){return this.client.sendOperationRequest({options:e},Xp,t)},e.prototype.getSsoToken=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},$p,a)},e.prototype.checkNameAvailability=function(e,t,r){return this.client.sendOperationRequest({parameters:e,options:t},Qp,r)},e.prototype.applyNetworkConfigurationUpdates=function(e,t,r){return this.beginApplyNetworkConfigurationUpdates(e,t,r).then(function(e){return e.pollUntilFinished()})},e.prototype.uploadCertificate=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,parameters:r,options:a},_p,i)},e.prototype.updateHostname=function(e,t,r,a){return this.beginUpdateHostname(e,t,r,a).then(function(e){return e.pollUntilFinished()})},e.prototype.beginRestore=function(e,t,r,a){return this.client.sendLRORequest({resourceGroupName:e,serviceName:t,parameters:r,options:a},Wp,a)},e.prototype.beginBackup=function(e,t,r,a){return this.client.sendLRORequest({resourceGroupName:e,serviceName:t,parameters:r,options:a},Zp,a)},e.prototype.beginCreateOrUpdate=function(e,t,r,a){return this.client.sendLRORequest({resourceGroupName:e,serviceName:t,parameters:r,options:a},Jp,a)},e.prototype.beginUpdate=function(e,t,r,a){return this.client.sendLRORequest({resourceGroupName:e,serviceName:t,parameters:r,options:a},Yp,a)},e.prototype.beginApplyNetworkConfigurationUpdates=function(e,t,r){return this.client.sendLRORequest({resourceGroupName:e,serviceName:t,options:r},ec,r)},e.prototype.beginUpdateHostname=function(e,t,r,a){return this.client.sendLRORequest({resourceGroupName:e,serviceName:t,parameters:r,options:a},tc,a)},e.prototype.listByResourceGroupNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},rc,r)},e.prototype.listNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},ac,r)},e}(),Vp=new r.Serializer(Hp),Fp={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Et},default:{bodyMapper:he}},serializer:Vp},Kp={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{},204:{},default:{bodyMapper:he}},serializer:Vp},jp={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service",urlParameters:[Io,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ti},default:{bodyMapper:he}},serializer:Vp},Xp={httpMethod:"GET",path:"subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/service",urlParameters:[Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ti},default:{bodyMapper:he}},serializer:Vp},$p={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/getssotoken",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Bt},default:{bodyMapper:he}},serializer:Vp},Qp={httpMethod:"POST",path:"subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/checkNameAvailability",urlParameters:[Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Lt,{required:!0})},responses:{200:{bodyMapper:Ut},default:{bodyMapper:he}},serializer:Vp},_p={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/updatecertificate",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},xt,{required:!0})},responses:{200:{bodyMapper:zt},default:{bodyMapper:he}},serializer:Vp},Wp={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/restore",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Tt,{required:!0})},responses:{200:{bodyMapper:Et},202:{},default:{bodyMapper:he}},serializer:Vp},Zp={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backup",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Tt,{required:!0})},responses:{200:{bodyMapper:Et},202:{},default:{bodyMapper:he}},serializer:Vp},Jp={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Et,{required:!0})},responses:{200:{bodyMapper:Et},201:{bodyMapper:Et},202:{bodyMapper:Et},default:{bodyMapper:he}},serializer:Vp},Yp={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},kt,{required:!0})},responses:{200:{bodyMapper:Et},202:{},default:{bodyMapper:he}},serializer:Vp},ec={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/applynetworkconfigurationupdates",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:["options","parameters"],mapper:Dt},responses:{200:{bodyMapper:Et},202:{},default:{bodyMapper:he}},serializer:Vp},tc={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/updatehostname",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},wt,{required:!0})},responses:{200:{bodyMapper:Et},202:{bodyMapper:Et},default:{bodyMapper:he}},serializer:Vp},rc={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Ti},default:{bodyMapper:he}},serializer:Vp},ac={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Ti},default:{bodyMapper:he}},serializer:Vp},ic=Object.freeze({DiagnosticCollection:Mi,DiagnosticContract:tt,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,DiagnosticGetEntityTagHeaders:za,DiagnosticGetHeaders:ba,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),oc=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},nc,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,diagnosticId:r,options:a},pc,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,diagnosticId:r,options:a},cc,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,diagnosticId:r,parameters:a,options:i},mc,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,diagnosticId:r,parameters:a,ifMatch:i,options:o},dc,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,diagnosticId:r,ifMatch:a,options:i},uc,o)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},lc,r)},e}(),sc=new r.Serializer(ic),nc={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics",urlParameters:[Io,To,Eo],queryParameters:[Zi,no,Lo,Oo],headerParameters:[$i],responses:{200:{bodyMapper:Mi},default:{bodyMapper:fe}},serializer:sc},pc={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}",urlParameters:[Io,To,oo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:za},default:{bodyMapper:fe}},serializer:sc},cc={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}",urlParameters:[Io,To,oo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:tt,headersMapper:ba},default:{bodyMapper:fe}},serializer:sc},mc={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}",urlParameters:[Io,To,oo,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},tt,{required:!0})},responses:{200:{bodyMapper:tt},201:{bodyMapper:tt},default:{bodyMapper:fe}},serializer:sc},dc={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}",urlParameters:[Io,To,oo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},tt,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:sc},uc={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}",urlParameters:[Io,To,oo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:sc},lc={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Mi},default:{bodyMapper:fe}},serializer:sc},yc=Object.freeze({LoggerCollection:vi,LoggerContract:et,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),gc=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,diagnosticId:r,options:a},Nc,i)},e.prototype.checkEntityExists=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,diagnosticId:r,loggerid:a,options:i},Pc,o)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,diagnosticId:r,loggerid:a,options:i},hc,o)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,diagnosticId:r,loggerid:a,options:i},Sc,o)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Mc,r)},e}(),Cc=new r.Serializer(yc),Nc={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers",urlParameters:[Io,To,Eo,oo],queryParameters:[Zi,no,Lo,Oo],headerParameters:[$i],responses:{200:{bodyMapper:vi},default:{bodyMapper:fe}},serializer:Cc},Pc={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers/{loggerid}",urlParameters:[Io,To,oo,go,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{204:{},404:{},default:{bodyMapper:fe}},serializer:Cc},hc={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers/{loggerid}",urlParameters:[Io,To,oo,go,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:et},201:{bodyMapper:et},default:{bodyMapper:fe}},serializer:Cc},Sc={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers/{loggerid}",urlParameters:[Io,To,oo,go,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Cc},Mc={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:vi},default:{bodyMapper:fe}},serializer:Cc},vc=Object.freeze({EmailTemplateCollection:qi,EmailTemplateContract:jt,Resource:ze,BaseResource:Se,EmailTemplateParametersContractProperties:Kt,CloudError:he,EmailTemplateGetEntityTagHeaders:Aa,ErrorResponse:fe,ErrorFieldContract:Me,EmailTemplateGetHeaders:Ia,EmailTemplateUpdateParameters:Xt,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),fc=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},bc,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,templateName:r,options:a},Ac,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,templateName:r,options:a},Ic,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,templateName:r,parameters:a,options:i},Gc,o)},e.prototype.update=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,templateName:r,parameters:a,options:i},Rc,o)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,templateName:r,ifMatch:a,options:i},Tc,o)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},qc,r)},e}(),zc=new r.Serializer(vc),bc={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates",urlParameters:[Io,To,Eo],queryParameters:[Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:qi},default:{bodyMapper:he}},serializer:zc},Ac={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}",urlParameters:[Io,To,Bo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Aa},default:{bodyMapper:fe}},serializer:zc},Ic={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}",urlParameters:[Io,To,Bo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:jt,headersMapper:Ia},default:{bodyMapper:fe}},serializer:zc},Gc={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}",urlParameters:[Io,To,Bo,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Xt,{required:!0})},responses:{200:{bodyMapper:jt},201:{bodyMapper:jt},default:{bodyMapper:fe}},serializer:zc},Rc={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}",urlParameters:[Io,To,Bo,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Xt,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:zc},Tc={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}",urlParameters:[Io,To,Bo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:zc},qc={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:qi},default:{bodyMapper:he}},serializer:zc},Oc=Object.freeze({GroupCollection:Oi,GroupContract:Qt,Resource:ze,BaseResource:Se,CloudError:he,GroupGetEntityTagHeaders:Ga,ErrorResponse:fe,ErrorFieldContract:Me,GroupGetHeaders:Ra,GroupCreateParameters:_t,GroupUpdateParameters:Wt,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Ec=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Bc,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,groupId:r,options:a},Lc,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,groupId:r,options:a},Uc,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,groupId:r,parameters:a,options:i},Dc,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,groupId:r,parameters:a,ifMatch:i,options:o},xc,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,groupId:r,ifMatch:a,options:i},Hc,o)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},wc,r)},e}(),kc=new r.Serializer(Oc),Bc={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Oi},default:{bodyMapper:he}},serializer:kc},Lc={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}",urlParameters:[Io,To,co,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Ga},default:{bodyMapper:fe}},serializer:kc},Uc={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}",urlParameters:[Io,To,co,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Qt,headersMapper:Ra},default:{bodyMapper:fe}},serializer:kc},Dc={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}",urlParameters:[Io,To,co,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},_t,{required:!0})},responses:{200:{bodyMapper:Qt},201:{bodyMapper:Qt},default:{bodyMapper:fe}},serializer:kc},xc={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}",urlParameters:[Io,To,co,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Wt,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:kc},Hc={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}",urlParameters:[Io,To,co,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:kc},wc={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Oi},default:{bodyMapper:he}},serializer:kc},Vc=Object.freeze({UserCollection:Ei,UserContract:Jt,Resource:ze,BaseResource:Se,UserIdentityContract:Zt,GroupContractProperties:$t,ErrorResponse:fe,ErrorFieldContract:Me,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Fc=function(){function e(e){this.client=e}return e.prototype.list=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,groupId:r,options:a},jc,i)},e.prototype.checkEntityExists=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,groupId:r,uid:a,options:i},Xc,o)},e.prototype.create=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,groupId:r,uid:a,options:i},$c,o)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,groupId:r,uid:a,options:i},Qc,o)},e.prototype.listNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},_c,r)},e}(),Kc=new r.Serializer(Vc),jc={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users",urlParameters:[Io,To,co,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ei},default:{bodyMapper:fe}},serializer:Kc},Xc={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{uid}",urlParameters:[Io,To,co,Uo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{204:{},404:{},default:{bodyMapper:fe}},serializer:Kc},$c={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{uid}",urlParameters:[Io,To,co,Uo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Jt},201:{bodyMapper:Jt},default:{bodyMapper:fe}},serializer:Kc},Qc={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{uid}",urlParameters:[Io,To,co,Uo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Kc},_c={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Ei},default:{bodyMapper:fe}},serializer:Kc},Wc=Object.freeze({IdentityProviderList:ki,IdentityProviderContract:Yt,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,IdentityProviderGetEntityTagHeaders:Ta,IdentityProviderGetHeaders:qa,IdentityProviderUpdateParameters:er,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Zc=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Yc,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,identityProviderName:r,options:a},em,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,identityProviderName:r,options:a},tm,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,identityProviderName:r,parameters:a,options:i},rm,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,identityProviderName:r,parameters:a,ifMatch:i,options:o},am,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,identityProviderName:r,ifMatch:a,options:i},im,o)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},om,r)},e}(),Jc=new r.Serializer(Wc),Yc={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders",urlParameters:[Eo,Io,To],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:ki},default:{bodyMapper:fe}},serializer:Jc},em={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}",urlParameters:[Eo,Io,To,mo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Ta},default:{bodyMapper:fe}},serializer:Jc},tm={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}",urlParameters:[Eo,Io,To,mo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Yt,headersMapper:qa},default:{bodyMapper:fe}},serializer:Jc},rm={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}",urlParameters:[Io,To,mo,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Yt,{required:!0})},responses:{200:{bodyMapper:Yt},201:{bodyMapper:Yt},default:{bodyMapper:fe}},serializer:Jc},am={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}",urlParameters:[Io,To,mo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},er,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:Jc},im={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}",urlParameters:[Io,To,mo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Jc},om={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:ki},default:{bodyMapper:fe}},serializer:Jc},sm=Object.freeze({LoggerCollection:vi,LoggerContract:et,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,LoggerGetEntityTagHeaders:Oa,LoggerGetHeaders:Ea,LoggerUpdateContract:tr,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),nm=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},cm,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,loggerid:r,options:a},mm,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,loggerid:r,options:a},dm,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,loggerid:r,parameters:a,options:i},um,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,loggerid:r,parameters:a,ifMatch:i,options:o},lm,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,loggerid:r,ifMatch:a,options:i},ym,o)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},gm,r)},e}(),pm=new r.Serializer(sm),cm={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:vi},default:{bodyMapper:fe}},serializer:pm},mm={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}",urlParameters:[Io,To,go,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Oa},default:{bodyMapper:fe}},serializer:pm},dm={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}",urlParameters:[Io,To,go,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:et,headersMapper:Ea},default:{bodyMapper:fe}},serializer:pm},um={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}",urlParameters:[Io,To,go,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},et,{required:!0})},responses:{200:{bodyMapper:et},201:{bodyMapper:et},default:{bodyMapper:fe}},serializer:pm},lm={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}",urlParameters:[Io,To,go,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},tr,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:pm},ym={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}",urlParameters:[Io,To,go,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:pm},gm={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:vi},default:{bodyMapper:fe}},serializer:pm},Cm=Object.freeze({NotificationCollection:Bi,NotificationContract:ar,Resource:ze,BaseResource:Se,RecipientsContractProperties:rr,CloudError:he,ErrorResponse:fe,ErrorFieldContract:Me,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Nm=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},hm,a)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,notificationName:r,options:a},Sm,i)},e.prototype.createOrUpdate=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,notificationName:r,options:a},Mm,i)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},vm,r)},e}(),Pm=new r.Serializer(Cm),hm={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications",urlParameters:[Io,To,Eo],queryParameters:[Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Bi},default:{bodyMapper:he}},serializer:Pm},Sm={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}",urlParameters:[Io,To,No,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:ar},default:{bodyMapper:fe}},serializer:Pm},Mm={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}",urlParameters:[Io,To,No,Eo],queryParameters:[Zi],headerParameters:[lo,$i],responses:{200:{bodyMapper:ar},default:{bodyMapper:fe}},serializer:Pm},vm={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Bi},default:{bodyMapper:he}},serializer:Pm},fm=Object.freeze({RecipientUserCollection:or,RecipientUserContract:ir,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),zm=function(){function e(e){this.client=e}return e.prototype.listByNotification=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,notificationName:r,options:a},Am,i)},e.prototype.checkEntityExists=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,notificationName:r,uid:a,options:i},Im,o)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,notificationName:r,uid:a,options:i},Gm,o)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,notificationName:r,uid:a,options:i},Rm,o)},e}(),bm=new r.Serializer(fm),Am={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers",urlParameters:[Io,To,No,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:or},default:{bodyMapper:fe}},serializer:bm},Im={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{uid}",urlParameters:[Io,To,No,Uo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{204:{},404:{},default:{bodyMapper:fe}},serializer:bm},Gm={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{uid}",urlParameters:[Io,To,No,Uo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:ir},201:{bodyMapper:ir},default:{bodyMapper:fe}},serializer:bm},Rm={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{uid}",urlParameters:[Io,To,No,Uo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:bm},Tm=Object.freeze({RecipientEmailCollection:nr,RecipientEmailContract:sr,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),qm=function(){function e(e){this.client=e}return e.prototype.listByNotification=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,notificationName:r,options:a},Em,i)},e.prototype.checkEntityExists=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,notificationName:r,email:a,options:i},km,o)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,notificationName:r,email:a,options:i},Bm,o)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,notificationName:r,email:a,options:i},Lm,o)},e}(),Om=new r.Serializer(Tm),Em={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails",urlParameters:[Io,To,No,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:nr},default:{bodyMapper:fe}},serializer:Om},km={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}",urlParameters:[Io,To,No,so,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{204:{},404:{},default:{bodyMapper:fe}},serializer:Om},Bm={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}",urlParameters:[Io,To,No,so,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:sr},201:{bodyMapper:sr},default:{bodyMapper:fe}},serializer:Om},Lm={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}",urlParameters:[Io,To,No,so,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Om},Um=Object.freeze({NetworkStatusContractByLocation:mr,NetworkStatusContract:cr,ConnectivityStatusContract:pr,ErrorResponse:fe,ErrorFieldContract:Me}),Dm=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Hm,a)},e.prototype.listByLocation=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,locationName:r,options:a},wm,i)},e}(),xm=new r.Serializer(Um),Hm={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/networkstatus",urlParameters:[Eo,Io,To],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:{serializedName:"parsedResponse",type:{name:"Sequence",element:{type:{name:"Composite",className:"NetworkStatusContractByLocation"}}}}},default:{bodyMapper:fe}},serializer:xm},wm={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/locations/{locationName}/networkstatus",urlParameters:[Eo,Io,To,{parameterPath:"locationName",mapper:{required:!0,serializedName:"locationName",constraints:{MinLength:1},type:{name:"String"}}}],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:cr},default:{bodyMapper:fe}},serializer:xm},Vm=Object.freeze({OpenIdConnectProviderCollection:Li,OpenidConnectProviderContract:dr,Resource:ze,BaseResource:Se,CloudError:he,OpenIdConnectProviderGetEntityTagHeaders:ka,ErrorResponse:fe,ErrorFieldContract:Me,OpenIdConnectProviderGetHeaders:Ba,OpenidConnectProviderUpdateContract:ur,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Fm=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},jm,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,opid:r,options:a},Xm,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,opid:r,options:a},$m,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,opid:r,parameters:a,options:i},Qm,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,opid:r,parameters:a,ifMatch:i,options:o},_m,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,opid:r,ifMatch:a,options:i},Wm,o)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Zm,r)},e}(),Km=new r.Serializer(Vm),jm={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Li},default:{bodyMapper:he}},serializer:Km},Xm={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}",urlParameters:[Io,To,So,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:ka},default:{bodyMapper:fe}},serializer:Km},$m={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}",urlParameters:[Io,To,So,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:dr,headersMapper:Ba},default:{bodyMapper:fe}},serializer:Km},Qm={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}",urlParameters:[Io,To,So,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},dr,{required:!0})},responses:{200:{bodyMapper:dr},201:{bodyMapper:dr},default:{bodyMapper:fe}},serializer:Km},_m={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}",urlParameters:[Io,To,So,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},ur,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:Km},Wm={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}",urlParameters:[Io,To,So,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Km},Zm={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Li},default:{bodyMapper:he}},serializer:Km},Jm=Object.freeze({SignInSettingsGetEntityTagHeaders:La,ErrorResponse:fe,ErrorFieldContract:Me,PortalSigninSettings:lr,Resource:ze,BaseResource:Se,SignInSettingsGetHeaders:Ua,CloudError:he,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Ym=function(){function e(e){this.client=e}return e.prototype.getEntityTag=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},td,a)},e.prototype.get=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},rd,a)},e.prototype.update=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,parameters:r,ifMatch:a,options:i},ad,o)},e.prototype.createOrUpdate=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,parameters:r,options:a},id,i)},e}(),ed=new r.Serializer(Jm),td={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:La},default:{bodyMapper:fe}},serializer:ed},rd={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:lr,headersMapper:Ua},default:{bodyMapper:he}},serializer:ed},ad={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},lr,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:ed},id={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},lr,{required:!0})},responses:{200:{bodyMapper:lr},default:{bodyMapper:fe}},serializer:ed},od=Object.freeze({SignUpSettingsGetEntityTagHeaders:Da,ErrorResponse:fe,ErrorFieldContract:Me,PortalSignupSettings:gr,Resource:ze,BaseResource:Se,TermsOfServiceProperties:yr,SignUpSettingsGetHeaders:xa,CloudError:he,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),sd=function(){function e(e){this.client=e}return e.prototype.getEntityTag=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},pd,a)},e.prototype.get=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},cd,a)},e.prototype.update=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,parameters:r,ifMatch:a,options:i},md,o)},e.prototype.createOrUpdate=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,parameters:r,options:a},dd,i)},e}(),nd=new r.Serializer(od),pd={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Da},default:{bodyMapper:fe}},serializer:nd},cd={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:gr,headersMapper:xa},default:{bodyMapper:he}},serializer:nd},md={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},gr,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:nd},dd={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},gr,{required:!0})},responses:{200:{bodyMapper:gr},default:{bodyMapper:fe}},serializer:nd},ud=Object.freeze({DelegationSettingsGetEntityTagHeaders:Ha,ErrorResponse:fe,ErrorFieldContract:Me,PortalDelegationSettings:Pr,Resource:ze,BaseResource:Se,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,DelegationSettingsGetHeaders:wa,CloudError:he,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),ld=function(){function e(e){this.client=e}return e.prototype.getEntityTag=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},gd,a)},e.prototype.get=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Cd,a)},e.prototype.update=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,parameters:r,ifMatch:a,options:i},Nd,o)},e.prototype.createOrUpdate=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,parameters:r,options:a},Pd,i)},e}(),yd=new r.Serializer(ud),gd={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Ha},default:{bodyMapper:fe}},serializer:yd},Cd={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Pr,headersMapper:wa},default:{bodyMapper:he}},serializer:yd},Nd={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Pr,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:yd},Pd={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation",urlParameters:[Io,To,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Pr,{required:!0})},responses:{200:{bodyMapper:Pr},default:{bodyMapper:fe}},serializer:yd},hd=Object.freeze({ProductCollection:hi,ProductContract:pt,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,ProductGetEntityTagHeaders:Va,ProductGetHeaders:Fa,ProductUpdateParameters:hr,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Sd=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},vd,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,options:a},fd,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,options:a},zd,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,parameters:a,options:i},bd,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,parameters:a,ifMatch:i,options:o},Ad,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,ifMatch:a,options:i},Id,o)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Gd,r)},e}(),Md=new r.Serializer(hd),vd={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,{parameterPath:["options","expandGroups"],mapper:{serializedName:"expandGroups",type:{name:"Boolean"}}},Zi],headerParameters:[$i],responses:{200:{bodyMapper:hi},default:{bodyMapper:fe}},serializer:Md},fd={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}",urlParameters:[Io,To,vo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Va},default:{bodyMapper:fe}},serializer:Md},zd={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}",urlParameters:[Io,To,vo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:pt,headersMapper:Fa},default:{bodyMapper:fe}},serializer:Md},bd={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}",urlParameters:[Io,To,vo,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},pt,{required:!0})},responses:{200:{bodyMapper:pt},201:{bodyMapper:pt},default:{bodyMapper:fe}},serializer:Md},Ad={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}",urlParameters:[Io,To,vo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},hr,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:Md},Id={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}",urlParameters:[Io,To,vo,Eo],queryParameters:[io,Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Md},Gd={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:hi},default:{bodyMapper:fe}},serializer:Md},Rd=Object.freeze({ApiCollection:yi,ApiContract:ke,Resource:ze,BaseResource:Se,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ErrorResponse:fe,ErrorFieldContract:Me,PolicyContract:be,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Td=function(){function e(e){this.client=e}return e.prototype.listByProduct=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,options:a},Od,i)},e.prototype.checkEntityExists=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,apiId:a,options:i},Ed,o)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,apiId:a,options:i},kd,o)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,apiId:a,options:i},Bd,o)},e.prototype.listByProductNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Ld,r)},e}(),qd=new r.Serializer(Rd),Od={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis",urlParameters:[Io,To,vo,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:yi},default:{bodyMapper:fe}},serializer:qd},Ed={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis/{apiId}",urlParameters:[Io,To,vo,_i,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{204:{},404:{},default:{bodyMapper:fe}},serializer:qd},kd={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis/{apiId}",urlParameters:[Io,To,vo,_i,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:ke},201:{bodyMapper:ke},default:{bodyMapper:fe}},serializer:qd},Bd={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis/{apiId}",urlParameters:[Io,To,vo,_i,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:qd},Ld={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:yi},default:{bodyMapper:fe}},serializer:qd},Ud=Object.freeze({GroupCollection:Oi,GroupContract:Qt,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Dd=function(){function e(e){this.client=e}return e.prototype.listByProduct=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,options:a},Hd,i)},e.prototype.checkEntityExists=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,groupId:a,options:i},wd,o)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,groupId:a,options:i},Vd,o)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,groupId:a,options:i},Fd,o)},e.prototype.listByProductNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Kd,r)},e}(),xd=new r.Serializer(Ud),Hd={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups",urlParameters:[Io,To,vo,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Oi},default:{bodyMapper:fe}},serializer:xd},wd={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups/{groupId}",urlParameters:[Io,To,vo,co,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{204:{},404:{},default:{bodyMapper:fe}},serializer:xd},Vd={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups/{groupId}",urlParameters:[Io,To,vo,co,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Qt},201:{bodyMapper:Qt},default:{bodyMapper:fe}},serializer:xd},Fd={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups/{groupId}",urlParameters:[Io,To,vo,co,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:xd},Kd={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Oi},default:{bodyMapper:fe}},serializer:xd},jd=Object.freeze({SubscriptionCollection:Ui,SubscriptionContract:Sr,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Xd=function(){function e(e){this.client=e}return e.prototype.list=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,options:a},Qd,i)},e.prototype.listNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},_d,r)},e}(),$d=new r.Serializer(jd),Qd={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/subscriptions",urlParameters:[Io,To,vo,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ui},default:{bodyMapper:fe}},serializer:$d},_d={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Ui},default:{bodyMapper:fe}},serializer:$d},Wd=Object.freeze({PolicyCollection:Ae,PolicyContract:be,Resource:ze,BaseResource:Se,ProductPolicyListByProductHeaders:Ka,ErrorResponse:fe,ErrorFieldContract:Me,ProductPolicyGetEntityTagHeaders:ja,ProductPolicyGetHeaders:Xa,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Zd=function(){function e(e){this.client=e}return e.prototype.listByProduct=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,options:a},Yd,i)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,options:a},eu,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,options:a},tu,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,parameters:a,options:i},ru,o)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,ifMatch:a,options:i},au,o)},e}(),Jd=new r.Serializer(Wd),Yd={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies",urlParameters:[Io,To,Eo,vo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ae,headersMapper:Ka},default:{bodyMapper:fe}},serializer:Jd},eu={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies/{policyId}",urlParameters:[Io,To,Eo,vo,Mo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:ja},default:{bodyMapper:fe}},serializer:Jd},tu={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies/{policyId}",urlParameters:[Io,To,Eo,vo,Mo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:be,headersMapper:Xa},default:{bodyMapper:fe}},serializer:Jd},ru={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies/{policyId}",urlParameters:[Io,To,vo,Mo,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},be,{required:!0})},responses:{200:{bodyMapper:be},201:{bodyMapper:be},default:{bodyMapper:fe}},serializer:Jd},au={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies/{policyId}",urlParameters:[Io,To,vo,Mo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Jd},iu=Object.freeze({PropertyCollection:Di,PropertyContract:Mr,Resource:ze,BaseResource:Se,CloudError:he,PropertyGetEntityTagHeaders:$a,ErrorResponse:fe,ErrorFieldContract:Me,PropertyGetHeaders:Qa,PropertyUpdateParameters:vr,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),ou=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},nu,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,propId:r,options:a},pu,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,propId:r,options:a},cu,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,propId:r,parameters:a,options:i},mu,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,propId:r,parameters:a,ifMatch:i,options:o},du,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,propId:r,ifMatch:a,options:i},uu,o)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},lu,r)},e}(),su=new r.Serializer(iu),nu={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Di},default:{bodyMapper:he}},serializer:su},pu={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}",urlParameters:[Io,To,fo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:$a},default:{bodyMapper:fe}},serializer:su},cu={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}",urlParameters:[Io,To,fo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Mr,headersMapper:Qa},default:{bodyMapper:fe}},serializer:su},mu={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}",urlParameters:[Io,To,fo,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Mr,{required:!0})},responses:{200:{bodyMapper:Mr},201:{bodyMapper:Mr},default:{bodyMapper:fe}},serializer:su},du={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}",urlParameters:[Io,To,fo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},vr,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:su},uu={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}",urlParameters:[Io,To,fo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:su},lu={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Di},default:{bodyMapper:he}},serializer:su},yu=Object.freeze({QuotaCounterCollection:br,QuotaCounterContract:zr,QuotaCounterValueContractProperties:fr,ErrorResponse:fe,ErrorFieldContract:Me}),gu=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,quotaCounterKey:r,options:a},Nu,i)},e.prototype.update=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,quotaCounterKey:r,parameters:a,options:i},Pu,o)},e}(),Cu=new r.Serializer(yu),Nu={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}",urlParameters:[Eo,Io,To,zo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:br},default:{bodyMapper:fe}},serializer:Cu},Pu={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}",urlParameters:[Io,To,zo,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},fr,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:Cu},hu=Object.freeze({QuotaCounterContract:zr,QuotaCounterValueContractProperties:fr,ErrorResponse:fe,ErrorFieldContract:Me}),Su=function(){function e(e){this.client=e}return e.prototype.get=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,quotaCounterKey:r,quotaPeriodKey:a,options:i},vu,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,quotaCounterKey:r,quotaPeriodKey:a,parameters:i,options:o},fu,s)},e}(),Mu=new r.Serializer(hu),vu={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}/periods/{quotaPeriodKey}",urlParameters:[Eo,Io,To,zo,bo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:zr},default:{bodyMapper:fe}},serializer:Mu},fu={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}/periods/{quotaPeriodKey}",urlParameters:[Io,To,zo,bo,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},fr,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:Mu},zu=Object.freeze({ReportCollection:xi,ReportRecordContract:Ar,CloudError:he,RequestReportCollection:Hi,RequestReportRecordContract:Ir}),bu=function(){function e(e){this.client=e}return e.prototype.listByApi=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,filter:r,options:a},Iu,i)},e.prototype.listByUser=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,filter:r,options:a},Gu,i)},e.prototype.listByOperation=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,filter:r,options:a},Ru,i)},e.prototype.listByProduct=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,filter:r,options:a},Tu,i)},e.prototype.listByGeo=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},qu,a)},e.prototype.listBySubscription=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Ou,a)},e.prototype.listByTime=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,interval:r,options:a},Eu,i)},e.prototype.listByRequest=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,filter:r,options:a},ku,i)},e.prototype.listByApiNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Bu,r)},e.prototype.listByUserNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Lu,r)},e.prototype.listByOperationNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Uu,r)},e.prototype.listByProductNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Du,r)},e.prototype.listByGeoNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},xu,r)},e.prototype.listBySubscriptionNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Hu,r)},e.prototype.listByTimeNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},wu,r)},e}(),Au=new r.Serializer(zu),Iu={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byApi",urlParameters:[Io,To,Eo],queryParameters:[po,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:xi},default:{bodyMapper:he}},serializer:Au},Gu={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byUser",urlParameters:[Io,To,Eo],queryParameters:[po,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:xi},default:{bodyMapper:he}},serializer:Au},Ru={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byOperation",urlParameters:[Io,To,Eo],queryParameters:[po,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:xi},default:{bodyMapper:he}},serializer:Au},Tu={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byProduct",urlParameters:[Io,To,Eo],queryParameters:[po,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:xi},default:{bodyMapper:he}},serializer:Au},qu={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byGeo",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:xi},default:{bodyMapper:he}},serializer:Au},Ou={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/bySubscription",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:xi},default:{bodyMapper:he}},serializer:Au},Eu={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byTime",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,{parameterPath:"interval",mapper:{required:!0,serializedName:"interval",type:{name:"TimeSpan"}}},Zi],headerParameters:[$i],responses:{200:{bodyMapper:xi},default:{bodyMapper:he}},serializer:Au},ku={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byRequest",urlParameters:[Io,To,Eo],queryParameters:[po,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Hi},default:{bodyMapper:he}},serializer:Au},Bu={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:xi},default:{bodyMapper:he}},serializer:Au},Lu={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:xi},default:{bodyMapper:he}},serializer:Au},Uu={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:xi},default:{bodyMapper:he}},serializer:Au},Du={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:xi},default:{bodyMapper:he}},serializer:Au},xu={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:xi},default:{bodyMapper:he}},serializer:Au},Hu={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:xi},default:{bodyMapper:he}},serializer:Au},wu={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:xi},default:{bodyMapper:he}},serializer:Au},Vu=Object.freeze({SubscriptionCollection:Ui,SubscriptionContract:Sr,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,SubscriptionGetEntityTagHeaders:_a,SubscriptionGetHeaders:Wa,SubscriptionCreateParameters:Gr,SubscriptionUpdateParameters:Rr,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Fu=function(){function e(e){this.client=e}return e.prototype.list=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},ju,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,sid:r,options:a},Xu,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,sid:r,options:a},$u,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,sid:r,parameters:a,options:i},Qu,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,sid:r,parameters:a,ifMatch:i,options:o},_u,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,sid:r,ifMatch:a,options:i},Wu,o)},e.prototype.regeneratePrimaryKey=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,sid:r,options:a},Zu,i)},e.prototype.regenerateSecondaryKey=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,sid:r,options:a},Ju,i)},e.prototype.listNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Yu,r)},e}(),Ku=new r.Serializer(Vu),ju={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ui},default:{bodyMapper:fe}},serializer:Ku},Xu={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}",urlParameters:[Io,To,qo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:_a},default:{bodyMapper:fe}},serializer:Ku},$u={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}",urlParameters:[Io,To,qo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Sr,headersMapper:Wa},default:{bodyMapper:fe}},serializer:Ku},Qu={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}",urlParameters:[Io,To,qo,Eo],queryParameters:[Po,Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Gr,{required:!0})},responses:{200:{bodyMapper:Sr},201:{bodyMapper:Sr},default:{bodyMapper:fe}},serializer:Ku},_u={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}",urlParameters:[Io,To,qo,Eo],queryParameters:[Po,Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Rr,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:Ku},Wu={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}",urlParameters:[Io,To,qo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Ku},Zu={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}/regeneratePrimaryKey",urlParameters:[Io,To,qo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{204:{},default:{bodyMapper:fe}},serializer:Ku},Ju={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}/regenerateSecondaryKey",urlParameters:[Io,To,qo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{204:{},default:{bodyMapper:fe}},serializer:Ku},Yu={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Ui},default:{bodyMapper:fe}},serializer:Ku},el=Object.freeze({TagResourceCollection:gi,TagResourceContract:nt,TagTagResourceContractProperties:st,ApiTagResourceContractProperties:ot,ApiEntityBaseContract:Oe,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,OperationTagResourceContractProperties:it,ProductTagResourceContractProperties:at,ProductEntityBaseParameters:rt,CloudError:he,ApiContractProperties:Ee,ApiVersionSetContractDetails:qe}),tl=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},al,a)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},il,r)},e}(),rl=new r.Serializer(el),al={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tagResources",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:gi},default:{bodyMapper:he}},serializer:rl},il={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:gi},default:{bodyMapper:he}},serializer:rl},ol=Object.freeze({TagCollection:wi,TagContract:Tr,Resource:ze,BaseResource:Se,CloudError:he,TagGetEntityStateHeaders:Za,ErrorResponse:fe,ErrorFieldContract:Me,TagGetHeaders:Ja,TagCreateUpdateParameters:qr,TagGetEntityStateByApiHeaders:Ya,TagGetByApiHeaders:ei,TagGetEntityStateByOperationHeaders:ai,TagGetByOperationHeaders:ii,TagGetEntityStateByProductHeaders:oi,TagGetByProductHeaders:si,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),sl=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},pl,a)},e.prototype.getEntityState=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,tagId:r,options:a},cl,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,tagId:r,options:a},ml,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,tagId:r,parameters:a,options:i},dl,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,tagId:r,parameters:a,ifMatch:i,options:o},ul,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,tagId:r,ifMatch:a,options:i},ll,o)},e.prototype.listByApi=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},yl,i)},e.prototype.getEntityStateByApi=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,tagId:a,options:i},gl,o)},e.prototype.getByApi=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,tagId:a,options:i},Cl,o)},e.prototype.assignToApi=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,tagId:a,options:i},Nl,o)},e.prototype.detachFromApi=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,tagId:a,ifMatch:i,options:o},Pl,s)},e.prototype.listByOperation=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,options:i},hl,o)},e.prototype.getEntityStateByOperation=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,tagId:i,options:o},Sl,s)},e.prototype.getByOperation=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,tagId:i,options:o},Ml,s)},e.prototype.assignToOperation=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,tagId:i,options:o},vl,s)},e.prototype.detachFromOperation=function(e,t,r,a,i,o,s,n){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,operationId:a,tagId:i,ifMatch:o,options:s},fl,n)},e.prototype.listByProduct=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,options:a},zl,i)},e.prototype.getEntityStateByProduct=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,tagId:a,options:i},bl,o)},e.prototype.getByProduct=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,tagId:a,options:i},Al,o)},e.prototype.assignToProduct=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,tagId:a,options:i},Il,o)},e.prototype.detachFromProduct=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,productId:r,tagId:a,ifMatch:i,options:o},Gl,s)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Rl,r)},e.prototype.listByApiNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Tl,r)},e.prototype.listByOperationNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},ql,r)},e.prototype.listByProductNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Ol,r)},e}(),nl=new r.Serializer(ol),pl={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:wi},default:{bodyMapper:he}},serializer:nl},cl={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}",urlParameters:[Io,To,ko,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Za},default:{bodyMapper:fe}},serializer:nl},ml={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}",urlParameters:[Io,To,ko,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Tr,headersMapper:Ja},default:{bodyMapper:fe}},serializer:nl},dl={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}",urlParameters:[Io,To,ko,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},qr,{required:!0})},responses:{200:{bodyMapper:Tr},201:{bodyMapper:Tr},default:{bodyMapper:fe}},serializer:nl},ul={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}",urlParameters:[Io,To,ko,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},qr,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:nl},ll={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}",urlParameters:[Io,To,ko,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:nl},yl={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags",urlParameters:[Io,To,_i,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:wi},default:{bodyMapper:fe}},serializer:nl},gl={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}",urlParameters:[Io,To,_i,ko,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:Ya},default:{bodyMapper:fe}},serializer:nl},Cl={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}",urlParameters:[Io,To,_i,ko,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Tr,headersMapper:ei},default:{bodyMapper:fe}},serializer:nl},Nl={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}",urlParameters:[Io,To,_i,ko,Eo],queryParameters:[Zi],headerParameters:[lo,$i],responses:{200:{bodyMapper:Tr},201:{bodyMapper:Tr},default:{bodyMapper:fe}},serializer:nl},Pl={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}",urlParameters:[Io,To,_i,ko,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:nl},hl={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags",urlParameters:[Io,To,_i,ho,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:wi},default:{bodyMapper:fe}},serializer:nl},Sl={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}",urlParameters:[Io,To,_i,ho,ko,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:ai},default:{bodyMapper:fe}},serializer:nl},Ml={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}",urlParameters:[Io,To,_i,ho,ko,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Tr,headersMapper:ii},default:{bodyMapper:fe}},serializer:nl},vl={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}",urlParameters:[Io,To,_i,ho,ko,Eo],queryParameters:[Zi],headerParameters:[lo,$i],responses:{200:{bodyMapper:Tr},201:{bodyMapper:Tr},default:{bodyMapper:fe}},serializer:nl},fl={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}",urlParameters:[Io,To,_i,ho,ko,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:nl},zl={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags",urlParameters:[Io,To,vo,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:wi},default:{bodyMapper:fe}},serializer:nl},bl={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}",urlParameters:[Io,To,vo,ko,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:oi},default:{bodyMapper:fe}},serializer:nl},Al={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}",urlParameters:[Io,To,vo,ko,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Tr,headersMapper:si},default:{bodyMapper:fe}},serializer:nl},Il={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}",urlParameters:[Io,To,vo,ko,Eo],queryParameters:[Zi],headerParameters:[lo,$i],responses:{200:{bodyMapper:Tr},201:{bodyMapper:Tr},default:{bodyMapper:fe}},serializer:nl},Gl={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}",urlParameters:[Io,To,vo,ko,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:nl},Rl={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:wi},default:{bodyMapper:he}},serializer:nl},Tl={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:wi},default:{bodyMapper:fe}},serializer:nl},ql={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:wi},default:{bodyMapper:fe}},serializer:nl},Ol={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:wi},default:{bodyMapper:fe}},serializer:nl},El=Object.freeze({TagDescriptionCollection:Vi,TagDescriptionContract:Or,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,TagDescriptionGetEntityStateHeaders:ti,TagDescriptionGetHeaders:ri,TagDescriptionCreateParameters:Er,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),kl=function(){function e(e){this.client=e}return e.prototype.listByApi=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},Ll,i)},e.prototype.getEntityState=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,tagId:a,options:i},Ul,o)},e.prototype.get=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,tagId:a,options:i},Dl,o)},e.prototype.createOrUpdate=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,tagId:a,parameters:i,options:o},xl,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,tagId:a,ifMatch:i,options:o},Hl,s)},e.prototype.listByApiNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},wl,r)},e}(),Bl=new r.Serializer(El),Ll={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions",urlParameters:[Io,To,_i,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Vi},default:{bodyMapper:fe}},serializer:Bl},Ul={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}",urlParameters:[Io,To,_i,ko,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:ti},default:{bodyMapper:fe}},serializer:Bl},Dl={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}",urlParameters:[Io,To,_i,ko,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Or,headersMapper:ri},default:{bodyMapper:fe}},serializer:Bl},xl={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}",urlParameters:[Io,To,_i,ko,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Er,{required:!0})},responses:{200:{bodyMapper:Or},201:{bodyMapper:Or},default:{bodyMapper:fe}},serializer:Bl},Hl={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}",urlParameters:[Io,To,_i,ko,Eo],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Bl},wl={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Vi},default:{bodyMapper:fe}},serializer:Bl},Vl=Object.freeze({TagResourceCollection:gi,TagResourceContract:nt,TagTagResourceContractProperties:st,ApiTagResourceContractProperties:ot,ApiEntityBaseContract:Oe,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,OperationTagResourceContractProperties:it,ProductTagResourceContractProperties:at,ProductEntityBaseParameters:rt,CloudError:he,ApiContractProperties:Ee,ApiVersionSetContractDetails:qe}),Fl=function(){function e(e){this.client=e}return e.prototype.listByTags=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,options:a},jl,i)},e.prototype.listByTagsNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Xl,r)},e}(),Kl=new r.Serializer(Vl),jl={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operationsByTags",urlParameters:[Io,To,_i,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:gi},default:{bodyMapper:he}},serializer:Kl},Xl={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:gi},default:{bodyMapper:he}},serializer:Kl},$l=Object.freeze({AccessInformationContract:kr,TenantAccessGetHeaders:ni,CloudError:he,AccessInformationUpdateParameters:Br,ErrorResponse:fe,ErrorFieldContract:Me}),Ql=function(){function e(e){this.client=e}return e.prototype.get=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Wl,a)},e.prototype.update=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,parameters:r,ifMatch:a,options:i},Zl,o)},e.prototype.regeneratePrimaryKey=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Jl,a)},e.prototype.regenerateSecondaryKey=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Yl,a)},e}(),_l=new r.Serializer($l),Wl={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}",urlParameters:[Io,To,Eo,Qi],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:kr,headersMapper:ni},default:{bodyMapper:he}},serializer:_l},Zl={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}",urlParameters:[Io,To,Qi,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Br,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:_l},Jl={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/regeneratePrimaryKey",urlParameters:[Io,To,Eo,Qi],queryParameters:[Zi],headerParameters:[$i],responses:{204:{},default:{bodyMapper:fe}},serializer:_l},Yl={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/regenerateSecondaryKey",urlParameters:[Io,To,Eo,Qi],queryParameters:[Zi],headerParameters:[$i],responses:{204:{},default:{bodyMapper:fe}},serializer:_l},ey=Object.freeze({AccessInformationContract:kr,TenantAccessGitGetHeaders:pi,ErrorResponse:fe,ErrorFieldContract:Me}),ty=function(){function e(e){this.client=e}return e.prototype.get=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},ay,a)},e.prototype.regeneratePrimaryKey=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},iy,a)},e.prototype.regenerateSecondaryKey=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},oy,a)},e}(),ry=new r.Serializer(ey),ay={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git",urlParameters:[Io,To,Eo,Qi],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:kr,headersMapper:pi},default:{bodyMapper:fe}},serializer:ry},iy={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git/regeneratePrimaryKey",urlParameters:[Io,To,Eo,Qi],queryParameters:[Zi],headerParameters:[$i],responses:{204:{},default:{bodyMapper:fe}},serializer:ry},oy={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git/regenerateSecondaryKey",urlParameters:[Io,To,Eo,Qi],queryParameters:[Zi],headerParameters:[$i],responses:{204:{},default:{bodyMapper:fe}},serializer:ry},sy=Object.freeze({DeployConfigurationParameters:Lr,OperationResultContract:Dr,ErrorResponseBody:ve,ErrorFieldContract:Me,OperationResultLogItemContract:Ur,ErrorResponse:fe,SaveConfigurationParameter:xr,TenantConfigurationSyncStateContract:Hr,CloudError:he}),ny=function(){function e(e){this.client=e}return e.prototype.deploy=function(e,t,r,a){return this.beginDeploy(e,t,r,a).then(function(e){return e.pollUntilFinished()})},e.prototype.save=function(e,t,r,a){return this.beginSave(e,t,r,a).then(function(e){return e.pollUntilFinished()})},e.prototype.validate=function(e,t,r,a){return this.beginValidate(e,t,r,a).then(function(e){return e.pollUntilFinished()})},e.prototype.getSyncState=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},cy,a)},e.prototype.beginDeploy=function(e,t,r,a){return this.client.sendLRORequest({resourceGroupName:e,serviceName:t,parameters:r,options:a},my,a)},e.prototype.beginSave=function(e,t,r,a){return this.client.sendLRORequest({resourceGroupName:e,serviceName:t,parameters:r,options:a},dy,a)},e.prototype.beginValidate=function(e,t,r,a){return this.client.sendLRORequest({resourceGroupName:e,serviceName:t,parameters:r,options:a},uy,a)},e}(),py=new r.Serializer(sy),cy={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{configurationName}/syncState",urlParameters:[Io,To,Eo,ao],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Hr},default:{bodyMapper:he}},serializer:py},my={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{configurationName}/deploy",urlParameters:[Io,To,Eo,ao],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Lr,{required:!0})},responses:{200:{bodyMapper:Dr},202:{},default:{bodyMapper:fe}},serializer:py},dy={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{configurationName}/save",urlParameters:[Io,To,Eo,ao],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},xr,{required:!0})},responses:{200:{bodyMapper:Dr},202:{},default:{bodyMapper:fe}},serializer:py},uy={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{configurationName}/validate",urlParameters:[Io,To,Eo,ao],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Lr,{required:!0})},responses:{200:{bodyMapper:Dr},202:{},default:{bodyMapper:fe}},serializer:py},ly=Object.freeze({UserCollection:Ei,UserContract:Jt,Resource:ze,BaseResource:Se,UserIdentityContract:Zt,GroupContractProperties:$t,ErrorResponse:fe,ErrorFieldContract:Me,UserGetEntityTagHeaders:ci,UserGetHeaders:mi,UserCreateParameters:Vr,UserUpdateParameters:jr,GenerateSsoUrlResult:wr,UserTokenParameters:Fr,UserTokenResult:Kr,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),yy=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Cy,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,uid:r,options:a},Ny,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,uid:r,options:a},Py,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,uid:r,parameters:a,options:i},hy,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,uid:r,parameters:a,ifMatch:i,options:o},Sy,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,uid:r,ifMatch:a,options:i},My,o)},e.prototype.generateSsoUrl=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,uid:r,options:a},vy,i)},e.prototype.getSharedAccessToken=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,uid:r,parameters:a,options:i},fy,o)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},zy,r)},e}(),gy=new r.Serializer(ly),Cy={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users",urlParameters:[Io,To,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ei},default:{bodyMapper:fe}},serializer:gy},Ny={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}",urlParameters:[Io,To,Uo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:ci},default:{bodyMapper:fe}},serializer:gy},Py={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}",urlParameters:[Io,To,Uo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Jt,headersMapper:mi},default:{bodyMapper:fe}},serializer:gy},hy={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}",urlParameters:[Io,To,Uo,Eo],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Vr,{required:!0})},responses:{200:{bodyMapper:Jt},201:{bodyMapper:Jt},default:{bodyMapper:fe}},serializer:gy},Sy={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}",urlParameters:[Io,To,Uo,Eo],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},jr,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:gy},My={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}",urlParameters:[Io,To,Uo,Eo],queryParameters:[io,Po,Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:gy},vy={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/generateSsoUrl",urlParameters:[Io,To,Uo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:wr},default:{bodyMapper:fe}},serializer:gy},fy={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/token",urlParameters:[Io,To,Uo,Eo],queryParameters:[Zi],headerParameters:[$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Fr,{required:!0})},responses:{200:{bodyMapper:Kr},default:{bodyMapper:fe}},serializer:gy},zy={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Ei},default:{bodyMapper:fe}},serializer:gy},by=Object.freeze({GroupCollection:Oi,GroupContract:Qt,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),Ay=function(){function e(e){this.client=e}return e.prototype.list=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,uid:r,options:a},Gy,i)},e.prototype.listNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},Ry,r)},e}(),Iy=new r.Serializer(by),Gy={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/groups",urlParameters:[Io,To,Uo,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Oi},default:{bodyMapper:fe}},serializer:Iy},Ry={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Oi},default:{bodyMapper:fe}},serializer:Iy},Ty=Object.freeze({SubscriptionCollection:Ui,SubscriptionContract:Sr,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiVersionSetContract:Xr,ApiManagementServiceResource:Et}),qy=function(){function e(e){this.client=e}return e.prototype.list=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,uid:r,options:a},Ey,i)},e.prototype.listNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},ky,r)},e}(),Oy=new r.Serializer(Ty),Ey={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/subscriptions",urlParameters:[Io,To,Uo,Eo],queryParameters:[no,Lo,Oo,Zi],headerParameters:[$i],responses:{200:{bodyMapper:Ui},default:{bodyMapper:fe}},serializer:Oy},ky={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Ui},default:{bodyMapper:fe}},serializer:Oy},By=Object.freeze({UserIdentityCollection:Fi,UserIdentityContract:Zt,ErrorResponse:fe,ErrorFieldContract:Me}),Ly=function(){function e(e){this.client=e}return e.prototype.list=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,uid:r,options:a},Dy,i)},e.prototype.listNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},xy,r)},e}(),Uy=new r.Serializer(By),Dy={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/identities",urlParameters:[Io,To,Uo,Eo],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Fi},default:{bodyMapper:fe}},serializer:Uy},xy={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Fi},default:{bodyMapper:fe}},serializer:Uy},Hy=Object.freeze({ApiVersionSetCollection:Ki,ApiVersionSetContract:Xr,Resource:ze,BaseResource:Se,ErrorResponse:fe,ErrorFieldContract:Me,ApiVersionSetGetEntityTagHeaders:di,ApiVersionSetGetHeaders:ui,ApiVersionSetUpdateParameters:$r,PolicyContract:be,ApiContract:ke,AuthenticationSettingsContract:He,OAuth2AuthenticationSettingsContract:De,OpenIdAuthenticationSettingsContract:xe,SubscriptionKeyParameterNamesContract:we,ApiVersionSetContractDetails:qe,ApiReleaseContract:Fe,OperationContract:Ke,ParameterContract:je,RequestContract:$e,RepresentationContract:Xe,ResponseContract:Qe,SchemaContract:We,IssueContract:Ze,IssueCommentContract:Je,IssueAttachmentContract:Ye,LoggerContract:et,DiagnosticContract:tt,ProductContract:pt,AuthorizationServerContract:ct,TokenBodyParameterContract:dt,AuthorizationServerUpdateContract:mt,BackendContract:ht,BackendProperties:gt,BackendServiceFabricClusterProperties:yt,X509CertificateName:lt,BackendCredentialsContract:Ct,BackendAuthorizationHeaderCredentials:ut,BackendProxyContract:Nt,BackendTlsProperties:Pt,BackendReconnectContract:Mt,CertificateContract:vt,ApimResource:Ot,ApiManagementServiceUpdateParameters:kt,HostnameConfiguration:At,CertificateInformation:zt,VirtualNetworkConfiguration:It,AdditionalLocation:Rt,ApiManagementServiceSkuProperties:Gt,CertificateConfiguration:bt,ApiManagementServiceIdentity:qt,EmailTemplateContract:jt,EmailTemplateParametersContractProperties:Kt,GroupContract:Qt,UserContract:Jt,UserIdentityContract:Zt,GroupContractProperties:$t,IdentityProviderContract:Yt,NotificationContract:ar,RecipientsContractProperties:rr,RecipientUserContract:ir,RecipientEmailContract:sr,OpenidConnectProviderContract:dr,PortalSigninSettings:lr,PortalSignupSettings:gr,TermsOfServiceProperties:yr,PortalDelegationSettings:Pr,SubscriptionsDelegationSettingsProperties:Cr,RegistrationDelegationSettingsProperties:Nr,SubscriptionContract:Sr,PropertyContract:Mr,TagContract:Tr,TagDescriptionContract:Or,ApiManagementServiceResource:Et}),wy=function(){function e(e){this.client=e}return e.prototype.listByService=function(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,options:r},Fy,a)},e.prototype.getEntityTag=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,versionSetId:r,options:a},Ky,i)},e.prototype.get=function(e,t,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,versionSetId:r,options:a},jy,i)},e.prototype.createOrUpdate=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,versionSetId:r,parameters:a,options:i},Xy,o)},e.prototype.update=function(e,t,r,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,versionSetId:r,parameters:a,ifMatch:i,options:o},$y,s)},e.prototype.deleteMethod=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,versionSetId:r,ifMatch:a,options:i},Qy,o)},e.prototype.listByServiceNext=function(e,t,r){return this.client.sendOperationRequest({nextPageLink:e,options:t},_y,r)},e}(),Vy=new r.Serializer(Hy),Fy={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets",urlParameters:[Io,To,Eo],queryParameters:[Zi,no,Lo,Oo],headerParameters:[$i],responses:{200:{bodyMapper:Ki},default:{bodyMapper:fe}},serializer:Vy},Ky={httpMethod:"HEAD",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}",urlParameters:[Io,To,Eo,Do],queryParameters:[Zi],headerParameters:[$i],responses:{200:{headersMapper:di},default:{bodyMapper:fe}},serializer:Vy},jy={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}",urlParameters:[Io,To,Eo,Do],queryParameters:[Zi],headerParameters:[$i],responses:{200:{bodyMapper:Xr,headersMapper:ui},default:{bodyMapper:fe}},serializer:Vy},Xy={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}",urlParameters:[Io,To,Eo,Do],queryParameters:[Zi],headerParameters:[lo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},Xr,{required:!0})},responses:{200:{bodyMapper:Xr},201:{bodyMapper:Xr},default:{bodyMapper:fe}},serializer:Vy},$y={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}",urlParameters:[Io,To,Eo,Do],queryParameters:[Zi],headerParameters:[uo,$i],requestBody:{parameterPath:"parameters",mapper:Ne({},$r,{required:!0})},responses:{204:{},default:{bodyMapper:fe}},serializer:Vy},Qy={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}",urlParameters:[Io,To,Eo,Do],queryParameters:[Zi],headerParameters:[uo,$i],responses:{200:{},204:{},default:{bodyMapper:fe}},serializer:Vy},_y={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Co],headerParameters:[$i],responses:{200:{bodyMapper:Ki},default:{bodyMapper:fe}},serializer:Vy},Wy=Object.freeze({ApiExportResult:Te,ErrorResponse:fe,ErrorFieldContract:Me}),Zy=function(){function e(e){this.client=e}return e.prototype.get=function(e,t,r,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,serviceName:t,apiId:r,format:a,options:i},Jy,o)},e}(),Jy={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}",urlParameters:[Io,To,_i,Eo],queryParameters:[{parameterPath:"format",mapper:{required:!0,serializedName:"format",type:{name:"String"}}},{parameterPath:"exportParameter",mapper:{required:!0,isConstant:!0,serializedName:"export",defaultValue:"true",type:{name:"String"}}},Zi],headerParameters:[$i],responses:{200:{bodyMapper:Te},default:{bodyMapper:fe}},serializer:new r.Serializer(Wy)},Yy=function(i){function e(e,t,r){var a=this;if(null==e)throw new Error("'credentials' cannot be null.");if(null==t)throw new Error("'subscriptionId' cannot be null.");return r||(r={}),(a=i.call(this,e,r)||this).apiVersion="2018-01-01",a.acceptLanguage="en-US",a.longRunningOperationRetryTimeout=30,a.baseUri=r.baseUri||a.baseUri||"https://management.azure.com",a.requestContentType="application/json; charset=utf-8",a.credentials=e,a.subscriptionId=t,a.addUserAgentInfo("@azure/arm-apimanagement/1.0.0-preview"),null!==r.acceptLanguage&&void 0!==r.acceptLanguage&&(a.acceptLanguage=r.acceptLanguage),null!==r.longRunningOperationRetryTimeout&&void 0!==r.longRunningOperationRetryTimeout&&(a.longRunningOperationRetryTimeout=r.longRunningOperationRetryTimeout),a}return o(e,i),e}(t.AzureServiceClient),eg=function(i){function e(e,t,r){var a=i.call(this,e,t,r)||this;return a.policy=new xo(a),a.policySnippets=new $o(a),a.regions=new Wo(a),a.api=new ts(a),a.apiRevisions=new ls(a),a.apiRelease=new Ps(a),a.apiOperation=new Gs(a),a.apiOperationPolicy=new Ds(a),a.apiProduct=new Xs(a),a.apiPolicy=new Zs(a),a.apiSchema=new sn(a),a.apiDiagnostic=new gn(a),a.apiDiagnosticLogger=new bn(a),a.apiIssue=new En(a),a.apiIssueComment=new Vn(a),a.apiIssueAttachment=new Zn(a),a.authorizationServer=new sp(a),a.backend=new Cp(a),a.certificate=new Ip(a),a.apiManagementOperations=new Lp(a),a.apiManagementService=new wp(a),a.diagnostic=new oc(a),a.diagnosticLogger=new gc(a),a.emailTemplate=new fc(a),a.group=new Ec(a),a.groupUser=new Fc(a),a.identityProvider=new Zc(a),a.logger=new nm(a),a.notification=new Nm(a),a.notificationRecipientUser=new zm(a),a.notificationRecipientEmail=new qm(a),a.networkStatus=new Dm(a),a.openIdConnectProvider=new Fm(a),a.signInSettings=new Ym(a),a.signUpSettings=new sd(a),a.delegationSettings=new ld(a),a.product=new Sd(a),a.productApi=new Td(a),a.productGroup=new Dd(a),a.productSubscriptions=new Xd(a),a.productPolicy=new Zd(a),a.property=new ou(a),a.quotaByCounterKeys=new gu(a),a.quotaByPeriodKeys=new Su(a),a.reports=new bu(a),a.subscription=new Fu(a),a.tagResource=new tl(a),a.tag=new sl(a),a.tagDescription=new kl(a),a.operation=new Fl(a),a.tenantAccess=new Ql(a),a.tenantAccessGit=new ty(a),a.tenantConfiguration=new ny(a),a.user=new yy(a),a.userGroup=new Ay(a),a.userSubscription=new qy(a),a.userIdentities=new Ly(a),a.apiVersionSet=new wy(a),a.apiExport=new Zy(a),a}return o(e,i),e}(Yy);e.ApiManagementClient=eg,e.ApiManagementClientContext=Yy,e.ApiManagementModels=Pe,e.ApiManagementMappers=ji,e.Policy=xo,e.PolicySnippets=$o,e.Regions=Wo,e.Api=ts,e.ApiRevisions=ls,e.ApiRelease=Ps,e.ApiOperation=Gs,e.ApiOperationPolicy=Ds,e.ApiProduct=Xs,e.ApiPolicy=Zs,e.ApiSchema=sn,e.ApiDiagnostic=gn,e.ApiDiagnosticLogger=bn,e.ApiIssue=En,e.ApiIssueComment=Vn,e.ApiIssueAttachment=Zn,e.AuthorizationServer=sp,e.Backend=Cp,e.Certificate=Ip,e.ApiManagementOperations=Lp,e.ApiManagementService=wp,e.Diagnostic=oc,e.DiagnosticLogger=gc,e.EmailTemplate=fc,e.Group=Ec,e.GroupUser=Fc,e.IdentityProvider=Zc,e.Logger=nm,e.Notification=Nm,e.NotificationRecipientUser=zm,e.NotificationRecipientEmail=qm,e.NetworkStatus=Dm,e.OpenIdConnectProvider=Fm,e.SignInSettings=Ym,e.SignUpSettings=sd,e.DelegationSettings=ld,e.Product=Sd,e.ProductApi=Td,e.ProductGroup=Dd,e.ProductSubscriptions=Xd,e.ProductPolicy=Zd,e.Property=ou,e.QuotaByCounterKeys=gu,e.QuotaByPeriodKeys=Su,e.Reports=bu,e.Subscription=Fu,e.TagResource=tl,e.Tag=sl,e.TagDescription=kl,e.OperationOperations=Fl,e.TenantAccess=Ql,e.TenantAccessGit=ty,e.TenantConfiguration=ny,e.User=yy,e.UserGroup=Ay,e.UserSubscription=qy,e.UserIdentities=Ly,e.ApiVersionSet=wy,e.ApiExport=Zy,Object.defineProperty(e,"__esModule",{value:!0})}); \ No newline at end of file diff --git a/packages/@azure/arm-apimanagement/dist/arm-apimanagement.min.js.map b/packages/@azure/arm-apimanagement/dist/arm-apimanagement.min.js.map deleted file mode 100644 index 6876e581480c..000000000000 --- a/packages/@azure/arm-apimanagement/dist/arm-apimanagement.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../node_modules/tslib/tslib.es6.js","../esm/models/index.js","../esm/models/mappers.js","../esm/models/parameters.js","../esm/operations/policy.js","../esm/operations/policySnippets.js","../esm/operations/regions.js","../esm/operations/api.js","../esm/operations/apiRevisions.js","../esm/operations/apiRelease.js","../esm/operations/apiOperation.js","../esm/operations/apiOperationPolicy.js","../esm/operations/apiProduct.js","../esm/operations/apiPolicy.js","../esm/operations/apiSchema.js","../esm/operations/apiDiagnostic.js","../esm/operations/apiDiagnosticLogger.js","../esm/operations/apiIssue.js","../esm/operations/apiIssueComment.js","../esm/operations/apiIssueAttachment.js","../esm/operations/authorizationServer.js","../esm/operations/backend.js","../esm/operations/certificate.js","../esm/operations/apiManagementOperations.js","../esm/operations/apiManagementService.js","../esm/operations/diagnostic.js","../esm/operations/diagnosticLogger.js","../esm/operations/emailTemplate.js","../esm/operations/group.js","../esm/operations/groupUser.js","../esm/operations/identityProvider.js","../esm/operations/logger.js","../esm/operations/notification.js","../esm/operations/notificationRecipientUser.js","../esm/operations/notificationRecipientEmail.js","../esm/operations/networkStatus.js","../esm/operations/openIdConnectProvider.js","../esm/operations/signInSettings.js","../esm/operations/signUpSettings.js","../esm/operations/delegationSettings.js","../esm/operations/product.js","../esm/operations/productApi.js","../esm/operations/productGroup.js","../esm/operations/productSubscriptions.js","../esm/operations/productPolicy.js","../esm/operations/property.js","../esm/operations/quotaByCounterKeys.js","../esm/operations/quotaByPeriodKeys.js","../esm/operations/reports.js","../esm/operations/subscription.js","../esm/operations/tagResource.js","../esm/operations/tag.js","../esm/operations/tagDescription.js","../esm/operations/operationOperations.js","../esm/operations/tenantAccess.js","../esm/operations/tenantAccessGit.js","../esm/operations/tenantConfiguration.js","../esm/operations/user.js","../esm/operations/userGroup.js","../esm/operations/userSubscription.js","../esm/operations/userIdentities.js","../esm/operations/apiVersionSet.js","../esm/operations/apiExport.js","../esm/apiManagementClientContext.js","../esm/apiManagementClient.js"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__extends","__","this","constructor","prototype","create","PolicyContentFormat","Protocol","ContentFormat","SoapApiType","BearerTokenSendingMethods","ApiType","State","LoggerType","ProductState","GrantType","AuthorizationMethod","ClientAuthenticationMethod","BearerTokenSendingMethod","BackendProtocol","HostnameType","SkuType","VirtualNetworkType","NameAvailabilityReason","GroupType","Confirmation","UserState","IdentityProviderType","ConnectivityStatusType","SubscriptionState","AsyncOperationStatus","KeyType","VersioningScheme","TemplateName","NotificationName","PolicyScopeContract","ExportFormat","VersioningScheme1","StoreName","__assign","assign","t","s","i","n","arguments","length","call","apply","CloudError","CloudErrorMapper","BaseResource","BaseResourceMapper","ErrorFieldContract","serializedName","type","name","className","modelProperties","code","message","target","ErrorResponseBody","details","element","ErrorResponse","Resource","id","readOnly","PolicyContract","tslib_1.__assign","policyContent","required","contentFormat","defaultValue","PolicyCollection","value","nextLink","PolicySnippetContract","content","toolTip","scope","PolicySnippetsCollection","RegionContract","isMasterRegion","isDeleted","ApiExportResult","link","ApiVersionSetContractDetails","description","versioningScheme","versionQueryName","versionHeaderName","ApiEntityBaseContract","authenticationSettings","subscriptionKeyParameterNames","apiType","apiRevision","constraints","MaxLength","MinLength","apiVersion","isCurrent","isOnline","apiRevisionDescription","apiVersionDescription","apiVersionSetId","ApiContractProperties","displayName","serviceUrl","path","protocols","allowedValues","apiVersionSet","ApiContract","ApiCreateOrUpdatePropertiesWsdlSelector","wsdlServiceName","wsdlEndpointName","ApiCreateOrUpdateParameter","contentValue","wsdlSelector","soapApiType","ApiUpdateContract","OAuth2AuthenticationSettingsContract","authorizationServerId","OpenIdAuthenticationSettingsContract","openidProviderId","bearerTokenSendingMethods","AuthenticationSettingsContract","oAuth2","openid","subscriptionKeyRequired","SubscriptionKeyParameterNamesContract","header","query","ApiRevisionContract","apiId","createdDateTime","updatedDateTime","privateUrl","ApiReleaseContract","notes","OperationContract","templateParameters","request","responses","policies","method","urlTemplate","ParameterContract","values","RepresentationContract","contentType","sample","schemaId","typeName","formParameters","RequestContract","queryParameters","headers","representations","ResponseContract","statusCode","OperationUpdateContract","SchemaContract","IssueContract","title","createdDate","state","userId","IssueCommentContract","text","IssueAttachmentContract","LoggerContract","loggerType","credentials","isBuffered","DiagnosticContract","enabled","ProductEntityBaseParameters","terms","subscriptionRequired","approvalRequired","subscriptionsLimit","ProductTagResourceContractProperties","OperationTagResourceContractProperties","apiName","ApiTagResourceContractProperties","TagTagResourceContractProperties","TagResourceContract","tag","api","operation","product","ProductContract","AuthorizationServerContract","authorizationMethods","clientAuthenticationMethod","tokenBodyParameters","tokenEndpoint","supportState","defaultScope","clientSecret","resourceOwnerUsername","resourceOwnerPassword","clientRegistrationEndpoint","authorizationEndpoint","grantTypes","clientId","AuthorizationServerUpdateContract","TokenBodyParameterContract","BackendAuthorizationHeaderCredentials","scheme","parameter","X509CertificateName","issuerCertificateThumbprint","BackendServiceFabricClusterProperties","clientCertificatethumbprint","maxPartitionResolutionRetries","managementEndpoints","serverCertificateThumbprints","serverX509Names","BackendProperties","serviceFabricCluster","BackendCredentialsContract","certificate","MaxItems","authorization","BackendProxyContract","url","username","password","BackendTlsProperties","validateCertificateChain","validateCertificateName","BackendContract","resourceId","properties","proxy","tls","protocol","BackendUpdateParameters","BackendReconnectContract","after","CertificateContract","subject","thumbprint","expirationDate","CertificateCreateOrUpdateParameters","data","CertificateInformation","expiry","CertificateConfiguration","encodedCertificate","certificatePassword","storeName","HostnameConfiguration","hostName","keyVaultId","defaultSslBinding","negotiateClientCertificate","VirtualNetworkConfiguration","vnetid","subnetname","subnetResourceId","Pattern","ApiManagementServiceSkuProperties","capacity","AdditionalLocation","location","sku","publicIPAddresses","privateIPAddresses","virtualNetworkConfiguration","gatewayRegionalUrl","ApiManagementServiceBackupRestoreParameters","storageAccount","accessKey","containerName","backupName","ApiManagementServiceIdentity","isConstant","principalId","tenantId","ApimResource","tags","ApiManagementServiceResource","notificationSenderEmail","provisioningState","targetProvisioningState","createdAtUtc","gatewayUrl","portalUrl","managementApiUrl","scmUrl","hostnameConfigurations","additionalLocations","customProperties","certificates","virtualNetworkType","publisherEmail","publisherName","identity","etag","ApiManagementServiceUpdateParameters","ApiManagementServiceGetSsoTokenResult","redirectUri","ApiManagementServiceCheckNameAvailabilityParameters","ApiManagementServiceNameAvailabilityResult","nameAvailable","reason","ApiManagementServiceApplyNetworkConfigurationParameters","ApiManagementServiceUploadCertificateParameters","HostnameConfigurationOld","hostname","ApiManagementServiceUpdateHostnameParameters","update","deleteProperty","OperationDisplay","provider","resource","Operation","display","origin","EmailTemplateParametersContractProperties","EmailTemplateContract","body","isDefault","parameters","EmailTemplateUpdateParameters","GroupContractProperties","builtIn","externalId","GroupContract","groupContractType","GroupCreateParameters","GroupUpdateParameters","UserIdentityContract","UserContract","note","identities","firstName","lastName","email","registrationDate","groups","IdentityProviderContract","identityProviderContractType","allowedTenants","signupPolicyName","signinPolicyName","profileEditingPolicyName","passwordResetPolicyName","IdentityProviderUpdateParameters","LoggerUpdateContract","RecipientsContractProperties","emails","users","NotificationContract","recipients","RecipientUserContract","RecipientUserCollection","RecipientEmailContract","RecipientEmailCollection","ConnectivityStatusContract","status","error","lastUpdated","lastStatusChange","NetworkStatusContract","dnsServers","connectivityStatus","NetworkStatusContractByLocation","networkStatus","OpenidConnectProviderContract","metadataEndpoint","OpenidConnectProviderUpdateContract","PortalSigninSettings","TermsOfServiceProperties","consentRequired","PortalSignupSettings","termsOfService","SubscriptionsDelegationSettingsProperties","RegistrationDelegationSettingsProperties","PortalDelegationSettings","validationKey","subscriptions","userRegistration","ProductUpdateParameters","SubscriptionContract","productId","startDate","endDate","notificationDate","primaryKey","secondaryKey","stateComment","PropertyContract","secret","PropertyUpdateParameters","QuotaCounterValueContractProperties","callsCount","kbTransferred","QuotaCounterContract","counterKey","periodKey","periodStartTime","periodEndTime","QuotaCounterCollection","count","ReportRecordContract","timestamp","interval","country","region","zip","operationId","apiRegion","subscriptionId","callCountSuccess","callCountBlocked","callCountFailed","callCountOther","callCountTotal","bandwidth","cacheHitCount","cacheMissCount","apiTimeAvg","apiTimeMin","apiTimeMax","serviceTimeAvg","serviceTimeMin","serviceTimeMax","RequestReportRecordContract","ipAddress","backendResponseCode","responseCode","responseSize","cache","apiTime","serviceTime","requestId","requestSize","SubscriptionCreateParameters","SubscriptionUpdateParameters","TagContract","TagCreateUpdateParameters","TagDescriptionContract","externalDocsUrl","externalDocsDescription","TagDescriptionCreateParameters","AccessInformationContract","AccessInformationUpdateParameters","DeployConfigurationParameters","branch","force","OperationResultLogItemContract","objectType","action","objectKey","OperationResultContract","started","updated","resultInfo","actionLog","SaveConfigurationParameter","TenantConfigurationSyncStateContract","commitId","isExport","isSynced","isGitEnabled","syncDate","configurationChangeDate","GenerateSsoUrlResult","UserCreateParameters","confirmation","UserTokenParameters","keyType","UserTokenResult","UserUpdateParameters","ApiVersionSetContract","ApiVersionSetUpdateParameters","PolicyGetEntityTagHeaders","eTag","PolicyGetHeaders","ApiGetEntityTagHeaders","ApiGetHeaders","ApiCreateOrUpdateHeaders","ApiReleaseGetEntityTagHeaders","ApiOperationGetEntityTagHeaders","ApiOperationGetHeaders","ApiOperationPolicyGetEntityTagHeaders","ApiOperationPolicyGetHeaders","ApiPolicyListByApiHeaders","ApiPolicyGetEntityTagHeaders","ApiPolicyGetHeaders","ApiSchemaListByApiHeaders","ApiSchemaGetEntityTagHeaders","ApiSchemaGetHeaders","ApiDiagnosticGetEntityTagHeaders","ApiDiagnosticGetHeaders","ApiIssueGetEntityTagHeaders","ApiIssueGetHeaders","ApiIssueCommentGetEntityTagHeaders","ApiIssueCommentGetHeaders","ApiIssueAttachmentGetEntityTagHeaders","ApiIssueAttachmentGetHeaders","AuthorizationServerGetEntityTagHeaders","AuthorizationServerGetHeaders","BackendGetEntityTagHeaders","BackendGetHeaders","CertificateGetEntityTagHeaders","CertificateGetHeaders","DiagnosticGetEntityTagHeaders","DiagnosticGetHeaders","EmailTemplateGetEntityTagHeaders","EmailTemplateGetHeaders","GroupGetEntityTagHeaders","GroupGetHeaders","IdentityProviderGetEntityTagHeaders","IdentityProviderGetHeaders","LoggerGetEntityTagHeaders","LoggerGetHeaders","OpenIdConnectProviderGetEntityTagHeaders","OpenIdConnectProviderGetHeaders","SignInSettingsGetEntityTagHeaders","SignInSettingsGetHeaders","SignUpSettingsGetEntityTagHeaders","SignUpSettingsGetHeaders","DelegationSettingsGetEntityTagHeaders","DelegationSettingsGetHeaders","ProductGetEntityTagHeaders","ProductGetHeaders","ProductPolicyListByProductHeaders","ProductPolicyGetEntityTagHeaders","ProductPolicyGetHeaders","PropertyGetEntityTagHeaders","PropertyGetHeaders","SubscriptionGetEntityTagHeaders","SubscriptionGetHeaders","TagGetEntityStateHeaders","TagGetHeaders","TagGetEntityStateByApiHeaders","TagGetByApiHeaders","TagDescriptionGetEntityStateHeaders","TagDescriptionGetHeaders","TagGetEntityStateByOperationHeaders","TagGetByOperationHeaders","TagGetEntityStateByProductHeaders","TagGetByProductHeaders","TenantAccessGetHeaders","TenantAccessGitGetHeaders","UserGetEntityTagHeaders","UserGetHeaders","ApiVersionSetGetEntityTagHeaders","ApiVersionSetGetHeaders","RegionListResult","ApiCollection","TagResourceCollection","ApiRevisionCollection","ApiReleaseCollection","OperationCollection","ProductCollection","SchemaCollection","DiagnosticCollection","LoggerCollection","IssueCollection","IssueCommentCollection","IssueAttachmentCollection","AuthorizationServerCollection","BackendCollection","CertificateCollection","OperationListResult","ApiManagementServiceListResult","EmailTemplateCollection","GroupCollection","UserCollection","IdentityProviderList","NotificationCollection","OpenIdConnectProviderCollection","SubscriptionCollection","PropertyCollection","ReportCollection","RequestReportCollection","TagCollection","TagDescriptionCollection","UserIdentityCollection","ApiVersionSetCollection","sourceApiId","apiVersionName","acceptLanguage","parameterPath","mapper","accessName","apiId0","apiId1","attachmentId","authsid","backendid","certificateId","commentId","configurationName","deleteSubscriptions","diagnosticId","filter0","filter1","groupId","identityProviderName","ifMatch0","ifMatch1","issueId","loggerid","nextPageLink","skipEncoding","notificationName","notify","opid","policyId","propId","quotaCounterKey","quotaPeriodKey","releaseId","resourceGroupName","serviceName","sid","skip","InclusiveMinimum","tagId","templateName","top","uid","versionSetId","Policy","client","listByService","options","callback","sendOperationRequest","listByServiceOperationSpec","getEntityTag","getEntityTagOperationSpec","get","getOperationSpec","createOrUpdate","createOrUpdateOperationSpec","deleteMethod","ifMatch","deleteMethodOperationSpec","serializer","msRest.Serializer","Mappers","httpMethod","urlParameters","Parameters.resourceGroupName","Parameters.serviceName","Parameters.subscriptionId","Parameters.scope","Parameters.apiVersion","headerParameters","Parameters.acceptLanguage","200","bodyMapper","Mappers.PolicyCollection","default","Mappers.CloudError","Parameters.policyId","headersMapper","Mappers.PolicyGetEntityTagHeaders","Mappers.ErrorResponse","Mappers.PolicyContract","Mappers.PolicyGetHeaders","requestBody","201","Parameters.ifMatch0","204","PolicySnippets","Mappers.PolicySnippetsCollection","Regions","listByServiceNext","listByServiceNextOperationSpec","Mappers.RegionListResult","baseUrl","Parameters.nextPageLink","Api","updateOperationSpec","listByTags","listByTagsOperationSpec","listByTagsNext","listByTagsNextOperationSpec","Parameters.filter0","Parameters.top","Parameters.skip","Mappers.ApiCollection","Parameters.apiId0","Mappers.ApiGetEntityTagHeaders","Mappers.ApiContract","Mappers.ApiGetHeaders","Parameters.ifMatch1","Mappers.ApiCreateOrUpdateParameter","Mappers.ApiCreateOrUpdateHeaders","Mappers.ApiUpdateContract","Mappers.TagResourceCollection","ApiRevisions","list","listOperationSpec","listNext","listNextOperationSpec","Parameters.apiId1","Mappers.ApiRevisionCollection","ApiRelease","createOperationSpec","Mappers.ApiReleaseCollection","Parameters.releaseId","Mappers.ApiReleaseGetEntityTagHeaders","Mappers.ApiReleaseContract","ApiOperation","listByApi","listByApiOperationSpec","listByApiNext","listByApiNextOperationSpec","Mappers.OperationCollection","Parameters.operationId","Mappers.ApiOperationGetEntityTagHeaders","Mappers.OperationContract","Mappers.ApiOperationGetHeaders","Mappers.OperationUpdateContract","ApiOperationPolicy","listByOperation","listByOperationOperationSpec","Mappers.ApiOperationPolicyGetEntityTagHeaders","Mappers.ApiOperationPolicyGetHeaders","ApiProduct","listByApis","listByApisOperationSpec","listByApisNext","listByApisNextOperationSpec","Mappers.ProductCollection","ApiPolicy","Mappers.ApiPolicyListByApiHeaders","Mappers.ApiPolicyGetEntityTagHeaders","Mappers.ApiPolicyGetHeaders","ApiSchema","Mappers.SchemaCollection","Mappers.ApiSchemaListByApiHeaders","Parameters.schemaId","Mappers.ApiSchemaGetEntityTagHeaders","Mappers.SchemaContract","Mappers.ApiSchemaGetHeaders","ApiDiagnostic","Mappers.DiagnosticCollection","Parameters.diagnosticId","Mappers.ApiDiagnosticGetEntityTagHeaders","Mappers.DiagnosticContract","Mappers.ApiDiagnosticGetHeaders","ApiDiagnosticLogger","checkEntityExists","checkEntityExistsOperationSpec","Mappers.LoggerCollection","Parameters.loggerid","404","Mappers.LoggerContract","ApiIssue","Mappers.IssueCollection","Parameters.issueId","Mappers.ApiIssueGetEntityTagHeaders","Mappers.IssueContract","Mappers.ApiIssueGetHeaders","ApiIssueComment","Mappers.IssueCommentCollection","Parameters.commentId","Mappers.ApiIssueCommentGetEntityTagHeaders","Mappers.IssueCommentContract","Mappers.ApiIssueCommentGetHeaders","ApiIssueAttachment","Mappers.IssueAttachmentCollection","Parameters.attachmentId","Mappers.ApiIssueAttachmentGetEntityTagHeaders","Mappers.IssueAttachmentContract","Mappers.ApiIssueAttachmentGetHeaders","AuthorizationServer","Mappers.AuthorizationServerCollection","Parameters.authsid","Mappers.AuthorizationServerGetEntityTagHeaders","Mappers.AuthorizationServerContract","Mappers.AuthorizationServerGetHeaders","Mappers.AuthorizationServerUpdateContract","Backend","reconnect","reconnectOperationSpec","Mappers.BackendCollection","Parameters.backendid","Mappers.BackendGetEntityTagHeaders","Mappers.BackendContract","Mappers.BackendGetHeaders","Mappers.BackendUpdateParameters","Mappers.BackendReconnectContract","202","Certificate","Mappers.CertificateCollection","Parameters.certificateId","Mappers.CertificateGetEntityTagHeaders","Mappers.CertificateContract","Mappers.CertificateGetHeaders","Mappers.CertificateCreateOrUpdateParameters","ApiManagementOperations","Mappers.OperationListResult","ApiManagementService","restore","beginRestore","then","lroPoller","pollUntilFinished","backup","beginBackup","beginCreateOrUpdate","beginUpdate","listByResourceGroup","listByResourceGroupOperationSpec","getSsoToken","getSsoTokenOperationSpec","checkNameAvailability","checkNameAvailabilityOperationSpec","applyNetworkConfigurationUpdates","beginApplyNetworkConfigurationUpdates","uploadCertificate","uploadCertificateOperationSpec","updateHostname","beginUpdateHostname","sendLRORequest","beginRestoreOperationSpec","beginBackupOperationSpec","beginCreateOrUpdateOperationSpec","beginUpdateOperationSpec","beginApplyNetworkConfigurationUpdatesOperationSpec","beginUpdateHostnameOperationSpec","listByResourceGroupNext","listByResourceGroupNextOperationSpec","Mappers.ApiManagementServiceResource","Mappers.ApiManagementServiceListResult","Mappers.ApiManagementServiceGetSsoTokenResult","Mappers.ApiManagementServiceCheckNameAvailabilityParameters","Mappers.ApiManagementServiceNameAvailabilityResult","Mappers.ApiManagementServiceUploadCertificateParameters","Mappers.CertificateInformation","Mappers.ApiManagementServiceBackupRestoreParameters","Mappers.ApiManagementServiceUpdateParameters","Mappers.ApiManagementServiceApplyNetworkConfigurationParameters","Mappers.ApiManagementServiceUpdateHostnameParameters","Diagnostic","Mappers.DiagnosticGetEntityTagHeaders","Mappers.DiagnosticGetHeaders","DiagnosticLogger","EmailTemplate","Mappers.EmailTemplateCollection","Parameters.templateName","Mappers.EmailTemplateGetEntityTagHeaders","Mappers.EmailTemplateContract","Mappers.EmailTemplateGetHeaders","Mappers.EmailTemplateUpdateParameters","Group","Mappers.GroupCollection","Parameters.groupId","Mappers.GroupGetEntityTagHeaders","Mappers.GroupContract","Mappers.GroupGetHeaders","Mappers.GroupCreateParameters","Mappers.GroupUpdateParameters","GroupUser","Mappers.UserCollection","Parameters.uid","Mappers.UserContract","IdentityProvider","Mappers.IdentityProviderList","Parameters.identityProviderName","Mappers.IdentityProviderGetEntityTagHeaders","Mappers.IdentityProviderContract","Mappers.IdentityProviderGetHeaders","Mappers.IdentityProviderUpdateParameters","Logger","Mappers.LoggerGetEntityTagHeaders","Mappers.LoggerGetHeaders","Mappers.LoggerUpdateContract","Notification","Mappers.NotificationCollection","Parameters.notificationName","Mappers.NotificationContract","NotificationRecipientUser","listByNotification","listByNotificationOperationSpec","Mappers.RecipientUserCollection","Mappers.RecipientUserContract","NotificationRecipientEmail","Mappers.RecipientEmailCollection","Parameters.email","Mappers.RecipientEmailContract","NetworkStatus","listByLocation","locationName","listByLocationOperationSpec","Mappers.NetworkStatusContract","OpenIdConnectProvider","Mappers.OpenIdConnectProviderCollection","Parameters.opid","Mappers.OpenIdConnectProviderGetEntityTagHeaders","Mappers.OpenidConnectProviderContract","Mappers.OpenIdConnectProviderGetHeaders","Mappers.OpenidConnectProviderUpdateContract","SignInSettings","Mappers.SignInSettingsGetEntityTagHeaders","Mappers.PortalSigninSettings","Mappers.SignInSettingsGetHeaders","SignUpSettings","Mappers.SignUpSettingsGetEntityTagHeaders","Mappers.PortalSignupSettings","Mappers.SignUpSettingsGetHeaders","DelegationSettings","Mappers.DelegationSettingsGetEntityTagHeaders","Mappers.PortalDelegationSettings","Mappers.DelegationSettingsGetHeaders","Product","Parameters.productId","Mappers.ProductGetEntityTagHeaders","Mappers.ProductContract","Mappers.ProductGetHeaders","Mappers.ProductUpdateParameters","Parameters.deleteSubscriptions","ProductApi","listByProduct","listByProductOperationSpec","listByProductNext","listByProductNextOperationSpec","ProductGroup","ProductSubscriptions","Mappers.SubscriptionCollection","ProductPolicy","Mappers.ProductPolicyListByProductHeaders","Mappers.ProductPolicyGetEntityTagHeaders","Mappers.ProductPolicyGetHeaders","Property","Mappers.PropertyCollection","Parameters.propId","Mappers.PropertyGetEntityTagHeaders","Mappers.PropertyContract","Mappers.PropertyGetHeaders","Mappers.PropertyUpdateParameters","QuotaByCounterKeys","Parameters.quotaCounterKey","Mappers.QuotaCounterCollection","Mappers.QuotaCounterValueContractProperties","QuotaByPeriodKeys","Parameters.quotaPeriodKey","Mappers.QuotaCounterContract","Reports","filter","listByUser","listByUserOperationSpec","listByGeo","listByGeoOperationSpec","listBySubscription","listBySubscriptionOperationSpec","listByTime","listByTimeOperationSpec","listByRequest","listByRequestOperationSpec","listByUserNext","listByUserNextOperationSpec","listByOperationNext","listByOperationNextOperationSpec","listByGeoNext","listByGeoNextOperationSpec","listBySubscriptionNext","listBySubscriptionNextOperationSpec","listByTimeNext","listByTimeNextOperationSpec","Parameters.filter1","Mappers.ReportCollection","Mappers.RequestReportCollection","Subscription","regeneratePrimaryKey","regeneratePrimaryKeyOperationSpec","regenerateSecondaryKey","regenerateSecondaryKeyOperationSpec","Parameters.sid","Mappers.SubscriptionGetEntityTagHeaders","Mappers.SubscriptionContract","Mappers.SubscriptionGetHeaders","Parameters.notify","Mappers.SubscriptionCreateParameters","Mappers.SubscriptionUpdateParameters","TagResource","Tag","getEntityState","getEntityStateOperationSpec","getEntityStateByApi","getEntityStateByApiOperationSpec","getByApi","getByApiOperationSpec","assignToApi","assignToApiOperationSpec","detachFromApi","detachFromApiOperationSpec","getEntityStateByOperation","getEntityStateByOperationOperationSpec","getByOperation","getByOperationOperationSpec","assignToOperation","assignToOperationOperationSpec","detachFromOperation","detachFromOperationOperationSpec","getEntityStateByProduct","getEntityStateByProductOperationSpec","getByProduct","getByProductOperationSpec","assignToProduct","assignToProductOperationSpec","detachFromProduct","detachFromProductOperationSpec","Mappers.TagCollection","Parameters.tagId","Mappers.TagGetEntityStateHeaders","Mappers.TagContract","Mappers.TagGetHeaders","Mappers.TagCreateUpdateParameters","Mappers.TagGetEntityStateByApiHeaders","Mappers.TagGetByApiHeaders","Mappers.TagGetEntityStateByOperationHeaders","Mappers.TagGetByOperationHeaders","Mappers.TagGetEntityStateByProductHeaders","Mappers.TagGetByProductHeaders","TagDescription","Mappers.TagDescriptionCollection","Mappers.TagDescriptionGetEntityStateHeaders","Mappers.TagDescriptionContract","Mappers.TagDescriptionGetHeaders","Mappers.TagDescriptionCreateParameters","OperationOperations","TenantAccess","Parameters.accessName","Mappers.AccessInformationContract","Mappers.TenantAccessGetHeaders","Mappers.AccessInformationUpdateParameters","TenantAccessGit","Mappers.TenantAccessGitGetHeaders","TenantConfiguration","deploy","beginDeploy","save","beginSave","validate","beginValidate","getSyncState","getSyncStateOperationSpec","beginDeployOperationSpec","beginSaveOperationSpec","beginValidateOperationSpec","Parameters.configurationName","Mappers.TenantConfigurationSyncStateContract","Mappers.DeployConfigurationParameters","Mappers.OperationResultContract","Mappers.SaveConfigurationParameter","User","generateSsoUrl","generateSsoUrlOperationSpec","getSharedAccessToken","getSharedAccessTokenOperationSpec","Mappers.UserGetEntityTagHeaders","Mappers.UserGetHeaders","Mappers.UserCreateParameters","Mappers.UserUpdateParameters","Mappers.GenerateSsoUrlResult","Mappers.UserTokenParameters","Mappers.UserTokenResult","UserGroup","UserSubscription","UserIdentities","Mappers.UserIdentityCollection","ApiVersionSet","Mappers.ApiVersionSetCollection","Parameters.versionSetId","Mappers.ApiVersionSetGetEntityTagHeaders","Mappers.ApiVersionSetContract","Mappers.ApiVersionSetGetHeaders","Mappers.ApiVersionSetUpdateParameters","ApiExport","format","Mappers.ApiExportResult","ApiManagementClientContext","_super","_this","undefined","Error","longRunningOperationRetryTimeout","baseUri","requestContentType","addUserAgentInfo","packageName","tslib_1.__extends","msRestAzure.AzureServiceClient","ApiManagementClient","policy","operations.Policy","policySnippets","operations.PolicySnippets","regions","operations.Regions","operations.Api","apiRevisions","operations.ApiRevisions","apiRelease","operations.ApiRelease","apiOperation","operations.ApiOperation","apiOperationPolicy","operations.ApiOperationPolicy","apiProduct","operations.ApiProduct","apiPolicy","operations.ApiPolicy","apiSchema","operations.ApiSchema","apiDiagnostic","operations.ApiDiagnostic","apiDiagnosticLogger","operations.ApiDiagnosticLogger","apiIssue","operations.ApiIssue","apiIssueComment","operations.ApiIssueComment","apiIssueAttachment","operations.ApiIssueAttachment","authorizationServer","operations.AuthorizationServer","backend","operations.Backend","operations.Certificate","apiManagementOperations","operations.ApiManagementOperations","apiManagementService","operations.ApiManagementService","diagnostic","operations.Diagnostic","diagnosticLogger","operations.DiagnosticLogger","emailTemplate","operations.EmailTemplate","group","operations.Group","groupUser","operations.GroupUser","identityProvider","operations.IdentityProvider","logger","operations.Logger","notification","operations.Notification","notificationRecipientUser","operations.NotificationRecipientUser","notificationRecipientEmail","operations.NotificationRecipientEmail","operations.NetworkStatus","openIdConnectProvider","operations.OpenIdConnectProvider","signInSettings","operations.SignInSettings","signUpSettings","operations.SignUpSettings","delegationSettings","operations.DelegationSettings","operations.Product","productApi","operations.ProductApi","productGroup","operations.ProductGroup","productSubscriptions","operations.ProductSubscriptions","productPolicy","operations.ProductPolicy","property","operations.Property","quotaByCounterKeys","operations.QuotaByCounterKeys","quotaByPeriodKeys","operations.QuotaByPeriodKeys","reports","operations.Reports","subscription","operations.Subscription","tagResource","operations.TagResource","operations.Tag","tagDescription","operations.TagDescription","operations.OperationOperations","tenantAccess","operations.TenantAccess","tenantAccessGit","operations.TenantAccessGit","tenantConfiguration","operations.TenantConfiguration","user","operations.User","userGroup","operations.UserGroup","userSubscription","operations.UserSubscription","userIdentities","operations.UserIdentities","operations.ApiVersionSet","apiExport","operations.ApiExport"],"mappings":"4UAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAGrB,SAASO,EAAUR,EAAGC,GAEzB,SAASQ,IAAOC,KAAKC,YAAcX,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEY,UAAkB,OAANX,EAAaC,OAAOW,OAAOZ,IAAMQ,EAAGG,UAAYX,EAAEW,UAAW,IAAIH,GAG5E,ICTIK,EACAA,EA2BAC,EACAA,EAgBAC,EACAA,EAsCAC,EACAA,EAqBAC,EACAA,EAqBAC,EACAA,EAcAC,EACAA,EAgCAC,EACAA,EAgBAC,EACAA,EAeAC,EACAA,EA6BAC,EACAA,EAqBAC,EACAA,EAq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EAAMl4B,IAAM,IAAIu+B,GAAerG,GAC/BA,EAAMsG,eAAiB,IAAIC,GAA0BvG,GACrDA,EAAMh4B,UAAY,IAAIw+B,GAA+BxG,GACrDA,EAAMyG,aAAe,IAAIC,GAAwB1G,GACjDA,EAAM2G,gBAAkB,IAAIC,GAA2B5G,GACvDA,EAAM6G,oBAAsB,IAAIC,GAA+B9G,GAC/DA,EAAM+G,KAAO,IAAIC,GAAgBhH,GACjCA,EAAMiH,UAAY,IAAIC,GAAqBlH,GAC3CA,EAAMmH,iBAAmB,IAAIC,GAA4BpH,GACzDA,EAAMqH,eAAiB,IAAIC,GAA0BtH,GACrDA,EAAM/8B,cAAgB,IAAIskC,GAAyBvH,GACnDA,EAAMwH,UAAY,IAAIC,GAAqBzH,GACpCA,EAEX,OAvEAQ,EAAkBE,EAAqBX,GAuEhCW,EAxEY,CAyErBZ"} \ No newline at end of file diff --git a/packages/@azure/arm-apimanagement/lib/apiManagementClient.ts b/packages/@azure/arm-apimanagement/lib/apiManagementClient.ts index 59124c07a876..ee9357bd6dfb 100644 --- a/packages/@azure/arm-apimanagement/lib/apiManagementClient.ts +++ b/packages/@azure/arm-apimanagement/lib/apiManagementClient.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-apimanagement/lib/apiManagementClientContext.ts b/packages/@azure/arm-apimanagement/lib/apiManagementClientContext.ts index 56a4c2d2b361..316679a0aa97 100644 --- a/packages/@azure/arm-apimanagement/lib/apiManagementClientContext.ts +++ b/packages/@azure/arm-apimanagement/lib/apiManagementClientContext.ts @@ -9,8 +9,8 @@ */ 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-apimanagement"; const packageVersion = "0.1.0"; diff --git a/packages/@azure/arm-apimanagement/lib/models/index.ts b/packages/@azure/arm-apimanagement/lib/models/index.ts index 80a61ab8f037..7a7476588432 100644 --- a/packages/@azure/arm-apimanagement/lib/models/index.ts +++ b/packages/@azure/arm-apimanagement/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; diff --git a/packages/@azure/arm-apimanagement/lib/models/mappers.ts b/packages/@azure/arm-apimanagement/lib/models/mappers.ts index 0125a1000120..44492f3964d6 100644 --- a/packages/@azure/arm-apimanagement/lib/models/mappers.ts +++ b/packages/@azure/arm-apimanagement/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-apimanagement/lib/models/parameters.ts b/packages/@azure/arm-apimanagement/lib/models/parameters.ts index 0e0d3f3aeee0..5b4eb7add3c2 100644 --- a/packages/@azure/arm-apimanagement/lib/models/parameters.ts +++ b/packages/@azure/arm-apimanagement/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-apimanagement/lib/operations/api.ts b/packages/@azure/arm-apimanagement/lib/operations/api.ts index 998699a4c931..6f2af06fe1a0 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/api.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/api.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/apiMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiDiagnostic.ts b/packages/@azure/arm-apimanagement/lib/operations/apiDiagnostic.ts index 9364c119dbc6..150db4056bc5 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiDiagnostic.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiDiagnostic.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/apiDiagnosticMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiDiagnosticLogger.ts b/packages/@azure/arm-apimanagement/lib/operations/apiDiagnosticLogger.ts index b7aaacc2fd0d..b69c5bf8fd2a 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiDiagnosticLogger.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiDiagnosticLogger.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/apiDiagnosticLoggerMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiExport.ts b/packages/@azure/arm-apimanagement/lib/operations/apiExport.ts index a55935ff40e9..daec1e964aaf 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiExport.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiExport.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/apiExportMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiIssue.ts b/packages/@azure/arm-apimanagement/lib/operations/apiIssue.ts index 00fd75cccc25..f8d85ce04bef 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiIssue.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiIssue.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/apiIssueMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiIssueAttachment.ts b/packages/@azure/arm-apimanagement/lib/operations/apiIssueAttachment.ts index 12fa6dfa74a2..ff352c52fc93 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiIssueAttachment.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiIssueAttachment.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/apiIssueAttachmentMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiIssueComment.ts b/packages/@azure/arm-apimanagement/lib/operations/apiIssueComment.ts index d29512202246..c249a1108922 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiIssueComment.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiIssueComment.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/apiIssueCommentMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiManagementOperations.ts b/packages/@azure/arm-apimanagement/lib/operations/apiManagementOperations.ts index f407ac27dc64..043449470e76 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiManagementOperations.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiManagementOperations.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/apiManagementOperationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiManagementService.ts b/packages/@azure/arm-apimanagement/lib/operations/apiManagementService.ts index 042db6a129bc..26e58d227a44 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiManagementService.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiManagementService.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/apiManagementServiceMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiOperation.ts b/packages/@azure/arm-apimanagement/lib/operations/apiOperation.ts index 1b99899ff32b..58cc70177acb 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiOperation.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiOperation.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/apiOperationMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiOperationPolicy.ts b/packages/@azure/arm-apimanagement/lib/operations/apiOperationPolicy.ts index 758a68af8a11..5d4dfdc236f7 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiOperationPolicy.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiOperationPolicy.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/apiOperationPolicyMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiPolicy.ts b/packages/@azure/arm-apimanagement/lib/operations/apiPolicy.ts index c0132b65ab9d..99afd7d71df7 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiPolicy.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiPolicy.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/apiPolicyMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiProduct.ts b/packages/@azure/arm-apimanagement/lib/operations/apiProduct.ts index 3f7c3d234b19..10e07fb486f2 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiProduct.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiProduct.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/apiProductMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiRelease.ts b/packages/@azure/arm-apimanagement/lib/operations/apiRelease.ts index a132a2b1b792..88ecd2f53a2d 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiRelease.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiRelease.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/apiReleaseMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiRevisions.ts b/packages/@azure/arm-apimanagement/lib/operations/apiRevisions.ts index b774aa2650f2..a3764d6f5909 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiRevisions.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiRevisions.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/apiRevisionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiSchema.ts b/packages/@azure/arm-apimanagement/lib/operations/apiSchema.ts index c1ac7468c13f..5e8ae8bfbb0a 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiSchema.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiSchema.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/apiSchemaMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/apiVersionSet.ts b/packages/@azure/arm-apimanagement/lib/operations/apiVersionSet.ts index 1855a619e07b..6d60a7661a9b 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/apiVersionSet.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/apiVersionSet.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/apiVersionSetMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/authorizationServer.ts b/packages/@azure/arm-apimanagement/lib/operations/authorizationServer.ts index 34b5c4895f46..2801bdc9987e 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/authorizationServer.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/authorizationServer.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/authorizationServerMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/backend.ts b/packages/@azure/arm-apimanagement/lib/operations/backend.ts index 23d7bef9ed44..d1286f8203cd 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/backend.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/backend.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/backendMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/certificate.ts b/packages/@azure/arm-apimanagement/lib/operations/certificate.ts index 3dbb992530fe..521f7aab176f 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/certificate.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/certificate.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/certificateMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/delegationSettings.ts b/packages/@azure/arm-apimanagement/lib/operations/delegationSettings.ts index f015580bf836..8e404c9e19d5 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/delegationSettings.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/delegationSettings.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/delegationSettingsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/diagnostic.ts b/packages/@azure/arm-apimanagement/lib/operations/diagnostic.ts index 965395fb8ea6..6ee7a54228dd 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/diagnostic.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/diagnostic.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/diagnosticMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/diagnosticLogger.ts b/packages/@azure/arm-apimanagement/lib/operations/diagnosticLogger.ts index 2eb5de1cdbbe..02f21823974c 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/diagnosticLogger.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/diagnosticLogger.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/diagnosticLoggerMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/emailTemplate.ts b/packages/@azure/arm-apimanagement/lib/operations/emailTemplate.ts index 3f4d068e7524..4cccc75122fa 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/emailTemplate.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/emailTemplate.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/emailTemplateMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/group.ts b/packages/@azure/arm-apimanagement/lib/operations/group.ts index 93dfd4b2a377..42c98f894d4c 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/group.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/group.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/groupMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/groupUser.ts b/packages/@azure/arm-apimanagement/lib/operations/groupUser.ts index edc155a01c90..412693bf63cb 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/groupUser.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/groupUser.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/groupUserMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/identityProvider.ts b/packages/@azure/arm-apimanagement/lib/operations/identityProvider.ts index 2d24afbf5161..7315c2b4b443 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/identityProvider.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/identityProvider.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/identityProviderMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/logger.ts b/packages/@azure/arm-apimanagement/lib/operations/logger.ts index 2d8a0eb806d4..a3d3152d0b98 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/logger.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/logger.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/loggerMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/networkStatus.ts b/packages/@azure/arm-apimanagement/lib/operations/networkStatus.ts index 5366d065d23d..4a2e2f094b53 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/networkStatus.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/networkStatus.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/networkStatusMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/notification.ts b/packages/@azure/arm-apimanagement/lib/operations/notification.ts index bc2af47da265..9e13a6be9e80 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/notification.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/notification.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/notificationMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/notificationRecipientEmail.ts b/packages/@azure/arm-apimanagement/lib/operations/notificationRecipientEmail.ts index fc9246f19464..33904e45df9c 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/notificationRecipientEmail.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/notificationRecipientEmail.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/notificationRecipientEmailMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/notificationRecipientUser.ts b/packages/@azure/arm-apimanagement/lib/operations/notificationRecipientUser.ts index 7049a8a5f4c3..4c31b4a7c006 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/notificationRecipientUser.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/notificationRecipientUser.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/notificationRecipientUserMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/openIdConnectProvider.ts b/packages/@azure/arm-apimanagement/lib/operations/openIdConnectProvider.ts index e71c2742afd7..c1e28b94d4f2 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/openIdConnectProvider.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/openIdConnectProvider.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/openIdConnectProviderMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/operationOperations.ts b/packages/@azure/arm-apimanagement/lib/operations/operationOperations.ts index 1c036d4f032a..01178fa35181 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/operationOperations.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/operationOperations.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/operationOperationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/policy.ts b/packages/@azure/arm-apimanagement/lib/operations/policy.ts index 5947f78f0b60..d4c19458e251 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/policy.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/policy.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/policyMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/policySnippets.ts b/packages/@azure/arm-apimanagement/lib/operations/policySnippets.ts index c4bece5177a0..02b5dede2c9f 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/policySnippets.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/policySnippets.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/policySnippetsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/product.ts b/packages/@azure/arm-apimanagement/lib/operations/product.ts index 44d58401c169..4e40412fcb4d 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/product.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/product.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/productMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/productApi.ts b/packages/@azure/arm-apimanagement/lib/operations/productApi.ts index ae0a207aeb22..c39c7d214ce7 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/productApi.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/productApi.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/productApiMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/productGroup.ts b/packages/@azure/arm-apimanagement/lib/operations/productGroup.ts index 75fcfd0943b3..ff880b0d9053 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/productGroup.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/productGroup.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/productGroupMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/productPolicy.ts b/packages/@azure/arm-apimanagement/lib/operations/productPolicy.ts index cbc5e3e35f5a..ba45132a2d2d 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/productPolicy.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/productPolicy.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/productPolicyMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/productSubscriptions.ts b/packages/@azure/arm-apimanagement/lib/operations/productSubscriptions.ts index 9a0f73e52e2b..df3e0fbae8f6 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/productSubscriptions.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/productSubscriptions.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/productSubscriptionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/property.ts b/packages/@azure/arm-apimanagement/lib/operations/property.ts index 80422823748f..5358544f679e 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/property.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/property.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/propertyMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/quotaByCounterKeys.ts b/packages/@azure/arm-apimanagement/lib/operations/quotaByCounterKeys.ts index 3c2fb56d553e..91c0b1fc90b7 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/quotaByCounterKeys.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/quotaByCounterKeys.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/quotaByCounterKeysMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/quotaByPeriodKeys.ts b/packages/@azure/arm-apimanagement/lib/operations/quotaByPeriodKeys.ts index fd289c49e706..4a1335bf50f4 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/quotaByPeriodKeys.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/quotaByPeriodKeys.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/quotaByPeriodKeysMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/regions.ts b/packages/@azure/arm-apimanagement/lib/operations/regions.ts index f8e08de599d3..bf9105f9e56f 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/regions.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/regions.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/regionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/reports.ts b/packages/@azure/arm-apimanagement/lib/operations/reports.ts index c35cae7367f5..e02b15b6da63 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/reports.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/reports.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/reportsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/signInSettings.ts b/packages/@azure/arm-apimanagement/lib/operations/signInSettings.ts index 04dbd72f8a9f..999120606d3a 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/signInSettings.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/signInSettings.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/signInSettingsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/signUpSettings.ts b/packages/@azure/arm-apimanagement/lib/operations/signUpSettings.ts index 37f3b1f95fae..2e1d7021ba7d 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/signUpSettings.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/signUpSettings.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/signUpSettingsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/subscription.ts b/packages/@azure/arm-apimanagement/lib/operations/subscription.ts index 668b35d07829..3341301d7a95 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/subscription.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/subscription.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/subscriptionMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/tag.ts b/packages/@azure/arm-apimanagement/lib/operations/tag.ts index 8568b3152d4a..91f200efe1ef 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/tag.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/tag.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/tagMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/tagDescription.ts b/packages/@azure/arm-apimanagement/lib/operations/tagDescription.ts index 63c05059f756..d7d02d435e6d 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/tagDescription.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/tagDescription.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/tagDescriptionMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/tagResource.ts b/packages/@azure/arm-apimanagement/lib/operations/tagResource.ts index ecd0d59977eb..b7f4204d6d20 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/tagResource.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/tagResource.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/tagResourceMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/tenantAccess.ts b/packages/@azure/arm-apimanagement/lib/operations/tenantAccess.ts index bddd2b35df6d..de2168d3aff9 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/tenantAccess.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/tenantAccess.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/tenantAccessMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/tenantAccessGit.ts b/packages/@azure/arm-apimanagement/lib/operations/tenantAccessGit.ts index 1fe7ca57af15..c7fbd0f24509 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/tenantAccessGit.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/tenantAccessGit.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/tenantAccessGitMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/tenantConfiguration.ts b/packages/@azure/arm-apimanagement/lib/operations/tenantConfiguration.ts index a73436264797..be1e84173988 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/tenantConfiguration.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/tenantConfiguration.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/tenantConfigurationMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/user.ts b/packages/@azure/arm-apimanagement/lib/operations/user.ts index 4506135601f3..ab48871882c7 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/user.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/user.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/userMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/userGroup.ts b/packages/@azure/arm-apimanagement/lib/operations/userGroup.ts index 7d6404fb5f7b..847877be2284 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/userGroup.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/userGroup.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/userGroupMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/userIdentities.ts b/packages/@azure/arm-apimanagement/lib/operations/userIdentities.ts index 97b275170d67..0eccd89f7ed1 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/userIdentities.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/userIdentities.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/userIdentitiesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/lib/operations/userSubscription.ts b/packages/@azure/arm-apimanagement/lib/operations/userSubscription.ts index 321f379746f5..e55dc4a90e42 100644 --- a/packages/@azure/arm-apimanagement/lib/operations/userSubscription.ts +++ b/packages/@azure/arm-apimanagement/lib/operations/userSubscription.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/userSubscriptionMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-apimanagement/package.json b/packages/@azure/arm-apimanagement/package.json index b84c87e73e3a..32c13cb51bde 100644 --- a/packages/@azure/arm-apimanagement/package.json +++ b/packages/@azure/arm-apimanagement/package.json @@ -4,8 +4,8 @@ "description": "ApiManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.460", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ diff --git a/packages/@azure/arm-apimanagement/rollup.config.js b/packages/@azure/arm-apimanagement/rollup.config.js index e31c02746494..a55a7153ed92 100644 --- a/packages/@azure/arm-apimanagement/rollup.config.js +++ b/packages/@azure/arm-apimanagement/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/apiManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-apimanagement.js", format: "umd", name: "Azure.ArmApimanagement", 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-apimanagement/tsconfig.esm.json b/packages/@azure/arm-apimanagement/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-apimanagement/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-apimanagement/tsconfig.json b/packages/@azure/arm-apimanagement/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-apimanagement/tsconfig.json +++ b/packages/@azure/arm-apimanagement/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-apimanagement/webpack.config.js b/packages/@azure/arm-apimanagement/webpack.config.js deleted file mode 100644 index cb3891aa9886..000000000000 --- a/packages/@azure/arm-apimanagement/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/apiManagementClient.js', - devtool: 'source-map', - output: { - filename: 'apiManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'apiManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-appinsights/.npmignore b/packages/@azure/arm-appinsights/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-appinsights/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-appinsights/README.md b/packages/@azure/arm-appinsights/README.md index 865f15d9f807..9b15eae4ab29 100644 --- a/packages/@azure/arm-appinsights/README.md +++ b/packages/@azure/arm-appinsights/README.md @@ -1,24 +1,34 @@ -# Azure ApplicationInsightsManagementClient SDK for JavaScript +## Azure ApplicationInsightsManagementClient SDK for JavaScript + This package contains an isomorphic SDK for ApplicationInsightsManagementClient. -## 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-appinsights ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { ApplicationInsightsManagementClient, ApplicationInsightsManagementModels, ApplicationInsightsManagementMappers } from "@azure/arm-appinsights"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-appinsights 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-appinsights/lib/applicationInsightsManagementClient.ts b/packages/@azure/arm-appinsights/lib/applicationInsightsManagementClient.ts index 9a6c1a234a0a..1ad9a69a56ef 100644 --- a/packages/@azure/arm-appinsights/lib/applicationInsightsManagementClient.ts +++ b/packages/@azure/arm-appinsights/lib/applicationInsightsManagementClient.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-appinsights/lib/applicationInsightsManagementClientContext.ts b/packages/@azure/arm-appinsights/lib/applicationInsightsManagementClientContext.ts index 12898d6e84c8..41cf05899c26 100644 --- a/packages/@azure/arm-appinsights/lib/applicationInsightsManagementClientContext.ts +++ b/packages/@azure/arm-appinsights/lib/applicationInsightsManagementClientContext.ts @@ -9,24 +9,17 @@ */ 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-appinsights"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class ApplicationInsightsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - - apiVersion: string; - + apiVersion?: string; subscriptionId: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the ApplicationInsightsManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -44,6 +37,11 @@ export class ApplicationInsightsManagementClientContext extends msRestAzure.Azur if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2015-05-01'; @@ -54,7 +52,6 @@ export class ApplicationInsightsManagementClientContext extends msRestAzure.Azur this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-appinsights/lib/models/index.ts b/packages/@azure/arm-appinsights/lib/models/index.ts index 5501e4b5bdbb..ff9e140b9556 100644 --- a/packages/@azure/arm-appinsights/lib/models/index.ts +++ b/packages/@azure/arm-appinsights/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1857,62 +1857,34 @@ export interface WorkbooksListResult extends Array { /** * Defines values for ApplicationType. * Possible values include: 'web', 'other' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApplicationType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ApplicationType { - Web = 'web', - Other = 'other', -} +export type ApplicationType = 'web' | 'other'; /** * Defines values for FlowType. * Possible values include: 'Bluefield' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FlowType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FlowType { - Bluefield = 'Bluefield', -} +export type FlowType = 'Bluefield'; /** * Defines values for RequestSource. * Possible values include: 'rest' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RequestSource = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RequestSource { - Rest = 'rest', -} +export type RequestSource = 'rest'; /** * Defines values for PurgeState. * Possible values include: 'pending', 'completed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PurgeState = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PurgeState { - Pending = 'pending', - Completed = 'completed', -} +export type PurgeState = 'pending' | 'completed'; /** * Defines values for FavoriteType. @@ -1920,10 +1892,7 @@ export enum PurgeState { * @readonly * @enum {string} */ -export enum FavoriteType { - Shared = 'shared', - User = 'user', -} +export type FavoriteType = 'shared' | 'user'; /** * Defines values for WebTestKind. @@ -1931,134 +1900,64 @@ export enum FavoriteType { * @readonly * @enum {string} */ -export enum WebTestKind { - Ping = 'ping', - Multistep = 'multistep', -} +export type WebTestKind = 'ping' | 'multistep'; /** * Defines values for ItemScope. * Possible values include: 'shared', 'user' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ItemScope = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ItemScope { - Shared = 'shared', - User = 'user', -} +export type ItemScope = 'shared' | 'user'; /** * Defines values for ItemType. * Possible values include: 'query', 'function', 'folder', 'recent' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ItemType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ItemType { - Query = 'query', - Function = 'function', - Folder = 'folder', - Recent = 'recent', -} +export type ItemType = 'query' | 'function' | 'folder' | 'recent'; /** * Defines values for SharedTypeKind. * Possible values include: 'user', 'shared' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SharedTypeKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SharedTypeKind { - User = 'user', - Shared = 'shared', -} +export type SharedTypeKind = 'user' | 'shared'; /** * Defines values for FavoriteSourceType. - * Possible values include: 'retention', 'notebook', 'sessions', 'events', - * 'userflows', 'funnel', 'impact', 'segmentation' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FavoriteSourceType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'retention', 'notebook', 'sessions', 'events', 'userflows', 'funnel', + * 'impact', 'segmentation' * @readonly * @enum {string} */ -export enum FavoriteSourceType { - Retention = 'retention', - Notebook = 'notebook', - Sessions = 'sessions', - Events = 'events', - Userflows = 'userflows', - Funnel = 'funnel', - Impact = 'impact', - Segmentation = 'segmentation', -} +export type FavoriteSourceType = 'retention' | 'notebook' | 'sessions' | 'events' | 'userflows' | 'funnel' | 'impact' | 'segmentation'; /** * Defines values for ItemScopePath. * Possible values include: 'analyticsItems', 'myanalyticsItems' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ItemScopePath = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ItemScopePath { - AnalyticsItems = 'analyticsItems', - MyanalyticsItems = 'myanalyticsItems', -} +export type ItemScopePath = 'analyticsItems' | 'myanalyticsItems'; /** * Defines values for ItemTypeParameter. * Possible values include: 'none', 'query', 'function', 'folder', 'recent' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ItemTypeParameter = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ItemTypeParameter { - None = 'none', - Query = 'query', - Function = 'function', - Folder = 'folder', - Recent = 'recent', -} +export type ItemTypeParameter = 'none' | 'query' | 'function' | 'folder' | 'recent'; /** * Defines values for CategoryType. * Possible values include: 'workbook', 'TSG', 'performance', 'retention' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CategoryType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CategoryType { - Workbook = 'workbook', - TSG = 'TSG', - Performance = 'performance', - Retention = 'retention', -} +export type CategoryType = 'workbook' | 'TSG' | 'performance' | 'retention'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-appinsights/lib/models/mappers.ts b/packages/@azure/arm-appinsights/lib/models/mappers.ts index 270c4c574bbe..842d71411ac9 100644 --- a/packages/@azure/arm-appinsights/lib/models/mappers.ts +++ b/packages/@azure/arm-appinsights/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-appinsights/lib/models/parameters.ts b/packages/@azure/arm-appinsights/lib/models/parameters.ts index b38ba65c0f50..94e0087c4616 100644 --- a/packages/@azure/arm-appinsights/lib/models/parameters.ts +++ b/packages/@azure/arm-appinsights/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-appinsights/lib/operations/aPIKeys.ts b/packages/@azure/arm-appinsights/lib/operations/aPIKeys.ts index a38564806f57..ecc23c0e2c01 100644 --- a/packages/@azure/arm-appinsights/lib/operations/aPIKeys.ts +++ b/packages/@azure/arm-appinsights/lib/operations/aPIKeys.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/aPIKeysMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class APIKeys { * @param callback The callback */ list(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class APIKeys { * @param callback The callback */ create(resourceGroupName: string, resourceName: string, aPIKeyProperties: Models.APIKeyRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, resourceName: string, aPIKeyProperties: Models.APIKeyRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, resourceName: string, aPIKeyProperties: Models.APIKeyRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class APIKeys { * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -157,7 +157,7 @@ export class APIKeys { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, keyId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, keyId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, keyId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-appinsights/lib/operations/analyticsItems.ts b/packages/@azure/arm-appinsights/lib/operations/analyticsItems.ts index aa53b2c8a1fa..bafbaa9326ea 100644 --- a/packages/@azure/arm-appinsights/lib/operations/analyticsItems.ts +++ b/packages/@azure/arm-appinsights/lib/operations/analyticsItems.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/analyticsItemsMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class AnalyticsItems { * @param callback The callback */ list(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options: Models.AnalyticsItemsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options?: Models.AnalyticsItemsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options?: Models.AnalyticsItemsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -98,7 +98,7 @@ export class AnalyticsItems { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options: Models.AnalyticsItemsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options?: Models.AnalyticsItemsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options?: Models.AnalyticsItemsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -146,7 +146,7 @@ export class AnalyticsItems { * @param callback The callback */ put(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, itemProperties: Models.ApplicationInsightsComponentAnalyticsItem, options: Models.AnalyticsItemsPutOptionalParams, callback: msRest.ServiceCallback): void; - put(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, itemProperties: Models.ApplicationInsightsComponentAnalyticsItem, options?: Models.AnalyticsItemsPutOptionalParams, callback?: msRest.ServiceCallback): Promise { + put(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, itemProperties: Models.ApplicationInsightsComponentAnalyticsItem, options?: Models.AnalyticsItemsPutOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -189,7 +189,7 @@ export class AnalyticsItems { * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options: Models.AnalyticsItemsDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options?: Models.AnalyticsItemsDeleteMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options?: Models.AnalyticsItemsDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-appinsights/lib/operations/annotations.ts b/packages/@azure/arm-appinsights/lib/operations/annotations.ts index 59ee6742d97d..f36ded7ddd78 100644 --- a/packages/@azure/arm-appinsights/lib/operations/annotations.ts +++ b/packages/@azure/arm-appinsights/lib/operations/annotations.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/annotationsMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class Annotations { * @param callback The callback */ list(resourceGroupName: string, resourceName: string, start: string, end: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, resourceName: string, start: string, end: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, resourceName: string, start: string, end: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -96,7 +96,7 @@ export class Annotations { * @param callback The callback */ create(resourceGroupName: string, resourceName: string, annotationProperties: Models.Annotation, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, resourceName: string, annotationProperties: Models.Annotation, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, resourceName: string, annotationProperties: Models.Annotation, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -135,7 +135,7 @@ export class Annotations { * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -174,7 +174,7 @@ export class Annotations { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, annotationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-appinsights/lib/operations/componentAvailableFeatures.ts b/packages/@azure/arm-appinsights/lib/operations/componentAvailableFeatures.ts index d8f71ff9c477..84cc340da70b 100644 --- a/packages/@azure/arm-appinsights/lib/operations/componentAvailableFeatures.ts +++ b/packages/@azure/arm-appinsights/lib/operations/componentAvailableFeatures.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/componentAvailableFeaturesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class ComponentAvailableFeatures { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-appinsights/lib/operations/componentCurrentBillingFeatures.ts b/packages/@azure/arm-appinsights/lib/operations/componentCurrentBillingFeatures.ts index 02def7627eeb..d4a36c61adb3 100644 --- a/packages/@azure/arm-appinsights/lib/operations/componentCurrentBillingFeatures.ts +++ b/packages/@azure/arm-appinsights/lib/operations/componentCurrentBillingFeatures.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/componentCurrentBillingFeaturesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class ComponentCurrentBillingFeatures { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class ComponentCurrentBillingFeatures { * @param callback The callback */ update(resourceGroupName: string, resourceName: string, billingFeaturesProperties: Models.ApplicationInsightsComponentBillingFeatures, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, resourceName: string, billingFeaturesProperties: Models.ApplicationInsightsComponentBillingFeatures, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, resourceName: string, billingFeaturesProperties: Models.ApplicationInsightsComponentBillingFeatures, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-appinsights/lib/operations/componentFeatureCapabilities.ts b/packages/@azure/arm-appinsights/lib/operations/componentFeatureCapabilities.ts index 7a30983433bb..26e06651a059 100644 --- a/packages/@azure/arm-appinsights/lib/operations/componentFeatureCapabilities.ts +++ b/packages/@azure/arm-appinsights/lib/operations/componentFeatureCapabilities.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/componentFeatureCapabilitiesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class ComponentFeatureCapabilities { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-appinsights/lib/operations/componentQuotaStatus.ts b/packages/@azure/arm-appinsights/lib/operations/componentQuotaStatus.ts index 81b1c7cd1761..9c62a249142b 100644 --- a/packages/@azure/arm-appinsights/lib/operations/componentQuotaStatus.ts +++ b/packages/@azure/arm-appinsights/lib/operations/componentQuotaStatus.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/componentQuotaStatusMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class ComponentQuotaStatus { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-appinsights/lib/operations/components.ts b/packages/@azure/arm-appinsights/lib/operations/components.ts index fce42bb3534c..5d5ab4a6b9c1 100644 --- a/packages/@azure/arm-appinsights/lib/operations/components.ts +++ b/packages/@azure/arm-appinsights/lib/operations/components.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/componentsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class Components { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Components { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -99,7 +99,7 @@ export class Components { * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -131,7 +131,7 @@ export class Components { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -170,7 +170,7 @@ export class Components { * @param callback The callback */ createOrUpdate(resourceGroupName: string, resourceName: string, insightProperties: Models.ApplicationInsightsComponent, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, resourceName: string, insightProperties: Models.ApplicationInsightsComponent, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, resourceName: string, insightProperties: Models.ApplicationInsightsComponent, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -206,7 +206,7 @@ export class Components { * @param callback The callback */ updateTags(resourceGroupName: string, resourceName: string, componentTags: Models.TagsResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateTags(resourceGroupName: string, resourceName: string, componentTags: Models.TagsResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateTags(resourceGroupName: string, resourceName: string, componentTags: Models.TagsResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -245,7 +245,7 @@ export class Components { * @param callback The callback */ purge(resourceGroupName: string, resourceName: string, body: Models.ComponentPurgeBody, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - purge(resourceGroupName: string, resourceName: string, body: Models.ComponentPurgeBody, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + purge(resourceGroupName: string, resourceName: string, body: Models.ComponentPurgeBody, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -284,7 +284,7 @@ export class Components { * @param callback The callback */ getPurgeStatus(resourceGroupName: string, resourceName: string, purgeId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPurgeStatus(resourceGroupName: string, resourceName: string, purgeId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPurgeStatus(resourceGroupName: string, resourceName: string, purgeId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -314,7 +314,7 @@ export class Components { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -342,7 +342,7 @@ export class Components { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appinsights/lib/operations/exportConfigurations.ts b/packages/@azure/arm-appinsights/lib/operations/exportConfigurations.ts index b299a50308ed..a7985ea6e265 100644 --- a/packages/@azure/arm-appinsights/lib/operations/exportConfigurations.ts +++ b/packages/@azure/arm-appinsights/lib/operations/exportConfigurations.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/exportConfigurationsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class ExportConfigurations { * @param callback The callback */ list(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class ExportConfigurations { * @param callback The callback */ create(resourceGroupName: string, resourceName: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, resourceName: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, resourceName: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -124,7 +124,7 @@ export class ExportConfigurations { * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, exportId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, resourceName: string, exportId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, resourceName: string, exportId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -163,7 +163,7 @@ export class ExportConfigurations { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, exportId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, exportId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, exportId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -208,7 +208,7 @@ export class ExportConfigurations { * @param callback The callback */ update(resourceGroupName: string, resourceName: string, exportId: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, resourceName: string, exportId: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, resourceName: string, exportId: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-appinsights/lib/operations/favorites.ts b/packages/@azure/arm-appinsights/lib/operations/favorites.ts index 2201f56865ef..b7d321659714 100644 --- a/packages/@azure/arm-appinsights/lib/operations/favorites.ts +++ b/packages/@azure/arm-appinsights/lib/operations/favorites.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/favoritesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Favorites { * @param callback The callback */ list(resourceGroupName: string, resourceName: string, options: Models.FavoritesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, resourceName: string, options?: Models.FavoritesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, resourceName: string, options?: Models.FavoritesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class Favorites { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, favoriteId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, favoriteId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, favoriteId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -124,7 +124,7 @@ export class Favorites { * @param callback The callback */ add(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - add(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + add(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -164,7 +164,7 @@ export class Favorites { * @param callback The callback */ update(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -201,7 +201,7 @@ export class Favorites { * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, favoriteId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, resourceName: string, favoriteId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, resourceName: string, favoriteId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-appinsights/lib/operations/operations.ts b/packages/@azure/arm-appinsights/lib/operations/operations.ts index 0006e7278a42..2b5a6ac42961 100644 --- a/packages/@azure/arm-appinsights/lib/operations/operations.ts +++ b/packages/@azure/arm-appinsights/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appinsights/lib/operations/proactiveDetectionConfigurations.ts b/packages/@azure/arm-appinsights/lib/operations/proactiveDetectionConfigurations.ts index 886fa72ebc97..ca6f6dcbe202 100644 --- a/packages/@azure/arm-appinsights/lib/operations/proactiveDetectionConfigurations.ts +++ b/packages/@azure/arm-appinsights/lib/operations/proactiveDetectionConfigurations.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/proactiveDetectionConfigurationsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class ProactiveDetectionConfigurations { * @param callback The callback */ list(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class ProactiveDetectionConfigurations { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, configurationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, configurationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, configurationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -130,7 +130,7 @@ export class ProactiveDetectionConfigurations { * @param callback The callback */ update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: Models.ApplicationInsightsComponentProactiveDetectionConfiguration, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: Models.ApplicationInsightsComponentProactiveDetectionConfiguration, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: Models.ApplicationInsightsComponentProactiveDetectionConfiguration, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-appinsights/lib/operations/webTestLocations.ts b/packages/@azure/arm-appinsights/lib/operations/webTestLocations.ts index a66e280d8b6d..95fbad790bb0 100644 --- a/packages/@azure/arm-appinsights/lib/operations/webTestLocations.ts +++ b/packages/@azure/arm-appinsights/lib/operations/webTestLocations.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/webTestLocationsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class WebTestLocations { * @param callback The callback */ list(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-appinsights/lib/operations/webTests.ts b/packages/@azure/arm-appinsights/lib/operations/webTests.ts index 720701bf4c62..85311b4d629b 100644 --- a/packages/@azure/arm-appinsights/lib/operations/webTests.ts +++ b/packages/@azure/arm-appinsights/lib/operations/webTests.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/webTestsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class WebTests { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -75,7 +75,7 @@ export class WebTests { * @param callback The callback */ get(resourceGroupName: string, webTestName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, webTestName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, webTestName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -113,7 +113,7 @@ export class WebTests { * @param callback The callback */ createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: Models.WebTest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: Models.WebTest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: Models.WebTest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -149,7 +149,7 @@ export class WebTests { * @param callback The callback */ updateTags(resourceGroupName: string, webTestName: string, webTestTags: Models.TagsResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateTags(resourceGroupName: string, webTestName: string, webTestTags: Models.TagsResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateTags(resourceGroupName: string, webTestName: string, webTestTags: Models.TagsResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -182,7 +182,7 @@ export class WebTests { * @param callback The callback */ deleteMethod(resourceGroupName: string, webTestName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, webTestName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, webTestName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -208,7 +208,7 @@ export class WebTests { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -238,7 +238,7 @@ export class WebTests { * @param callback The callback */ listByComponent(componentName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByComponent(componentName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByComponent(componentName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { componentName, @@ -267,7 +267,7 @@ export class WebTests { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -295,7 +295,7 @@ export class WebTests { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -323,7 +323,7 @@ export class WebTests { * @param callback The callback */ listByComponentNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByComponentNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByComponentNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appinsights/lib/operations/workItemConfigurations.ts b/packages/@azure/arm-appinsights/lib/operations/workItemConfigurations.ts index 48347f7b902a..5d8318641273 100644 --- a/packages/@azure/arm-appinsights/lib/operations/workItemConfigurations.ts +++ b/packages/@azure/arm-appinsights/lib/operations/workItemConfigurations.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/workItemConfigurationsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class WorkItemConfigurations { * @param callback The callback */ list(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class WorkItemConfigurations { * @param callback The callback */ create(resourceGroupName: string, resourceName: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, resourceName: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, resourceName: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -118,7 +118,7 @@ export class WorkItemConfigurations { * @param callback The callback */ getDefault(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDefault(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDefault(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -156,7 +156,7 @@ export class WorkItemConfigurations { * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-appinsights/lib/operations/workbooks.ts b/packages/@azure/arm-appinsights/lib/operations/workbooks.ts index dc75afa39b62..7fa139f6e407 100644 --- a/packages/@azure/arm-appinsights/lib/operations/workbooks.ts +++ b/packages/@azure/arm-appinsights/lib/operations/workbooks.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/workbooksMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Workbooks { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, category: Models.CategoryType, options: Models.WorkbooksListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, category: Models.CategoryType, options?: Models.WorkbooksListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, category: Models.CategoryType, options?: Models.WorkbooksListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class Workbooks { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -114,7 +114,7 @@ export class Workbooks { * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -149,7 +149,7 @@ export class Workbooks { * @param callback The callback */ createOrUpdate(resourceGroupName: string, resourceName: string, workbookProperties: Models.Workbook, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, resourceName: string, workbookProperties: Models.Workbook, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, resourceName: string, workbookProperties: Models.Workbook, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -185,7 +185,7 @@ export class Workbooks { * @param callback The callback */ update(resourceGroupName: string, resourceName: string, workbookProperties: Models.Workbook, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, resourceName: string, workbookProperties: Models.Workbook, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, resourceName: string, workbookProperties: Models.Workbook, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-appinsights/package.json b/packages/@azure/arm-appinsights/package.json index 8b949d0306f3..94a1ff40b8f4 100644 --- a/packages/@azure/arm-appinsights/package.json +++ b/packages/@azure/arm-appinsights/package.json @@ -4,8 +4,8 @@ "description": "ApplicationInsightsManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-appinsights.js.map'\" -o ./dist/arm-appinsights.min.js ./dist/arm-appinsights.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-appinsights/rollup.config.js b/packages/@azure/arm-appinsights/rollup.config.js index 917da402ac6c..78641ef3fe3c 100644 --- a/packages/@azure/arm-appinsights/rollup.config.js +++ b/packages/@azure/arm-appinsights/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/applicationInsightsManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-appinsights.js", format: "umd", name: "Azure.ArmAppinsights", 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-appinsights/tsconfig.json b/packages/@azure/arm-appinsights/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-appinsights/tsconfig.json +++ b/packages/@azure/arm-appinsights/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-appservice/README.md b/packages/@azure/arm-appservice/README.md index ce999a4418ef..58b6f1127cec 100644 --- a/packages/@azure/arm-appservice/README.md +++ b/packages/@azure/arm-appservice/README.md @@ -1,24 +1,34 @@ -# Azure WebSiteManagementClient SDK for JavaScript +## Azure WebSiteManagementClient SDK for JavaScript + This package contains an isomorphic SDK for WebSiteManagementClient. -## 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-appservice ``` +### How to use + +#### nodejs - Authentication, client creation and list appServiceCertificateOrders as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list appServiceCertificateOrders as an example written in TypeScript. +##### Sample code ```ts -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 { WebSiteManagementClient, WebSiteManagementModels, WebSiteManagementMappers } from "@azure/arm-appservice"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list appServiceCertificateOrders as an example written in JavaScript. +#### browser - Authentication, client creation and list appServiceCertificateOrders as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-appservice 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-appservice/lib/models/index.ts b/packages/@azure/arm-appservice/lib/models/index.ts index 3727781b2f87..18fb3f04d3b6 100644 --- a/packages/@azure/arm-appservice/lib/models/index.ts +++ b/packages/@azure/arm-appservice/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -999,6 +999,12 @@ export interface DeletedSite extends ProxyOnlyResource { * the server.** */ readonly deletedSiteKind?: string; + /** + * @member {string} [geoRegionName] Geo Region of the deleted site + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly geoRegionName?: string; } /** @@ -6005,6 +6011,11 @@ export interface DeletedAppRestoreRequest extends ProxyOnlyResource { * If unspecified, default value is the time that the app was deleted. */ snapshotTime?: string; + /** + * @member {boolean} [useDRSecondary] If true, the snapshot is retrieved from + * DRSecondary endpoint. + */ + useDRSecondary?: boolean; } /** @@ -8159,6 +8170,11 @@ export interface SnapshotRestoreRequest extends ProxyOnlyResource { * This setting is only necessary when RecoverConfiguration is enabled. */ ignoreConflictingHostNames?: boolean; + /** + * @member {boolean} [useDRSecondary] If true, the snapshot is retrieved from + * DRSecondary endpoint. + */ + useDRSecondary?: boolean; } /** @@ -11296,134 +11312,66 @@ export interface ResourceHealthMetadataCollection extends Array"someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RouteType { - DEFAULT = 'DEFAULT', - INHERITED = 'INHERITED', - STATIC = 'STATIC', -} +export type RouteType = 'DEFAULT' | 'INHERITED' | 'STATIC'; /** * Defines values for ManagedServiceIdentityType. * Possible values include: 'SystemAssigned', 'UserAssigned' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ManagedServiceIdentityType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ManagedServiceIdentityType { - SystemAssigned = 'SystemAssigned', - UserAssigned = 'UserAssigned', -} +export type ManagedServiceIdentityType = 'SystemAssigned' | 'UserAssigned'; /** * Defines values for IpFilterTag. @@ -11431,10 +11379,7 @@ export enum ManagedServiceIdentityType { * @readonly * @enum {string} */ -export enum IpFilterTag { - Default = 'Default', - XffProxy = 'XffProxy', -} +export type IpFilterTag = 'Default' | 'XffProxy'; /** * Defines values for AutoHealActionType. @@ -11442,33 +11387,16 @@ export enum IpFilterTag { * @readonly * @enum {string} */ -export enum AutoHealActionType { - Recycle = 'Recycle', - LogEvent = 'LogEvent', - CustomAction = 'CustomAction', -} +export type AutoHealActionType = 'Recycle' | 'LogEvent' | 'CustomAction'; /** * Defines values for ConnectionStringType. - * Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', - * 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', - * 'RedisCache', 'PostgreSQL' + * Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', + * 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL' * @readonly * @enum {string} */ -export enum ConnectionStringType { - MySql = 'MySql', - SQLServer = 'SQLServer', - SQLAzure = 'SQLAzure', - Custom = 'Custom', - NotificationHub = 'NotificationHub', - ServiceBus = 'ServiceBus', - EventHub = 'EventHub', - ApiHub = 'ApiHub', - DocDb = 'DocDb', - RedisCache = 'RedisCache', - PostgreSQL = 'PostgreSQL', -} +export type ConnectionStringType = 'MySql' | 'SQLServer' | 'SQLAzure' | 'Custom' | 'NotificationHub' | 'ServiceBus' | 'EventHub' | 'ApiHub' | 'DocDb' | 'RedisCache' | 'PostgreSQL'; /** * Defines values for AzureStorageType. @@ -11476,10 +11404,7 @@ export enum ConnectionStringType { * @readonly * @enum {string} */ -export enum AzureStorageType { - AzureFiles = 'AzureFiles', - AzureBlob = 'AzureBlob', -} +export type AzureStorageType = 'AzureFiles' | 'AzureBlob'; /** * Defines values for AzureStorageState. @@ -11487,39 +11412,16 @@ export enum AzureStorageType { * @readonly * @enum {string} */ -export enum AzureStorageState { - Ok = 'Ok', - InvalidCredentials = 'InvalidCredentials', - InvalidShare = 'InvalidShare', -} +export type AzureStorageState = 'Ok' | 'InvalidCredentials' | 'InvalidShare'; /** * Defines values for ScmType. - * Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', - * 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', - * 'ExternalHg', 'OneDrive', 'VSO' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ScmType = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', + * 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO' * @readonly * @enum {string} */ -export enum ScmType { - None = 'None', - Dropbox = 'Dropbox', - Tfs = 'Tfs', - LocalGit = 'LocalGit', - GitHub = 'GitHub', - CodePlexGit = 'CodePlexGit', - CodePlexHg = 'CodePlexHg', - BitbucketGit = 'BitbucketGit', - BitbucketHg = 'BitbucketHg', - ExternalGit = 'ExternalGit', - ExternalHg = 'ExternalHg', - OneDrive = 'OneDrive', - VSO = 'VSO', -} +export type ScmType = 'None' | 'Dropbox' | 'Tfs' | 'LocalGit' | 'GitHub' | 'CodePlexGit' | 'CodePlexHg' | 'BitbucketGit' | 'BitbucketHg' | 'ExternalGit' | 'ExternalHg' | 'OneDrive' | 'VSO'; /** * Defines values for ManagedPipelineMode. @@ -11527,58 +11429,32 @@ export enum ScmType { * @readonly * @enum {string} */ -export enum ManagedPipelineMode { - Integrated = 'Integrated', - Classic = 'Classic', -} +export type ManagedPipelineMode = 'Integrated' | 'Classic'; /** * Defines values for SiteLoadBalancing. - * Possible values include: 'WeightedRoundRobin', 'LeastRequests', - * 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash' + * Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', + * 'WeightedTotalTraffic', 'RequestHash' * @readonly * @enum {string} */ -export enum SiteLoadBalancing { - WeightedRoundRobin = 'WeightedRoundRobin', - LeastRequests = 'LeastRequests', - LeastResponseTime = 'LeastResponseTime', - WeightedTotalTraffic = 'WeightedTotalTraffic', - RequestHash = 'RequestHash', -} +export type SiteLoadBalancing = 'WeightedRoundRobin' | 'LeastRequests' | 'LeastResponseTime' | 'WeightedTotalTraffic' | 'RequestHash'; /** * Defines values for SupportedTlsVersions. * Possible values include: '1.0', '1.1', '1.2' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SupportedTlsVersions = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SupportedTlsVersions { - OneFullStopZero = '1.0', - OneFullStopOne = '1.1', - OneFullStopTwo = '1.2', -} +export type SupportedTlsVersions = '1.0' | '1.1' | '1.2'; /** * Defines values for FtpsState. * Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FtpsState = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FtpsState { - AllAllowed = 'AllAllowed', - FtpsOnly = 'FtpsOnly', - Disabled = 'Disabled', -} +export type FtpsState = 'AllAllowed' | 'FtpsOnly' | 'Disabled'; /** * Defines values for SslState. @@ -11586,11 +11462,7 @@ export enum FtpsState { * @readonly * @enum {string} */ -export enum SslState { - Disabled = 'Disabled', - SniEnabled = 'SniEnabled', - IpBasedEnabled = 'IpBasedEnabled', -} +export type SslState = 'Disabled' | 'SniEnabled' | 'IpBasedEnabled'; /** * Defines values for HostType. @@ -11598,10 +11470,7 @@ export enum SslState { * @readonly * @enum {string} */ -export enum HostType { - Standard = 'Standard', - Repository = 'Repository', -} +export type HostType = 'Standard' | 'Repository'; /** * Defines values for UsageState. @@ -11609,10 +11478,7 @@ export enum HostType { * @readonly * @enum {string} */ -export enum UsageState { - Normal = 'Normal', - Exceeded = 'Exceeded', -} +export type UsageState = 'Normal' | 'Exceeded'; /** * Defines values for SiteAvailabilityState. @@ -11620,11 +11486,7 @@ export enum UsageState { * @readonly * @enum {string} */ -export enum SiteAvailabilityState { - Normal = 'Normal', - Limited = 'Limited', - DisasterRecoveryMode = 'DisasterRecoveryMode', -} +export type SiteAvailabilityState = 'Normal' | 'Limited' | 'DisasterRecoveryMode'; /** * Defines values for StatusOptions. @@ -11632,44 +11494,17 @@ export enum SiteAvailabilityState { * @readonly * @enum {string} */ -export enum StatusOptions { - Ready = 'Ready', - Pending = 'Pending', - Creating = 'Creating', -} +export type StatusOptions = 'Ready' | 'Pending' | 'Creating'; /** * Defines values for DomainStatus. - * Possible values include: 'Active', 'Awaiting', 'Cancelled', 'Confiscated', - * 'Disabled', 'Excluded', 'Expired', 'Failed', 'Held', 'Locked', 'Parked', - * 'Pending', 'Reserved', 'Reverted', 'Suspended', 'Transferred', 'Unknown', - * 'Unlocked', 'Unparked', 'Updated', 'JsonConverterFailed' + * Possible values include: 'Active', 'Awaiting', 'Cancelled', 'Confiscated', 'Disabled', + * 'Excluded', 'Expired', 'Failed', 'Held', 'Locked', 'Parked', 'Pending', 'Reserved', 'Reverted', + * 'Suspended', 'Transferred', 'Unknown', 'Unlocked', 'Unparked', 'Updated', 'JsonConverterFailed' * @readonly * @enum {string} */ -export enum DomainStatus { - Active = 'Active', - Awaiting = 'Awaiting', - Cancelled = 'Cancelled', - Confiscated = 'Confiscated', - Disabled = 'Disabled', - Excluded = 'Excluded', - Expired = 'Expired', - Failed = 'Failed', - Held = 'Held', - Locked = 'Locked', - Parked = 'Parked', - Pending = 'Pending', - Reserved = 'Reserved', - Reverted = 'Reverted', - Suspended = 'Suspended', - Transferred = 'Transferred', - Unknown = 'Unknown', - Unlocked = 'Unlocked', - Unparked = 'Unparked', - Updated = 'Updated', - JsonConverterFailed = 'JsonConverterFailed', -} +export type DomainStatus = 'Active' | 'Awaiting' | 'Cancelled' | 'Confiscated' | 'Disabled' | 'Excluded' | 'Expired' | 'Failed' | 'Held' | 'Locked' | 'Parked' | 'Pending' | 'Reserved' | 'Reverted' | 'Suspended' | 'Transferred' | 'Unknown' | 'Unlocked' | 'Unparked' | 'Updated' | 'JsonConverterFailed'; /** * Defines values for AzureResourceType. @@ -11677,10 +11512,7 @@ export enum DomainStatus { * @readonly * @enum {string} */ -export enum AzureResourceType { - Website = 'Website', - TrafficManager = 'TrafficManager', -} +export type AzureResourceType = 'Website' | 'TrafficManager'; /** * Defines values for CustomHostNameDnsRecordType. @@ -11688,10 +11520,7 @@ export enum AzureResourceType { * @readonly * @enum {string} */ -export enum CustomHostNameDnsRecordType { - CName = 'CName', - A = 'A', -} +export type CustomHostNameDnsRecordType = 'CName' | 'A'; /** * Defines values for HostNameType. @@ -11699,10 +11528,7 @@ export enum CustomHostNameDnsRecordType { * @readonly * @enum {string} */ -export enum HostNameType { - Verified = 'Verified', - Managed = 'Managed', -} +export type HostNameType = 'Verified' | 'Managed'; /** * Defines values for DnsType. @@ -11710,10 +11536,7 @@ export enum HostNameType { * @readonly * @enum {string} */ -export enum DnsType { - AzureDns = 'AzureDns', - DefaultDomainRegistrarDns = 'DefaultDomainRegistrarDns', -} +export type DnsType = 'AzureDns' | 'DefaultDomainRegistrarDns'; /** * Defines values for DomainType. @@ -11721,10 +11544,7 @@ export enum DnsType { * @readonly * @enum {string} */ -export enum DomainType { - Regular = 'Regular', - SoftDeleted = 'SoftDeleted', -} +export type DomainType = 'Regular' | 'SoftDeleted'; /** * Defines values for HostingEnvironmentStatus. @@ -11732,12 +11552,7 @@ export enum DomainType { * @readonly * @enum {string} */ -export enum HostingEnvironmentStatus { - Preparing = 'Preparing', - Ready = 'Ready', - Scaling = 'Scaling', - Deleting = 'Deleting', -} +export type HostingEnvironmentStatus = 'Preparing' | 'Ready' | 'Scaling' | 'Deleting'; /** * Defines values for InternalLoadBalancingMode. @@ -11745,11 +11560,7 @@ export enum HostingEnvironmentStatus { * @readonly * @enum {string} */ -export enum InternalLoadBalancingMode { - None = 'None', - Web = 'Web', - Publishing = 'Publishing', -} +export type InternalLoadBalancingMode = 'None' | 'Web' | 'Publishing'; /** * Defines values for ComputeModeOptions. @@ -11757,28 +11568,15 @@ export enum InternalLoadBalancingMode { * @readonly * @enum {string} */ -export enum ComputeModeOptions { - Shared = 'Shared', - Dedicated = 'Dedicated', - Dynamic = 'Dynamic', -} +export type ComputeModeOptions = 'Shared' | 'Dedicated' | 'Dynamic'; /** * Defines values for WorkerSizeOptions. - * Possible values include: 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3', - * 'Default' + * Possible values include: 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3', 'Default' * @readonly * @enum {string} */ -export enum WorkerSizeOptions { - Small = 'Small', - Medium = 'Medium', - Large = 'Large', - D1 = 'D1', - D2 = 'D2', - D3 = 'D3', - Default = 'Default', -} +export type WorkerSizeOptions = 'Small' | 'Medium' | 'Large' | 'D1' | 'D2' | 'D3' | 'Default'; /** * Defines values for AccessControlEntryAction. @@ -11786,102 +11584,56 @@ export enum WorkerSizeOptions { * @readonly * @enum {string} */ -export enum AccessControlEntryAction { - Permit = 'Permit', - Deny = 'Deny', -} +export type AccessControlEntryAction = 'Permit' | 'Deny'; /** * Defines values for OperationStatus. - * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', - * 'Created' + * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created' * @readonly * @enum {string} */ -export enum OperationStatus { - InProgress = 'InProgress', - Failed = 'Failed', - Succeeded = 'Succeeded', - TimedOut = 'TimedOut', - Created = 'Created', -} +export type OperationStatus = 'InProgress' | 'Failed' | 'Succeeded' | 'TimedOut' | 'Created'; /** * Defines values for IssueType. - * Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', - * 'RuntimeIssueDetected', 'AseDeployment', 'UserIssue', 'PlatformIssue', - * 'Other' + * Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', + * 'AseDeployment', 'UserIssue', 'PlatformIssue', 'Other' * @readonly * @enum {string} */ -export enum IssueType { - ServiceIncident = 'ServiceIncident', - AppDeployment = 'AppDeployment', - AppCrash = 'AppCrash', - RuntimeIssueDetected = 'RuntimeIssueDetected', - AseDeployment = 'AseDeployment', - UserIssue = 'UserIssue', - PlatformIssue = 'PlatformIssue', - Other = 'Other', -} +export type IssueType = 'ServiceIncident' | 'AppDeployment' | 'AppCrash' | 'RuntimeIssueDetected' | 'AseDeployment' | 'UserIssue' | 'PlatformIssue' | 'Other'; /** * Defines values for SolutionType. - * Possible values include: 'QuickSolution', 'DeepInvestigation', - * 'BestPractices' + * Possible values include: 'QuickSolution', 'DeepInvestigation', 'BestPractices' * @readonly * @enum {string} */ -export enum SolutionType { - QuickSolution = 'QuickSolution', - DeepInvestigation = 'DeepInvestigation', - BestPractices = 'BestPractices', -} +export type SolutionType = 'QuickSolution' | 'DeepInvestigation' | 'BestPractices'; /** * Defines values for RenderingType. - * Possible values include: 'NoGraph', 'Table', 'TimeSeries', - * 'TimeSeriesPerInstance' + * Possible values include: 'NoGraph', 'Table', 'TimeSeries', 'TimeSeriesPerInstance' * @readonly * @enum {string} */ -export enum RenderingType { - NoGraph = 'NoGraph', - Table = 'Table', - TimeSeries = 'TimeSeries', - TimeSeriesPerInstance = 'TimeSeriesPerInstance', -} +export type RenderingType = 'NoGraph' | 'Table' | 'TimeSeries' | 'TimeSeriesPerInstance'; /** * Defines values for ResourceScopeType. * Possible values include: 'ServerFarm', 'Subscription', 'WebSite' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ResourceScopeType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ResourceScopeType { - ServerFarm = 'ServerFarm', - Subscription = 'Subscription', - WebSite = 'WebSite', -} +export type ResourceScopeType = 'ServerFarm' | 'Subscription' | 'WebSite'; /** * Defines values for NotificationLevel. - * Possible values include: 'Critical', 'Warning', 'Information', - * 'NonUrgentSuggestion' + * Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion' * @readonly * @enum {string} */ -export enum NotificationLevel { - Critical = 'Critical', - Warning = 'Warning', - Information = 'Information', - NonUrgentSuggestion = 'NonUrgentSuggestion', -} +export type NotificationLevel = 'Critical' | 'Warning' | 'Information' | 'NonUrgentSuggestion'; /** * Defines values for Channels. @@ -11889,85 +11641,41 @@ export enum NotificationLevel { * @readonly * @enum {string} */ -export enum Channels { - Notification = 'Notification', - Api = 'Api', - Email = 'Email', - Webhook = 'Webhook', - All = 'All', -} +export type Channels = 'Notification' | 'Api' | 'Email' | 'Webhook' | 'All'; /** * Defines values for AppServicePlanRestrictions. - * Possible values include: 'None', 'Free', 'Shared', 'Basic', 'Standard', - * 'Premium' + * Possible values include: 'None', 'Free', 'Shared', 'Basic', 'Standard', 'Premium' * @readonly * @enum {string} */ -export enum AppServicePlanRestrictions { - None = 'None', - Free = 'Free', - Shared = 'Shared', - Basic = 'Basic', - Standard = 'Standard', - Premium = 'Premium', -} +export type AppServicePlanRestrictions = 'None' | 'Free' | 'Shared' | 'Basic' | 'Standard' | 'Premium'; /** * Defines values for InAvailabilityReasonType. * Possible values include: 'Invalid', 'AlreadyExists' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: InAvailabilityReasonType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum InAvailabilityReasonType { - Invalid = 'Invalid', - AlreadyExists = 'AlreadyExists', -} +export type InAvailabilityReasonType = 'Invalid' | 'AlreadyExists'; /** * Defines values for CheckNameResourceTypes. - * Possible values include: 'Site', 'Slot', 'HostingEnvironment', - * 'PublishingUser', 'Microsoft.Web/sites', 'Microsoft.Web/sites/slots', - * 'Microsoft.Web/hostingEnvironments', 'Microsoft.Web/publishingUsers' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CheckNameResourceTypes = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Site', 'Slot', 'HostingEnvironment', 'PublishingUser', + * 'Microsoft.Web/sites', 'Microsoft.Web/sites/slots', 'Microsoft.Web/hostingEnvironments', + * 'Microsoft.Web/publishingUsers' * @readonly * @enum {string} */ -export enum CheckNameResourceTypes { - Site = 'Site', - Slot = 'Slot', - HostingEnvironment = 'HostingEnvironment', - PublishingUser = 'PublishingUser', - MicrosoftWebsites = 'Microsoft.Web/sites', - MicrosoftWebsitesslots = 'Microsoft.Web/sites/slots', - MicrosoftWebhostingEnvironments = 'Microsoft.Web/hostingEnvironments', - MicrosoftWebpublishingUsers = 'Microsoft.Web/publishingUsers', -} +export type CheckNameResourceTypes = 'Site' | 'Slot' | 'HostingEnvironment' | 'PublishingUser' | 'Microsoft.Web/sites' | 'Microsoft.Web/sites/slots' | 'Microsoft.Web/hostingEnvironments' | 'Microsoft.Web/publishingUsers'; /** * Defines values for ValidateResourceTypes. * Possible values include: 'ServerFarm', 'Site' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ValidateResourceTypes = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ValidateResourceTypes { - ServerFarm = 'ServerFarm', - Site = 'Site', -} +export type ValidateResourceTypes = 'ServerFarm' | 'Site'; /** * Defines values for LogLevel. @@ -11975,52 +11683,24 @@ export enum ValidateResourceTypes { * @readonly * @enum {string} */ -export enum LogLevel { - Off = 'Off', - Verbose = 'Verbose', - Information = 'Information', - Warning = 'Warning', - Error = 'Error', -} +export type LogLevel = 'Off' | 'Verbose' | 'Information' | 'Warning' | 'Error'; /** * Defines values for BackupItemStatus. - * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', - * 'Created', 'Skipped', 'PartiallySucceeded', 'DeleteInProgress', - * 'DeleteFailed', 'Deleted' + * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created', 'Skipped', + * 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed', 'Deleted' * @readonly * @enum {string} */ -export enum BackupItemStatus { - InProgress = 'InProgress', - Failed = 'Failed', - Succeeded = 'Succeeded', - TimedOut = 'TimedOut', - Created = 'Created', - Skipped = 'Skipped', - PartiallySucceeded = 'PartiallySucceeded', - DeleteInProgress = 'DeleteInProgress', - DeleteFailed = 'DeleteFailed', - Deleted = 'Deleted', -} +export type BackupItemStatus = 'InProgress' | 'Failed' | 'Succeeded' | 'TimedOut' | 'Created' | 'Skipped' | 'PartiallySucceeded' | 'DeleteInProgress' | 'DeleteFailed' | 'Deleted'; /** * Defines values for DatabaseType. * Possible values include: 'SqlAzure', 'MySql', 'LocalMySql', 'PostgreSql' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DatabaseType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DatabaseType { - SqlAzure = 'SqlAzure', - MySql = 'MySql', - LocalMySql = 'LocalMySql', - PostgreSql = 'PostgreSql', -} +export type DatabaseType = 'SqlAzure' | 'MySql' | 'LocalMySql' | 'PostgreSql'; /** * Defines values for FrequencyUnit. @@ -12028,25 +11708,15 @@ export enum DatabaseType { * @readonly * @enum {string} */ -export enum FrequencyUnit { - Day = 'Day', - Hour = 'Hour', -} +export type FrequencyUnit = 'Day' | 'Hour'; /** * Defines values for ContinuousWebJobStatus. - * Possible values include: 'Initializing', 'Starting', 'Running', - * 'PendingRestart', 'Stopped' + * Possible values include: 'Initializing', 'Starting', 'Running', 'PendingRestart', 'Stopped' * @readonly * @enum {string} */ -export enum ContinuousWebJobStatus { - Initializing = 'Initializing', - Starting = 'Starting', - Running = 'Running', - PendingRestart = 'PendingRestart', - Stopped = 'Stopped', -} +export type ContinuousWebJobStatus = 'Initializing' | 'Starting' | 'Running' | 'PendingRestart' | 'Stopped'; /** * Defines values for WebJobType. @@ -12054,27 +11724,15 @@ export enum ContinuousWebJobStatus { * @readonly * @enum {string} */ -export enum WebJobType { - Continuous = 'Continuous', - Triggered = 'Triggered', -} +export type WebJobType = 'Continuous' | 'Triggered'; /** * Defines values for PublishingProfileFormat. * Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PublishingProfileFormat = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PublishingProfileFormat { - FileZilla3 = 'FileZilla3', - WebDeploy = 'WebDeploy', - Ftp = 'Ftp', -} +export type PublishingProfileFormat = 'FileZilla3' | 'WebDeploy' | 'Ftp'; /** * Defines values for DnsVerificationTestResult. @@ -12082,11 +11740,7 @@ export enum PublishingProfileFormat { * @readonly * @enum {string} */ -export enum DnsVerificationTestResult { - Passed = 'Passed', - Failed = 'Failed', - Skipped = 'Skipped', -} +export type DnsVerificationTestResult = 'Passed' | 'Failed' | 'Skipped'; /** * Defines values for MSDeployLogEntryType. @@ -12094,26 +11748,15 @@ export enum DnsVerificationTestResult { * @readonly * @enum {string} */ -export enum MSDeployLogEntryType { - Message = 'Message', - Warning = 'Warning', - Error = 'Error', -} +export type MSDeployLogEntryType = 'Message' | 'Warning' | 'Error'; /** * Defines values for MSDeployProvisioningState. - * Possible values include: 'accepted', 'running', 'succeeded', 'failed', - * 'canceled' + * Possible values include: 'accepted', 'running', 'succeeded', 'failed', 'canceled' * @readonly * @enum {string} */ -export enum MSDeployProvisioningState { - Accepted = 'accepted', - Running = 'running', - Succeeded = 'succeeded', - Failed = 'failed', - Canceled = 'canceled', -} +export type MSDeployProvisioningState = 'accepted' | 'running' | 'succeeded' | 'failed' | 'canceled'; /** * Defines values for MySqlMigrationType. @@ -12121,10 +11764,7 @@ export enum MSDeployProvisioningState { * @readonly * @enum {string} */ -export enum MySqlMigrationType { - LocalToRemote = 'LocalToRemote', - RemoteToLocal = 'RemoteToLocal', -} +export type MySqlMigrationType = 'LocalToRemote' | 'RemoteToLocal'; /** * Defines values for PublicCertificateLocation. @@ -12132,26 +11772,15 @@ export enum MySqlMigrationType { * @readonly * @enum {string} */ -export enum PublicCertificateLocation { - CurrentUserMy = 'CurrentUserMy', - LocalMachineMy = 'LocalMachineMy', - Unknown = 'Unknown', -} +export type PublicCertificateLocation = 'CurrentUserMy' | 'LocalMachineMy' | 'Unknown'; /** * Defines values for BackupRestoreOperationType. - * Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot', - * 'CloudFS' + * Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot', 'CloudFS' * @readonly * @enum {string} */ -export enum BackupRestoreOperationType { - Default = 'Default', - Clone = 'Clone', - Relocation = 'Relocation', - Snapshot = 'Snapshot', - CloudFS = 'CloudFS', -} +export type BackupRestoreOperationType = 'Default' | 'Clone' | 'Relocation' | 'Snapshot' | 'CloudFS'; /** * Defines values for UnauthenticatedClientAction. @@ -12159,25 +11788,16 @@ export enum BackupRestoreOperationType { * @readonly * @enum {string} */ -export enum UnauthenticatedClientAction { - RedirectToLoginPage = 'RedirectToLoginPage', - AllowAnonymous = 'AllowAnonymous', -} +export type UnauthenticatedClientAction = 'RedirectToLoginPage' | 'AllowAnonymous'; /** * Defines values for BuiltInAuthenticationProvider. - * Possible values include: 'AzureActiveDirectory', 'Facebook', 'Google', - * 'MicrosoftAccount', 'Twitter' + * Possible values include: 'AzureActiveDirectory', 'Facebook', 'Google', 'MicrosoftAccount', + * 'Twitter' * @readonly * @enum {string} */ -export enum BuiltInAuthenticationProvider { - AzureActiveDirectory = 'AzureActiveDirectory', - Facebook = 'Facebook', - Google = 'Google', - MicrosoftAccount = 'MicrosoftAccount', - Twitter = 'Twitter', -} +export type BuiltInAuthenticationProvider = 'AzureActiveDirectory' | 'Facebook' | 'Google' | 'MicrosoftAccount' | 'Twitter'; /** * Defines values for CloneAbilityResult. @@ -12185,11 +11805,7 @@ export enum BuiltInAuthenticationProvider { * @readonly * @enum {string} */ -export enum CloneAbilityResult { - Cloneable = 'Cloneable', - PartiallyCloneable = 'PartiallyCloneable', - NotCloneable = 'NotCloneable', -} +export type CloneAbilityResult = 'Cloneable' | 'PartiallyCloneable' | 'NotCloneable'; /** * Defines values for SiteExtensionType. @@ -12197,10 +11813,7 @@ export enum CloneAbilityResult { * @readonly * @enum {string} */ -export enum SiteExtensionType { - Gallery = 'Gallery', - WebRoot = 'WebRoot', -} +export type SiteExtensionType = 'Gallery' | 'WebRoot'; /** * Defines values for TriggeredWebJobStatus. @@ -12208,73 +11821,32 @@ export enum SiteExtensionType { * @readonly * @enum {string} */ -export enum TriggeredWebJobStatus { - Success = 'Success', - Failed = 'Failed', - Error = 'Error', -} +export type TriggeredWebJobStatus = 'Success' | 'Failed' | 'Error'; /** * Defines values for SkuName. - * Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', - * 'Dynamic', 'Isolated', 'PremiumV2', 'ElasticPremium', 'ElasticIsolated' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuName = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', + * 'Isolated', 'PremiumV2', 'ElasticPremium', 'ElasticIsolated' * @readonly * @enum {string} */ -export enum SkuName { - Free = 'Free', - Shared = 'Shared', - Basic = 'Basic', - Standard = 'Standard', - Premium = 'Premium', - Dynamic = 'Dynamic', - Isolated = 'Isolated', - PremiumV2 = 'PremiumV2', - ElasticPremium = 'ElasticPremium', - ElasticIsolated = 'ElasticIsolated', -} +export type SkuName = 'Free' | 'Shared' | 'Basic' | 'Standard' | 'Premium' | 'Dynamic' | 'Isolated' | 'PremiumV2' | 'ElasticPremium' | 'ElasticIsolated'; /** * Defines values for OsTypeSelected. - * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', - * 'LinuxFunctions' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OsTypeSelected = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions' * @readonly * @enum {string} */ -export enum OsTypeSelected { - Windows = 'Windows', - Linux = 'Linux', - WindowsFunctions = 'WindowsFunctions', - LinuxFunctions = 'LinuxFunctions', -} +export type OsTypeSelected = 'Windows' | 'Linux' | 'WindowsFunctions' | 'LinuxFunctions'; /** * Defines values for OsTypeSelected1. - * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', - * 'LinuxFunctions' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OsTypeSelected1 = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions' * @readonly * @enum {string} */ -export enum OsTypeSelected1 { - Windows = 'Windows', - Linux = 'Linux', - WindowsFunctions = 'WindowsFunctions', - LinuxFunctions = 'LinuxFunctions', -} +export type OsTypeSelected1 = 'Windows' | 'Linux' | 'WindowsFunctions' | 'LinuxFunctions'; /** * Contains response data for the list operation. @@ -18992,6 +18564,25 @@ export type WebAppsListSnapshotsSlotResponse = SnapshotCollection & { }; }; +/** + * Contains response data for the listSnapshotsFromDRSecondarySlot operation. + */ +export type WebAppsListSnapshotsFromDRSecondarySlotResponse = SnapshotCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SnapshotCollection; + }; +}; + /** * Contains response data for the getSourceControlSlot operation. */ @@ -19372,6 +18963,25 @@ export type WebAppsListSnapshotsResponse = SnapshotCollection & { }; }; +/** + * Contains response data for the listSnapshotsFromDRSecondary operation. + */ +export type WebAppsListSnapshotsFromDRSecondaryResponse = SnapshotCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SnapshotCollection; + }; +}; + /** * Contains response data for the getSourceControl operation. */ @@ -20949,6 +20559,25 @@ export type WebAppsListSnapshotsSlotNextResponse = SnapshotCollection & { }; }; +/** + * Contains response data for the listSnapshotsFromDRSecondarySlotNext operation. + */ +export type WebAppsListSnapshotsFromDRSecondarySlotNextResponse = SnapshotCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SnapshotCollection; + }; +}; + /** * Contains response data for the listTriggeredWebJobsSlotNext operation. */ @@ -21063,6 +20692,25 @@ export type WebAppsListSnapshotsNextResponse = SnapshotCollection & { }; }; +/** + * Contains response data for the listSnapshotsFromDRSecondaryNext operation. + */ +export type WebAppsListSnapshotsFromDRSecondaryNextResponse = SnapshotCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SnapshotCollection; + }; +}; + /** * Contains response data for the listTriggeredWebJobsNext operation. */ diff --git a/packages/@azure/arm-appservice/lib/models/mappers.ts b/packages/@azure/arm-appservice/lib/models/mappers.ts index c0e9640a9ff5..e0c921ebb902 100644 --- a/packages/@azure/arm-appservice/lib/models/mappers.ts +++ b/packages/@azure/arm-appservice/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -1280,6 +1280,13 @@ export const DeletedSite: msRest.CompositeMapper = { type: { name: "String" } + }, + geoRegionName: { + readOnly: true, + serializedName: "properties.geoRegionName", + type: { + name: "String" + } } } } @@ -8275,6 +8282,12 @@ export const DeletedAppRestoreRequest: msRest.CompositeMapper = { type: { name: "String" } + }, + useDRSecondary: { + serializedName: "properties.useDRSecondary", + type: { + name: "Boolean" + } } } } @@ -11178,6 +11191,12 @@ export const SnapshotRestoreRequest: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + useDRSecondary: { + serializedName: "properties.useDRSecondary", + type: { + name: "Boolean" + } } } } diff --git a/packages/@azure/arm-appservice/lib/models/parameters.ts b/packages/@azure/arm-appservice/lib/models/parameters.ts index 8ad59e7110fb..7b5adf0135d2 100644 --- a/packages/@azure/arm-appservice/lib/models/parameters.ts +++ b/packages/@azure/arm-appservice/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-appservice/lib/operations/appServiceCertificateOrders.ts b/packages/@azure/arm-appservice/lib/operations/appServiceCertificateOrders.ts index c73266858b50..3d61dc35b767 100644 --- a/packages/@azure/arm-appservice/lib/operations/appServiceCertificateOrders.ts +++ b/packages/@azure/arm-appservice/lib/operations/appServiceCertificateOrders.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/appServiceCertificateOrdersMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -71,7 +71,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ validatePurchaseInformation(appServiceCertificateOrder: Models.AppServiceCertificateOrder, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validatePurchaseInformation(appServiceCertificateOrder: Models.AppServiceCertificateOrder, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + validatePurchaseInformation(appServiceCertificateOrder: Models.AppServiceCertificateOrder, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appServiceCertificateOrder, @@ -100,7 +100,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -132,7 +132,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ get(resourceGroupName: string, certificateOrderName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -179,7 +179,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ deleteMethod(resourceGroupName: string, certificateOrderName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -215,7 +215,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ update(resourceGroupName: string, certificateOrderName: string, certificateDistinguishedName: Models.AppServiceCertificateOrderPatchResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, certificateOrderName: string, certificateDistinguishedName: Models.AppServiceCertificateOrderPatchResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, certificateOrderName: string, certificateDistinguishedName: Models.AppServiceCertificateOrderPatchResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -249,7 +249,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ listCertificates(resourceGroupName: string, certificateOrderName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCertificates(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listCertificates(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -285,7 +285,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ getCertificate(resourceGroupName: string, certificateOrderName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCertificate(resourceGroupName: string, certificateOrderName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCertificate(resourceGroupName: string, certificateOrderName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -337,7 +337,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ deleteCertificate(resourceGroupName: string, certificateOrderName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteCertificate(resourceGroupName: string, certificateOrderName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteCertificate(resourceGroupName: string, certificateOrderName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -377,7 +377,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ updateCertificate(resourceGroupName: string, certificateOrderName: string, name: string, keyVaultCertificate: Models.AppServiceCertificatePatchResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateCertificate(resourceGroupName: string, certificateOrderName: string, name: string, keyVaultCertificate: Models.AppServiceCertificatePatchResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateCertificate(resourceGroupName: string, certificateOrderName: string, name: string, keyVaultCertificate: Models.AppServiceCertificatePatchResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -415,7 +415,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ reissue(resourceGroupName: string, certificateOrderName: string, reissueCertificateOrderRequest: Models.ReissueCertificateOrderRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - reissue(resourceGroupName: string, certificateOrderName: string, reissueCertificateOrderRequest: Models.ReissueCertificateOrderRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + reissue(resourceGroupName: string, certificateOrderName: string, reissueCertificateOrderRequest: Models.ReissueCertificateOrderRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -452,7 +452,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ renew(resourceGroupName: string, certificateOrderName: string, renewCertificateOrderRequest: Models.RenewCertificateOrderRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - renew(resourceGroupName: string, certificateOrderName: string, renewCertificateOrderRequest: Models.RenewCertificateOrderRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + renew(resourceGroupName: string, certificateOrderName: string, renewCertificateOrderRequest: Models.RenewCertificateOrderRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -486,7 +486,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ resendEmail(resourceGroupName: string, certificateOrderName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - resendEmail(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + resendEmail(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -519,7 +519,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ resendRequestEmails(resourceGroupName: string, certificateOrderName: string, options: Models.AppServiceCertificateOrdersResendRequestEmailsOptionalParams, callback: msRest.ServiceCallback): void; - resendRequestEmails(resourceGroupName: string, certificateOrderName: string, options?: Models.AppServiceCertificateOrdersResendRequestEmailsOptionalParams, callback?: msRest.ServiceCallback): Promise { + resendRequestEmails(resourceGroupName: string, certificateOrderName: string, options?: Models.AppServiceCertificateOrdersResendRequestEmailsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -555,7 +555,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ retrieveSiteSeal(resourceGroupName: string, certificateOrderName: string, siteSealRequest: Models.SiteSealRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - retrieveSiteSeal(resourceGroupName: string, certificateOrderName: string, siteSealRequest: Models.SiteSealRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + retrieveSiteSeal(resourceGroupName: string, certificateOrderName: string, siteSealRequest: Models.SiteSealRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -589,7 +589,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ verifyDomainOwnership(resourceGroupName: string, certificateOrderName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - verifyDomainOwnership(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + verifyDomainOwnership(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -622,7 +622,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ retrieveCertificateActions(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - retrieveCertificateActions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + retrieveCertificateActions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -655,7 +655,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ retrieveCertificateEmailHistory(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - retrieveCertificateEmailHistory(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + retrieveCertificateEmailHistory(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -729,7 +729,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -758,7 +758,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -787,7 +787,7 @@ export class AppServiceCertificateOrders { * @param callback The callback */ listCertificatesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCertificatesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listCertificatesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appservice/lib/operations/appServiceEnvironments.ts b/packages/@azure/arm-appservice/lib/operations/appServiceEnvironments.ts index cdecacb90b12..6ef2e6b3466b 100644 --- a/packages/@azure/arm-appservice/lib/operations/appServiceEnvironments.ts +++ b/packages/@azure/arm-appservice/lib/operations/appServiceEnvironments.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/appServiceEnvironmentsMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class AppServiceEnvironments { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -71,7 +71,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -103,7 +103,7 @@ export class AppServiceEnvironments { * @param callback The callback */ get(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -166,7 +166,7 @@ export class AppServiceEnvironments { * @param callback The callback */ update(resourceGroupName: string, name: string, hostingEnvironmentEnvelope: Models.AppServiceEnvironmentPatchResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, name: string, hostingEnvironmentEnvelope: Models.AppServiceEnvironmentPatchResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, name: string, hostingEnvironmentEnvelope: Models.AppServiceEnvironmentPatchResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -200,7 +200,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listCapacities(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCapacities(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listCapacities(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -233,7 +233,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listVips(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listVips(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listVips(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -280,7 +280,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listDiagnostics(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDiagnostics(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDiagnostics(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -316,7 +316,7 @@ export class AppServiceEnvironments { * @param callback The callback */ getDiagnosticsItem(resourceGroupName: string, name: string, diagnosticsName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDiagnosticsItem(resourceGroupName: string, name: string, diagnosticsName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDiagnosticsItem(resourceGroupName: string, name: string, diagnosticsName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -350,7 +350,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMetricDefinitions(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinitions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinitions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -383,7 +383,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMetrics(resourceGroupName: string, name: string, options: Models.AppServiceEnvironmentsListMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -416,7 +416,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMultiRolePools(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMultiRolePools(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMultiRolePools(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -449,7 +449,7 @@ export class AppServiceEnvironments { * @param callback The callback */ getMultiRolePool(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMultiRolePool(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMultiRolePool(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -499,7 +499,7 @@ export class AppServiceEnvironments { * @param callback The callback */ updateMultiRolePool(resourceGroupName: string, name: string, multiRolePoolEnvelope: Models.WorkerPoolResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateMultiRolePool(resourceGroupName: string, name: string, multiRolePoolEnvelope: Models.WorkerPoolResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateMultiRolePool(resourceGroupName: string, name: string, multiRolePoolEnvelope: Models.WorkerPoolResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -539,7 +539,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMultiRolePoolInstanceMetricDefinitions(resourceGroupName: string, name: string, instance: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMultiRolePoolInstanceMetricDefinitions(resourceGroupName: string, name: string, instance: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMultiRolePoolInstanceMetricDefinitions(resourceGroupName: string, name: string, instance: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -576,7 +576,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMultiRolePoolInstanceMetrics(resourceGroupName: string, name: string, instance: string, options: Models.AppServiceEnvironmentsListMultiRolePoolInstanceMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMultiRolePoolInstanceMetrics(resourceGroupName: string, name: string, instance: string, options?: Models.AppServiceEnvironmentsListMultiRolePoolInstanceMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listMultiRolePoolInstanceMetrics(resourceGroupName: string, name: string, instance: string, options?: Models.AppServiceEnvironmentsListMultiRolePoolInstanceMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -610,7 +610,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMultiRoleMetricDefinitions(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMultiRoleMetricDefinitions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMultiRoleMetricDefinitions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -643,7 +643,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMultiRoleMetrics(resourceGroupName: string, name: string, options: Models.AppServiceEnvironmentsListMultiRoleMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMultiRoleMetrics(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListMultiRoleMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listMultiRoleMetrics(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListMultiRoleMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -676,7 +676,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMultiRolePoolSkus(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMultiRolePoolSkus(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMultiRolePoolSkus(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -709,7 +709,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMultiRoleUsages(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMultiRoleUsages(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMultiRoleUsages(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -742,7 +742,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listOperations(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOperations(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOperations(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -775,7 +775,7 @@ export class AppServiceEnvironments { * @param callback The callback */ reboot(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - reboot(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + reboot(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -821,7 +821,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listAppServicePlans(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAppServicePlans(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAppServicePlans(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -854,7 +854,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWebApps(resourceGroupName: string, name: string, options: Models.AppServiceEnvironmentsListWebAppsOptionalParams, callback: msRest.ServiceCallback): void; - listWebApps(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListWebAppsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listWebApps(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListWebAppsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -900,7 +900,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listUsages(resourceGroupName: string, name: string, options: Models.AppServiceEnvironmentsListUsagesOptionalParams, callback: msRest.ServiceCallback): void; - listUsages(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListUsagesOptionalParams, callback?: msRest.ServiceCallback): Promise { + listUsages(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListUsagesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -933,7 +933,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWorkerPools(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWorkerPools(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWorkerPools(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -969,7 +969,7 @@ export class AppServiceEnvironments { * @param callback The callback */ getWorkerPool(resourceGroupName: string, name: string, workerPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getWorkerPool(resourceGroupName: string, name: string, workerPoolName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getWorkerPool(resourceGroupName: string, name: string, workerPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1024,7 +1024,7 @@ export class AppServiceEnvironments { * @param callback The callback */ updateWorkerPool(resourceGroupName: string, name: string, workerPoolName: string, workerPoolEnvelope: Models.WorkerPoolResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateWorkerPool(resourceGroupName: string, name: string, workerPoolName: string, workerPoolEnvelope: Models.WorkerPoolResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateWorkerPool(resourceGroupName: string, name: string, workerPoolName: string, workerPoolEnvelope: Models.WorkerPoolResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1066,7 +1066,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWorkerPoolInstanceMetricDefinitions(resourceGroupName: string, name: string, workerPoolName: string, instance: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWorkerPoolInstanceMetricDefinitions(resourceGroupName: string, name: string, workerPoolName: string, instance: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWorkerPoolInstanceMetricDefinitions(resourceGroupName: string, name: string, workerPoolName: string, instance: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1107,7 +1107,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWorkerPoolInstanceMetrics(resourceGroupName: string, name: string, workerPoolName: string, instance: string, options: Models.AppServiceEnvironmentsListWorkerPoolInstanceMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listWorkerPoolInstanceMetrics(resourceGroupName: string, name: string, workerPoolName: string, instance: string, options?: Models.AppServiceEnvironmentsListWorkerPoolInstanceMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listWorkerPoolInstanceMetrics(resourceGroupName: string, name: string, workerPoolName: string, instance: string, options?: Models.AppServiceEnvironmentsListWorkerPoolInstanceMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1145,7 +1145,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWebWorkerMetricDefinitions(resourceGroupName: string, name: string, workerPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebWorkerMetricDefinitions(resourceGroupName: string, name: string, workerPoolName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWebWorkerMetricDefinitions(resourceGroupName: string, name: string, workerPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1182,7 +1182,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWebWorkerMetrics(resourceGroupName: string, name: string, workerPoolName: string, options: Models.AppServiceEnvironmentsListWebWorkerMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listWebWorkerMetrics(resourceGroupName: string, name: string, workerPoolName: string, options?: Models.AppServiceEnvironmentsListWebWorkerMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listWebWorkerMetrics(resourceGroupName: string, name: string, workerPoolName: string, options?: Models.AppServiceEnvironmentsListWebWorkerMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1219,7 +1219,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWorkerPoolSkus(resourceGroupName: string, name: string, workerPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWorkerPoolSkus(resourceGroupName: string, name: string, workerPoolName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWorkerPoolSkus(resourceGroupName: string, name: string, workerPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1256,7 +1256,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWebWorkerUsages(resourceGroupName: string, name: string, workerPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebWorkerUsages(resourceGroupName: string, name: string, workerPoolName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWebWorkerUsages(resourceGroupName: string, name: string, workerPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1430,7 +1430,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1459,7 +1459,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1488,7 +1488,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listCapacitiesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCapacitiesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listCapacitiesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1529,7 +1529,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1558,7 +1558,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMultiRolePoolsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMultiRolePoolsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMultiRolePoolsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1590,7 +1590,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMultiRolePoolInstanceMetricDefinitionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMultiRolePoolInstanceMetricDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMultiRolePoolInstanceMetricDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1619,7 +1619,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMultiRolePoolInstanceMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMultiRolePoolInstanceMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMultiRolePoolInstanceMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1648,7 +1648,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMultiRoleMetricDefinitionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMultiRoleMetricDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMultiRoleMetricDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1677,7 +1677,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMultiRoleMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMultiRoleMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMultiRoleMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1706,7 +1706,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMultiRolePoolSkusNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMultiRolePoolSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMultiRolePoolSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1735,7 +1735,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listMultiRoleUsagesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMultiRoleUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMultiRoleUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1776,7 +1776,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listAppServicePlansNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAppServicePlansNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAppServicePlansNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1805,7 +1805,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWebAppsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebAppsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWebAppsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1846,7 +1846,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listUsagesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1875,7 +1875,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWorkerPoolsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWorkerPoolsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWorkerPoolsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1906,7 +1906,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWorkerPoolInstanceMetricDefinitionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWorkerPoolInstanceMetricDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWorkerPoolInstanceMetricDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1935,7 +1935,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWorkerPoolInstanceMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWorkerPoolInstanceMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWorkerPoolInstanceMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1964,7 +1964,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWebWorkerMetricDefinitionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebWorkerMetricDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWebWorkerMetricDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1993,7 +1993,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWebWorkerMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebWorkerMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWebWorkerMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -2022,7 +2022,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWorkerPoolSkusNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWorkerPoolSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWorkerPoolSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -2051,7 +2051,7 @@ export class AppServiceEnvironments { * @param callback The callback */ listWebWorkerUsagesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebWorkerUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWebWorkerUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appservice/lib/operations/appServicePlans.ts b/packages/@azure/arm-appservice/lib/operations/appServicePlans.ts index 48c10b8496a6..cadb33d90582 100644 --- a/packages/@azure/arm-appservice/lib/operations/appServicePlans.ts +++ b/packages/@azure/arm-appservice/lib/operations/appServicePlans.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/appServicePlansMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class AppServicePlans { * @param callback The callback */ list(options: Models.AppServicePlansListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.AppServicePlansListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.AppServicePlansListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -71,7 +71,7 @@ export class AppServicePlans { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -103,7 +103,7 @@ export class AppServicePlans { * @param callback The callback */ get(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -150,7 +150,7 @@ export class AppServicePlans { * @param callback The callback */ deleteMethod(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -186,7 +186,7 @@ export class AppServicePlans { * @param callback The callback */ update(resourceGroupName: string, name: string, appServicePlan: Models.AppServicePlanPatchResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, name: string, appServicePlan: Models.AppServicePlanPatchResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, name: string, appServicePlan: Models.AppServicePlanPatchResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -220,7 +220,7 @@ export class AppServicePlans { * @param callback The callback */ listCapabilities(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCapabilities(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listCapabilities(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -259,7 +259,7 @@ export class AppServicePlans { * @param callback The callback */ getHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -300,7 +300,7 @@ export class AppServicePlans { * @param callback The callback */ deleteHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -341,7 +341,7 @@ export class AppServicePlans { * @param callback The callback */ listHybridConnectionKeys(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHybridConnectionKeys(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listHybridConnectionKeys(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -382,7 +382,7 @@ export class AppServicePlans { * @param callback The callback */ listWebAppsByHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebAppsByHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWebAppsByHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -417,7 +417,7 @@ export class AppServicePlans { * @param callback The callback */ getHybridConnectionPlanLimit(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getHybridConnectionPlanLimit(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getHybridConnectionPlanLimit(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -450,7 +450,7 @@ export class AppServicePlans { * @param callback The callback */ listHybridConnections(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHybridConnections(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listHybridConnections(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -483,7 +483,7 @@ export class AppServicePlans { * @param callback The callback */ listMetricDefintions(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefintions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefintions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -516,7 +516,7 @@ export class AppServicePlans { * @param callback The callback */ listMetrics(resourceGroupName: string, name: string, options: Models.AppServicePlansListMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, name: string, options?: Models.AppServicePlansListMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, name: string, options?: Models.AppServicePlansListMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -549,7 +549,7 @@ export class AppServicePlans { * @param callback The callback */ restartWebApps(resourceGroupName: string, name: string, options: Models.AppServicePlansRestartWebAppsOptionalParams, callback: msRest.ServiceCallback): void; - restartWebApps(resourceGroupName: string, name: string, options?: Models.AppServicePlansRestartWebAppsOptionalParams, callback?: msRest.ServiceCallback): Promise { + restartWebApps(resourceGroupName: string, name: string, options?: Models.AppServicePlansRestartWebAppsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -582,7 +582,7 @@ export class AppServicePlans { * @param callback The callback */ listWebApps(resourceGroupName: string, name: string, options: Models.AppServicePlansListWebAppsOptionalParams, callback: msRest.ServiceCallback): void; - listWebApps(resourceGroupName: string, name: string, options?: Models.AppServicePlansListWebAppsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listWebApps(resourceGroupName: string, name: string, options?: Models.AppServicePlansListWebAppsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -615,7 +615,7 @@ export class AppServicePlans { * @param callback The callback */ getServerFarmSkus(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getServerFarmSkus(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getServerFarmSkus(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -648,7 +648,7 @@ export class AppServicePlans { * @param callback The callback */ listUsages(resourceGroupName: string, name: string, options: Models.AppServicePlansListUsagesOptionalParams, callback: msRest.ServiceCallback): void; - listUsages(resourceGroupName: string, name: string, options?: Models.AppServicePlansListUsagesOptionalParams, callback?: msRest.ServiceCallback): Promise { + listUsages(resourceGroupName: string, name: string, options?: Models.AppServicePlansListUsagesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -681,7 +681,7 @@ export class AppServicePlans { * @param callback The callback */ listVnets(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listVnets(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listVnets(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -717,7 +717,7 @@ export class AppServicePlans { * @param callback The callback */ getVnetFromServerFarm(resourceGroupName: string, name: string, vnetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getVnetFromServerFarm(resourceGroupName: string, name: string, vnetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getVnetFromServerFarm(resourceGroupName: string, name: string, vnetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -757,7 +757,7 @@ export class AppServicePlans { * @param callback The callback */ getVnetGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getVnetGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getVnetGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -801,7 +801,7 @@ export class AppServicePlans { * @param callback The callback */ updateVnetGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateVnetGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateVnetGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -840,7 +840,7 @@ export class AppServicePlans { * @param callback The callback */ listRoutesForVnet(resourceGroupName: string, name: string, vnetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRoutesForVnet(resourceGroupName: string, name: string, vnetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRoutesForVnet(resourceGroupName: string, name: string, vnetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -880,7 +880,7 @@ export class AppServicePlans { * @param callback The callback */ getRouteForVnet(resourceGroupName: string, name: string, vnetName: string, routeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getRouteForVnet(resourceGroupName: string, name: string, vnetName: string, routeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getRouteForVnet(resourceGroupName: string, name: string, vnetName: string, routeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -924,7 +924,7 @@ export class AppServicePlans { * @param callback The callback */ createOrUpdateVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, route: Models.VnetRoute, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, route: Models.VnetRoute, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, route: Models.VnetRoute, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -966,7 +966,7 @@ export class AppServicePlans { * @param callback The callback */ deleteVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1010,7 +1010,7 @@ export class AppServicePlans { * @param callback The callback */ updateVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, route: Models.VnetRoute, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, route: Models.VnetRoute, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, route: Models.VnetRoute, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1049,7 +1049,7 @@ export class AppServicePlans { * @param callback The callback */ rebootWorker(resourceGroupName: string, name: string, workerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - rebootWorker(resourceGroupName: string, name: string, workerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + rebootWorker(resourceGroupName: string, name: string, workerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1101,7 +1101,7 @@ export class AppServicePlans { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1130,7 +1130,7 @@ export class AppServicePlans { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1159,7 +1159,7 @@ export class AppServicePlans { * @param callback The callback */ listWebAppsByHybridConnectionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebAppsByHybridConnectionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWebAppsByHybridConnectionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1188,7 +1188,7 @@ export class AppServicePlans { * @param callback The callback */ listHybridConnectionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHybridConnectionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listHybridConnectionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1217,7 +1217,7 @@ export class AppServicePlans { * @param callback The callback */ listMetricDefintionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefintionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefintionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1246,7 +1246,7 @@ export class AppServicePlans { * @param callback The callback */ listMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1275,7 +1275,7 @@ export class AppServicePlans { * @param callback The callback */ listWebAppsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebAppsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWebAppsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1304,7 +1304,7 @@ export class AppServicePlans { * @param callback The callback */ listUsagesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appservice/lib/operations/certificateRegistrationProvider.ts b/packages/@azure/arm-appservice/lib/operations/certificateRegistrationProvider.ts index 481948a7efd3..cdd2530fab05 100644 --- a/packages/@azure/arm-appservice/lib/operations/certificateRegistrationProvider.ts +++ b/packages/@azure/arm-appservice/lib/operations/certificateRegistrationProvider.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/certificateRegistrationProviderMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class CertificateRegistrationProvider { * @param callback The callback */ listOperations(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOperations(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOperations(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -74,7 +74,7 @@ export class CertificateRegistrationProvider { * @param callback The callback */ listOperationsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOperationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOperationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appservice/lib/operations/certificates.ts b/packages/@azure/arm-appservice/lib/operations/certificates.ts index a379b6132c55..91bf1c0b54c5 100644 --- a/packages/@azure/arm-appservice/lib/operations/certificates.ts +++ b/packages/@azure/arm-appservice/lib/operations/certificates.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/certificatesMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class Certificates { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class Certificates { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -102,7 +102,7 @@ export class Certificates { * @param callback The callback */ get(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -138,7 +138,7 @@ export class Certificates { * @param callback The callback */ createOrUpdate(resourceGroupName: string, name: string, certificateEnvelope: Models.Certificate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, name: string, certificateEnvelope: Models.Certificate, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, name: string, certificateEnvelope: Models.Certificate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -172,7 +172,7 @@ export class Certificates { * @param callback The callback */ deleteMethod(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -208,7 +208,7 @@ export class Certificates { * @param callback The callback */ update(resourceGroupName: string, name: string, certificateEnvelope: Models.CertificatePatchResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, name: string, certificateEnvelope: Models.CertificatePatchResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, name: string, certificateEnvelope: Models.CertificatePatchResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -239,7 +239,7 @@ export class Certificates { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -268,7 +268,7 @@ export class Certificates { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appservice/lib/operations/deletedWebApps.ts b/packages/@azure/arm-appservice/lib/operations/deletedWebApps.ts index 6e26a39931fd..777a9794c949 100644 --- a/packages/@azure/arm-appservice/lib/operations/deletedWebApps.ts +++ b/packages/@azure/arm-appservice/lib/operations/deletedWebApps.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/deletedWebAppsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class DeletedWebApps { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class DeletedWebApps { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appservice/lib/operations/diagnostics.ts b/packages/@azure/arm-appservice/lib/operations/diagnostics.ts index 2b301ff83e27..b71d497c0403 100644 --- a/packages/@azure/arm-appservice/lib/operations/diagnostics.ts +++ b/packages/@azure/arm-appservice/lib/operations/diagnostics.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/diagnosticsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Diagnostics { * @param callback The callback */ listHostingEnvironmentDetectorResponses(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHostingEnvironmentDetectorResponses(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listHostingEnvironmentDetectorResponses(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -84,7 +84,7 @@ export class Diagnostics { * @param callback The callback */ getHostingEnvironmentDetectorResponse(resourceGroupName: string, name: string, detectorName: string, options: Models.DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams, callback: msRest.ServiceCallback): void; - getHostingEnvironmentDetectorResponse(resourceGroupName: string, name: string, detectorName: string, options?: Models.DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams, callback?: msRest.ServiceCallback): Promise { + getHostingEnvironmentDetectorResponse(resourceGroupName: string, name: string, detectorName: string, options?: Models.DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -118,7 +118,7 @@ export class Diagnostics { * @param callback The callback */ listSiteDetectorResponses(resourceGroupName: string, siteName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteDetectorResponses(resourceGroupName: string, siteName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteDetectorResponses(resourceGroupName: string, siteName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -154,7 +154,7 @@ export class Diagnostics { * @param callback The callback */ getSiteDetectorResponse(resourceGroupName: string, siteName: string, detectorName: string, options: Models.DiagnosticsGetSiteDetectorResponseOptionalParams, callback: msRest.ServiceCallback): void; - getSiteDetectorResponse(resourceGroupName: string, siteName: string, detectorName: string, options?: Models.DiagnosticsGetSiteDetectorResponseOptionalParams, callback?: msRest.ServiceCallback): Promise { + getSiteDetectorResponse(resourceGroupName: string, siteName: string, detectorName: string, options?: Models.DiagnosticsGetSiteDetectorResponseOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -188,7 +188,7 @@ export class Diagnostics { * @param callback The callback */ listSiteDiagnosticCategories(resourceGroupName: string, siteName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteDiagnosticCategories(resourceGroupName: string, siteName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteDiagnosticCategories(resourceGroupName: string, siteName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -224,7 +224,7 @@ export class Diagnostics { * @param callback The callback */ getSiteDiagnosticCategory(resourceGroupName: string, siteName: string, diagnosticCategory: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteDiagnosticCategory(resourceGroupName: string, siteName: string, diagnosticCategory: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSiteDiagnosticCategory(resourceGroupName: string, siteName: string, diagnosticCategory: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -261,7 +261,7 @@ export class Diagnostics { * @param callback The callback */ listSiteAnalyses(resourceGroupName: string, siteName: string, diagnosticCategory: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteAnalyses(resourceGroupName: string, siteName: string, diagnosticCategory: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteAnalyses(resourceGroupName: string, siteName: string, diagnosticCategory: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -301,7 +301,7 @@ export class Diagnostics { * @param callback The callback */ getSiteAnalysis(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteAnalysis(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSiteAnalysis(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -342,7 +342,7 @@ export class Diagnostics { * @param callback The callback */ executeSiteAnalysis(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, options: Models.DiagnosticsExecuteSiteAnalysisOptionalParams, callback: msRest.ServiceCallback): void; - executeSiteAnalysis(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, options?: Models.DiagnosticsExecuteSiteAnalysisOptionalParams, callback?: msRest.ServiceCallback): Promise { + executeSiteAnalysis(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, options?: Models.DiagnosticsExecuteSiteAnalysisOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -380,7 +380,7 @@ export class Diagnostics { * @param callback The callback */ listSiteDetectors(resourceGroupName: string, siteName: string, diagnosticCategory: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteDetectors(resourceGroupName: string, siteName: string, diagnosticCategory: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteDetectors(resourceGroupName: string, siteName: string, diagnosticCategory: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -420,7 +420,7 @@ export class Diagnostics { * @param callback The callback */ getSiteDetector(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteDetector(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSiteDetector(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -461,7 +461,7 @@ export class Diagnostics { * @param callback The callback */ executeSiteDetector(resourceGroupName: string, siteName: string, detectorName: string, diagnosticCategory: string, options: Models.DiagnosticsExecuteSiteDetectorOptionalParams, callback: msRest.ServiceCallback): void; - executeSiteDetector(resourceGroupName: string, siteName: string, detectorName: string, diagnosticCategory: string, options?: Models.DiagnosticsExecuteSiteDetectorOptionalParams, callback?: msRest.ServiceCallback): Promise { + executeSiteDetector(resourceGroupName: string, siteName: string, detectorName: string, diagnosticCategory: string, options?: Models.DiagnosticsExecuteSiteDetectorOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -499,7 +499,7 @@ export class Diagnostics { * @param callback The callback */ listSiteDetectorResponsesSlot(resourceGroupName: string, siteName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteDetectorResponsesSlot(resourceGroupName: string, siteName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteDetectorResponsesSlot(resourceGroupName: string, siteName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -539,7 +539,7 @@ export class Diagnostics { * @param callback The callback */ getSiteDetectorResponseSlot(resourceGroupName: string, siteName: string, detectorName: string, slot: string, options: Models.DiagnosticsGetSiteDetectorResponseSlotOptionalParams, callback: msRest.ServiceCallback): void; - getSiteDetectorResponseSlot(resourceGroupName: string, siteName: string, detectorName: string, slot: string, options?: Models.DiagnosticsGetSiteDetectorResponseSlotOptionalParams, callback?: msRest.ServiceCallback): Promise { + getSiteDetectorResponseSlot(resourceGroupName: string, siteName: string, detectorName: string, slot: string, options?: Models.DiagnosticsGetSiteDetectorResponseSlotOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -577,7 +577,7 @@ export class Diagnostics { * @param callback The callback */ listSiteDiagnosticCategoriesSlot(resourceGroupName: string, siteName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteDiagnosticCategoriesSlot(resourceGroupName: string, siteName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteDiagnosticCategoriesSlot(resourceGroupName: string, siteName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -617,7 +617,7 @@ export class Diagnostics { * @param callback The callback */ getSiteDiagnosticCategorySlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteDiagnosticCategorySlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSiteDiagnosticCategorySlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -658,7 +658,7 @@ export class Diagnostics { * @param callback The callback */ listSiteAnalysesSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteAnalysesSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteAnalysesSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -702,7 +702,7 @@ export class Diagnostics { * @param callback The callback */ getSiteAnalysisSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteAnalysisSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSiteAnalysisSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -747,7 +747,7 @@ export class Diagnostics { * @param callback The callback */ executeSiteAnalysisSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, slot: string, options: Models.DiagnosticsExecuteSiteAnalysisSlotOptionalParams, callback: msRest.ServiceCallback): void; - executeSiteAnalysisSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, slot: string, options?: Models.DiagnosticsExecuteSiteAnalysisSlotOptionalParams, callback?: msRest.ServiceCallback): Promise { + executeSiteAnalysisSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, slot: string, options?: Models.DiagnosticsExecuteSiteAnalysisSlotOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -789,7 +789,7 @@ export class Diagnostics { * @param callback The callback */ listSiteDetectorsSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteDetectorsSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteDetectorsSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -833,7 +833,7 @@ export class Diagnostics { * @param callback The callback */ getSiteDetectorSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteDetectorSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSiteDetectorSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -878,7 +878,7 @@ export class Diagnostics { * @param callback The callback */ executeSiteDetectorSlot(resourceGroupName: string, siteName: string, detectorName: string, diagnosticCategory: string, slot: string, options: Models.DiagnosticsExecuteSiteDetectorSlotOptionalParams, callback: msRest.ServiceCallback): void; - executeSiteDetectorSlot(resourceGroupName: string, siteName: string, detectorName: string, diagnosticCategory: string, slot: string, options?: Models.DiagnosticsExecuteSiteDetectorSlotOptionalParams, callback?: msRest.ServiceCallback): Promise { + executeSiteDetectorSlot(resourceGroupName: string, siteName: string, detectorName: string, diagnosticCategory: string, slot: string, options?: Models.DiagnosticsExecuteSiteDetectorSlotOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -911,7 +911,7 @@ export class Diagnostics { * @param callback The callback */ listHostingEnvironmentDetectorResponsesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHostingEnvironmentDetectorResponsesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listHostingEnvironmentDetectorResponsesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -940,7 +940,7 @@ export class Diagnostics { * @param callback The callback */ listSiteDetectorResponsesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteDetectorResponsesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteDetectorResponsesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -969,7 +969,7 @@ export class Diagnostics { * @param callback The callback */ listSiteDiagnosticCategoriesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteDiagnosticCategoriesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteDiagnosticCategoriesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -998,7 +998,7 @@ export class Diagnostics { * @param callback The callback */ listSiteAnalysesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteAnalysesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteAnalysesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1027,7 +1027,7 @@ export class Diagnostics { * @param callback The callback */ listSiteDetectorsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteDetectorsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteDetectorsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1056,7 +1056,7 @@ export class Diagnostics { * @param callback The callback */ getSiteDetectorNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteDetectorNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSiteDetectorNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1085,7 +1085,7 @@ export class Diagnostics { * @param callback The callback */ listSiteDetectorResponsesSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteDetectorResponsesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteDetectorResponsesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1114,7 +1114,7 @@ export class Diagnostics { * @param callback The callback */ listSiteDiagnosticCategoriesSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteDiagnosticCategoriesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteDiagnosticCategoriesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1143,7 +1143,7 @@ export class Diagnostics { * @param callback The callback */ listSiteAnalysesSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteAnalysesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteAnalysesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1172,7 +1172,7 @@ export class Diagnostics { * @param callback The callback */ listSiteDetectorsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteDetectorsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteDetectorsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1201,7 +1201,7 @@ export class Diagnostics { * @param callback The callback */ getSiteDetectorSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteDetectorSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSiteDetectorSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appservice/lib/operations/domainRegistrationProvider.ts b/packages/@azure/arm-appservice/lib/operations/domainRegistrationProvider.ts index 13ff6fd95c0b..188617096177 100644 --- a/packages/@azure/arm-appservice/lib/operations/domainRegistrationProvider.ts +++ b/packages/@azure/arm-appservice/lib/operations/domainRegistrationProvider.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/domainRegistrationProviderMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class DomainRegistrationProvider { * @param callback The callback */ listOperations(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOperations(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOperations(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -74,7 +74,7 @@ export class DomainRegistrationProvider { * @param callback The callback */ listOperationsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOperationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOperationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appservice/lib/operations/domains.ts b/packages/@azure/arm-appservice/lib/operations/domains.ts index 3b472577fee6..161e0de6b541 100644 --- a/packages/@azure/arm-appservice/lib/operations/domains.ts +++ b/packages/@azure/arm-appservice/lib/operations/domains.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/domainsMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class Domains { * @param callback The callback */ checkAvailability(options: Models.DomainsCheckAvailabilityOptionalParams, callback: msRest.ServiceCallback): void; - checkAvailability(options?: Models.DomainsCheckAvailabilityOptionalParams, callback?: msRest.ServiceCallback): Promise { + checkAvailability(options?: Models.DomainsCheckAvailabilityOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Domains { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -93,7 +93,7 @@ export class Domains { * @param callback The callback */ getControlCenterSsoRequest(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getControlCenterSsoRequest(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getControlCenterSsoRequest(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -121,7 +121,7 @@ export class Domains { * @param callback The callback */ listRecommendations(parameters: Models.DomainRecommendationSearchParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRecommendations(parameters: Models.DomainRecommendationSearchParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRecommendations(parameters: Models.DomainRecommendationSearchParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -150,7 +150,7 @@ export class Domains { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -182,7 +182,7 @@ export class Domains { * @param callback The callback */ get(resourceGroupName: string, domainName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -229,7 +229,7 @@ export class Domains { * @param callback The callback */ deleteMethod(resourceGroupName: string, domainName: string, options: Models.DomainsDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, domainName: string, options?: Models.DomainsDeleteMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, domainName: string, options?: Models.DomainsDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -265,7 +265,7 @@ export class Domains { * @param callback The callback */ update(resourceGroupName: string, domainName: string, domain: Models.DomainPatchResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, domainName: string, domain: Models.DomainPatchResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, domainName: string, domain: Models.DomainPatchResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -299,7 +299,7 @@ export class Domains { * @param callback The callback */ listOwnershipIdentifiers(resourceGroupName: string, domainName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOwnershipIdentifiers(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOwnershipIdentifiers(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -335,7 +335,7 @@ export class Domains { * @param callback The callback */ getOwnershipIdentifier(resourceGroupName: string, domainName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getOwnershipIdentifier(resourceGroupName: string, domainName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getOwnershipIdentifier(resourceGroupName: string, domainName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -377,7 +377,7 @@ export class Domains { * @param callback The callback */ createOrUpdateOwnershipIdentifier(resourceGroupName: string, domainName: string, name: string, domainOwnershipIdentifier: Models.DomainOwnershipIdentifier, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateOwnershipIdentifier(resourceGroupName: string, domainName: string, name: string, domainOwnershipIdentifier: Models.DomainOwnershipIdentifier, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateOwnershipIdentifier(resourceGroupName: string, domainName: string, name: string, domainOwnershipIdentifier: Models.DomainOwnershipIdentifier, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -415,7 +415,7 @@ export class Domains { * @param callback The callback */ deleteOwnershipIdentifier(resourceGroupName: string, domainName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteOwnershipIdentifier(resourceGroupName: string, domainName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteOwnershipIdentifier(resourceGroupName: string, domainName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -457,7 +457,7 @@ export class Domains { * @param callback The callback */ updateOwnershipIdentifier(resourceGroupName: string, domainName: string, name: string, domainOwnershipIdentifier: Models.DomainOwnershipIdentifier, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateOwnershipIdentifier(resourceGroupName: string, domainName: string, name: string, domainOwnershipIdentifier: Models.DomainOwnershipIdentifier, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateOwnershipIdentifier(resourceGroupName: string, domainName: string, name: string, domainOwnershipIdentifier: Models.DomainOwnershipIdentifier, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -492,7 +492,7 @@ export class Domains { * @param callback The callback */ renew(resourceGroupName: string, domainName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - renew(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + renew(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -543,7 +543,7 @@ export class Domains { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -572,7 +572,7 @@ export class Domains { * @param callback The callback */ listRecommendationsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRecommendationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRecommendationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -601,7 +601,7 @@ export class Domains { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -630,7 +630,7 @@ export class Domains { * @param callback The callback */ listOwnershipIdentifiersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOwnershipIdentifiersNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOwnershipIdentifiersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appservice/lib/operations/provider.ts b/packages/@azure/arm-appservice/lib/operations/provider.ts index b8223e78adae..9d215720c1b2 100644 --- a/packages/@azure/arm-appservice/lib/operations/provider.ts +++ b/packages/@azure/arm-appservice/lib/operations/provider.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/providerMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class Provider { * @param callback The callback */ getAvailableStacks(options: Models.ProviderGetAvailableStacksOptionalParams, callback: msRest.ServiceCallback): void; - getAvailableStacks(options?: Models.ProviderGetAvailableStacksOptionalParams, callback?: msRest.ServiceCallback): Promise { + getAvailableStacks(options?: Models.ProviderGetAvailableStacksOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -69,7 +69,7 @@ export class Provider { * @param callback The callback */ listOperations(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOperations(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOperations(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -94,7 +94,7 @@ export class Provider { * @param callback The callback */ getAvailableStacksOnPrem(options: Models.ProviderGetAvailableStacksOnPremOptionalParams, callback: msRest.ServiceCallback): void; - getAvailableStacksOnPrem(options?: Models.ProviderGetAvailableStacksOnPremOptionalParams, callback?: msRest.ServiceCallback): Promise { + getAvailableStacksOnPrem(options?: Models.ProviderGetAvailableStacksOnPremOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -122,7 +122,7 @@ export class Provider { * @param callback The callback */ getAvailableStacksNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAvailableStacksNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAvailableStacksNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -153,7 +153,7 @@ export class Provider { * @param callback The callback */ listOperationsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOperationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOperationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -182,7 +182,7 @@ export class Provider { * @param callback The callback */ getAvailableStacksOnPremNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAvailableStacksOnPremNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAvailableStacksOnPremNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appservice/lib/operations/recommendations.ts b/packages/@azure/arm-appservice/lib/operations/recommendations.ts index 1c69595d03a4..c9ae65cc04d4 100644 --- a/packages/@azure/arm-appservice/lib/operations/recommendations.ts +++ b/packages/@azure/arm-appservice/lib/operations/recommendations.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/recommendationsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class Recommendations { * @param callback The callback */ list(options: Models.RecommendationsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.RecommendationsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.RecommendationsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -67,7 +67,7 @@ export class Recommendations { * @param callback The callback */ resetAllFilters(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - resetAllFilters(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + resetAllFilters(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -95,7 +95,7 @@ export class Recommendations { * @param callback The callback */ disableRecommendationForSubscription(name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - disableRecommendationForSubscription(name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + disableRecommendationForSubscription(name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { name, @@ -127,7 +127,7 @@ export class Recommendations { * @param callback The callback */ listHistoryForWebApp(resourceGroupName: string, siteName: string, options: Models.RecommendationsListHistoryForWebAppOptionalParams, callback: msRest.ServiceCallback): void; - listHistoryForWebApp(resourceGroupName: string, siteName: string, options?: Models.RecommendationsListHistoryForWebAppOptionalParams, callback?: msRest.ServiceCallback): Promise { + listHistoryForWebApp(resourceGroupName: string, siteName: string, options?: Models.RecommendationsListHistoryForWebAppOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -160,7 +160,7 @@ export class Recommendations { * @param callback The callback */ listRecommendedRulesForWebApp(resourceGroupName: string, siteName: string, options: Models.RecommendationsListRecommendedRulesForWebAppOptionalParams, callback: msRest.ServiceCallback): void; - listRecommendedRulesForWebApp(resourceGroupName: string, siteName: string, options?: Models.RecommendationsListRecommendedRulesForWebAppOptionalParams, callback?: msRest.ServiceCallback): Promise { + listRecommendedRulesForWebApp(resourceGroupName: string, siteName: string, options?: Models.RecommendationsListRecommendedRulesForWebAppOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -193,7 +193,7 @@ export class Recommendations { * @param callback The callback */ disableAllForWebApp(resourceGroupName: string, siteName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - disableAllForWebApp(resourceGroupName: string, siteName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + disableAllForWebApp(resourceGroupName: string, siteName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -226,7 +226,7 @@ export class Recommendations { * @param callback The callback */ resetAllFiltersForWebApp(resourceGroupName: string, siteName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - resetAllFiltersForWebApp(resourceGroupName: string, siteName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + resetAllFiltersForWebApp(resourceGroupName: string, siteName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -262,7 +262,7 @@ export class Recommendations { * @param callback The callback */ getRuleDetailsByWebApp(resourceGroupName: string, siteName: string, name: string, options: Models.RecommendationsGetRuleDetailsByWebAppOptionalParams, callback: msRest.ServiceCallback): void; - getRuleDetailsByWebApp(resourceGroupName: string, siteName: string, name: string, options?: Models.RecommendationsGetRuleDetailsByWebAppOptionalParams, callback?: msRest.ServiceCallback): Promise { + getRuleDetailsByWebApp(resourceGroupName: string, siteName: string, name: string, options?: Models.RecommendationsGetRuleDetailsByWebAppOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -299,7 +299,7 @@ export class Recommendations { * @param callback The callback */ disableRecommendationForSite(resourceGroupName: string, siteName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - disableRecommendationForSite(resourceGroupName: string, siteName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + disableRecommendationForSite(resourceGroupName: string, siteName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -330,7 +330,7 @@ export class Recommendations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -359,7 +359,7 @@ export class Recommendations { * @param callback The callback */ listHistoryForWebAppNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHistoryForWebAppNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listHistoryForWebAppNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -388,7 +388,7 @@ export class Recommendations { * @param callback The callback */ listRecommendedRulesForWebAppNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRecommendedRulesForWebAppNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRecommendedRulesForWebAppNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appservice/lib/operations/resourceHealthMetadataOperations.ts b/packages/@azure/arm-appservice/lib/operations/resourceHealthMetadataOperations.ts index e06f158cd4e5..292bf06a99c0 100644 --- a/packages/@azure/arm-appservice/lib/operations/resourceHealthMetadataOperations.ts +++ b/packages/@azure/arm-appservice/lib/operations/resourceHealthMetadataOperations.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/resourceHealthMetadataOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class ResourceHealthMetadataOperations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -71,7 +71,7 @@ export class ResourceHealthMetadataOperations { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -103,7 +103,7 @@ export class ResourceHealthMetadataOperations { * @param callback The callback */ listBySite(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySite(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySite(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -136,7 +136,7 @@ export class ResourceHealthMetadataOperations { * @param callback The callback */ getBySite(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getBySite(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getBySite(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -172,7 +172,7 @@ export class ResourceHealthMetadataOperations { * @param callback The callback */ listBySiteSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySiteSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySiteSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -209,7 +209,7 @@ export class ResourceHealthMetadataOperations { * @param callback The callback */ getBySiteSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getBySiteSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getBySiteSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -240,7 +240,7 @@ export class ResourceHealthMetadataOperations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -270,7 +270,7 @@ export class ResourceHealthMetadataOperations { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -299,7 +299,7 @@ export class ResourceHealthMetadataOperations { * @param callback The callback */ listBySiteNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySiteNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySiteNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -328,7 +328,7 @@ export class ResourceHealthMetadataOperations { * @param callback The callback */ listBySiteSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySiteSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySiteSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appservice/lib/operations/topLevelDomains.ts b/packages/@azure/arm-appservice/lib/operations/topLevelDomains.ts index de6e7a34a5ef..e2c0500203f8 100644 --- a/packages/@azure/arm-appservice/lib/operations/topLevelDomains.ts +++ b/packages/@azure/arm-appservice/lib/operations/topLevelDomains.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/topLevelDomainsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class TopLevelDomains { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class TopLevelDomains { * @param callback The callback */ get(name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { name, @@ -102,7 +102,7 @@ export class TopLevelDomains { * @param callback The callback */ listAgreements(name: string, agreementOption: Models.TopLevelDomainAgreementOption, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAgreements(name: string, agreementOption: Models.TopLevelDomainAgreementOption, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAgreements(name: string, agreementOption: Models.TopLevelDomainAgreementOption, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { name, @@ -132,7 +132,7 @@ export class TopLevelDomains { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -161,7 +161,7 @@ export class TopLevelDomains { * @param callback The callback */ listAgreementsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAgreementsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAgreementsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appservice/lib/operations/webApps.ts b/packages/@azure/arm-appservice/lib/operations/webApps.ts index 0f87a90c62c2..5d6acb44a9c2 100644 --- a/packages/@azure/arm-appservice/lib/operations/webApps.ts +++ b/packages/@azure/arm-appservice/lib/operations/webApps.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/webAppsMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class WebApps { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -71,7 +71,7 @@ export class WebApps { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.WebAppsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.WebAppsListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.WebAppsListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -103,7 +103,7 @@ export class WebApps { * @param callback The callback */ get(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -152,7 +152,7 @@ export class WebApps { * @param callback The callback */ deleteMethod(resourceGroupName: string, name: string, options: Models.WebAppsDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, name: string, options?: Models.WebAppsDeleteMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, name: string, options?: Models.WebAppsDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -192,7 +192,7 @@ export class WebApps { * @param callback The callback */ update(resourceGroupName: string, name: string, siteEnvelope: Models.SitePatchResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, name: string, siteEnvelope: Models.SitePatchResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, name: string, siteEnvelope: Models.SitePatchResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -226,7 +226,7 @@ export class WebApps { * @param callback The callback */ analyzeCustomHostname(resourceGroupName: string, name: string, options: Models.WebAppsAnalyzeCustomHostnameOptionalParams, callback: msRest.ServiceCallback): void; - analyzeCustomHostname(resourceGroupName: string, name: string, options?: Models.WebAppsAnalyzeCustomHostnameOptionalParams, callback?: msRest.ServiceCallback): Promise { + analyzeCustomHostname(resourceGroupName: string, name: string, options?: Models.WebAppsAnalyzeCustomHostnameOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -262,7 +262,7 @@ export class WebApps { * @param callback The callback */ applySlotConfigToProduction(resourceGroupName: string, name: string, slotSwapEntity: Models.CsmSlotEntity, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - applySlotConfigToProduction(resourceGroupName: string, name: string, slotSwapEntity: Models.CsmSlotEntity, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + applySlotConfigToProduction(resourceGroupName: string, name: string, slotSwapEntity: Models.CsmSlotEntity, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -302,7 +302,7 @@ export class WebApps { * @param callback The callback */ backup(resourceGroupName: string, name: string, request: Models.BackupRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - backup(resourceGroupName: string, name: string, request: Models.BackupRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + backup(resourceGroupName: string, name: string, request: Models.BackupRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -336,7 +336,7 @@ export class WebApps { * @param callback The callback */ listBackups(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBackups(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBackups(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -372,7 +372,7 @@ export class WebApps { * @param callback The callback */ getBackupStatus(resourceGroupName: string, name: string, backupId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getBackupStatus(resourceGroupName: string, name: string, backupId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getBackupStatus(resourceGroupName: string, name: string, backupId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -409,7 +409,7 @@ export class WebApps { * @param callback The callback */ deleteBackup(resourceGroupName: string, name: string, backupId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteBackup(resourceGroupName: string, name: string, backupId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteBackup(resourceGroupName: string, name: string, backupId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -453,7 +453,7 @@ export class WebApps { * @param callback The callback */ listBackupStatusSecrets(resourceGroupName: string, name: string, backupId: string, request: Models.BackupRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBackupStatusSecrets(resourceGroupName: string, name: string, backupId: string, request: Models.BackupRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBackupStatusSecrets(resourceGroupName: string, name: string, backupId: string, request: Models.BackupRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -503,7 +503,7 @@ export class WebApps { * @param callback The callback */ listConfigurations(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConfigurations(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConfigurations(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -539,7 +539,7 @@ export class WebApps { * @param callback The callback */ updateApplicationSettings(resourceGroupName: string, name: string, appSettings: Models.StringDictionary, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateApplicationSettings(resourceGroupName: string, name: string, appSettings: Models.StringDictionary, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateApplicationSettings(resourceGroupName: string, name: string, appSettings: Models.StringDictionary, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -573,7 +573,7 @@ export class WebApps { * @param callback The callback */ listApplicationSettings(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listApplicationSettings(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listApplicationSettings(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -609,7 +609,7 @@ export class WebApps { * @param callback The callback */ updateAuthSettings(resourceGroupName: string, name: string, siteAuthSettings: Models.SiteAuthSettings, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateAuthSettings(resourceGroupName: string, name: string, siteAuthSettings: Models.SiteAuthSettings, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateAuthSettings(resourceGroupName: string, name: string, siteAuthSettings: Models.SiteAuthSettings, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -643,7 +643,7 @@ export class WebApps { * @param callback The callback */ getAuthSettings(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAuthSettings(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAuthSettings(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -679,7 +679,7 @@ export class WebApps { * @param callback The callback */ updateAzureStorageAccounts(resourceGroupName: string, name: string, azureStorageAccounts: Models.AzureStoragePropertyDictionaryResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateAzureStorageAccounts(resourceGroupName: string, name: string, azureStorageAccounts: Models.AzureStoragePropertyDictionaryResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateAzureStorageAccounts(resourceGroupName: string, name: string, azureStorageAccounts: Models.AzureStoragePropertyDictionaryResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -713,7 +713,7 @@ export class WebApps { * @param callback The callback */ listAzureStorageAccounts(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAzureStorageAccounts(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAzureStorageAccounts(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -749,7 +749,7 @@ export class WebApps { * @param callback The callback */ updateBackupConfiguration(resourceGroupName: string, name: string, request: Models.BackupRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateBackupConfiguration(resourceGroupName: string, name: string, request: Models.BackupRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateBackupConfiguration(resourceGroupName: string, name: string, request: Models.BackupRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -783,7 +783,7 @@ export class WebApps { * @param callback The callback */ deleteBackupConfiguration(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteBackupConfiguration(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteBackupConfiguration(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -816,7 +816,7 @@ export class WebApps { * @param callback The callback */ getBackupConfiguration(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getBackupConfiguration(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getBackupConfiguration(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -852,7 +852,7 @@ export class WebApps { * @param callback The callback */ updateConnectionStrings(resourceGroupName: string, name: string, connectionStrings: Models.ConnectionStringDictionary, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateConnectionStrings(resourceGroupName: string, name: string, connectionStrings: Models.ConnectionStringDictionary, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateConnectionStrings(resourceGroupName: string, name: string, connectionStrings: Models.ConnectionStringDictionary, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -886,7 +886,7 @@ export class WebApps { * @param callback The callback */ listConnectionStrings(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConnectionStrings(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConnectionStrings(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -919,7 +919,7 @@ export class WebApps { * @param callback The callback */ getDiagnosticLogsConfiguration(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDiagnosticLogsConfiguration(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDiagnosticLogsConfiguration(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -958,7 +958,7 @@ export class WebApps { * @param callback The callback */ updateDiagnosticLogsConfig(resourceGroupName: string, name: string, siteLogsConfig: Models.SiteLogsConfig, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateDiagnosticLogsConfig(resourceGroupName: string, name: string, siteLogsConfig: Models.SiteLogsConfig, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateDiagnosticLogsConfig(resourceGroupName: string, name: string, siteLogsConfig: Models.SiteLogsConfig, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -995,7 +995,7 @@ export class WebApps { * @param callback The callback */ updateMetadata(resourceGroupName: string, name: string, metadata: Models.StringDictionary, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateMetadata(resourceGroupName: string, name: string, metadata: Models.StringDictionary, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateMetadata(resourceGroupName: string, name: string, metadata: Models.StringDictionary, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1029,7 +1029,7 @@ export class WebApps { * @param callback The callback */ listMetadata(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetadata(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetadata(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1078,7 +1078,7 @@ export class WebApps { * @param callback The callback */ updateSitePushSettings(resourceGroupName: string, name: string, pushSettings: Models.PushSettings, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSitePushSettings(resourceGroupName: string, name: string, pushSettings: Models.PushSettings, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateSitePushSettings(resourceGroupName: string, name: string, pushSettings: Models.PushSettings, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1112,7 +1112,7 @@ export class WebApps { * @param callback The callback */ listSitePushSettings(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSitePushSettings(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSitePushSettings(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1146,7 +1146,7 @@ export class WebApps { * @param callback The callback */ listSlotConfigurationNames(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSlotConfigurationNames(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSlotConfigurationNames(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1184,7 +1184,7 @@ export class WebApps { * @param callback The callback */ updateSlotConfigurationNames(resourceGroupName: string, name: string, slotConfigNames: Models.SlotConfigNamesResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSlotConfigurationNames(resourceGroupName: string, name: string, slotConfigNames: Models.SlotConfigNamesResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateSlotConfigurationNames(resourceGroupName: string, name: string, slotConfigNames: Models.SlotConfigNamesResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1218,7 +1218,7 @@ export class WebApps { * @param callback The callback */ getSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1260,7 +1260,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1294,7 +1294,7 @@ export class WebApps { * @param callback The callback */ deleteSwiftVirtualNetwork(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteSwiftVirtualNetwork(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteSwiftVirtualNetwork(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1336,7 +1336,7 @@ export class WebApps { * @param callback The callback */ updateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1372,7 +1372,7 @@ export class WebApps { * @param callback The callback */ getConfiguration(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getConfiguration(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getConfiguration(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1408,7 +1408,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateConfiguration(resourceGroupName: string, name: string, siteConfig: Models.SiteConfigResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateConfiguration(resourceGroupName: string, name: string, siteConfig: Models.SiteConfigResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateConfiguration(resourceGroupName: string, name: string, siteConfig: Models.SiteConfigResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1445,7 +1445,7 @@ export class WebApps { * @param callback The callback */ updateConfiguration(resourceGroupName: string, name: string, siteConfig: Models.SiteConfigResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateConfiguration(resourceGroupName: string, name: string, siteConfig: Models.SiteConfigResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateConfiguration(resourceGroupName: string, name: string, siteConfig: Models.SiteConfigResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1481,7 +1481,7 @@ export class WebApps { * @param callback The callback */ listConfigurationSnapshotInfo(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConfigurationSnapshotInfo(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConfigurationSnapshotInfo(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1517,7 +1517,7 @@ export class WebApps { * @param callback The callback */ getConfigurationSnapshot(resourceGroupName: string, name: string, snapshotId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getConfigurationSnapshot(resourceGroupName: string, name: string, snapshotId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getConfigurationSnapshot(resourceGroupName: string, name: string, snapshotId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1554,7 +1554,7 @@ export class WebApps { * @param callback The callback */ recoverSiteConfigurationSnapshot(resourceGroupName: string, name: string, snapshotId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - recoverSiteConfigurationSnapshot(resourceGroupName: string, name: string, snapshotId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + recoverSiteConfigurationSnapshot(resourceGroupName: string, name: string, snapshotId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1588,7 +1588,7 @@ export class WebApps { * @param callback The callback */ getWebSiteContainerLogs(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getWebSiteContainerLogs(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getWebSiteContainerLogs(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1621,7 +1621,7 @@ export class WebApps { * @param callback The callback */ getContainerLogsZip(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getContainerLogsZip(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getContainerLogsZip(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1654,7 +1654,7 @@ export class WebApps { * @param callback The callback */ listContinuousWebJobs(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listContinuousWebJobs(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listContinuousWebJobs(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1690,7 +1690,7 @@ export class WebApps { * @param callback The callback */ getContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1727,7 +1727,7 @@ export class WebApps { * @param callback The callback */ deleteContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1764,7 +1764,7 @@ export class WebApps { * @param callback The callback */ startContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - startContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + startContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1801,7 +1801,7 @@ export class WebApps { * @param callback The callback */ stopContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - stopContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + stopContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1835,7 +1835,7 @@ export class WebApps { * @param callback The callback */ listDeployments(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDeployments(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDeployments(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1871,7 +1871,7 @@ export class WebApps { * @param callback The callback */ getDeployment(resourceGroupName: string, name: string, id: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDeployment(resourceGroupName: string, name: string, id: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDeployment(resourceGroupName: string, name: string, id: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1911,7 +1911,7 @@ export class WebApps { * @param callback The callback */ createDeployment(resourceGroupName: string, name: string, id: string, deployment: Models.Deployment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createDeployment(resourceGroupName: string, name: string, id: string, deployment: Models.Deployment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createDeployment(resourceGroupName: string, name: string, id: string, deployment: Models.Deployment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1949,7 +1949,7 @@ export class WebApps { * @param callback The callback */ deleteDeployment(resourceGroupName: string, name: string, id: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteDeployment(resourceGroupName: string, name: string, id: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteDeployment(resourceGroupName: string, name: string, id: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1989,7 +1989,7 @@ export class WebApps { * @param callback The callback */ listDeploymentLog(resourceGroupName: string, name: string, id: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDeploymentLog(resourceGroupName: string, name: string, id: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDeploymentLog(resourceGroupName: string, name: string, id: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2031,7 +2031,7 @@ export class WebApps { * @param callback The callback */ discoverBackup(resourceGroupName: string, name: string, request: Models.RestoreRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - discoverBackup(resourceGroupName: string, name: string, request: Models.RestoreRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + discoverBackup(resourceGroupName: string, name: string, request: Models.RestoreRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2065,7 +2065,7 @@ export class WebApps { * @param callback The callback */ listDomainOwnershipIdentifiers(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDomainOwnershipIdentifiers(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDomainOwnershipIdentifiers(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2101,7 +2101,7 @@ export class WebApps { * @param callback The callback */ getDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2142,7 +2142,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Models.Identifier, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Models.Identifier, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Models.Identifier, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2180,7 +2180,7 @@ export class WebApps { * @param callback The callback */ deleteDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2221,7 +2221,7 @@ export class WebApps { * @param callback The callback */ updateDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Models.Identifier, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Models.Identifier, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Models.Identifier, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2256,7 +2256,7 @@ export class WebApps { * @param callback The callback */ getMSDeployStatus(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMSDeployStatus(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMSDeployStatus(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2303,7 +2303,7 @@ export class WebApps { * @param callback The callback */ getMSDeployLog(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMSDeployLog(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMSDeployLog(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2336,7 +2336,7 @@ export class WebApps { * @param callback The callback */ listFunctions(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listFunctions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listFunctions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2369,7 +2369,7 @@ export class WebApps { * @param callback The callback */ getFunctionsAdminToken(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getFunctionsAdminToken(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getFunctionsAdminToken(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2405,7 +2405,7 @@ export class WebApps { * @param callback The callback */ getFunction(resourceGroupName: string, name: string, functionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getFunction(resourceGroupName: string, name: string, functionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getFunction(resourceGroupName: string, name: string, functionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2457,7 +2457,7 @@ export class WebApps { * @param callback The callback */ deleteFunction(resourceGroupName: string, name: string, functionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteFunction(resourceGroupName: string, name: string, functionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteFunction(resourceGroupName: string, name: string, functionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2494,7 +2494,7 @@ export class WebApps { * @param callback The callback */ listFunctionSecrets(resourceGroupName: string, name: string, functionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listFunctionSecrets(resourceGroupName: string, name: string, functionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listFunctionSecrets(resourceGroupName: string, name: string, functionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2528,7 +2528,7 @@ export class WebApps { * @param callback The callback */ listHostNameBindings(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHostNameBindings(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listHostNameBindings(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2564,7 +2564,7 @@ export class WebApps { * @param callback The callback */ getHostNameBinding(resourceGroupName: string, name: string, hostName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getHostNameBinding(resourceGroupName: string, name: string, hostName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getHostNameBinding(resourceGroupName: string, name: string, hostName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2607,7 +2607,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateHostNameBinding(resourceGroupName: string, name: string, hostName: string, hostNameBinding: Models.HostNameBinding, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateHostNameBinding(resourceGroupName: string, name: string, hostName: string, hostNameBinding: Models.HostNameBinding, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateHostNameBinding(resourceGroupName: string, name: string, hostName: string, hostNameBinding: Models.HostNameBinding, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2645,7 +2645,7 @@ export class WebApps { * @param callback The callback */ deleteHostNameBinding(resourceGroupName: string, name: string, hostName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteHostNameBinding(resourceGroupName: string, name: string, hostName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteHostNameBinding(resourceGroupName: string, name: string, hostName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2685,7 +2685,7 @@ export class WebApps { * @param callback The callback */ getHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2729,7 +2729,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: Models.HybridConnection, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: Models.HybridConnection, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: Models.HybridConnection, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2771,7 +2771,7 @@ export class WebApps { * @param callback The callback */ deleteHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2815,7 +2815,7 @@ export class WebApps { * @param callback The callback */ updateHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: Models.HybridConnection, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: Models.HybridConnection, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: Models.HybridConnection, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2857,7 +2857,7 @@ export class WebApps { * @param callback The callback */ listHybridConnectionKeys(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHybridConnectionKeys(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listHybridConnectionKeys(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2892,7 +2892,7 @@ export class WebApps { * @param callback The callback */ listHybridConnections(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHybridConnections(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listHybridConnections(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2925,7 +2925,7 @@ export class WebApps { * @param callback The callback */ listRelayServiceConnections(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRelayServiceConnections(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRelayServiceConnections(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -2961,7 +2961,7 @@ export class WebApps { * @param callback The callback */ getRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3002,7 +3002,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: Models.RelayServiceConnectionEntity, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: Models.RelayServiceConnectionEntity, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: Models.RelayServiceConnectionEntity, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3040,7 +3040,7 @@ export class WebApps { * @param callback The callback */ deleteRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3081,7 +3081,7 @@ export class WebApps { * @param callback The callback */ updateRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: Models.RelayServiceConnectionEntity, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: Models.RelayServiceConnectionEntity, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: Models.RelayServiceConnectionEntity, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3116,7 +3116,7 @@ export class WebApps { * @param callback The callback */ listInstanceIdentifiers(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceIdentifiers(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceIdentifiers(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3152,7 +3152,7 @@ export class WebApps { * @param callback The callback */ getInstanceMsDeployStatus(resourceGroupName: string, name: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceMsDeployStatus(resourceGroupName: string, name: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceMsDeployStatus(resourceGroupName: string, name: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3204,7 +3204,7 @@ export class WebApps { * @param callback The callback */ getInstanceMSDeployLog(resourceGroupName: string, name: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceMSDeployLog(resourceGroupName: string, name: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceMSDeployLog(resourceGroupName: string, name: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3246,7 +3246,7 @@ export class WebApps { * @param callback The callback */ listInstanceProcesses(resourceGroupName: string, name: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceProcesses(resourceGroupName: string, name: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceProcesses(resourceGroupName: string, name: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3289,7 +3289,7 @@ export class WebApps { * @param callback The callback */ getInstanceProcess(resourceGroupName: string, name: string, processId: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceProcess(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceProcess(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3335,7 +3335,7 @@ export class WebApps { * @param callback The callback */ deleteInstanceProcess(resourceGroupName: string, name: string, processId: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteInstanceProcess(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteInstanceProcess(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3380,7 +3380,7 @@ export class WebApps { * @param callback The callback */ getInstanceProcessDump(resourceGroupName: string, name: string, processId: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceProcessDump(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceProcessDump(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3426,7 +3426,7 @@ export class WebApps { * @param callback The callback */ listInstanceProcessModules(resourceGroupName: string, name: string, processId: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceProcessModules(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceProcessModules(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3473,7 +3473,7 @@ export class WebApps { * @param callback The callback */ getInstanceProcessModule(resourceGroupName: string, name: string, processId: string, baseAddress: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceProcessModule(resourceGroupName: string, name: string, processId: string, baseAddress: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceProcessModule(resourceGroupName: string, name: string, processId: string, baseAddress: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3519,7 +3519,7 @@ export class WebApps { * @param callback The callback */ listInstanceProcessThreads(resourceGroupName: string, name: string, processId: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceProcessThreads(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceProcessThreads(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3568,7 +3568,7 @@ export class WebApps { * @param callback The callback */ getInstanceProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3604,7 +3604,7 @@ export class WebApps { * @param callback The callback */ isCloneable(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - isCloneable(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + isCloneable(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3637,7 +3637,7 @@ export class WebApps { * @param callback The callback */ listSyncFunctionTriggers(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSyncFunctionTriggers(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSyncFunctionTriggers(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3670,7 +3670,7 @@ export class WebApps { * @param callback The callback */ listMetricDefinitions(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinitions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinitions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3703,7 +3703,7 @@ export class WebApps { * @param callback The callback */ listMetrics(resourceGroupName: string, name: string, options: Models.WebAppsListMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, name: string, options?: Models.WebAppsListMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, name: string, options?: Models.WebAppsListMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3767,7 +3767,7 @@ export class WebApps { * @param callback The callback */ getMigrateMySqlStatus(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMigrateMySqlStatus(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMigrateMySqlStatus(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3803,7 +3803,7 @@ export class WebApps { * @param callback The callback */ listNetworkFeatures(resourceGroupName: string, name: string, view: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNetworkFeatures(resourceGroupName: string, name: string, view: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNetworkFeatures(resourceGroupName: string, name: string, view: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3841,7 +3841,7 @@ export class WebApps { * @param callback The callback */ getNetworkTraceOperation(resourceGroupName: string, name: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getNetworkTraceOperation(resourceGroupName: string, name: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getNetworkTraceOperation(resourceGroupName: string, name: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3875,7 +3875,7 @@ export class WebApps { * @param callback The callback */ startWebSiteNetworkTrace(resourceGroupName: string, name: string, options: Models.WebAppsStartWebSiteNetworkTraceOptionalParams, callback: msRest.ServiceCallback): void; - startWebSiteNetworkTrace(resourceGroupName: string, name: string, options?: Models.WebAppsStartWebSiteNetworkTraceOptionalParams, callback?: msRest.ServiceCallback): Promise { + startWebSiteNetworkTrace(resourceGroupName: string, name: string, options?: Models.WebAppsStartWebSiteNetworkTraceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3921,7 +3921,7 @@ export class WebApps { * @param callback The callback */ stopWebSiteNetworkTrace(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - stopWebSiteNetworkTrace(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + stopWebSiteNetworkTrace(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3958,7 +3958,7 @@ export class WebApps { * @param callback The callback */ getNetworkTraces(resourceGroupName: string, name: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getNetworkTraces(resourceGroupName: string, name: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getNetworkTraces(resourceGroupName: string, name: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -3996,7 +3996,7 @@ export class WebApps { * @param callback The callback */ getNetworkTraceOperationV2(resourceGroupName: string, name: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getNetworkTraceOperationV2(resourceGroupName: string, name: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getNetworkTraceOperationV2(resourceGroupName: string, name: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4034,7 +4034,7 @@ export class WebApps { * @param callback The callback */ getNetworkTracesV2(resourceGroupName: string, name: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getNetworkTracesV2(resourceGroupName: string, name: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getNetworkTracesV2(resourceGroupName: string, name: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4068,7 +4068,7 @@ export class WebApps { * @param callback The callback */ generateNewSitePublishingPassword(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - generateNewSitePublishingPassword(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + generateNewSitePublishingPassword(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4101,7 +4101,7 @@ export class WebApps { * @param callback The callback */ listPerfMonCounters(resourceGroupName: string, name: string, options: Models.WebAppsListPerfMonCountersOptionalParams, callback: msRest.ServiceCallback): void; - listPerfMonCounters(resourceGroupName: string, name: string, options?: Models.WebAppsListPerfMonCountersOptionalParams, callback?: msRest.ServiceCallback): Promise { + listPerfMonCounters(resourceGroupName: string, name: string, options?: Models.WebAppsListPerfMonCountersOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4134,7 +4134,7 @@ export class WebApps { * @param callback The callback */ getSitePhpErrorLogFlag(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSitePhpErrorLogFlag(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSitePhpErrorLogFlag(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4167,7 +4167,7 @@ export class WebApps { * @param callback The callback */ listPremierAddOns(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPremierAddOns(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPremierAddOns(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4203,7 +4203,7 @@ export class WebApps { * @param callback The callback */ getPremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4243,7 +4243,7 @@ export class WebApps { * @param callback The callback */ addPremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: Models.PremierAddOn, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addPremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: Models.PremierAddOn, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addPremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: Models.PremierAddOn, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4281,7 +4281,7 @@ export class WebApps { * @param callback The callback */ deletePremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deletePremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deletePremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4321,7 +4321,7 @@ export class WebApps { * @param callback The callback */ updatePremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: Models.PremierAddOnPatchResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updatePremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: Models.PremierAddOnPatchResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updatePremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: Models.PremierAddOnPatchResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4358,7 +4358,7 @@ export class WebApps { * @param callback The callback */ getPrivateAccess(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPrivateAccess(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPrivateAccess(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4396,7 +4396,7 @@ export class WebApps { * @param callback The callback */ putPrivateAccessVnet(resourceGroupName: string, name: string, access: Models.PrivateAccess, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - putPrivateAccessVnet(resourceGroupName: string, name: string, access: Models.PrivateAccess, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + putPrivateAccessVnet(resourceGroupName: string, name: string, access: Models.PrivateAccess, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4432,7 +4432,7 @@ export class WebApps { * @param callback The callback */ listProcesses(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listProcesses(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listProcesses(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4468,7 +4468,7 @@ export class WebApps { * @param callback The callback */ getProcess(resourceGroupName: string, name: string, processId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getProcess(resourceGroupName: string, name: string, processId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getProcess(resourceGroupName: string, name: string, processId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4507,7 +4507,7 @@ export class WebApps { * @param callback The callback */ deleteProcess(resourceGroupName: string, name: string, processId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteProcess(resourceGroupName: string, name: string, processId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteProcess(resourceGroupName: string, name: string, processId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4545,7 +4545,7 @@ export class WebApps { * @param callback The callback */ getProcessDump(resourceGroupName: string, name: string, processId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getProcessDump(resourceGroupName: string, name: string, processId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getProcessDump(resourceGroupName: string, name: string, processId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4584,7 +4584,7 @@ export class WebApps { * @param callback The callback */ listProcessModules(resourceGroupName: string, name: string, processId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listProcessModules(resourceGroupName: string, name: string, processId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listProcessModules(resourceGroupName: string, name: string, processId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4624,7 +4624,7 @@ export class WebApps { * @param callback The callback */ getProcessModule(resourceGroupName: string, name: string, processId: string, baseAddress: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getProcessModule(resourceGroupName: string, name: string, processId: string, baseAddress: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getProcessModule(resourceGroupName: string, name: string, processId: string, baseAddress: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4663,7 +4663,7 @@ export class WebApps { * @param callback The callback */ listProcessThreads(resourceGroupName: string, name: string, processId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listProcessThreads(resourceGroupName: string, name: string, processId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listProcessThreads(resourceGroupName: string, name: string, processId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4705,7 +4705,7 @@ export class WebApps { * @param callback The callback */ getProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4740,7 +4740,7 @@ export class WebApps { * @param callback The callback */ listPublicCertificates(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPublicCertificates(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPublicCertificates(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4776,7 +4776,7 @@ export class WebApps { * @param callback The callback */ getPublicCertificate(resourceGroupName: string, name: string, publicCertificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPublicCertificate(resourceGroupName: string, name: string, publicCertificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPublicCertificate(resourceGroupName: string, name: string, publicCertificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4819,7 +4819,7 @@ export class WebApps { * @param callback The callback */ createOrUpdatePublicCertificate(resourceGroupName: string, name: string, publicCertificateName: string, publicCertificate: Models.PublicCertificate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdatePublicCertificate(resourceGroupName: string, name: string, publicCertificateName: string, publicCertificate: Models.PublicCertificate, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdatePublicCertificate(resourceGroupName: string, name: string, publicCertificateName: string, publicCertificate: Models.PublicCertificate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4857,7 +4857,7 @@ export class WebApps { * @param callback The callback */ deletePublicCertificate(resourceGroupName: string, name: string, publicCertificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deletePublicCertificate(resourceGroupName: string, name: string, publicCertificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deletePublicCertificate(resourceGroupName: string, name: string, publicCertificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4897,7 +4897,7 @@ export class WebApps { * @param callback The callback */ listPublishingProfileXmlWithSecrets(resourceGroupName: string, name: string, publishingProfileOptions: Models.CsmPublishingProfileOptions, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPublishingProfileXmlWithSecrets(resourceGroupName: string, name: string, publishingProfileOptions: Models.CsmPublishingProfileOptions, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPublishingProfileXmlWithSecrets(resourceGroupName: string, name: string, publishingProfileOptions: Models.CsmPublishingProfileOptions, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4933,7 +4933,7 @@ export class WebApps { * @param callback The callback */ resetProductionSlotConfig(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - resetProductionSlotConfig(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + resetProductionSlotConfig(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -4966,7 +4966,7 @@ export class WebApps { * @param callback The callback */ restart(resourceGroupName: string, name: string, options: Models.WebAppsRestartOptionalParams, callback: msRest.ServiceCallback): void; - restart(resourceGroupName: string, name: string, options?: Models.WebAppsRestartOptionalParams, callback?: msRest.ServiceCallback): Promise { + restart(resourceGroupName: string, name: string, options?: Models.WebAppsRestartOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5042,7 +5042,7 @@ export class WebApps { * @param callback The callback */ listSiteExtensions(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteExtensions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteExtensions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5078,7 +5078,7 @@ export class WebApps { * @param callback The callback */ getSiteExtension(resourceGroupName: string, name: string, siteExtensionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteExtension(resourceGroupName: string, name: string, siteExtensionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSiteExtension(resourceGroupName: string, name: string, siteExtensionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5129,7 +5129,7 @@ export class WebApps { * @param callback The callback */ deleteSiteExtension(resourceGroupName: string, name: string, siteExtensionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteSiteExtension(resourceGroupName: string, name: string, siteExtensionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteSiteExtension(resourceGroupName: string, name: string, siteExtensionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5163,7 +5163,7 @@ export class WebApps { * @param callback The callback */ listSlots(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSlots(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSlots(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5199,7 +5199,7 @@ export class WebApps { * @param callback The callback */ getSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5257,7 +5257,7 @@ export class WebApps { * @param callback The callback */ deleteSlot(resourceGroupName: string, name: string, slot: string, options: Models.WebAppsDeleteSlotOptionalParams, callback: msRest.ServiceCallback): void; - deleteSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsDeleteSlotOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsDeleteSlotOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5304,7 +5304,7 @@ export class WebApps { * @param callback The callback */ updateSlot(resourceGroupName: string, name: string, siteEnvelope: Models.SitePatchResource, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSlot(resourceGroupName: string, name: string, siteEnvelope: Models.SitePatchResource, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateSlot(resourceGroupName: string, name: string, siteEnvelope: Models.SitePatchResource, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5342,7 +5342,7 @@ export class WebApps { * @param callback The callback */ analyzeCustomHostnameSlot(resourceGroupName: string, name: string, slot: string, options: Models.WebAppsAnalyzeCustomHostnameSlotOptionalParams, callback: msRest.ServiceCallback): void; - analyzeCustomHostnameSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsAnalyzeCustomHostnameSlotOptionalParams, callback?: msRest.ServiceCallback): Promise { + analyzeCustomHostnameSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsAnalyzeCustomHostnameSlotOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5385,7 +5385,7 @@ export class WebApps { * @param callback The callback */ applySlotConfigurationSlot(resourceGroupName: string, name: string, slotSwapEntity: Models.CsmSlotEntity, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - applySlotConfigurationSlot(resourceGroupName: string, name: string, slotSwapEntity: Models.CsmSlotEntity, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + applySlotConfigurationSlot(resourceGroupName: string, name: string, slotSwapEntity: Models.CsmSlotEntity, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5432,7 +5432,7 @@ export class WebApps { * @param callback The callback */ backupSlot(resourceGroupName: string, name: string, request: Models.BackupRequest, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - backupSlot(resourceGroupName: string, name: string, request: Models.BackupRequest, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + backupSlot(resourceGroupName: string, name: string, request: Models.BackupRequest, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5473,7 +5473,7 @@ export class WebApps { * @param callback The callback */ listBackupsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBackupsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBackupsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5516,7 +5516,7 @@ export class WebApps { * @param callback The callback */ getBackupStatusSlot(resourceGroupName: string, name: string, backupId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getBackupStatusSlot(resourceGroupName: string, name: string, backupId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getBackupStatusSlot(resourceGroupName: string, name: string, backupId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5560,7 +5560,7 @@ export class WebApps { * @param callback The callback */ deleteBackupSlot(resourceGroupName: string, name: string, backupId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteBackupSlot(resourceGroupName: string, name: string, backupId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteBackupSlot(resourceGroupName: string, name: string, backupId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5608,7 +5608,7 @@ export class WebApps { * @param callback The callback */ listBackupStatusSecretsSlot(resourceGroupName: string, name: string, backupId: string, request: Models.BackupRequest, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBackupStatusSecretsSlot(resourceGroupName: string, name: string, backupId: string, request: Models.BackupRequest, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBackupStatusSecretsSlot(resourceGroupName: string, name: string, backupId: string, request: Models.BackupRequest, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5667,7 +5667,7 @@ export class WebApps { * @param callback The callback */ listConfigurationsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConfigurationsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConfigurationsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5710,7 +5710,7 @@ export class WebApps { * @param callback The callback */ updateApplicationSettingsSlot(resourceGroupName: string, name: string, appSettings: Models.StringDictionary, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateApplicationSettingsSlot(resourceGroupName: string, name: string, appSettings: Models.StringDictionary, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateApplicationSettingsSlot(resourceGroupName: string, name: string, appSettings: Models.StringDictionary, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5751,7 +5751,7 @@ export class WebApps { * @param callback The callback */ listApplicationSettingsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listApplicationSettingsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listApplicationSettingsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5791,7 +5791,7 @@ export class WebApps { * @param callback The callback */ updateAuthSettingsSlot(resourceGroupName: string, name: string, siteAuthSettings: Models.SiteAuthSettings, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateAuthSettingsSlot(resourceGroupName: string, name: string, siteAuthSettings: Models.SiteAuthSettings, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateAuthSettingsSlot(resourceGroupName: string, name: string, siteAuthSettings: Models.SiteAuthSettings, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5832,7 +5832,7 @@ export class WebApps { * @param callback The callback */ getAuthSettingsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAuthSettingsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAuthSettingsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5875,7 +5875,7 @@ export class WebApps { * @param callback The callback */ updateAzureStorageAccountsSlot(resourceGroupName: string, name: string, azureStorageAccounts: Models.AzureStoragePropertyDictionaryResource, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateAzureStorageAccountsSlot(resourceGroupName: string, name: string, azureStorageAccounts: Models.AzureStoragePropertyDictionaryResource, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateAzureStorageAccountsSlot(resourceGroupName: string, name: string, azureStorageAccounts: Models.AzureStoragePropertyDictionaryResource, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5916,7 +5916,7 @@ export class WebApps { * @param callback The callback */ listAzureStorageAccountsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAzureStorageAccountsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAzureStorageAccountsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -5959,7 +5959,7 @@ export class WebApps { * @param callback The callback */ updateBackupConfigurationSlot(resourceGroupName: string, name: string, request: Models.BackupRequest, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateBackupConfigurationSlot(resourceGroupName: string, name: string, request: Models.BackupRequest, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateBackupConfigurationSlot(resourceGroupName: string, name: string, request: Models.BackupRequest, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6000,7 +6000,7 @@ export class WebApps { * @param callback The callback */ deleteBackupConfigurationSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteBackupConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteBackupConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6040,7 +6040,7 @@ export class WebApps { * @param callback The callback */ getBackupConfigurationSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getBackupConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getBackupConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6083,7 +6083,7 @@ export class WebApps { * @param callback The callback */ updateConnectionStringsSlot(resourceGroupName: string, name: string, connectionStrings: Models.ConnectionStringDictionary, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateConnectionStringsSlot(resourceGroupName: string, name: string, connectionStrings: Models.ConnectionStringDictionary, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateConnectionStringsSlot(resourceGroupName: string, name: string, connectionStrings: Models.ConnectionStringDictionary, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6124,7 +6124,7 @@ export class WebApps { * @param callback The callback */ listConnectionStringsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConnectionStringsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConnectionStringsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6164,7 +6164,7 @@ export class WebApps { * @param callback The callback */ getDiagnosticLogsConfigurationSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDiagnosticLogsConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDiagnosticLogsConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6210,7 +6210,7 @@ export class WebApps { * @param callback The callback */ updateDiagnosticLogsConfigSlot(resourceGroupName: string, name: string, siteLogsConfig: Models.SiteLogsConfig, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateDiagnosticLogsConfigSlot(resourceGroupName: string, name: string, siteLogsConfig: Models.SiteLogsConfig, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateDiagnosticLogsConfigSlot(resourceGroupName: string, name: string, siteLogsConfig: Models.SiteLogsConfig, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6254,7 +6254,7 @@ export class WebApps { * @param callback The callback */ updateMetadataSlot(resourceGroupName: string, name: string, metadata: Models.StringDictionary, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateMetadataSlot(resourceGroupName: string, name: string, metadata: Models.StringDictionary, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateMetadataSlot(resourceGroupName: string, name: string, metadata: Models.StringDictionary, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6295,7 +6295,7 @@ export class WebApps { * @param callback The callback */ listMetadataSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetadataSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetadataSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6350,7 +6350,7 @@ export class WebApps { * @param callback The callback */ updateSitePushSettingsSlot(resourceGroupName: string, name: string, pushSettings: Models.PushSettings, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSitePushSettingsSlot(resourceGroupName: string, name: string, pushSettings: Models.PushSettings, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateSitePushSettingsSlot(resourceGroupName: string, name: string, pushSettings: Models.PushSettings, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6388,7 +6388,7 @@ export class WebApps { * @param callback The callback */ listSitePushSettingsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSitePushSettingsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSitePushSettingsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6428,7 +6428,7 @@ export class WebApps { * @param callback The callback */ getSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6477,7 +6477,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6518,7 +6518,7 @@ export class WebApps { * @param callback The callback */ deleteSwiftVirtualNetworkSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteSwiftVirtualNetworkSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteSwiftVirtualNetworkSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6567,7 +6567,7 @@ export class WebApps { * @param callback The callback */ updateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6610,7 +6610,7 @@ export class WebApps { * @param callback The callback */ getConfigurationSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6653,7 +6653,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateConfigurationSlot(resourceGroupName: string, name: string, siteConfig: Models.SiteConfigResource, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateConfigurationSlot(resourceGroupName: string, name: string, siteConfig: Models.SiteConfigResource, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateConfigurationSlot(resourceGroupName: string, name: string, siteConfig: Models.SiteConfigResource, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6697,7 +6697,7 @@ export class WebApps { * @param callback The callback */ updateConfigurationSlot(resourceGroupName: string, name: string, siteConfig: Models.SiteConfigResource, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateConfigurationSlot(resourceGroupName: string, name: string, siteConfig: Models.SiteConfigResource, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateConfigurationSlot(resourceGroupName: string, name: string, siteConfig: Models.SiteConfigResource, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6740,7 +6740,7 @@ export class WebApps { * @param callback The callback */ listConfigurationSnapshotInfoSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConfigurationSnapshotInfoSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConfigurationSnapshotInfoSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6783,7 +6783,7 @@ export class WebApps { * @param callback The callback */ getConfigurationSnapshotSlot(resourceGroupName: string, name: string, snapshotId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getConfigurationSnapshotSlot(resourceGroupName: string, name: string, snapshotId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getConfigurationSnapshotSlot(resourceGroupName: string, name: string, snapshotId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6827,7 +6827,7 @@ export class WebApps { * @param callback The callback */ recoverSiteConfigurationSnapshotSlot(resourceGroupName: string, name: string, snapshotId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - recoverSiteConfigurationSnapshotSlot(resourceGroupName: string, name: string, snapshotId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + recoverSiteConfigurationSnapshotSlot(resourceGroupName: string, name: string, snapshotId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6865,7 +6865,7 @@ export class WebApps { * @param callback The callback */ getWebSiteContainerLogsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getWebSiteContainerLogsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getWebSiteContainerLogsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6902,7 +6902,7 @@ export class WebApps { * @param callback The callback */ getContainerLogsZipSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getContainerLogsZipSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getContainerLogsZipSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6942,7 +6942,7 @@ export class WebApps { * @param callback The callback */ listContinuousWebJobsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listContinuousWebJobsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listContinuousWebJobsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -6985,7 +6985,7 @@ export class WebApps { * @param callback The callback */ getContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7029,7 +7029,7 @@ export class WebApps { * @param callback The callback */ deleteContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7073,7 +7073,7 @@ export class WebApps { * @param callback The callback */ startContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - startContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + startContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7117,7 +7117,7 @@ export class WebApps { * @param callback The callback */ stopContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - stopContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + stopContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7158,7 +7158,7 @@ export class WebApps { * @param callback The callback */ listDeploymentsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDeploymentsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDeploymentsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7201,7 +7201,7 @@ export class WebApps { * @param callback The callback */ getDeploymentSlot(resourceGroupName: string, name: string, id: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDeploymentSlot(resourceGroupName: string, name: string, id: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDeploymentSlot(resourceGroupName: string, name: string, id: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7248,7 +7248,7 @@ export class WebApps { * @param callback The callback */ createDeploymentSlot(resourceGroupName: string, name: string, id: string, slot: string, deployment: Models.Deployment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createDeploymentSlot(resourceGroupName: string, name: string, id: string, slot: string, deployment: Models.Deployment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createDeploymentSlot(resourceGroupName: string, name: string, id: string, slot: string, deployment: Models.Deployment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7293,7 +7293,7 @@ export class WebApps { * @param callback The callback */ deleteDeploymentSlot(resourceGroupName: string, name: string, id: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteDeploymentSlot(resourceGroupName: string, name: string, id: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteDeploymentSlot(resourceGroupName: string, name: string, id: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7340,7 +7340,7 @@ export class WebApps { * @param callback The callback */ listDeploymentLogSlot(resourceGroupName: string, name: string, id: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDeploymentLogSlot(resourceGroupName: string, name: string, id: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDeploymentLogSlot(resourceGroupName: string, name: string, id: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7389,7 +7389,7 @@ export class WebApps { * @param callback The callback */ discoverBackupSlot(resourceGroupName: string, name: string, request: Models.RestoreRequest, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - discoverBackupSlot(resourceGroupName: string, name: string, request: Models.RestoreRequest, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + discoverBackupSlot(resourceGroupName: string, name: string, request: Models.RestoreRequest, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7430,7 +7430,7 @@ export class WebApps { * @param callback The callback */ listDomainOwnershipIdentifiersSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDomainOwnershipIdentifiersSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDomainOwnershipIdentifiersSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7473,7 +7473,7 @@ export class WebApps { * @param callback The callback */ getDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7521,7 +7521,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Models.Identifier, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Models.Identifier, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Models.Identifier, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7566,7 +7566,7 @@ export class WebApps { * @param callback The callback */ deleteDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7614,7 +7614,7 @@ export class WebApps { * @param callback The callback */ updateDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Models.Identifier, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Models.Identifier, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Models.Identifier, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7653,7 +7653,7 @@ export class WebApps { * @param callback The callback */ getMSDeployStatusSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMSDeployStatusSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMSDeployStatusSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7705,7 +7705,7 @@ export class WebApps { * @param callback The callback */ getMSDeployLogSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMSDeployLogSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMSDeployLogSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7745,7 +7745,7 @@ export class WebApps { * @param callback The callback */ listInstanceFunctionsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceFunctionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceFunctionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7782,7 +7782,7 @@ export class WebApps { * @param callback The callback */ getFunctionsAdminTokenSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getFunctionsAdminTokenSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getFunctionsAdminTokenSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7825,7 +7825,7 @@ export class WebApps { * @param callback The callback */ getInstanceFunctionSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceFunctionSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceFunctionSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7886,7 +7886,7 @@ export class WebApps { * @param callback The callback */ deleteInstanceFunctionSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteInstanceFunctionSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteInstanceFunctionSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7930,7 +7930,7 @@ export class WebApps { * @param callback The callback */ listFunctionSecretsSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listFunctionSecretsSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listFunctionSecretsSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -7971,7 +7971,7 @@ export class WebApps { * @param callback The callback */ listHostNameBindingsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHostNameBindingsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listHostNameBindingsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8014,7 +8014,7 @@ export class WebApps { * @param callback The callback */ getHostNameBindingSlot(resourceGroupName: string, name: string, slot: string, hostName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getHostNameBindingSlot(resourceGroupName: string, name: string, slot: string, hostName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getHostNameBindingSlot(resourceGroupName: string, name: string, slot: string, hostName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8064,7 +8064,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateHostNameBindingSlot(resourceGroupName: string, name: string, hostName: string, hostNameBinding: Models.HostNameBinding, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateHostNameBindingSlot(resourceGroupName: string, name: string, hostName: string, hostNameBinding: Models.HostNameBinding, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateHostNameBindingSlot(resourceGroupName: string, name: string, hostName: string, hostNameBinding: Models.HostNameBinding, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8109,7 +8109,7 @@ export class WebApps { * @param callback The callback */ deleteHostNameBindingSlot(resourceGroupName: string, name: string, slot: string, hostName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteHostNameBindingSlot(resourceGroupName: string, name: string, slot: string, hostName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteHostNameBindingSlot(resourceGroupName: string, name: string, slot: string, hostName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8153,7 +8153,7 @@ export class WebApps { * @param callback The callback */ getHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8201,7 +8201,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: Models.HybridConnection, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: Models.HybridConnection, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: Models.HybridConnection, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8247,7 +8247,7 @@ export class WebApps { * @param callback The callback */ deleteHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8295,7 +8295,7 @@ export class WebApps { * @param callback The callback */ updateHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: Models.HybridConnection, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: Models.HybridConnection, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: Models.HybridConnection, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8341,7 +8341,7 @@ export class WebApps { * @param callback The callback */ listHybridConnectionKeysSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHybridConnectionKeysSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listHybridConnectionKeysSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8380,7 +8380,7 @@ export class WebApps { * @param callback The callback */ listHybridConnectionsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHybridConnectionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listHybridConnectionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8420,7 +8420,7 @@ export class WebApps { * @param callback The callback */ listRelayServiceConnectionsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRelayServiceConnectionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRelayServiceConnectionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8463,7 +8463,7 @@ export class WebApps { * @param callback The callback */ getRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8511,7 +8511,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: Models.RelayServiceConnectionEntity, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: Models.RelayServiceConnectionEntity, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: Models.RelayServiceConnectionEntity, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8556,7 +8556,7 @@ export class WebApps { * @param callback The callback */ deleteRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8604,7 +8604,7 @@ export class WebApps { * @param callback The callback */ updateRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: Models.RelayServiceConnectionEntity, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: Models.RelayServiceConnectionEntity, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: Models.RelayServiceConnectionEntity, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8646,7 +8646,7 @@ export class WebApps { * @param callback The callback */ listInstanceIdentifiersSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceIdentifiersSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceIdentifiersSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8686,7 +8686,7 @@ export class WebApps { * @param callback The callback */ getInstanceMsDeployStatusSlot(resourceGroupName: string, name: string, slot: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceMsDeployStatusSlot(resourceGroupName: string, name: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceMsDeployStatusSlot(resourceGroupName: string, name: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8743,7 +8743,7 @@ export class WebApps { * @param callback The callback */ getInstanceMSDeployLogSlot(resourceGroupName: string, name: string, slot: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceMSDeployLogSlot(resourceGroupName: string, name: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceMSDeployLogSlot(resourceGroupName: string, name: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8792,7 +8792,7 @@ export class WebApps { * @param callback The callback */ listInstanceProcessesSlot(resourceGroupName: string, name: string, slot: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceProcessesSlot(resourceGroupName: string, name: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceProcessesSlot(resourceGroupName: string, name: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8842,7 +8842,7 @@ export class WebApps { * @param callback The callback */ getInstanceProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8895,7 +8895,7 @@ export class WebApps { * @param callback The callback */ deleteInstanceProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteInstanceProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteInstanceProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -8947,7 +8947,7 @@ export class WebApps { * @param callback The callback */ getInstanceProcessDumpSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceProcessDumpSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceProcessDumpSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9000,7 +9000,7 @@ export class WebApps { * @param callback The callback */ listInstanceProcessModulesSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceProcessModulesSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceProcessModulesSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9054,7 +9054,7 @@ export class WebApps { * @param callback The callback */ getInstanceProcessModuleSlot(resourceGroupName: string, name: string, processId: string, baseAddress: string, slot: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceProcessModuleSlot(resourceGroupName: string, name: string, processId: string, baseAddress: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceProcessModuleSlot(resourceGroupName: string, name: string, processId: string, baseAddress: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9107,7 +9107,7 @@ export class WebApps { * @param callback The callback */ listInstanceProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9163,7 +9163,7 @@ export class WebApps { * @param callback The callback */ getInstanceProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9206,7 +9206,7 @@ export class WebApps { * @param callback The callback */ isCloneableSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - isCloneableSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + isCloneableSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9246,7 +9246,7 @@ export class WebApps { * @param callback The callback */ listSyncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSyncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSyncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9286,7 +9286,7 @@ export class WebApps { * @param callback The callback */ listMetricDefinitionsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinitionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinitionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9326,7 +9326,7 @@ export class WebApps { * @param callback The callback */ listMetricsSlot(resourceGroupName: string, name: string, slot: string, options: Models.WebAppsListMetricsSlotOptionalParams, callback: msRest.ServiceCallback): void; - listMetricsSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsListMetricsSlotOptionalParams, callback?: msRest.ServiceCallback): Promise { + listMetricsSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsListMetricsSlotOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9365,7 +9365,7 @@ export class WebApps { * @param callback The callback */ getMigrateMySqlStatusSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMigrateMySqlStatusSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMigrateMySqlStatusSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9408,7 +9408,7 @@ export class WebApps { * @param callback The callback */ listNetworkFeaturesSlot(resourceGroupName: string, name: string, view: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNetworkFeaturesSlot(resourceGroupName: string, name: string, view: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNetworkFeaturesSlot(resourceGroupName: string, name: string, view: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9453,7 +9453,7 @@ export class WebApps { * @param callback The callback */ getNetworkTraceOperationSlot(resourceGroupName: string, name: string, operationId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getNetworkTraceOperationSlot(resourceGroupName: string, name: string, operationId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getNetworkTraceOperationSlot(resourceGroupName: string, name: string, operationId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9491,7 +9491,7 @@ export class WebApps { * @param callback The callback */ startWebSiteNetworkTraceSlot(resourceGroupName: string, name: string, slot: string, options: Models.WebAppsStartWebSiteNetworkTraceSlotOptionalParams, callback: msRest.ServiceCallback): void; - startWebSiteNetworkTraceSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsStartWebSiteNetworkTraceSlotOptionalParams, callback?: msRest.ServiceCallback): Promise { + startWebSiteNetworkTraceSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsStartWebSiteNetworkTraceSlotOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9542,7 +9542,7 @@ export class WebApps { * @param callback The callback */ stopWebSiteNetworkTraceSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - stopWebSiteNetworkTraceSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + stopWebSiteNetworkTraceSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9586,7 +9586,7 @@ export class WebApps { * @param callback The callback */ getNetworkTracesSlot(resourceGroupName: string, name: string, operationId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getNetworkTracesSlot(resourceGroupName: string, name: string, operationId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getNetworkTracesSlot(resourceGroupName: string, name: string, operationId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9631,7 +9631,7 @@ export class WebApps { * @param callback The callback */ getNetworkTraceOperationSlotV2(resourceGroupName: string, name: string, operationId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getNetworkTraceOperationSlotV2(resourceGroupName: string, name: string, operationId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getNetworkTraceOperationSlotV2(resourceGroupName: string, name: string, operationId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9676,7 +9676,7 @@ export class WebApps { * @param callback The callback */ getNetworkTracesSlotV2(resourceGroupName: string, name: string, operationId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getNetworkTracesSlotV2(resourceGroupName: string, name: string, operationId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getNetworkTracesSlotV2(resourceGroupName: string, name: string, operationId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9717,7 +9717,7 @@ export class WebApps { * @param callback The callback */ generateNewSitePublishingPasswordSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - generateNewSitePublishingPasswordSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + generateNewSitePublishingPasswordSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9754,7 +9754,7 @@ export class WebApps { * @param callback The callback */ listPerfMonCountersSlot(resourceGroupName: string, name: string, slot: string, options: Models.WebAppsListPerfMonCountersSlotOptionalParams, callback: msRest.ServiceCallback): void; - listPerfMonCountersSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsListPerfMonCountersSlotOptionalParams, callback?: msRest.ServiceCallback): Promise { + listPerfMonCountersSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsListPerfMonCountersSlotOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9791,7 +9791,7 @@ export class WebApps { * @param callback The callback */ getSitePhpErrorLogFlagSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSitePhpErrorLogFlagSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSitePhpErrorLogFlagSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9831,7 +9831,7 @@ export class WebApps { * @param callback The callback */ listPremierAddOnsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPremierAddOnsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPremierAddOnsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9874,7 +9874,7 @@ export class WebApps { * @param callback The callback */ getPremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9921,7 +9921,7 @@ export class WebApps { * @param callback The callback */ addPremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: Models.PremierAddOn, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addPremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: Models.PremierAddOn, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addPremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: Models.PremierAddOn, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9966,7 +9966,7 @@ export class WebApps { * @param callback The callback */ deletePremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deletePremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deletePremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10013,7 +10013,7 @@ export class WebApps { * @param callback The callback */ updatePremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: Models.PremierAddOnPatchResource, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updatePremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: Models.PremierAddOnPatchResource, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updatePremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: Models.PremierAddOnPatchResource, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10054,7 +10054,7 @@ export class WebApps { * @param callback The callback */ getPrivateAccessSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPrivateAccessSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPrivateAccessSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10096,7 +10096,7 @@ export class WebApps { * @param callback The callback */ putPrivateAccessVnetSlot(resourceGroupName: string, name: string, access: Models.PrivateAccess, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - putPrivateAccessVnetSlot(resourceGroupName: string, name: string, access: Models.PrivateAccess, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + putPrivateAccessVnetSlot(resourceGroupName: string, name: string, access: Models.PrivateAccess, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10139,7 +10139,7 @@ export class WebApps { * @param callback The callback */ listProcessesSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listProcessesSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listProcessesSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10182,7 +10182,7 @@ export class WebApps { * @param callback The callback */ getProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10228,7 +10228,7 @@ export class WebApps { * @param callback The callback */ deleteProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10273,7 +10273,7 @@ export class WebApps { * @param callback The callback */ getProcessDumpSlot(resourceGroupName: string, name: string, processId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getProcessDumpSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getProcessDumpSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10319,7 +10319,7 @@ export class WebApps { * @param callback The callback */ listProcessModulesSlot(resourceGroupName: string, name: string, processId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listProcessModulesSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listProcessModulesSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10366,7 +10366,7 @@ export class WebApps { * @param callback The callback */ getProcessModuleSlot(resourceGroupName: string, name: string, processId: string, baseAddress: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getProcessModuleSlot(resourceGroupName: string, name: string, processId: string, baseAddress: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getProcessModuleSlot(resourceGroupName: string, name: string, processId: string, baseAddress: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10412,7 +10412,7 @@ export class WebApps { * @param callback The callback */ listProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10461,7 +10461,7 @@ export class WebApps { * @param callback The callback */ getProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10503,7 +10503,7 @@ export class WebApps { * @param callback The callback */ listPublicCertificatesSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPublicCertificatesSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPublicCertificatesSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10546,7 +10546,7 @@ export class WebApps { * @param callback The callback */ getPublicCertificateSlot(resourceGroupName: string, name: string, slot: string, publicCertificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPublicCertificateSlot(resourceGroupName: string, name: string, slot: string, publicCertificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPublicCertificateSlot(resourceGroupName: string, name: string, slot: string, publicCertificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10596,7 +10596,7 @@ export class WebApps { * @param callback The callback */ createOrUpdatePublicCertificateSlot(resourceGroupName: string, name: string, publicCertificateName: string, publicCertificate: Models.PublicCertificate, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdatePublicCertificateSlot(resourceGroupName: string, name: string, publicCertificateName: string, publicCertificate: Models.PublicCertificate, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdatePublicCertificateSlot(resourceGroupName: string, name: string, publicCertificateName: string, publicCertificate: Models.PublicCertificate, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10641,7 +10641,7 @@ export class WebApps { * @param callback The callback */ deletePublicCertificateSlot(resourceGroupName: string, name: string, slot: string, publicCertificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deletePublicCertificateSlot(resourceGroupName: string, name: string, slot: string, publicCertificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deletePublicCertificateSlot(resourceGroupName: string, name: string, slot: string, publicCertificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10688,7 +10688,7 @@ export class WebApps { * @param callback The callback */ listPublishingProfileXmlWithSecretsSlot(resourceGroupName: string, name: string, publishingProfileOptions: Models.CsmPublishingProfileOptions, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPublishingProfileXmlWithSecretsSlot(resourceGroupName: string, name: string, publishingProfileOptions: Models.CsmPublishingProfileOptions, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPublishingProfileXmlWithSecretsSlot(resourceGroupName: string, name: string, publishingProfileOptions: Models.CsmPublishingProfileOptions, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10731,7 +10731,7 @@ export class WebApps { * @param callback The callback */ resetSlotConfigurationSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - resetSlotConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + resetSlotConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10771,7 +10771,7 @@ export class WebApps { * @param callback The callback */ restartSlot(resourceGroupName: string, name: string, slot: string, options: Models.WebAppsRestartSlotOptionalParams, callback: msRest.ServiceCallback): void; - restartSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsRestartSlotOptionalParams, callback?: msRest.ServiceCallback): Promise { + restartSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsRestartSlotOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10858,7 +10858,7 @@ export class WebApps { * @param callback The callback */ listSiteExtensionsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteExtensionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteExtensionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10901,7 +10901,7 @@ export class WebApps { * @param callback The callback */ getSiteExtensionSlot(resourceGroupName: string, name: string, siteExtensionId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteExtensionSlot(resourceGroupName: string, name: string, siteExtensionId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSiteExtensionSlot(resourceGroupName: string, name: string, siteExtensionId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -10961,7 +10961,7 @@ export class WebApps { * @param callback The callback */ deleteSiteExtensionSlot(resourceGroupName: string, name: string, siteExtensionId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteSiteExtensionSlot(resourceGroupName: string, name: string, siteExtensionId: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteSiteExtensionSlot(resourceGroupName: string, name: string, siteExtensionId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11005,7 +11005,7 @@ export class WebApps { * @param callback The callback */ listSlotDifferencesSlot(resourceGroupName: string, name: string, slotSwapEntity: Models.CsmSlotEntity, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSlotDifferencesSlot(resourceGroupName: string, name: string, slotSwapEntity: Models.CsmSlotEntity, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSlotDifferencesSlot(resourceGroupName: string, name: string, slotSwapEntity: Models.CsmSlotEntity, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11059,7 +11059,7 @@ export class WebApps { * @param callback The callback */ listSnapshotsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSnapshotsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSnapshotsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11071,6 +11071,43 @@ export class WebApps { callback) as Promise; } + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * @summary Returns all Snapshots to the user from DRSecondary endpoint. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website Name. + * @param slot Website Slot. + * @param [options] The optional parameters + * @returns Promise + */ + listSnapshotsFromDRSecondarySlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website Name. + * @param slot Website Slot. + * @param callback The callback + */ + listSnapshotsFromDRSecondarySlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website Name. + * @param slot Website Slot. + * @param options The optional parameters + * @param callback The callback + */ + listSnapshotsFromDRSecondarySlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSnapshotsFromDRSecondarySlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + slot, + options + }, + listSnapshotsFromDRSecondarySlotOperationSpec, + callback) as Promise; + } + /** * Gets the source control configuration of an app. * @summary Gets the source control configuration of an app. @@ -11099,7 +11136,7 @@ export class WebApps { * @param callback The callback */ getSourceControlSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSourceControlSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSourceControlSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11155,7 +11192,7 @@ export class WebApps { * @param callback The callback */ deleteSourceControlSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteSourceControlSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteSourceControlSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11198,7 +11235,7 @@ export class WebApps { * @param callback The callback */ updateSourceControlSlot(resourceGroupName: string, name: string, siteSourceControl: Models.SiteSourceControl, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSourceControlSlot(resourceGroupName: string, name: string, siteSourceControl: Models.SiteSourceControl, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateSourceControlSlot(resourceGroupName: string, name: string, siteSourceControl: Models.SiteSourceControl, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11239,7 +11276,7 @@ export class WebApps { * @param callback The callback */ startSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - startSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + startSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11293,7 +11330,7 @@ export class WebApps { * @param callback The callback */ stopSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - stopSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + stopSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11330,7 +11367,7 @@ export class WebApps { * @param callback The callback */ stopNetworkTraceSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - stopNetworkTraceSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + stopNetworkTraceSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11367,7 +11404,7 @@ export class WebApps { * @param callback The callback */ syncRepositorySlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - syncRepositorySlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + syncRepositorySlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11407,7 +11444,7 @@ export class WebApps { * @param callback The callback */ syncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - syncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + syncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11447,7 +11484,7 @@ export class WebApps { * @param callback The callback */ listTriggeredWebJobsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listTriggeredWebJobsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listTriggeredWebJobsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11490,7 +11527,7 @@ export class WebApps { * @param callback The callback */ getTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11534,7 +11571,7 @@ export class WebApps { * @param callback The callback */ deleteTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11578,7 +11615,7 @@ export class WebApps { * @param callback The callback */ listTriggeredWebJobHistorySlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listTriggeredWebJobHistorySlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listTriggeredWebJobHistorySlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11625,7 +11662,7 @@ export class WebApps { * @param callback The callback */ getTriggeredWebJobHistorySlot(resourceGroupName: string, name: string, webJobName: string, id: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getTriggeredWebJobHistorySlot(resourceGroupName: string, name: string, webJobName: string, id: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getTriggeredWebJobHistorySlot(resourceGroupName: string, name: string, webJobName: string, id: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11670,7 +11707,7 @@ export class WebApps { * @param callback The callback */ runTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - runTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + runTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11711,7 +11748,7 @@ export class WebApps { * @param callback The callback */ listUsagesSlot(resourceGroupName: string, name: string, slot: string, options: Models.WebAppsListUsagesSlotOptionalParams, callback: msRest.ServiceCallback): void; - listUsagesSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsListUsagesSlotOptionalParams, callback?: msRest.ServiceCallback): Promise { + listUsagesSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsListUsagesSlotOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11751,7 +11788,7 @@ export class WebApps { * @param callback The callback */ listVnetConnectionsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listVnetConnectionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listVnetConnectionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11794,7 +11831,7 @@ export class WebApps { * @param callback The callback */ getVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11843,7 +11880,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: Models.VnetInfo, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: Models.VnetInfo, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: Models.VnetInfo, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11888,7 +11925,7 @@ export class WebApps { * @param callback The callback */ deleteVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11937,7 +11974,7 @@ export class WebApps { * @param callback The callback */ updateVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: Models.VnetInfo, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: Models.VnetInfo, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: Models.VnetInfo, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -11985,7 +12022,7 @@ export class WebApps { * @param callback The callback */ getVnetConnectionGatewaySlot(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getVnetConnectionGatewaySlot(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getVnetConnectionGatewaySlot(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12036,7 +12073,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateVnetConnectionGatewaySlot(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateVnetConnectionGatewaySlot(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateVnetConnectionGatewaySlot(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12088,7 +12125,7 @@ export class WebApps { * @param callback The callback */ updateVnetConnectionGatewaySlot(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateVnetConnectionGatewaySlot(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateVnetConnectionGatewaySlot(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12131,7 +12168,7 @@ export class WebApps { * @param callback The callback */ listWebJobsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebJobsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWebJobsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12174,7 +12211,7 @@ export class WebApps { * @param callback The callback */ getWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12212,7 +12249,7 @@ export class WebApps { * @param callback The callback */ listSlotDifferencesFromProduction(resourceGroupName: string, name: string, slotSwapEntity: Models.CsmSlotEntity, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSlotDifferencesFromProduction(resourceGroupName: string, name: string, slotSwapEntity: Models.CsmSlotEntity, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSlotDifferencesFromProduction(resourceGroupName: string, name: string, slotSwapEntity: Models.CsmSlotEntity, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12260,7 +12297,7 @@ export class WebApps { * @param callback The callback */ listSnapshots(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSnapshots(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSnapshots(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12271,6 +12308,39 @@ export class WebApps { callback) as Promise; } + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * @summary Returns all Snapshots to the user from DRSecondary endpoint. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website Name. + * @param [options] The optional parameters + * @returns Promise + */ + listSnapshotsFromDRSecondary(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website Name. + * @param callback The callback + */ + listSnapshotsFromDRSecondary(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website Name. + * @param options The optional parameters + * @param callback The callback + */ + listSnapshotsFromDRSecondary(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSnapshotsFromDRSecondary(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + listSnapshotsFromDRSecondaryOperationSpec, + callback) as Promise; + } + /** * Gets the source control configuration of an app. * @summary Gets the source control configuration of an app. @@ -12293,7 +12363,7 @@ export class WebApps { * @param callback The callback */ getSourceControl(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSourceControl(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSourceControl(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12340,7 +12410,7 @@ export class WebApps { * @param callback The callback */ deleteSourceControl(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteSourceControl(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteSourceControl(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12376,7 +12446,7 @@ export class WebApps { * @param callback The callback */ updateSourceControl(resourceGroupName: string, name: string, siteSourceControl: Models.SiteSourceControl, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSourceControl(resourceGroupName: string, name: string, siteSourceControl: Models.SiteSourceControl, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateSourceControl(resourceGroupName: string, name: string, siteSourceControl: Models.SiteSourceControl, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12410,7 +12480,7 @@ export class WebApps { * @param callback The callback */ start(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - start(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + start(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12456,7 +12526,7 @@ export class WebApps { * @param callback The callback */ stop(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - stop(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + stop(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12489,7 +12559,7 @@ export class WebApps { * @param callback The callback */ stopNetworkTrace(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - stopNetworkTrace(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + stopNetworkTrace(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12522,7 +12592,7 @@ export class WebApps { * @param callback The callback */ syncRepository(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - syncRepository(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + syncRepository(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12555,7 +12625,7 @@ export class WebApps { * @param callback The callback */ syncFunctionTriggers(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - syncFunctionTriggers(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + syncFunctionTriggers(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12588,7 +12658,7 @@ export class WebApps { * @param callback The callback */ listTriggeredWebJobs(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listTriggeredWebJobs(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listTriggeredWebJobs(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12624,7 +12694,7 @@ export class WebApps { * @param callback The callback */ getTriggeredWebJob(resourceGroupName: string, name: string, webJobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getTriggeredWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getTriggeredWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12661,7 +12731,7 @@ export class WebApps { * @param callback The callback */ deleteTriggeredWebJob(resourceGroupName: string, name: string, webJobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteTriggeredWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteTriggeredWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12698,7 +12768,7 @@ export class WebApps { * @param callback The callback */ listTriggeredWebJobHistory(resourceGroupName: string, name: string, webJobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listTriggeredWebJobHistory(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listTriggeredWebJobHistory(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12738,7 +12808,7 @@ export class WebApps { * @param callback The callback */ getTriggeredWebJobHistory(resourceGroupName: string, name: string, webJobName: string, id: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getTriggeredWebJobHistory(resourceGroupName: string, name: string, webJobName: string, id: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getTriggeredWebJobHistory(resourceGroupName: string, name: string, webJobName: string, id: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12776,7 +12846,7 @@ export class WebApps { * @param callback The callback */ runTriggeredWebJob(resourceGroupName: string, name: string, webJobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - runTriggeredWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + runTriggeredWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12810,7 +12880,7 @@ export class WebApps { * @param callback The callback */ listUsages(resourceGroupName: string, name: string, options: Models.WebAppsListUsagesOptionalParams, callback: msRest.ServiceCallback): void; - listUsages(resourceGroupName: string, name: string, options?: Models.WebAppsListUsagesOptionalParams, callback?: msRest.ServiceCallback): Promise { + listUsages(resourceGroupName: string, name: string, options?: Models.WebAppsListUsagesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12843,7 +12913,7 @@ export class WebApps { * @param callback The callback */ listVnetConnections(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listVnetConnections(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listVnetConnections(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12879,7 +12949,7 @@ export class WebApps { * @param callback The callback */ getVnetConnection(resourceGroupName: string, name: string, vnetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getVnetConnection(resourceGroupName: string, name: string, vnetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getVnetConnection(resourceGroupName: string, name: string, vnetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12921,7 +12991,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateVnetConnection(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: Models.VnetInfo, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateVnetConnection(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: Models.VnetInfo, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateVnetConnection(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: Models.VnetInfo, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -12959,7 +13029,7 @@ export class WebApps { * @param callback The callback */ deleteVnetConnection(resourceGroupName: string, name: string, vnetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteVnetConnection(resourceGroupName: string, name: string, vnetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteVnetConnection(resourceGroupName: string, name: string, vnetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -13001,7 +13071,7 @@ export class WebApps { * @param callback The callback */ updateVnetConnection(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: Models.VnetInfo, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateVnetConnection(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: Models.VnetInfo, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateVnetConnection(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: Models.VnetInfo, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -13042,7 +13112,7 @@ export class WebApps { * @param callback The callback */ getVnetConnectionGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getVnetConnectionGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getVnetConnectionGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -13086,7 +13156,7 @@ export class WebApps { * @param callback The callback */ createOrUpdateVnetConnectionGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateVnetConnectionGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateVnetConnectionGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -13131,7 +13201,7 @@ export class WebApps { * @param callback The callback */ updateVnetConnectionGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateVnetConnectionGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateVnetConnectionGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: Models.VnetGateway, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -13167,7 +13237,7 @@ export class WebApps { * @param callback The callback */ listWebJobs(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebJobs(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWebJobs(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -13203,7 +13273,7 @@ export class WebApps { * @param callback The callback */ getWebJob(resourceGroupName: string, name: string, webJobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getWebJob(resourceGroupName: string, name: string, webJobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -13908,7 +13978,7 @@ export class WebApps { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -13937,7 +14007,7 @@ export class WebApps { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -13966,7 +14036,7 @@ export class WebApps { * @param callback The callback */ listBackupsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBackupsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBackupsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -13995,7 +14065,7 @@ export class WebApps { * @param callback The callback */ listConfigurationsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConfigurationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConfigurationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14026,7 +14096,7 @@ export class WebApps { * @param callback The callback */ listConfigurationSnapshotInfoNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConfigurationSnapshotInfoNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConfigurationSnapshotInfoNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14055,7 +14125,7 @@ export class WebApps { * @param callback The callback */ listContinuousWebJobsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listContinuousWebJobsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listContinuousWebJobsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14084,7 +14154,7 @@ export class WebApps { * @param callback The callback */ listDeploymentsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDeploymentsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDeploymentsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14113,7 +14183,7 @@ export class WebApps { * @param callback The callback */ listDomainOwnershipIdentifiersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDomainOwnershipIdentifiersNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDomainOwnershipIdentifiersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14142,7 +14212,7 @@ export class WebApps { * @param callback The callback */ listFunctionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listFunctionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listFunctionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14171,7 +14241,7 @@ export class WebApps { * @param callback The callback */ listHostNameBindingsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHostNameBindingsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listHostNameBindingsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14200,7 +14270,7 @@ export class WebApps { * @param callback The callback */ listInstanceIdentifiersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceIdentifiersNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceIdentifiersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14231,7 +14301,7 @@ export class WebApps { * @param callback The callback */ listInstanceProcessesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceProcessesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceProcessesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14262,7 +14332,7 @@ export class WebApps { * @param callback The callback */ listInstanceProcessModulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceProcessModulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceProcessModulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14292,7 +14362,7 @@ export class WebApps { * @param callback The callback */ listInstanceProcessThreadsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceProcessThreadsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceProcessThreadsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14321,7 +14391,7 @@ export class WebApps { * @param callback The callback */ listMetricDefinitionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14350,7 +14420,7 @@ export class WebApps { * @param callback The callback */ listMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14379,7 +14449,7 @@ export class WebApps { * @param callback The callback */ listPerfMonCountersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPerfMonCountersNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPerfMonCountersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14410,7 +14480,7 @@ export class WebApps { * @param callback The callback */ listProcessesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listProcessesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listProcessesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14441,7 +14511,7 @@ export class WebApps { * @param callback The callback */ listProcessModulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listProcessModulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listProcessModulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14471,7 +14541,7 @@ export class WebApps { * @param callback The callback */ listProcessThreadsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listProcessThreadsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listProcessThreadsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14500,7 +14570,7 @@ export class WebApps { * @param callback The callback */ listPublicCertificatesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPublicCertificatesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPublicCertificatesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14529,7 +14599,7 @@ export class WebApps { * @param callback The callback */ listSiteExtensionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteExtensionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteExtensionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14558,7 +14628,7 @@ export class WebApps { * @param callback The callback */ listSlotsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSlotsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSlotsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14587,7 +14657,7 @@ export class WebApps { * @param callback The callback */ listBackupsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBackupsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBackupsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14616,7 +14686,7 @@ export class WebApps { * @param callback The callback */ listConfigurationsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConfigurationsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConfigurationsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14647,7 +14717,7 @@ export class WebApps { * @param callback The callback */ listConfigurationSnapshotInfoSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConfigurationSnapshotInfoSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConfigurationSnapshotInfoSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14676,7 +14746,7 @@ export class WebApps { * @param callback The callback */ listContinuousWebJobsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listContinuousWebJobsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listContinuousWebJobsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14705,7 +14775,7 @@ export class WebApps { * @param callback The callback */ listDeploymentsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDeploymentsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDeploymentsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14734,7 +14804,7 @@ export class WebApps { * @param callback The callback */ listDomainOwnershipIdentifiersSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDomainOwnershipIdentifiersSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDomainOwnershipIdentifiersSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14763,7 +14833,7 @@ export class WebApps { * @param callback The callback */ listInstanceFunctionsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceFunctionsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceFunctionsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14792,7 +14862,7 @@ export class WebApps { * @param callback The callback */ listHostNameBindingsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHostNameBindingsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listHostNameBindingsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14821,7 +14891,7 @@ export class WebApps { * @param callback The callback */ listInstanceIdentifiersSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceIdentifiersSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceIdentifiersSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14852,7 +14922,7 @@ export class WebApps { * @param callback The callback */ listInstanceProcessesSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceProcessesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceProcessesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14883,7 +14953,7 @@ export class WebApps { * @param callback The callback */ listInstanceProcessModulesSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceProcessModulesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceProcessModulesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14913,7 +14983,7 @@ export class WebApps { * @param callback The callback */ listInstanceProcessThreadsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listInstanceProcessThreadsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listInstanceProcessThreadsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14942,7 +15012,7 @@ export class WebApps { * @param callback The callback */ listMetricDefinitionsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinitionsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinitionsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -14971,7 +15041,7 @@ export class WebApps { * @param callback The callback */ listMetricsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15000,7 +15070,7 @@ export class WebApps { * @param callback The callback */ listPerfMonCountersSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPerfMonCountersSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPerfMonCountersSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15031,7 +15101,7 @@ export class WebApps { * @param callback The callback */ listProcessesSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listProcessesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listProcessesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15062,7 +15132,7 @@ export class WebApps { * @param callback The callback */ listProcessModulesSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listProcessModulesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listProcessModulesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15092,7 +15162,7 @@ export class WebApps { * @param callback The callback */ listProcessThreadsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listProcessThreadsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listProcessThreadsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15121,7 +15191,7 @@ export class WebApps { * @param callback The callback */ listPublicCertificatesSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPublicCertificatesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPublicCertificatesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15150,7 +15220,7 @@ export class WebApps { * @param callback The callback */ listSiteExtensionsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteExtensionsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteExtensionsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15179,7 +15249,7 @@ export class WebApps { * @param callback The callback */ listSlotDifferencesSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSlotDifferencesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSlotDifferencesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15208,7 +15278,7 @@ export class WebApps { * @param callback The callback */ listSnapshotsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSnapshotsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSnapshotsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15218,6 +15288,35 @@ export class WebApps { callback) as Promise; } + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * @summary Returns all Snapshots to the user from DRSecondary endpoint. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listSnapshotsFromDRSecondarySlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listSnapshotsFromDRSecondarySlotNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listSnapshotsFromDRSecondarySlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSnapshotsFromDRSecondarySlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listSnapshotsFromDRSecondarySlotNextOperationSpec, + callback) as Promise; + } + /** * List triggered web jobs for an app, or a deployment slot. * @summary List triggered web jobs for an app, or a deployment slot. @@ -15237,7 +15336,7 @@ export class WebApps { * @param callback The callback */ listTriggeredWebJobsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listTriggeredWebJobsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listTriggeredWebJobsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15266,7 +15365,7 @@ export class WebApps { * @param callback The callback */ listTriggeredWebJobHistorySlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listTriggeredWebJobHistorySlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listTriggeredWebJobHistorySlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15295,7 +15394,7 @@ export class WebApps { * @param callback The callback */ listUsagesSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listUsagesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listUsagesSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15324,7 +15423,7 @@ export class WebApps { * @param callback The callback */ listWebJobsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebJobsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWebJobsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15353,7 +15452,7 @@ export class WebApps { * @param callback The callback */ listSlotDifferencesFromProductionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSlotDifferencesFromProductionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSlotDifferencesFromProductionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15382,7 +15481,7 @@ export class WebApps { * @param callback The callback */ listSnapshotsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSnapshotsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSnapshotsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15392,6 +15491,35 @@ export class WebApps { callback) as Promise; } + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * @summary Returns all Snapshots to the user from DRSecondary endpoint. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listSnapshotsFromDRSecondaryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listSnapshotsFromDRSecondaryNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listSnapshotsFromDRSecondaryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSnapshotsFromDRSecondaryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listSnapshotsFromDRSecondaryNextOperationSpec, + callback) as Promise; + } + /** * List triggered web jobs for an app, or a deployment slot. * @summary List triggered web jobs for an app, or a deployment slot. @@ -15411,7 +15539,7 @@ export class WebApps { * @param callback The callback */ listTriggeredWebJobsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listTriggeredWebJobsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listTriggeredWebJobsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15440,7 +15568,7 @@ export class WebApps { * @param callback The callback */ listTriggeredWebJobHistoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listTriggeredWebJobHistoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listTriggeredWebJobHistoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15469,7 +15597,7 @@ export class WebApps { * @param callback The callback */ listUsagesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listUsagesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -15498,7 +15626,7 @@ export class WebApps { * @param callback The callback */ listWebJobsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebJobsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listWebJobsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -23091,6 +23219,32 @@ const listSnapshotsSlotOperationSpec: msRest.OperationSpec = { serializer }; +const listSnapshotsFromDRSecondarySlotOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshotsdr", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SnapshotCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const getSourceControlSlotOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web", @@ -23866,6 +24020,31 @@ const listSnapshotsOperationSpec: msRest.OperationSpec = { serializer }; +const listSnapshotsFromDRSecondaryOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshotsdr", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SnapshotCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const getSourceControlOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web", @@ -26579,6 +26758,27 @@ const listSnapshotsSlotNextOperationSpec: msRest.OperationSpec = { serializer }; +const listSnapshotsFromDRSecondarySlotNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SnapshotCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const listTriggeredWebJobsSlotNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -26706,6 +26906,27 @@ const listSnapshotsNextOperationSpec: msRest.OperationSpec = { serializer }; +const listSnapshotsFromDRSecondaryNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SnapshotCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const listTriggeredWebJobsNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/packages/@azure/arm-appservice/lib/webSiteManagementClient.ts b/packages/@azure/arm-appservice/lib/webSiteManagementClient.ts index b873507e44bc..fff75e64389e 100644 --- a/packages/@azure/arm-appservice/lib/webSiteManagementClient.ts +++ b/packages/@azure/arm-appservice/lib/webSiteManagementClient.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 Parameters from "./models/parameters"; @@ -74,7 +74,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ getPublishingUser(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPublishingUser(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPublishingUser(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -102,7 +102,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ updatePublishingUser(userDetails: Models.User, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updatePublishingUser(userDetails: Models.User, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updatePublishingUser(userDetails: Models.User, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { userDetails, @@ -128,7 +128,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ listSourceControls(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSourceControls(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSourceControls(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -156,7 +156,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ getSourceControl(sourceControlType: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSourceControl(sourceControlType: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSourceControl(sourceControlType: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { sourceControlType, @@ -188,7 +188,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ updateSourceControl(sourceControlType: string, requestMessage: Models.SourceControl, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSourceControl(sourceControlType: string, requestMessage: Models.SourceControl, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateSourceControl(sourceControlType: string, requestMessage: Models.SourceControl, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { sourceControlType, @@ -215,7 +215,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ listBillingMeters(options: Models.WebSiteManagementClientListBillingMetersOptionalParams, callback: msRest.ServiceCallback): void; - listBillingMeters(options?: Models.WebSiteManagementClientListBillingMetersOptionalParams, callback?: msRest.ServiceCallback): Promise { + listBillingMeters(options?: Models.WebSiteManagementClientListBillingMetersOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -252,7 +252,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ checkNameAvailability(name: string, type: Models.CheckNameResourceTypes, options: Models.WebSiteManagementClientCheckNameAvailabilityOptionalParams, callback: msRest.ServiceCallback): void; - checkNameAvailability(name: string, type: Models.CheckNameResourceTypes, options?: Models.WebSiteManagementClientCheckNameAvailabilityOptionalParams, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(name: string, type: Models.CheckNameResourceTypes, options?: Models.WebSiteManagementClientCheckNameAvailabilityOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { name, @@ -279,7 +279,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ getSubscriptionDeploymentLocations(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSubscriptionDeploymentLocations(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSubscriptionDeploymentLocations(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -304,7 +304,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ listGeoRegions(options: Models.WebSiteManagementClientListGeoRegionsOptionalParams, callback: msRest.ServiceCallback): void; - listGeoRegions(options?: Models.WebSiteManagementClientListGeoRegionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listGeoRegions(options?: Models.WebSiteManagementClientListGeoRegionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -329,7 +329,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ listSiteIdentifiersAssignedToHostName(options: Models.WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptionalParams, callback: msRest.ServiceCallback): void; - listSiteIdentifiersAssignedToHostName(options?: Models.WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptionalParams, callback?: msRest.ServiceCallback): Promise { + listSiteIdentifiersAssignedToHostName(options?: Models.WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -354,7 +354,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ listPremierAddOnOffers(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPremierAddOnOffers(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPremierAddOnOffers(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -379,7 +379,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ listSkus(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSkus(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSkus(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -409,7 +409,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ verifyHostingEnvironmentVnet(parameters: Models.VnetParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - verifyHostingEnvironmentVnet(parameters: Models.VnetParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + verifyHostingEnvironmentVnet(parameters: Models.VnetParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { parameters, @@ -441,7 +441,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ move(resourceGroupName: string, moveResourceEnvelope: Models.CsmMoveResourceEnvelope, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - move(resourceGroupName: string, moveResourceEnvelope: Models.CsmMoveResourceEnvelope, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + move(resourceGroupName: string, moveResourceEnvelope: Models.CsmMoveResourceEnvelope, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { resourceGroupName, @@ -474,7 +474,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ validate(resourceGroupName: string, validateRequest: Models.ValidateRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validate(resourceGroupName: string, validateRequest: Models.ValidateRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + validate(resourceGroupName: string, validateRequest: Models.ValidateRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { resourceGroupName, @@ -507,7 +507,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ validateMove(resourceGroupName: string, moveResourceEnvelope: Models.CsmMoveResourceEnvelope, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validateMove(resourceGroupName: string, moveResourceEnvelope: Models.CsmMoveResourceEnvelope, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + validateMove(resourceGroupName: string, moveResourceEnvelope: Models.CsmMoveResourceEnvelope, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { resourceGroupName, @@ -537,7 +537,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ listSourceControlsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSourceControlsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSourceControlsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -566,7 +566,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ listBillingMetersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBillingMetersNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBillingMetersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -595,7 +595,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ listGeoRegionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listGeoRegionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listGeoRegionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -624,7 +624,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ listSiteIdentifiersAssignedToHostNameNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSiteIdentifiersAssignedToHostNameNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSiteIdentifiersAssignedToHostNameNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -653,7 +653,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { * @param callback The callback */ listPremierAddOnOffersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPremierAddOnOffersNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPremierAddOnOffersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-appservice/lib/webSiteManagementClientContext.ts b/packages/@azure/arm-appservice/lib/webSiteManagementClientContext.ts index 6e3c6c13d538..37b97dbf47f2 100644 --- a/packages/@azure/arm-appservice/lib/webSiteManagementClientContext.ts +++ b/packages/@azure/arm-appservice/lib/webSiteManagementClientContext.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-appservice"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class WebSiteManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/packages/@azure/arm-appservice/package.json b/packages/@azure/arm-appservice/package.json index 4f3f29fe3a34..77cc77fef808 100644 --- a/packages/@azure/arm-appservice/package.json +++ b/packages/@azure/arm-appservice/package.json @@ -4,8 +4,8 @@ "description": "WebSiteManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.457", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-appservice/rollup.config.js b/packages/@azure/arm-appservice/rollup.config.js index de3d961d0a09..e6db84e58048 100644 --- a/packages/@azure/arm-appservice/rollup.config.js +++ b/packages/@azure/arm-appservice/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/webSiteManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-appservice.js", format: "umd", name: "Azure.ArmAppservice", 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-appservice/tsconfig.json b/packages/@azure/arm-appservice/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-appservice/tsconfig.json +++ b/packages/@azure/arm-appservice/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-authorization/README.md b/packages/@azure/arm-authorization/README.md index 2f5ba28c11aa..e71c758e0a59 100644 --- a/packages/@azure/arm-authorization/README.md +++ b/packages/@azure/arm-authorization/README.md @@ -1,24 +1,34 @@ -# Azure AuthorizationManagementClient SDK for JavaScript +## Azure AuthorizationManagementClient SDK for JavaScript + This package contains an isomorphic SDK for AuthorizationManagementClient. -## 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-authorization ``` +### How to use + +#### nodejs - Authentication, client creation and list classicAdministrators as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list classicAdministrators as an example written in TypeScript. +##### Sample code ```ts -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 { AuthorizationManagementClient, AuthorizationManagementModels, AuthorizationManagementMappers } from "@azure/arm-authorization"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list classicAdministrators as an example written in JavaScript. +#### browser - Authentication, client creation and list classicAdministrators as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-authorization 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-authorization/lib/authorizationManagementClient.ts b/packages/@azure/arm-authorization/lib/authorizationManagementClient.ts index af63c6e0082a..bfa0a6ebcadf 100644 --- a/packages/@azure/arm-authorization/lib/authorizationManagementClient.ts +++ b/packages/@azure/arm-authorization/lib/authorizationManagementClient.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-authorization/lib/authorizationManagementClientContext.ts b/packages/@azure/arm-authorization/lib/authorizationManagementClientContext.ts index b23a8a05bc80..37111074658f 100644 --- a/packages/@azure/arm-authorization/lib/authorizationManagementClientContext.ts +++ b/packages/@azure/arm-authorization/lib/authorizationManagementClientContext.ts @@ -9,8 +9,8 @@ */ 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-authorization"; const packageVersion = "0.1.0"; diff --git a/packages/@azure/arm-authorization/lib/models/index.ts b/packages/@azure/arm-authorization/lib/models/index.ts index 3c6ee3b4db21..b34e53025534 100644 --- a/packages/@azure/arm-authorization/lib/models/index.ts +++ b/packages/@azure/arm-authorization/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; diff --git a/packages/@azure/arm-authorization/lib/models/mappers.ts b/packages/@azure/arm-authorization/lib/models/mappers.ts index edcefad539d7..e92ca87c6841 100644 --- a/packages/@azure/arm-authorization/lib/models/mappers.ts +++ b/packages/@azure/arm-authorization/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-authorization/lib/models/parameters.ts b/packages/@azure/arm-authorization/lib/models/parameters.ts index 846c971fc6ff..5b073d2abf51 100644 --- a/packages/@azure/arm-authorization/lib/models/parameters.ts +++ b/packages/@azure/arm-authorization/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-authorization/lib/operations/classicAdministrators.ts b/packages/@azure/arm-authorization/lib/operations/classicAdministrators.ts index 5960e98cc479..d9d06e7c6bfe 100644 --- a/packages/@azure/arm-authorization/lib/operations/classicAdministrators.ts +++ b/packages/@azure/arm-authorization/lib/operations/classicAdministrators.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/classicAdministratorsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-authorization/lib/operations/denyAssignments.ts b/packages/@azure/arm-authorization/lib/operations/denyAssignments.ts index d8e35dcd6a0f..0ec0af80b2b8 100644 --- a/packages/@azure/arm-authorization/lib/operations/denyAssignments.ts +++ b/packages/@azure/arm-authorization/lib/operations/denyAssignments.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/denyAssignmentsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-authorization/lib/operations/permissions.ts b/packages/@azure/arm-authorization/lib/operations/permissions.ts index ca787be00915..a2a0b8e63efe 100644 --- a/packages/@azure/arm-authorization/lib/operations/permissions.ts +++ b/packages/@azure/arm-authorization/lib/operations/permissions.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/permissionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-authorization/lib/operations/providerOperationsMetadataOperations.ts b/packages/@azure/arm-authorization/lib/operations/providerOperationsMetadataOperations.ts index 48dd8957cdf4..c61f46db1e11 100644 --- a/packages/@azure/arm-authorization/lib/operations/providerOperationsMetadataOperations.ts +++ b/packages/@azure/arm-authorization/lib/operations/providerOperationsMetadataOperations.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/providerOperationsMetadataOperationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-authorization/lib/operations/roleAssignments.ts b/packages/@azure/arm-authorization/lib/operations/roleAssignments.ts index bc89e80bc0cf..a2c56f828b8d 100644 --- a/packages/@azure/arm-authorization/lib/operations/roleAssignments.ts +++ b/packages/@azure/arm-authorization/lib/operations/roleAssignments.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/roleAssignmentsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-authorization/lib/operations/roleDefinitions.ts b/packages/@azure/arm-authorization/lib/operations/roleDefinitions.ts index 33604a255efa..5e8ca07273af 100644 --- a/packages/@azure/arm-authorization/lib/operations/roleDefinitions.ts +++ b/packages/@azure/arm-authorization/lib/operations/roleDefinitions.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/roleDefinitionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-authorization/package.json b/packages/@azure/arm-authorization/package.json index 9712649a4eb2..36153db4a067 100644 --- a/packages/@azure/arm-authorization/package.json +++ b/packages/@azure/arm-authorization/package.json @@ -4,8 +4,8 @@ "description": "AuthorizationManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.461", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ diff --git a/packages/@azure/arm-authorization/rollup.config.js b/packages/@azure/arm-authorization/rollup.config.js index d99676b89018..665f68f90098 100644 --- a/packages/@azure/arm-authorization/rollup.config.js +++ b/packages/@azure/arm-authorization/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/authorizationManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-authorization.js", format: "umd", name: "Azure.ArmAuthorization", 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-authorization/tsconfig.json b/packages/@azure/arm-authorization/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-authorization/tsconfig.json +++ b/packages/@azure/arm-authorization/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-automation/.npmignore b/packages/@azure/arm-automation/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-automation/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-automation/README.md b/packages/@azure/arm-automation/README.md index 1b25acce768a..0b4e015773d5 100644 --- a/packages/@azure/arm-automation/README.md +++ b/packages/@azure/arm-automation/README.md @@ -1,24 +1,34 @@ -# Azure AutomationClient SDK for JavaScript +## Azure AutomationClient SDK for JavaScript + This package contains an isomorphic SDK for AutomationClient. -## 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-automation ``` +### How to use + +#### nodejs - Authentication, client creation and get automationAccount as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get automationAccount as an example written in TypeScript. +##### Sample code ```ts -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 { AutomationClient, AutomationModels, AutomationMappers } from "@azure/arm-automation"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get automationAccount as an example written in JavaScript. +#### browser - Authentication, client creation and get automationAccount as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-automation 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-automation/lib/automationClient.ts b/packages/@azure/arm-automation/lib/automationClient.ts index a3e34968219d..4290b4b4a1c7 100644 --- a/packages/@azure/arm-automation/lib/automationClient.ts +++ b/packages/@azure/arm-automation/lib/automationClient.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-automation/lib/automationClientContext.ts b/packages/@azure/arm-automation/lib/automationClientContext.ts index 93d48b1f05c6..8e9fdec19135 100644 --- a/packages/@azure/arm-automation/lib/automationClientContext.ts +++ b/packages/@azure/arm-automation/lib/automationClientContext.ts @@ -9,24 +9,17 @@ */ 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-automation"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class AutomationClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - countType1: Models.CountType; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the AutomationClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -50,6 +43,11 @@ export class AutomationClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.acceptLanguage = 'en-US'; @@ -60,7 +58,6 @@ export class AutomationClientContext extends msRestAzure.AzureServiceClient { this.subscriptionId = subscriptionId; this.countType1 = countType1; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-automation/lib/models/index.ts b/packages/@azure/arm-automation/lib/models/index.ts index 6d04551faa14..3a1c49549dc0 100644 --- a/packages/@azure/arm-automation/lib/models/index.ts +++ b/packages/@azure/arm-automation/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -5465,83 +5465,42 @@ export interface RunbookListResult extends Array { /** * Defines values for SkuNameEnum. * Possible values include: 'Free', 'Basic' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuNameEnum = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuNameEnum { - Free = 'Free', - Basic = 'Basic', -} +export type SkuNameEnum = 'Free' | 'Basic'; /** * Defines values for AutomationAccountState. * Possible values include: 'Ok', 'Unavailable', 'Suspended' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AutomationAccountState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AutomationAccountState { - Ok = 'Ok', - Unavailable = 'Unavailable', - Suspended = 'Suspended', -} +export type AutomationAccountState = 'Ok' | 'Unavailable' | 'Suspended'; /** * Defines values for AutomationKeyName. * Possible values include: 'Primary', 'Secondary' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AutomationKeyName = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AutomationKeyName { - Primary = 'Primary', - Secondary = 'Secondary', -} +export type AutomationKeyName = 'Primary' | 'Secondary'; /** * Defines values for AutomationKeyPermissions. * Possible values include: 'Read', 'Full' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AutomationKeyPermissions = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AutomationKeyPermissions { - Read = 'Read', - Full = 'Full', -} +export type AutomationKeyPermissions = 'Read' | 'Full'; /** * Defines values for ContentSourceType. * Possible values include: 'embeddedContent', 'uri' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ContentSourceType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ContentSourceType { - EmbeddedContent = 'embeddedContent', - Uri = 'uri', -} +export type ContentSourceType = 'embeddedContent' | 'uri'; /** * Defines values for DscConfigurationProvisioningState. @@ -5549,113 +5508,51 @@ export enum ContentSourceType { * @readonly * @enum {string} */ -export enum DscConfigurationProvisioningState { - Succeeded = 'Succeeded', -} +export type DscConfigurationProvisioningState = 'Succeeded'; /** * Defines values for DscConfigurationState. * Possible values include: 'New', 'Edit', 'Published' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DscConfigurationState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DscConfigurationState { - New = 'New', - Edit = 'Edit', - Published = 'Published', -} +export type DscConfigurationState = 'New' | 'Edit' | 'Published'; /** * Defines values for GroupTypeEnum. * Possible values include: 'User', 'System' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: GroupTypeEnum = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum GroupTypeEnum { - User = 'User', - System = 'System', -} +export type GroupTypeEnum = 'User' | 'System'; /** * Defines values for ModuleProvisioningState. - * Possible values include: 'Created', 'Creating', - * 'StartingImportModuleRunbook', 'RunningImportModuleRunbook', - * 'ContentRetrieved', 'ContentDownloaded', 'ContentValidated', - * 'ConnectionTypeImported', 'ContentStored', 'ModuleDataStored', - * 'ActivitiesStored', 'ModuleImportRunbookComplete', 'Succeeded', 'Failed', - * 'Cancelled', 'Updating' + * Possible values include: 'Created', 'Creating', 'StartingImportModuleRunbook', + * 'RunningImportModuleRunbook', 'ContentRetrieved', 'ContentDownloaded', 'ContentValidated', + * 'ConnectionTypeImported', 'ContentStored', 'ModuleDataStored', 'ActivitiesStored', + * 'ModuleImportRunbookComplete', 'Succeeded', 'Failed', 'Cancelled', 'Updating' * @readonly * @enum {string} */ -export enum ModuleProvisioningState { - Created = 'Created', - Creating = 'Creating', - StartingImportModuleRunbook = 'StartingImportModuleRunbook', - RunningImportModuleRunbook = 'RunningImportModuleRunbook', - ContentRetrieved = 'ContentRetrieved', - ContentDownloaded = 'ContentDownloaded', - ContentValidated = 'ContentValidated', - ConnectionTypeImported = 'ConnectionTypeImported', - ContentStored = 'ContentStored', - ModuleDataStored = 'ModuleDataStored', - ActivitiesStored = 'ActivitiesStored', - ModuleImportRunbookComplete = 'ModuleImportRunbookComplete', - Succeeded = 'Succeeded', - Failed = 'Failed', - Cancelled = 'Cancelled', - Updating = 'Updating', -} +export type ModuleProvisioningState = 'Created' | 'Creating' | 'StartingImportModuleRunbook' | 'RunningImportModuleRunbook' | 'ContentRetrieved' | 'ContentDownloaded' | 'ContentValidated' | 'ConnectionTypeImported' | 'ContentStored' | 'ModuleDataStored' | 'ActivitiesStored' | 'ModuleImportRunbookComplete' | 'Succeeded' | 'Failed' | 'Cancelled' | 'Updating'; /** * Defines values for ScheduleDay. - * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', - * 'Friday', 'Saturday', 'Sunday' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ScheduleDay = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', + * 'Sunday' * @readonly * @enum {string} */ -export enum ScheduleDay { - Monday = 'Monday', - Tuesday = 'Tuesday', - Wednesday = 'Wednesday', - Thursday = 'Thursday', - Friday = 'Friday', - Saturday = 'Saturday', - Sunday = 'Sunday', -} +export type ScheduleDay = 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday'; /** * Defines values for ScheduleFrequency. * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ScheduleFrequency = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ScheduleFrequency { - OneTime = 'OneTime', - Day = 'Day', - Hour = 'Hour', - Week = 'Week', - Month = 'Month', -} +export type ScheduleFrequency = 'OneTime' | 'Day' | 'Hour' | 'Week' | 'Month'; /** * Defines values for OperatingSystemType. @@ -5663,53 +5560,24 @@ export enum ScheduleFrequency { * @readonly * @enum {string} */ -export enum OperatingSystemType { - Windows = 'Windows', - Linux = 'Linux', -} +export type OperatingSystemType = 'Windows' | 'Linux'; /** * Defines values for WindowsUpdateClasses. - * Possible values include: 'Unclassified', 'Critical', 'Security', - * 'UpdateRollup', 'FeaturePack', 'ServicePack', 'Definition', 'Tools', - * 'Updates' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: WindowsUpdateClasses = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', + * 'ServicePack', 'Definition', 'Tools', 'Updates' * @readonly * @enum {string} */ -export enum WindowsUpdateClasses { - Unclassified = 'Unclassified', - Critical = 'Critical', - Security = 'Security', - UpdateRollup = 'UpdateRollup', - FeaturePack = 'FeaturePack', - ServicePack = 'ServicePack', - Definition = 'Definition', - Tools = 'Tools', - Updates = 'Updates', -} +export type WindowsUpdateClasses = 'Unclassified' | 'Critical' | 'Security' | 'UpdateRollup' | 'FeaturePack' | 'ServicePack' | 'Definition' | 'Tools' | 'Updates'; /** * Defines values for LinuxUpdateClasses. * Possible values include: 'Unclassified', 'Critical', 'Security', 'Other' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: LinuxUpdateClasses = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum LinuxUpdateClasses { - Unclassified = 'Unclassified', - Critical = 'Critical', - Security = 'Security', - Other = 'Other', -} +export type LinuxUpdateClasses = 'Unclassified' | 'Critical' | 'Security' | 'Other'; /** * Defines values for TagOperators. @@ -5717,210 +5585,97 @@ export enum LinuxUpdateClasses { * @readonly * @enum {string} */ -export enum TagOperators { - All = 'All', - Any = 'Any', -} +export type TagOperators = 'All' | 'Any'; /** * Defines values for SourceType. * Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SourceType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SourceType { - VsoGit = 'VsoGit', - VsoTfvc = 'VsoTfvc', - GitHub = 'GitHub', -} +export type SourceType = 'VsoGit' | 'VsoTfvc' | 'GitHub'; /** * Defines values for TokenType. * Possible values include: 'PersonalAccessToken', 'Oauth' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TokenType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TokenType { - PersonalAccessToken = 'PersonalAccessToken', - Oauth = 'Oauth', -} +export type TokenType = 'PersonalAccessToken' | 'Oauth'; /** * Defines values for ProvisioningState. * Possible values include: 'Completed', 'Failed', 'Running' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ProvisioningState { - Completed = 'Completed', - Failed = 'Failed', - Running = 'Running', -} +export type ProvisioningState = 'Completed' | 'Failed' | 'Running'; /** * Defines values for SyncType. * Possible values include: 'PartialSync', 'FullSync' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SyncType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SyncType { - PartialSync = 'PartialSync', - FullSync = 'FullSync', -} +export type SyncType = 'PartialSync' | 'FullSync'; /** * Defines values for StreamType. * Possible values include: 'Error', 'Output' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: StreamType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum StreamType { - Error = 'Error', - Output = 'Output', -} +export type StreamType = 'Error' | 'Output'; /** * Defines values for JobStreamType. - * Possible values include: 'Progress', 'Output', 'Warning', 'Error', 'Debug', - * 'Verbose', 'Any' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: JobStreamType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Progress', 'Output', 'Warning', 'Error', 'Debug', 'Verbose', 'Any' * @readonly * @enum {string} */ -export enum JobStreamType { - Progress = 'Progress', - Output = 'Output', - Warning = 'Warning', - Error = 'Error', - Debug = 'Debug', - Verbose = 'Verbose', - Any = 'Any', -} +export type JobStreamType = 'Progress' | 'Output' | 'Warning' | 'Error' | 'Debug' | 'Verbose' | 'Any'; /** * Defines values for JobStatus. - * Possible values include: 'New', 'Activating', 'Running', 'Completed', - * 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', - * 'Stopping', 'Resuming', 'Removing' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: JobStatus = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'New', 'Activating', 'Running', 'Completed', 'Failed', 'Stopped', + * 'Blocked', 'Suspended', 'Disconnected', 'Suspending', 'Stopping', 'Resuming', 'Removing' * @readonly * @enum {string} */ -export enum JobStatus { - New = 'New', - Activating = 'Activating', - Running = 'Running', - Completed = 'Completed', - Failed = 'Failed', - Stopped = 'Stopped', - Blocked = 'Blocked', - Suspended = 'Suspended', - Disconnected = 'Disconnected', - Suspending = 'Suspending', - Stopping = 'Stopping', - Resuming = 'Resuming', - Removing = 'Removing', -} +export type JobStatus = 'New' | 'Activating' | 'Running' | 'Completed' | 'Failed' | 'Stopped' | 'Blocked' | 'Suspended' | 'Disconnected' | 'Suspending' | 'Stopping' | 'Resuming' | 'Removing'; /** * Defines values for JobProvisioningState. * Possible values include: 'Failed', 'Succeeded', 'Suspended', 'Processing' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: JobProvisioningState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum JobProvisioningState { - Failed = 'Failed', - Succeeded = 'Succeeded', - Suspended = 'Suspended', - Processing = 'Processing', -} +export type JobProvisioningState = 'Failed' | 'Succeeded' | 'Suspended' | 'Processing'; /** * Defines values for AgentRegistrationKeyName. * Possible values include: 'primary', 'secondary' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AgentRegistrationKeyName = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AgentRegistrationKeyName { - Primary = 'primary', - Secondary = 'secondary', -} +export type AgentRegistrationKeyName = 'primary' | 'secondary'; /** * Defines values for RunbookTypeEnum. - * Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', - * 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RunbookTypeEnum = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', 'PowerShell', + * 'GraphPowerShellWorkflow', 'GraphPowerShell' * @readonly * @enum {string} */ -export enum RunbookTypeEnum { - Script = 'Script', - Graph = 'Graph', - PowerShellWorkflow = 'PowerShellWorkflow', - PowerShell = 'PowerShell', - GraphPowerShellWorkflow = 'GraphPowerShellWorkflow', - GraphPowerShell = 'GraphPowerShell', -} +export type RunbookTypeEnum = 'Script' | 'Graph' | 'PowerShellWorkflow' | 'PowerShell' | 'GraphPowerShellWorkflow' | 'GraphPowerShell'; /** * Defines values for RunbookState. * Possible values include: 'New', 'Edit', 'Published' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RunbookState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RunbookState { - New = 'New', - Edit = 'Edit', - Published = 'Published', -} +export type RunbookState = 'New' | 'Edit' | 'Published'; /** * Defines values for RunbookProvisioningState. @@ -5928,96 +5683,32 @@ export enum RunbookState { * @readonly * @enum {string} */ -export enum RunbookProvisioningState { - Succeeded = 'Succeeded', -} +export type RunbookProvisioningState = 'Succeeded'; /** * Defines values for HttpStatusCode. - * Possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', - * 'Accepted', 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', - * 'PartialContent', 'MultipleChoices', 'Ambiguous', 'MovedPermanently', - * 'Moved', 'Found', 'Redirect', 'SeeOther', 'RedirectMethod', 'NotModified', - * 'UseProxy', 'Unused', 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', - * 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', - * 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', - * 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', - * 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestUriTooLong', - * 'UnsupportedMediaType', 'RequestedRangeNotSatisfiable', 'ExpectationFailed', - * 'UpgradeRequired', 'InternalServerError', 'NotImplemented', 'BadGateway', - * 'ServiceUnavailable', 'GatewayTimeout', 'HttpVersionNotSupported' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HttpStatusCode = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', 'Accepted', + * 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', 'PartialContent', 'MultipleChoices', + * 'Ambiguous', 'MovedPermanently', 'Moved', 'Found', 'Redirect', 'SeeOther', 'RedirectMethod', + * 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', + * 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', 'MethodNotAllowed', 'NotAcceptable', + * 'ProxyAuthenticationRequired', 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', + * 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestUriTooLong', 'UnsupportedMediaType', + * 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', + * 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout', + * 'HttpVersionNotSupported' * @readonly * @enum {string} */ -export enum HttpStatusCode { - Continue = 'Continue', - SwitchingProtocols = 'SwitchingProtocols', - OK = 'OK', - Created = 'Created', - Accepted = 'Accepted', - NonAuthoritativeInformation = 'NonAuthoritativeInformation', - NoContent = 'NoContent', - ResetContent = 'ResetContent', - PartialContent = 'PartialContent', - MultipleChoices = 'MultipleChoices', - Ambiguous = 'Ambiguous', - MovedPermanently = 'MovedPermanently', - Moved = 'Moved', - Found = 'Found', - Redirect = 'Redirect', - SeeOther = 'SeeOther', - RedirectMethod = 'RedirectMethod', - NotModified = 'NotModified', - UseProxy = 'UseProxy', - Unused = 'Unused', - TemporaryRedirect = 'TemporaryRedirect', - RedirectKeepVerb = 'RedirectKeepVerb', - BadRequest = 'BadRequest', - Unauthorized = 'Unauthorized', - PaymentRequired = 'PaymentRequired', - Forbidden = 'Forbidden', - NotFound = 'NotFound', - MethodNotAllowed = 'MethodNotAllowed', - NotAcceptable = 'NotAcceptable', - ProxyAuthenticationRequired = 'ProxyAuthenticationRequired', - RequestTimeout = 'RequestTimeout', - Conflict = 'Conflict', - Gone = 'Gone', - LengthRequired = 'LengthRequired', - PreconditionFailed = 'PreconditionFailed', - RequestEntityTooLarge = 'RequestEntityTooLarge', - RequestUriTooLong = 'RequestUriTooLong', - UnsupportedMediaType = 'UnsupportedMediaType', - RequestedRangeNotSatisfiable = 'RequestedRangeNotSatisfiable', - ExpectationFailed = 'ExpectationFailed', - UpgradeRequired = 'UpgradeRequired', - InternalServerError = 'InternalServerError', - NotImplemented = 'NotImplemented', - BadGateway = 'BadGateway', - ServiceUnavailable = 'ServiceUnavailable', - GatewayTimeout = 'GatewayTimeout', - HttpVersionNotSupported = 'HttpVersionNotSupported', -} +export type HttpStatusCode = 'Continue' | 'SwitchingProtocols' | 'OK' | 'Created' | 'Accepted' | 'NonAuthoritativeInformation' | 'NoContent' | 'ResetContent' | 'PartialContent' | 'MultipleChoices' | 'Ambiguous' | 'MovedPermanently' | 'Moved' | 'Found' | 'Redirect' | 'SeeOther' | 'RedirectMethod' | 'NotModified' | 'UseProxy' | 'Unused' | 'TemporaryRedirect' | 'RedirectKeepVerb' | 'BadRequest' | 'Unauthorized' | 'PaymentRequired' | 'Forbidden' | 'NotFound' | 'MethodNotAllowed' | 'NotAcceptable' | 'ProxyAuthenticationRequired' | 'RequestTimeout' | 'Conflict' | 'Gone' | 'LengthRequired' | 'PreconditionFailed' | 'RequestEntityTooLarge' | 'RequestUriTooLong' | 'UnsupportedMediaType' | 'RequestedRangeNotSatisfiable' | 'ExpectationFailed' | 'UpgradeRequired' | 'InternalServerError' | 'NotImplemented' | 'BadGateway' | 'ServiceUnavailable' | 'GatewayTimeout' | 'HttpVersionNotSupported'; /** * Defines values for CountType. * Possible values include: 'status', 'nodeconfiguration' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CountType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CountType { - Status = 'status', - Nodeconfiguration = 'nodeconfiguration', -} +export type CountType = 'status' | 'nodeconfiguration'; /** * Contains response data for the update operation. diff --git a/packages/@azure/arm-automation/lib/models/mappers.ts b/packages/@azure/arm-automation/lib/models/mappers.ts index 8d2ae4f2efcd..f4564803e4eb 100644 --- a/packages/@azure/arm-automation/lib/models/mappers.ts +++ b/packages/@azure/arm-automation/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-automation/lib/models/parameters.ts b/packages/@azure/arm-automation/lib/models/parameters.ts index b5cb4dc83acc..48dbbc8df44f 100644 --- a/packages/@azure/arm-automation/lib/models/parameters.ts +++ b/packages/@azure/arm-automation/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-automation/lib/operations/activityOperations.ts b/packages/@azure/arm-automation/lib/operations/activityOperations.ts index 0a8898bcf0db..b16aca872a0e 100644 --- a/packages/@azure/arm-automation/lib/operations/activityOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/activityOperations.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/activityOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class ActivityOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, moduleName: string, activityName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, moduleName: string, activityName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, moduleName: string, activityName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class ActivityOperations { * @param callback The callback */ listByModule(resourceGroupName: string, automationAccountName: string, moduleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByModule(resourceGroupName: string, automationAccountName: string, moduleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByModule(resourceGroupName: string, automationAccountName: string, moduleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -120,7 +120,7 @@ export class ActivityOperations { * @param callback The callback */ listByModuleNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByModuleNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByModuleNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/agentRegistrationInformation.ts b/packages/@azure/arm-automation/lib/operations/agentRegistrationInformation.ts index 7649452eab33..af022ffab9c3 100644 --- a/packages/@azure/arm-automation/lib/operations/agentRegistrationInformation.ts +++ b/packages/@azure/arm-automation/lib/operations/agentRegistrationInformation.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/agentRegistrationInformationMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class AgentRegistrationInformation { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class AgentRegistrationInformation { * @param callback The callback */ regenerateKey(resourceGroupName: string, automationAccountName: string, parameters: Models.AgentRegistrationRegenerateKeyParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKey(resourceGroupName: string, automationAccountName: string, parameters: Models.AgentRegistrationRegenerateKeyParameter, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKey(resourceGroupName: string, automationAccountName: string, parameters: Models.AgentRegistrationRegenerateKeyParameter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-automation/lib/operations/automationAccountOperations.ts b/packages/@azure/arm-automation/lib/operations/automationAccountOperations.ts index cb0b20716629..20af8407706b 100644 --- a/packages/@azure/arm-automation/lib/operations/automationAccountOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/automationAccountOperations.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/automationAccountOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class AutomationAccountOperations { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, parameters: Models.AutomationAccountUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, parameters: Models.AutomationAccountUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, parameters: Models.AutomationAccountUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class AutomationAccountOperations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, parameters: Models.AutomationAccountCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, automationAccountName: string, parameters: Models.AutomationAccountCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, automationAccountName: string, parameters: Models.AutomationAccountCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -119,7 +119,7 @@ export class AutomationAccountOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -151,7 +151,7 @@ export class AutomationAccountOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -180,7 +180,7 @@ export class AutomationAccountOperations { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -206,7 +206,7 @@ export class AutomationAccountOperations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -233,7 +233,7 @@ export class AutomationAccountOperations { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -262,7 +262,7 @@ export class AutomationAccountOperations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/certificateOperations.ts b/packages/@azure/arm-automation/lib/operations/certificateOperations.ts index fa195de33b75..b4ac9f68db1d 100644 --- a/packages/@azure/arm-automation/lib/operations/certificateOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/certificateOperations.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/certificateOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class CertificateOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class CertificateOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -125,7 +125,7 @@ export class CertificateOperations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, automationAccountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, automationAccountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -165,7 +165,7 @@ export class CertificateOperations { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, certificateName: string, parameters: Models.CertificateUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, certificateName: string, parameters: Models.CertificateUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, certificateName: string, parameters: Models.CertificateUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -199,7 +199,7 @@ export class CertificateOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -228,7 +228,7 @@ export class CertificateOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/connectionOperations.ts b/packages/@azure/arm-automation/lib/operations/connectionOperations.ts index e8672ed4feb5..532be8f4c0c9 100644 --- a/packages/@azure/arm-automation/lib/operations/connectionOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/connectionOperations.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/connectionOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ConnectionOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, connectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, connectionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, connectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class ConnectionOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, connectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, connectionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, connectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -125,7 +125,7 @@ export class ConnectionOperations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, connectionName: string, parameters: Models.ConnectionCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, automationAccountName: string, connectionName: string, parameters: Models.ConnectionCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, automationAccountName: string, connectionName: string, parameters: Models.ConnectionCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -165,7 +165,7 @@ export class ConnectionOperations { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, connectionName: string, parameters: Models.ConnectionUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, connectionName: string, parameters: Models.ConnectionUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, connectionName: string, parameters: Models.ConnectionUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -199,7 +199,7 @@ export class ConnectionOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -228,7 +228,7 @@ export class ConnectionOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/connectionTypeOperations.ts b/packages/@azure/arm-automation/lib/operations/connectionTypeOperations.ts index 83d597f8a38f..0244efd78956 100644 --- a/packages/@azure/arm-automation/lib/operations/connectionTypeOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/connectionTypeOperations.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/connectionTypeOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ConnectionTypeOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class ConnectionTypeOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -128,7 +128,7 @@ export class ConnectionTypeOperations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, parameters: Models.ConnectionTypeCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, parameters: Models.ConnectionTypeCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, parameters: Models.ConnectionTypeCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class ConnectionTypeOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -191,7 +191,7 @@ export class ConnectionTypeOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/credentialOperations.ts b/packages/@azure/arm-automation/lib/operations/credentialOperations.ts index f4a77dcbe929..f29d9387ed0e 100644 --- a/packages/@azure/arm-automation/lib/operations/credentialOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/credentialOperations.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/credentialOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class CredentialOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, credentialName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, credentialName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, credentialName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class CredentialOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, credentialName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, credentialName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, credentialName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -125,7 +125,7 @@ export class CredentialOperations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: Models.CredentialCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: Models.CredentialCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: Models.CredentialCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -165,7 +165,7 @@ export class CredentialOperations { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: Models.CredentialUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: Models.CredentialUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: Models.CredentialUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -199,7 +199,7 @@ export class CredentialOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -228,7 +228,7 @@ export class CredentialOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/dscCompilationJobOperations.ts b/packages/@azure/arm-automation/lib/operations/dscCompilationJobOperations.ts index 4f14dfaaf9fb..2c064e8e8073 100644 --- a/packages/@azure/arm-automation/lib/operations/dscCompilationJobOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/dscCompilationJobOperations.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/dscCompilationJobOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -65,7 +65,7 @@ export class DscCompilationJobOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, compilationJobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, compilationJobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, compilationJobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -98,7 +98,7 @@ export class DscCompilationJobOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: Models.DscCompilationJobListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.DscCompilationJobListByAutomationAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.DscCompilationJobListByAutomationAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -136,7 +136,7 @@ export class DscCompilationJobOperations { * @param callback The callback */ getStream(resourceGroupName: string, automationAccountName: string, jobId: string, jobStreamId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getStream(resourceGroupName: string, automationAccountName: string, jobId: string, jobStreamId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getStream(resourceGroupName: string, automationAccountName: string, jobId: string, jobStreamId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -189,7 +189,7 @@ export class DscCompilationJobOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/dscCompilationJobStream.ts b/packages/@azure/arm-automation/lib/operations/dscCompilationJobStream.ts index 1c76eebef4ef..cde9e1a4cf3c 100644 --- a/packages/@azure/arm-automation/lib/operations/dscCompilationJobStream.ts +++ b/packages/@azure/arm-automation/lib/operations/dscCompilationJobStream.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/dscCompilationJobStreamMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class DscCompilationJobStream { * @param callback The callback */ listByJob(resourceGroupName: string, automationAccountName: string, jobId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByJob(resourceGroupName: string, automationAccountName: string, jobId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByJob(resourceGroupName: string, automationAccountName: string, jobId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-automation/lib/operations/dscConfigurationOperations.ts b/packages/@azure/arm-automation/lib/operations/dscConfigurationOperations.ts index ea9c54ddae1c..799831f77333 100644 --- a/packages/@azure/arm-automation/lib/operations/dscConfigurationOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/dscConfigurationOperations.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/dscConfigurationOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class DscConfigurationOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, configurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, configurationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, configurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class DscConfigurationOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, configurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, configurationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, configurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -125,7 +125,7 @@ export class DscConfigurationOperations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, configurationName: string, parameters: Models.DscConfigurationCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, automationAccountName: string, configurationName: string, parameters: Models.DscConfigurationCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, automationAccountName: string, configurationName: string, parameters: Models.DscConfigurationCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class DscConfigurationOperations { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, configurationName: string, options: Models.DscConfigurationUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, configurationName: string, options?: Models.DscConfigurationUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, configurationName: string, options?: Models.DscConfigurationUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -198,7 +198,7 @@ export class DscConfigurationOperations { * @param callback The callback */ getContent(resourceGroupName: string, automationAccountName: string, configurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getContent(resourceGroupName: string, automationAccountName: string, configurationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getContent(resourceGroupName: string, automationAccountName: string, configurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -231,7 +231,7 @@ export class DscConfigurationOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: Models.DscConfigurationListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.DscConfigurationListByAutomationAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.DscConfigurationListByAutomationAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -260,7 +260,7 @@ export class DscConfigurationOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/dscNodeConfigurationOperations.ts b/packages/@azure/arm-automation/lib/operations/dscNodeConfigurationOperations.ts index 10b883af09d1..a0fa04010776 100644 --- a/packages/@azure/arm-automation/lib/operations/dscNodeConfigurationOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/dscNodeConfigurationOperations.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/dscNodeConfigurationOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class DscNodeConfigurationOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, nodeConfigurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, nodeConfigurationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, nodeConfigurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -87,7 +87,7 @@ export class DscNodeConfigurationOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, nodeConfigurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, nodeConfigurationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, nodeConfigurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -134,7 +134,7 @@ export class DscNodeConfigurationOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: Models.DscNodeConfigurationListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.DscNodeConfigurationListByAutomationAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.DscNodeConfigurationListByAutomationAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -185,7 +185,7 @@ export class DscNodeConfigurationOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/dscNodeOperations.ts b/packages/@azure/arm-automation/lib/operations/dscNodeOperations.ts index fda00b2c4c7c..ab066926cb94 100644 --- a/packages/@azure/arm-automation/lib/operations/dscNodeOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/dscNodeOperations.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/dscNodeOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class DscNodeOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class DscNodeOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, nodeId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, nodeId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, nodeId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -125,7 +125,7 @@ export class DscNodeOperations { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, nodeId: string, dscNodeUpdateParameters: Models.DscNodeUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, nodeId: string, dscNodeUpdateParameters: Models.DscNodeUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, nodeId: string, dscNodeUpdateParameters: Models.DscNodeUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -159,7 +159,7 @@ export class DscNodeOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: Models.DscNodeListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.DscNodeListByAutomationAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.DscNodeListByAutomationAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -188,7 +188,7 @@ export class DscNodeOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/fields.ts b/packages/@azure/arm-automation/lib/operations/fields.ts index 50f2c9e7c755..f3b93bf1adf2 100644 --- a/packages/@azure/arm-automation/lib/operations/fields.ts +++ b/packages/@azure/arm-automation/lib/operations/fields.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/fieldsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class Fields { * @param callback The callback */ listByType(resourceGroupName: string, automationAccountName: string, moduleName: string, typeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByType(resourceGroupName: string, automationAccountName: string, moduleName: string, typeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByType(resourceGroupName: string, automationAccountName: string, moduleName: string, typeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-automation/lib/operations/hybridRunbookWorkerGroupOperations.ts b/packages/@azure/arm-automation/lib/operations/hybridRunbookWorkerGroupOperations.ts index 2c75142cd89f..5239c26bb1f5 100644 --- a/packages/@azure/arm-automation/lib/operations/hybridRunbookWorkerGroupOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/hybridRunbookWorkerGroupOperations.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/hybridRunbookWorkerGroupOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class HybridRunbookWorkerGroupOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class HybridRunbookWorkerGroupOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -125,7 +125,7 @@ export class HybridRunbookWorkerGroupOperations { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, parameters: Models.HybridRunbookWorkerGroupUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, parameters: Models.HybridRunbookWorkerGroupUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, parameters: Models.HybridRunbookWorkerGroupUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -159,7 +159,7 @@ export class HybridRunbookWorkerGroupOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: Models.HybridRunbookWorkerGroupListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.HybridRunbookWorkerGroupListByAutomationAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.HybridRunbookWorkerGroupListByAutomationAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -188,7 +188,7 @@ export class HybridRunbookWorkerGroupOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/jobOperations.ts b/packages/@azure/arm-automation/lib/operations/jobOperations.ts index 0c184c99f5b0..7f7428c00135 100644 --- a/packages/@azure/arm-automation/lib/operations/jobOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/jobOperations.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/jobOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class JobOperations { * @param callback The callback */ getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobGetOutputOptionalParams, callback: msRest.ServiceCallback): void; - getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobGetOutputOptionalParams, callback?: msRest.ServiceCallback): Promise { + getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobGetOutputOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class JobOperations { * @param callback The callback */ getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobGetRunbookContentOptionalParams, callback: msRest.ServiceCallback): void; - getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobGetRunbookContentOptionalParams, callback?: msRest.ServiceCallback): Promise { + getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobGetRunbookContentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -122,7 +122,7 @@ export class JobOperations { * @param callback The callback */ suspend(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobSuspendOptionalParams, callback: msRest.ServiceCallback): void; - suspend(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobSuspendOptionalParams, callback?: msRest.ServiceCallback): Promise { + suspend(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobSuspendOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class JobOperations { * @param callback The callback */ stop(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobStopOptionalParams, callback: msRest.ServiceCallback): void; - stop(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobStopOptionalParams, callback?: msRest.ServiceCallback): Promise { + stop(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobStopOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -194,7 +194,7 @@ export class JobOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -233,7 +233,7 @@ export class JobOperations { * @param callback The callback */ create(resourceGroupName: string, automationAccountName: string, jobName: string, parameters: Models.JobCreateParameters, options: Models.JobCreateOptionalParams, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, automationAccountName: string, jobName: string, parameters: Models.JobCreateParameters, options?: Models.JobCreateOptionalParams, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, automationAccountName: string, jobName: string, parameters: Models.JobCreateParameters, options?: Models.JobCreateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -267,7 +267,7 @@ export class JobOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: Models.JobListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.JobListByAutomationAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.JobListByAutomationAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -302,7 +302,7 @@ export class JobOperations { * @param callback The callback */ resume(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobResumeOptionalParams, callback: msRest.ServiceCallback): void; - resume(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobResumeOptionalParams, callback?: msRest.ServiceCallback): Promise { + resume(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobResumeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -332,7 +332,7 @@ export class JobOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: Models.JobListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: Models.JobListByAutomationAccountNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: Models.JobListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/jobScheduleOperations.ts b/packages/@azure/arm-automation/lib/operations/jobScheduleOperations.ts index b3deca651a76..ba8d0be47f54 100644 --- a/packages/@azure/arm-automation/lib/operations/jobScheduleOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/jobScheduleOperations.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/jobScheduleOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class JobScheduleOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class JobScheduleOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -125,7 +125,7 @@ export class JobScheduleOperations { * @param callback The callback */ create(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, parameters: Models.JobScheduleCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, parameters: Models.JobScheduleCreateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, parameters: Models.JobScheduleCreateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -159,7 +159,7 @@ export class JobScheduleOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: Models.JobScheduleListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.JobScheduleListByAutomationAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.JobScheduleListByAutomationAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -188,7 +188,7 @@ export class JobScheduleOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/jobStreamOperations.ts b/packages/@azure/arm-automation/lib/operations/jobStreamOperations.ts index 09ebc542997f..181c17593a9c 100644 --- a/packages/@azure/arm-automation/lib/operations/jobStreamOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/jobStreamOperations.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/jobStreamOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class JobStreamOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, jobName: string, jobStreamId: string, options: Models.JobStreamGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, jobName: string, jobStreamId: string, options?: Models.JobStreamGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, jobName: string, jobStreamId: string, options?: Models.JobStreamGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class JobStreamOperations { * @param callback The callback */ listByJob(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobStreamListByJobOptionalParams, callback: msRest.ServiceCallback): void; - listByJob(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobStreamListByJobOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByJob(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobStreamListByJobOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -120,7 +120,7 @@ export class JobStreamOperations { * @param callback The callback */ listByJobNext(nextPageLink: string, options: Models.JobStreamListByJobNextOptionalParams, callback: msRest.ServiceCallback): void; - listByJobNext(nextPageLink: string, options?: Models.JobStreamListByJobNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByJobNext(nextPageLink: string, options?: Models.JobStreamListByJobNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/keys.ts b/packages/@azure/arm-automation/lib/operations/keys.ts index 77440a361b08..f81ba745ef47 100644 --- a/packages/@azure/arm-automation/lib/operations/keys.ts +++ b/packages/@azure/arm-automation/lib/operations/keys.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/keysMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Keys { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-automation/lib/operations/linkedWorkspaceOperations.ts b/packages/@azure/arm-automation/lib/operations/linkedWorkspaceOperations.ts index 2f04db2bf781..4702ef0f4e0a 100644 --- a/packages/@azure/arm-automation/lib/operations/linkedWorkspaceOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/linkedWorkspaceOperations.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/linkedWorkspaceOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class LinkedWorkspaceOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-automation/lib/operations/moduleOperations.ts b/packages/@azure/arm-automation/lib/operations/moduleOperations.ts index 793e090a1608..553a71a43f4c 100644 --- a/packages/@azure/arm-automation/lib/operations/moduleOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/moduleOperations.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/moduleOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ModuleOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, moduleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, moduleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, moduleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class ModuleOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, moduleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, moduleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, moduleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -125,7 +125,7 @@ export class ModuleOperations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, moduleName: string, parameters: Models.ModuleCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, automationAccountName: string, moduleName: string, parameters: Models.ModuleCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, automationAccountName: string, moduleName: string, parameters: Models.ModuleCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -165,7 +165,7 @@ export class ModuleOperations { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, moduleName: string, parameters: Models.ModuleUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, moduleName: string, parameters: Models.ModuleUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, moduleName: string, parameters: Models.ModuleUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -199,7 +199,7 @@ export class ModuleOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -228,7 +228,7 @@ export class ModuleOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/nodeCountInformation.ts b/packages/@azure/arm-automation/lib/operations/nodeCountInformation.ts index 6a62df4ba778..56ae77124bb1 100644 --- a/packages/@azure/arm-automation/lib/operations/nodeCountInformation.ts +++ b/packages/@azure/arm-automation/lib/operations/nodeCountInformation.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/nodeCountInformationMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class NodeCountInformation { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-automation/lib/operations/nodeReports.ts b/packages/@azure/arm-automation/lib/operations/nodeReports.ts index 84effe604462..10aafafc2807 100644 --- a/packages/@azure/arm-automation/lib/operations/nodeReports.ts +++ b/packages/@azure/arm-automation/lib/operations/nodeReports.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/nodeReportsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class NodeReports { * @param callback The callback */ listByNode(resourceGroupName: string, automationAccountName: string, nodeId: string, options: Models.NodeReportsListByNodeOptionalParams, callback: msRest.ServiceCallback): void; - listByNode(resourceGroupName: string, automationAccountName: string, nodeId: string, options?: Models.NodeReportsListByNodeOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByNode(resourceGroupName: string, automationAccountName: string, nodeId: string, options?: Models.NodeReportsListByNodeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -89,7 +89,7 @@ export class NodeReports { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, nodeId: string, reportId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, nodeId: string, reportId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, nodeId: string, reportId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -129,7 +129,7 @@ export class NodeReports { * @param callback The callback */ getContent(resourceGroupName: string, automationAccountName: string, nodeId: string, reportId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getContent(resourceGroupName: string, automationAccountName: string, nodeId: string, reportId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getContent(resourceGroupName: string, automationAccountName: string, nodeId: string, reportId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -160,7 +160,7 @@ export class NodeReports { * @param callback The callback */ listByNodeNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByNodeNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByNodeNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/objectDataTypes.ts b/packages/@azure/arm-automation/lib/operations/objectDataTypes.ts index 30133a137951..a7e698a4e0f0 100644 --- a/packages/@azure/arm-automation/lib/operations/objectDataTypes.ts +++ b/packages/@azure/arm-automation/lib/operations/objectDataTypes.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/objectDataTypesMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class ObjectDataTypes { * @param callback The callback */ listFieldsByModuleAndType(resourceGroupName: string, automationAccountName: string, moduleName: string, typeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listFieldsByModuleAndType(resourceGroupName: string, automationAccountName: string, moduleName: string, typeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listFieldsByModuleAndType(resourceGroupName: string, automationAccountName: string, moduleName: string, typeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class ObjectDataTypes { * @param callback The callback */ listFieldsByType(resourceGroupName: string, automationAccountName: string, typeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listFieldsByType(resourceGroupName: string, automationAccountName: string, typeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listFieldsByType(resourceGroupName: string, automationAccountName: string, typeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-automation/lib/operations/operations.ts b/packages/@azure/arm-automation/lib/operations/operations.ts index bfdf7713194b..4f3a7acb2ee5 100644 --- a/packages/@azure/arm-automation/lib/operations/operations.ts +++ b/packages/@azure/arm-automation/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-automation/lib/operations/python2Package.ts b/packages/@azure/arm-automation/lib/operations/python2Package.ts index 052c09f97e06..723c4a64632d 100644 --- a/packages/@azure/arm-automation/lib/operations/python2Package.ts +++ b/packages/@azure/arm-automation/lib/operations/python2Package.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/python2PackageMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Python2Package { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, packageName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, packageName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, packageName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class Python2Package { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, packageName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, packageName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, packageName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -125,7 +125,7 @@ export class Python2Package { * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: Models.PythonPackageCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: Models.PythonPackageCreateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: Models.PythonPackageCreateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -165,7 +165,7 @@ export class Python2Package { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: Models.PythonPackageUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: Models.PythonPackageUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: Models.PythonPackageUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -199,7 +199,7 @@ export class Python2Package { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -228,7 +228,7 @@ export class Python2Package { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/runbookDraftOperations.ts b/packages/@azure/arm-automation/lib/operations/runbookDraftOperations.ts index 15e4f5f8c8a4..81f21d916fa8 100644 --- a/packages/@azure/arm-automation/lib/operations/runbookDraftOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/runbookDraftOperations.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/runbookDraftOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class RunbookDraftOperations { * @param callback The callback */ getContent(resourceGroupName: string, automationAccountName: string, runbookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getContent(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getContent(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -101,7 +101,7 @@ export class RunbookDraftOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, runbookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -137,7 +137,7 @@ export class RunbookDraftOperations { * @param callback The callback */ undoEdit(resourceGroupName: string, automationAccountName: string, runbookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - undoEdit(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + undoEdit(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-automation/lib/operations/runbookOperations.ts b/packages/@azure/arm-automation/lib/operations/runbookOperations.ts index 627a52970b71..9487990a30c3 100644 --- a/packages/@azure/arm-automation/lib/operations/runbookOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/runbookOperations.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/runbookOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -64,7 +64,7 @@ export class RunbookOperations { * @param callback The callback */ getContent(resourceGroupName: string, automationAccountName: string, runbookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getContent(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getContent(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -100,7 +100,7 @@ export class RunbookOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, runbookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -142,7 +142,7 @@ export class RunbookOperations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: Models.RunbookCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: Models.RunbookCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: Models.RunbookCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -182,7 +182,7 @@ export class RunbookOperations { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: Models.RunbookUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: Models.RunbookUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: Models.RunbookUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -219,7 +219,7 @@ export class RunbookOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, runbookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -252,7 +252,7 @@ export class RunbookOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -301,7 +301,7 @@ export class RunbookOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/scheduleOperations.ts b/packages/@azure/arm-automation/lib/operations/scheduleOperations.ts index 2bb12be816a9..00bd3bcbaf89 100644 --- a/packages/@azure/arm-automation/lib/operations/scheduleOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/scheduleOperations.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/scheduleOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class ScheduleOperations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: Models.ScheduleCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: Models.ScheduleCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: Models.ScheduleCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -93,7 +93,7 @@ export class ScheduleOperations { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: Models.ScheduleUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: Models.ScheduleUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: Models.ScheduleUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -130,7 +130,7 @@ export class ScheduleOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, scheduleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, scheduleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, scheduleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -166,7 +166,7 @@ export class ScheduleOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, scheduleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, scheduleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, scheduleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -199,7 +199,7 @@ export class ScheduleOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -228,7 +228,7 @@ export class ScheduleOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/softwareUpdateConfigurationMachineRuns.ts b/packages/@azure/arm-automation/lib/operations/softwareUpdateConfigurationMachineRuns.ts index 1c1ca1af31cb..ba14b36fda12 100644 --- a/packages/@azure/arm-automation/lib/operations/softwareUpdateConfigurationMachineRuns.ts +++ b/packages/@azure/arm-automation/lib/operations/softwareUpdateConfigurationMachineRuns.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/softwareUpdateConfigurationMachineRunsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class SoftwareUpdateConfigurationMachineRuns { * @param callback The callback */ getById(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationMachineRunId: string, options: Models.SoftwareUpdateConfigurationMachineRunsGetByIdOptionalParams, callback: msRest.ServiceCallback): void; - getById(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationMachineRunId: string, options?: Models.SoftwareUpdateConfigurationMachineRunsGetByIdOptionalParams, callback?: msRest.ServiceCallback): Promise { + getById(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationMachineRunId: string, options?: Models.SoftwareUpdateConfigurationMachineRunsGetByIdOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class SoftwareUpdateConfigurationMachineRuns { * @param callback The callback */ list(resourceGroupName: string, automationAccountName: string, options: Models.SoftwareUpdateConfigurationMachineRunsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, automationAccountName: string, options?: Models.SoftwareUpdateConfigurationMachineRunsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, automationAccountName: string, options?: Models.SoftwareUpdateConfigurationMachineRunsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-automation/lib/operations/softwareUpdateConfigurationRuns.ts b/packages/@azure/arm-automation/lib/operations/softwareUpdateConfigurationRuns.ts index 976fb95648a9..643115941fde 100644 --- a/packages/@azure/arm-automation/lib/operations/softwareUpdateConfigurationRuns.ts +++ b/packages/@azure/arm-automation/lib/operations/softwareUpdateConfigurationRuns.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/softwareUpdateConfigurationRunsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class SoftwareUpdateConfigurationRuns { * @param callback The callback */ getById(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationRunId: string, options: Models.SoftwareUpdateConfigurationRunsGetByIdOptionalParams, callback: msRest.ServiceCallback): void; - getById(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationRunId: string, options?: Models.SoftwareUpdateConfigurationRunsGetByIdOptionalParams, callback?: msRest.ServiceCallback): Promise { + getById(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationRunId: string, options?: Models.SoftwareUpdateConfigurationRunsGetByIdOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class SoftwareUpdateConfigurationRuns { * @param callback The callback */ list(resourceGroupName: string, automationAccountName: string, options: Models.SoftwareUpdateConfigurationRunsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, automationAccountName: string, options?: Models.SoftwareUpdateConfigurationRunsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, automationAccountName: string, options?: Models.SoftwareUpdateConfigurationRunsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-automation/lib/operations/softwareUpdateConfigurations.ts b/packages/@azure/arm-automation/lib/operations/softwareUpdateConfigurations.ts index 6a0daa5c2f79..ca41bd378623 100644 --- a/packages/@azure/arm-automation/lib/operations/softwareUpdateConfigurations.ts +++ b/packages/@azure/arm-automation/lib/operations/softwareUpdateConfigurations.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/softwareUpdateConfigurationsMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class SoftwareUpdateConfigurations { * @param callback The callback */ create(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationName: string, parameters: Models.SoftwareUpdateConfiguration, options: Models.SoftwareUpdateConfigurationsCreateOptionalParams, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationName: string, parameters: Models.SoftwareUpdateConfiguration, options?: Models.SoftwareUpdateConfigurationsCreateOptionalParams, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationName: string, parameters: Models.SoftwareUpdateConfiguration, options?: Models.SoftwareUpdateConfigurationsCreateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -96,7 +96,7 @@ export class SoftwareUpdateConfigurations { * @param callback The callback */ getByName(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationName: string, options: Models.SoftwareUpdateConfigurationsGetByNameOptionalParams, callback: msRest.ServiceCallback): void; - getByName(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationName: string, options?: Models.SoftwareUpdateConfigurationsGetByNameOptionalParams, callback?: msRest.ServiceCallback): Promise { + getByName(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationName: string, options?: Models.SoftwareUpdateConfigurationsGetByNameOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -135,7 +135,7 @@ export class SoftwareUpdateConfigurations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationName: string, options: Models.SoftwareUpdateConfigurationsDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationName: string, options?: Models.SoftwareUpdateConfigurationsDeleteMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, softwareUpdateConfigurationName: string, options?: Models.SoftwareUpdateConfigurationsDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -168,7 +168,7 @@ export class SoftwareUpdateConfigurations { * @param callback The callback */ list(resourceGroupName: string, automationAccountName: string, options: Models.SoftwareUpdateConfigurationsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, automationAccountName: string, options?: Models.SoftwareUpdateConfigurationsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, automationAccountName: string, options?: Models.SoftwareUpdateConfigurationsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-automation/lib/operations/sourceControlOperations.ts b/packages/@azure/arm-automation/lib/operations/sourceControlOperations.ts index d612416d8ae4..8add3158d3b4 100644 --- a/packages/@azure/arm-automation/lib/operations/sourceControlOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/sourceControlOperations.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/sourceControlOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class SourceControlOperations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: Models.SourceControlCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: Models.SourceControlCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: Models.SourceControlCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -93,7 +93,7 @@ export class SourceControlOperations { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: Models.SourceControlUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: Models.SourceControlUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: Models.SourceControlUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -130,7 +130,7 @@ export class SourceControlOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -166,7 +166,7 @@ export class SourceControlOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -199,7 +199,7 @@ export class SourceControlOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: Models.SourceControlListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.SourceControlListByAutomationAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.SourceControlListByAutomationAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -228,7 +228,7 @@ export class SourceControlOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/sourceControlSyncJobOperations.ts b/packages/@azure/arm-automation/lib/operations/sourceControlSyncJobOperations.ts index 7645aa97dca8..56f61910d119 100644 --- a/packages/@azure/arm-automation/lib/operations/sourceControlSyncJobOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/sourceControlSyncJobOperations.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/sourceControlSyncJobOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class SourceControlSyncJobOperations { * @param callback The callback */ create(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, parameters: Models.SourceControlSyncJobCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, parameters: Models.SourceControlSyncJobCreateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, parameters: Models.SourceControlSyncJobCreateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -97,7 +97,7 @@ export class SourceControlSyncJobOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -134,7 +134,7 @@ export class SourceControlSyncJobOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options: Models.SourceControlSyncJobListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options?: Models.SourceControlSyncJobListByAutomationAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options?: Models.SourceControlSyncJobListByAutomationAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -164,7 +164,7 @@ export class SourceControlSyncJobOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/sourceControlSyncJobStreams.ts b/packages/@azure/arm-automation/lib/operations/sourceControlSyncJobStreams.ts index 930231d13cf9..c82ce65ba537 100644 --- a/packages/@azure/arm-automation/lib/operations/sourceControlSyncJobStreams.ts +++ b/packages/@azure/arm-automation/lib/operations/sourceControlSyncJobStreams.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/sourceControlSyncJobStreamsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class SourceControlSyncJobStreams { * @param callback The callback */ listBySyncJob(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, options: Models.SourceControlSyncJobStreamsListBySyncJobOptionalParams, callback: msRest.ServiceCallback): void; - listBySyncJob(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, options?: Models.SourceControlSyncJobStreamsListBySyncJobOptionalParams, callback?: msRest.ServiceCallback): Promise { + listBySyncJob(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, options?: Models.SourceControlSyncJobStreamsListBySyncJobOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -96,7 +96,7 @@ export class SourceControlSyncJobStreams { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, streamId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, streamId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, streamId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -128,7 +128,7 @@ export class SourceControlSyncJobStreams { * @param callback The callback */ listBySyncJobNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySyncJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySyncJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/statisticsOperations.ts b/packages/@azure/arm-automation/lib/operations/statisticsOperations.ts index d522032aa34b..4b13c7bd2d17 100644 --- a/packages/@azure/arm-automation/lib/operations/statisticsOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/statisticsOperations.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/statisticsOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class StatisticsOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: Models.StatisticsListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.StatisticsListByAutomationAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.StatisticsListByAutomationAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-automation/lib/operations/testJobOperations.ts b/packages/@azure/arm-automation/lib/operations/testJobOperations.ts index 16d00610a642..d367307b61b4 100644 --- a/packages/@azure/arm-automation/lib/operations/testJobOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/testJobOperations.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/testJobOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class TestJobOperations { * @param callback The callback */ create(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: Models.TestJobCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: Models.TestJobCreateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: Models.TestJobCreateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class TestJobOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, runbookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -126,7 +126,7 @@ export class TestJobOperations { * @param callback The callback */ resume(resourceGroupName: string, automationAccountName: string, runbookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - resume(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + resume(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class TestJobOperations { * @param callback The callback */ stop(resourceGroupName: string, automationAccountName: string, runbookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - stop(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + stop(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -198,7 +198,7 @@ export class TestJobOperations { * @param callback The callback */ suspend(resourceGroupName: string, automationAccountName: string, runbookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - suspend(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + suspend(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-automation/lib/operations/testJobStreams.ts b/packages/@azure/arm-automation/lib/operations/testJobStreams.ts index 2c7b4d9b0044..584e3c1691dc 100644 --- a/packages/@azure/arm-automation/lib/operations/testJobStreams.ts +++ b/packages/@azure/arm-automation/lib/operations/testJobStreams.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/testJobStreamsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class TestJobStreams { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, runbookName: string, jobStreamId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, runbookName: string, jobStreamId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, runbookName: string, jobStreamId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class TestJobStreams { * @param callback The callback */ listByTestJob(resourceGroupName: string, automationAccountName: string, runbookName: string, options: Models.TestJobStreamsListByTestJobOptionalParams, callback: msRest.ServiceCallback): void; - listByTestJob(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: Models.TestJobStreamsListByTestJobOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByTestJob(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: Models.TestJobStreamsListByTestJobOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -120,7 +120,7 @@ export class TestJobStreams { * @param callback The callback */ listByTestJobNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByTestJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByTestJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/usages.ts b/packages/@azure/arm-automation/lib/operations/usages.ts index 2b4417ec8b36..c89d3269d746 100644 --- a/packages/@azure/arm-automation/lib/operations/usages.ts +++ b/packages/@azure/arm-automation/lib/operations/usages.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/usagesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Usages { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-automation/lib/operations/variableOperations.ts b/packages/@azure/arm-automation/lib/operations/variableOperations.ts index 26218ffdb7a0..6fb1178baab5 100644 --- a/packages/@azure/arm-automation/lib/operations/variableOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/variableOperations.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/variableOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class VariableOperations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: Models.VariableCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: Models.VariableCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: Models.VariableCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -93,7 +93,7 @@ export class VariableOperations { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: Models.VariableUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: Models.VariableUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: Models.VariableUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -130,7 +130,7 @@ export class VariableOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, variableName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, variableName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, variableName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -166,7 +166,7 @@ export class VariableOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, variableName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, variableName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, variableName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -199,7 +199,7 @@ export class VariableOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -228,7 +228,7 @@ export class VariableOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/watcherOperations.ts b/packages/@azure/arm-automation/lib/operations/watcherOperations.ts index fbade5cc00cb..e1da24ef350b 100644 --- a/packages/@azure/arm-automation/lib/operations/watcherOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/watcherOperations.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/watcherOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class WatcherOperations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: Models.Watcher, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: Models.Watcher, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: Models.Watcher, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class WatcherOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, watcherName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -129,7 +129,7 @@ export class WatcherOperations { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: Models.WatcherUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: Models.WatcherUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: Models.WatcherUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -166,7 +166,7 @@ export class WatcherOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, watcherName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -202,7 +202,7 @@ export class WatcherOperations { * @param callback The callback */ start(resourceGroupName: string, automationAccountName: string, watcherName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - start(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + start(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -238,7 +238,7 @@ export class WatcherOperations { * @param callback The callback */ stop(resourceGroupName: string, automationAccountName: string, watcherName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - stop(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + stop(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -271,7 +271,7 @@ export class WatcherOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: Models.WatcherListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.WatcherListByAutomationAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.WatcherListByAutomationAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -300,7 +300,7 @@ export class WatcherOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/lib/operations/webhookOperations.ts b/packages/@azure/arm-automation/lib/operations/webhookOperations.ts index 88fd257b3fb2..e7ac9a9eef26 100644 --- a/packages/@azure/arm-automation/lib/operations/webhookOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/webhookOperations.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/webhookOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class WebhookOperations { * @param callback The callback */ generateUri(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - generateUri(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + generateUri(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class WebhookOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, webhookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -118,7 +118,7 @@ export class WebhookOperations { * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, webhookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -157,7 +157,7 @@ export class WebhookOperations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: Models.WebhookCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: Models.WebhookCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: Models.WebhookCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -197,7 +197,7 @@ export class WebhookOperations { * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: Models.WebhookUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: Models.WebhookUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: Models.WebhookUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -231,7 +231,7 @@ export class WebhookOperations { * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: Models.WebhookListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.WebhookListByAutomationAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.WebhookListByAutomationAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -260,7 +260,7 @@ export class WebhookOperations { * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-automation/package.json b/packages/@azure/arm-automation/package.json index 679108bf3ee5..d51248a5dad8 100644 --- a/packages/@azure/arm-automation/package.json +++ b/packages/@azure/arm-automation/package.json @@ -4,8 +4,8 @@ "description": "AutomationClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-automation/rollup.config.js b/packages/@azure/arm-automation/rollup.config.js index 8dbb651b9c20..ef2237c6c46a 100644 --- a/packages/@azure/arm-automation/rollup.config.js +++ b/packages/@azure/arm-automation/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/automationClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-automation.js", format: "umd", name: "Azure.ArmAutomation", 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-automation/tsconfig.esm.json b/packages/@azure/arm-automation/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-automation/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-automation/tsconfig.json b/packages/@azure/arm-automation/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-automation/tsconfig.json +++ b/packages/@azure/arm-automation/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-automation/webpack.config.js b/packages/@azure/arm-automation/webpack.config.js deleted file mode 100644 index dc1aaef3f5e0..000000000000 --- a/packages/@azure/arm-automation/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/automationClient.js', - devtool: 'source-map', - output: { - filename: 'automationClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'automationClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-azurestack/.npmignore b/packages/@azure/arm-azurestack/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-azurestack/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-azurestack/README.md b/packages/@azure/arm-azurestack/README.md index 39b8abf426e8..279d1a7adaca 100644 --- a/packages/@azure/arm-azurestack/README.md +++ b/packages/@azure/arm-azurestack/README.md @@ -1,24 +1,34 @@ -# Azure AzureStackManagementClient SDK for JavaScript +## Azure AzureStackManagementClient SDK for JavaScript + This package contains an isomorphic SDK for AzureStackManagementClient. -## 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-azurestack ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { AzureStackManagementClient, AzureStackManagementModels, AzureStackManagementMappers } from "@azure/arm-azurestack"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-azurestack 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-azurestack/lib/azureStackManagementClient.ts b/packages/@azure/arm-azurestack/lib/azureStackManagementClient.ts index b058195abcf4..04f21ebf7bfd 100644 --- a/packages/@azure/arm-azurestack/lib/azureStackManagementClient.ts +++ b/packages/@azure/arm-azurestack/lib/azureStackManagementClient.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-azurestack/lib/azureStackManagementClientContext.ts b/packages/@azure/arm-azurestack/lib/azureStackManagementClientContext.ts index 65973246afdd..318fc472276a 100644 --- a/packages/@azure/arm-azurestack/lib/azureStackManagementClientContext.ts +++ b/packages/@azure/arm-azurestack/lib/azureStackManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-azurestack"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class AzureStackManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the AzureStackManagementClient class. @@ -45,6 +38,11 @@ export class AzureStackManagementClientContext extends msRestAzure.AzureServiceC if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-06-01'; @@ -55,7 +53,6 @@ export class AzureStackManagementClientContext extends msRestAzure.AzureServiceC this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-azurestack/lib/models/index.ts b/packages/@azure/arm-azurestack/lib/models/index.ts index b7c03fadae6b..57467a65f1a1 100644 --- a/packages/@azure/arm-azurestack/lib/models/index.ts +++ b/packages/@azure/arm-azurestack/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -680,60 +680,31 @@ export interface CustomerSubscriptionList extends Array { * @readonly * @enum {string} */ -export enum ProvisioningState { - Creating = 'Creating', - Failed = 'Failed', - Succeeded = 'Succeeded', - Canceled = 'Canceled', -} +export type ProvisioningState = 'Creating' | 'Failed' | 'Succeeded' | 'Canceled'; /** * Defines values for ComputeRole. * Possible values include: 'None', 'IaaS', 'PaaS' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ComputeRole = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ComputeRole { - None = 'None', - IaaS = 'IaaS', - PaaS = 'PaaS', -} +export type ComputeRole = 'None' | 'IaaS' | 'PaaS'; /** * Defines values for OperatingSystem. * Possible values include: 'None', 'Windows', 'Linux' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OperatingSystem = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OperatingSystem { - None = 'None', - Windows = 'Windows', - Linux = 'Linux', -} +export type OperatingSystem = 'None' | 'Windows' | 'Linux'; /** * Defines values for Location. * Possible values include: 'global' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Location = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Location { - Global = 'global', -} +export type Location = 'global'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-azurestack/lib/models/mappers.ts b/packages/@azure/arm-azurestack/lib/models/mappers.ts index f0804ae139a8..b8e082c7f87b 100644 --- a/packages/@azure/arm-azurestack/lib/models/mappers.ts +++ b/packages/@azure/arm-azurestack/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-azurestack/lib/models/parameters.ts b/packages/@azure/arm-azurestack/lib/models/parameters.ts index 7e30198ce7bb..e13086b4e5df 100644 --- a/packages/@azure/arm-azurestack/lib/models/parameters.ts +++ b/packages/@azure/arm-azurestack/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-azurestack/lib/operations/customerSubscriptions.ts b/packages/@azure/arm-azurestack/lib/operations/customerSubscriptions.ts index 1f4f3931b4fb..9435b74b2f6e 100644 --- a/packages/@azure/arm-azurestack/lib/operations/customerSubscriptions.ts +++ b/packages/@azure/arm-azurestack/lib/operations/customerSubscriptions.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/customerSubscriptionsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class CustomerSubscriptions { * @param callback The callback */ list(resourceGroup: string, registrationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroup, @@ -82,7 +82,7 @@ export class CustomerSubscriptions { * @param callback The callback */ get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroup, @@ -118,7 +118,7 @@ export class CustomerSubscriptions { * @param callback The callback */ deleteMethod(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroup, @@ -157,7 +157,7 @@ export class CustomerSubscriptions { * @param callback The callback */ create(resourceGroup: string, registrationName: string, customerSubscriptionName: string, customerCreationParameters: Models.CustomerSubscription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroup: string, registrationName: string, customerSubscriptionName: string, customerCreationParameters: Models.CustomerSubscription, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroup: string, registrationName: string, customerSubscriptionName: string, customerCreationParameters: Models.CustomerSubscription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroup, @@ -188,7 +188,7 @@ export class CustomerSubscriptions { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-azurestack/lib/operations/operations.ts b/packages/@azure/arm-azurestack/lib/operations/operations.ts index 7dd906817402..197d13211f8e 100644 --- a/packages/@azure/arm-azurestack/lib/operations/operations.ts +++ b/packages/@azure/arm-azurestack/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-azurestack/lib/operations/products.ts b/packages/@azure/arm-azurestack/lib/operations/products.ts index 1f7259c3cce7..ab5e355e248f 100644 --- a/packages/@azure/arm-azurestack/lib/operations/products.ts +++ b/packages/@azure/arm-azurestack/lib/operations/products.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/productsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Products { * @param callback The callback */ list(resourceGroup: string, registrationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroup, @@ -82,7 +82,7 @@ export class Products { * @param callback The callback */ get(resourceGroup: string, registrationName: string, productName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroup: string, registrationName: string, productName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroup: string, registrationName: string, productName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroup, @@ -118,7 +118,7 @@ export class Products { * @param callback The callback */ listDetails(resourceGroup: string, registrationName: string, productName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDetails(resourceGroup: string, registrationName: string, productName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDetails(resourceGroup: string, registrationName: string, productName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroup, @@ -148,7 +148,7 @@ export class Products { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-azurestack/lib/operations/registrations.ts b/packages/@azure/arm-azurestack/lib/operations/registrations.ts index 7f3981a7d609..ff7c5d1122a4 100644 --- a/packages/@azure/arm-azurestack/lib/operations/registrations.ts +++ b/packages/@azure/arm-azurestack/lib/operations/registrations.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/registrationsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class Registrations { * @param callback The callback */ list(resourceGroup: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroup: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroup: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroup, @@ -75,7 +75,7 @@ export class Registrations { * @param callback The callback */ get(resourceGroup: string, registrationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroup, @@ -107,7 +107,7 @@ export class Registrations { * @param callback The callback */ deleteMethod(resourceGroup: string, registrationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroup, @@ -142,7 +142,7 @@ export class Registrations { * @param callback The callback */ createOrUpdate(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroup, @@ -178,7 +178,7 @@ export class Registrations { * @param callback The callback */ update(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroup, @@ -211,7 +211,7 @@ export class Registrations { * @param callback The callback */ getActivationKey(resourceGroup: string, registrationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getActivationKey(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getActivationKey(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroup, @@ -240,7 +240,7 @@ export class Registrations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-azurestack/package.json b/packages/@azure/arm-azurestack/package.json index fcc327a14238..78e8de5e981f 100644 --- a/packages/@azure/arm-azurestack/package.json +++ b/packages/@azure/arm-azurestack/package.json @@ -4,8 +4,8 @@ "description": "AzureStackManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-azurestack.js.map'\" -o ./dist/arm-azurestack.min.js ./dist/arm-azurestack.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-azurestack/rollup.config.js b/packages/@azure/arm-azurestack/rollup.config.js index 6ff04d7212fb..60a32f605eef 100644 --- a/packages/@azure/arm-azurestack/rollup.config.js +++ b/packages/@azure/arm-azurestack/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/azureStackManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-azurestack.js", format: "umd", name: "Azure.ArmAzurestack", 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-azurestack/tsconfig.json b/packages/@azure/arm-azurestack/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-azurestack/tsconfig.json +++ b/packages/@azure/arm-azurestack/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-batch/.npmignore b/packages/@azure/arm-batch/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-batch/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-batch/README.md b/packages/@azure/arm-batch/README.md index 066eac61371a..a73d1124236a 100644 --- a/packages/@azure/arm-batch/README.md +++ b/packages/@azure/arm-batch/README.md @@ -1,24 +1,34 @@ -# Azure BatchManagementClient SDK for JavaScript +## Azure BatchManagementClient SDK for JavaScript + This package contains an isomorphic SDK for BatchManagementClient. -## 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-batch ``` +### How to use + +#### nodejs - Authentication, client creation and get batchAccount as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get batchAccount as an example written in TypeScript. +##### Sample code ```ts -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 { BatchManagementClient, BatchManagementModels, BatchManagementMappers } from "@azure/arm-batch"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get batchAccount as an example written in JavaScript. +#### browser - Authentication, client creation and get batchAccount as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-batch 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-batch/lib/batchManagementClient.ts b/packages/@azure/arm-batch/lib/batchManagementClient.ts index 2ce11e5bccd0..b921e4ae2937 100644 --- a/packages/@azure/arm-batch/lib/batchManagementClient.ts +++ b/packages/@azure/arm-batch/lib/batchManagementClient.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-batch/lib/batchManagementClientContext.ts b/packages/@azure/arm-batch/lib/batchManagementClientContext.ts index d9198bd1c9f2..0116fb7ba18f 100644 --- a/packages/@azure/arm-batch/lib/batchManagementClientContext.ts +++ b/packages/@azure/arm-batch/lib/batchManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-batch"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class BatchManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the BatchManagementClient class. @@ -45,6 +38,11 @@ export class BatchManagementClientContext extends msRestAzure.AzureServiceClient if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-09-01'; @@ -55,7 +53,6 @@ export class BatchManagementClientContext extends msRestAzure.AzureServiceClient this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-batch/lib/models/index.ts b/packages/@azure/arm-batch/lib/models/index.ts index 3f911728b9ca..ca1259a449ac 100644 --- a/packages/@azure/arm-batch/lib/models/index.ts +++ b/packages/@azure/arm-batch/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -2404,26 +2404,15 @@ export interface ListPoolsResult extends Array { * @readonly * @enum {string} */ -export enum PoolAllocationMode { - BatchService = 'BatchService', - UserSubscription = 'UserSubscription', -} +export type PoolAllocationMode = 'BatchService' | 'UserSubscription'; /** * Defines values for ProvisioningState. - * Possible values include: 'Invalid', 'Creating', 'Deleting', 'Succeeded', - * 'Failed', 'Cancelled' + * Possible values include: 'Invalid', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Cancelled' * @readonly * @enum {string} */ -export enum ProvisioningState { - Invalid = 'Invalid', - Creating = 'Creating', - Deleting = 'Deleting', - Succeeded = 'Succeeded', - Failed = 'Failed', - Cancelled = 'Cancelled', -} +export type ProvisioningState = 'Invalid' | 'Creating' | 'Deleting' | 'Succeeded' | 'Failed' | 'Cancelled'; /** * Defines values for AccountKeyType. @@ -2431,10 +2420,7 @@ export enum ProvisioningState { * @readonly * @enum {string} */ -export enum AccountKeyType { - Primary = 'Primary', - Secondary = 'Secondary', -} +export type AccountKeyType = 'Primary' | 'Secondary'; /** * Defines values for PackageState. @@ -2442,11 +2428,7 @@ export enum AccountKeyType { * @readonly * @enum {string} */ -export enum PackageState { - Pending = 'Pending', - Active = 'Active', - Unmapped = 'Unmapped', -} +export type PackageState = 'Pending' | 'Active' | 'Unmapped'; /** * Defines values for CertificateFormat. @@ -2454,10 +2436,7 @@ export enum PackageState { * @readonly * @enum {string} */ -export enum CertificateFormat { - Pfx = 'Pfx', - Cer = 'Cer', -} +export type CertificateFormat = 'Pfx' | 'Cer'; /** * Defines values for CertificateProvisioningState. @@ -2465,11 +2444,7 @@ export enum CertificateFormat { * @readonly * @enum {string} */ -export enum CertificateProvisioningState { - Succeeded = 'Succeeded', - Deleting = 'Deleting', - Failed = 'Failed', -} +export type CertificateProvisioningState = 'Succeeded' | 'Deleting' | 'Failed'; /** * Defines values for PoolProvisioningState. @@ -2477,10 +2452,7 @@ export enum CertificateProvisioningState { * @readonly * @enum {string} */ -export enum PoolProvisioningState { - Succeeded = 'Succeeded', - Deleting = 'Deleting', -} +export type PoolProvisioningState = 'Succeeded' | 'Deleting'; /** * Defines values for AllocationState. @@ -2488,11 +2460,7 @@ export enum PoolProvisioningState { * @readonly * @enum {string} */ -export enum AllocationState { - Steady = 'Steady', - Resizing = 'Resizing', - Stopping = 'Stopping', -} +export type AllocationState = 'Steady' | 'Resizing' | 'Stopping'; /** * Defines values for CachingType. @@ -2500,11 +2468,7 @@ export enum AllocationState { * @readonly * @enum {string} */ -export enum CachingType { - None = 'None', - ReadOnly = 'ReadOnly', - ReadWrite = 'ReadWrite', -} +export type CachingType = 'None' | 'ReadOnly' | 'ReadWrite'; /** * Defines values for StorageAccountType. @@ -2512,24 +2476,15 @@ export enum CachingType { * @readonly * @enum {string} */ -export enum StorageAccountType { - StandardLRS = 'Standard_LRS', - PremiumLRS = 'Premium_LRS', -} +export type StorageAccountType = 'Standard_LRS' | 'Premium_LRS'; /** * Defines values for ComputeNodeDeallocationOption. - * Possible values include: 'Requeue', 'Terminate', 'TaskCompletion', - * 'RetainedData' + * Possible values include: 'Requeue', 'Terminate', 'TaskCompletion', 'RetainedData' * @readonly * @enum {string} */ -export enum ComputeNodeDeallocationOption { - Requeue = 'Requeue', - Terminate = 'Terminate', - TaskCompletion = 'TaskCompletion', - RetainedData = 'RetainedData', -} +export type ComputeNodeDeallocationOption = 'Requeue' | 'Terminate' | 'TaskCompletion' | 'RetainedData'; /** * Defines values for InterNodeCommunicationState. @@ -2537,10 +2492,7 @@ export enum ComputeNodeDeallocationOption { * @readonly * @enum {string} */ -export enum InterNodeCommunicationState { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type InterNodeCommunicationState = 'Enabled' | 'Disabled'; /** * Defines values for InboundEndpointProtocol. @@ -2548,10 +2500,7 @@ export enum InterNodeCommunicationState { * @readonly * @enum {string} */ -export enum InboundEndpointProtocol { - TCP = 'TCP', - UDP = 'UDP', -} +export type InboundEndpointProtocol = 'TCP' | 'UDP'; /** * Defines values for NetworkSecurityGroupRuleAccess. @@ -2559,10 +2508,7 @@ export enum InboundEndpointProtocol { * @readonly * @enum {string} */ -export enum NetworkSecurityGroupRuleAccess { - Allow = 'Allow', - Deny = 'Deny', -} +export type NetworkSecurityGroupRuleAccess = 'Allow' | 'Deny'; /** * Defines values for ComputeNodeFillType. @@ -2570,10 +2516,7 @@ export enum NetworkSecurityGroupRuleAccess { * @readonly * @enum {string} */ -export enum ComputeNodeFillType { - Spread = 'Spread', - Pack = 'Pack', -} +export type ComputeNodeFillType = 'Spread' | 'Pack'; /** * Defines values for ElevationLevel. @@ -2581,10 +2524,7 @@ export enum ComputeNodeFillType { * @readonly * @enum {string} */ -export enum ElevationLevel { - NonAdmin = 'NonAdmin', - Admin = 'Admin', -} +export type ElevationLevel = 'NonAdmin' | 'Admin'; /** * Defines values for AutoUserScope. @@ -2592,10 +2532,7 @@ export enum ElevationLevel { * @readonly * @enum {string} */ -export enum AutoUserScope { - Task = 'Task', - Pool = 'Pool', -} +export type AutoUserScope = 'Task' | 'Pool'; /** * Defines values for CertificateStoreLocation. @@ -2603,10 +2540,7 @@ export enum AutoUserScope { * @readonly * @enum {string} */ -export enum CertificateStoreLocation { - CurrentUser = 'CurrentUser', - LocalMachine = 'LocalMachine', -} +export type CertificateStoreLocation = 'CurrentUser' | 'LocalMachine'; /** * Defines values for CertificateVisibility. @@ -2614,11 +2548,7 @@ export enum CertificateStoreLocation { * @readonly * @enum {string} */ -export enum CertificateVisibility { - StartTask = 'StartTask', - Task = 'Task', - RemoteUser = 'RemoteUser', -} +export type CertificateVisibility = 'StartTask' | 'Task' | 'RemoteUser'; /** * Defines values for NameAvailabilityReason. @@ -2626,10 +2556,7 @@ export enum CertificateVisibility { * @readonly * @enum {string} */ -export enum NameAvailabilityReason { - Invalid = 'Invalid', - AlreadyExists = 'AlreadyExists', -} +export type NameAvailabilityReason = 'Invalid' | 'AlreadyExists'; /** * Contains response data for the create operation. diff --git a/packages/@azure/arm-batch/lib/models/mappers.ts b/packages/@azure/arm-batch/lib/models/mappers.ts index 929721babd9f..7698eb57ba77 100644 --- a/packages/@azure/arm-batch/lib/models/mappers.ts +++ b/packages/@azure/arm-batch/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-batch/lib/models/parameters.ts b/packages/@azure/arm-batch/lib/models/parameters.ts index fa3dbae57662..6c72e7bf6552 100644 --- a/packages/@azure/arm-batch/lib/models/parameters.ts +++ b/packages/@azure/arm-batch/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-batch/lib/operations/applicationOperations.ts b/packages/@azure/arm-batch/lib/operations/applicationOperations.ts index 606be172656f..9a9a538c61a9 100644 --- a/packages/@azure/arm-batch/lib/operations/applicationOperations.ts +++ b/packages/@azure/arm-batch/lib/operations/applicationOperations.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/applicationOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ApplicationOperations { * @param callback The callback */ create(resourceGroupName: string, accountName: string, applicationId: string, options: Models.ApplicationCreateOptionalParams, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, accountName: string, applicationId: string, options?: Models.ApplicationCreateOptionalParams, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, accountName: string, applicationId: string, options?: Models.ApplicationCreateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class ApplicationOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, applicationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, applicationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, applicationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -122,7 +122,7 @@ export class ApplicationOperations { * @param callback The callback */ get(resourceGroupName: string, accountName: string, applicationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, applicationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, applicationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -161,7 +161,7 @@ export class ApplicationOperations { * @param callback The callback */ update(resourceGroupName: string, accountName: string, applicationId: string, parameters: Models.ApplicationUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, applicationId: string, parameters: Models.ApplicationUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, applicationId: string, parameters: Models.ApplicationUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -195,7 +195,7 @@ export class ApplicationOperations { * @param callback The callback */ list(resourceGroupName: string, accountName: string, options: Models.ApplicationListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, accountName: string, options?: Models.ApplicationListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, accountName: string, options?: Models.ApplicationListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -224,7 +224,7 @@ export class ApplicationOperations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-batch/lib/operations/applicationPackageOperations.ts b/packages/@azure/arm-batch/lib/operations/applicationPackageOperations.ts index 06c4aca80697..2e24b21cebcd 100644 --- a/packages/@azure/arm-batch/lib/operations/applicationPackageOperations.ts +++ b/packages/@azure/arm-batch/lib/operations/applicationPackageOperations.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/applicationPackageOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class ApplicationPackageOperations { * @param callback The callback */ activate(resourceGroupName: string, accountName: string, applicationId: string, version: string, format: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - activate(resourceGroupName: string, accountName: string, applicationId: string, version: string, format: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + activate(resourceGroupName: string, accountName: string, applicationId: string, version: string, format: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -97,7 +97,7 @@ export class ApplicationPackageOperations { * @param callback The callback */ create(resourceGroupName: string, accountName: string, applicationId: string, version: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, accountName: string, applicationId: string, version: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, accountName: string, applicationId: string, version: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -137,7 +137,7 @@ export class ApplicationPackageOperations { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, applicationId: string, version: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, applicationId: string, version: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, applicationId: string, version: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -177,7 +177,7 @@ export class ApplicationPackageOperations { * @param callback The callback */ get(resourceGroupName: string, accountName: string, applicationId: string, version: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, applicationId: string, version: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, applicationId: string, version: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-batch/lib/operations/batchAccountOperations.ts b/packages/@azure/arm-batch/lib/operations/batchAccountOperations.ts index 578652e5ddff..ea91ec70b39e 100644 --- a/packages/@azure/arm-batch/lib/operations/batchAccountOperations.ts +++ b/packages/@azure/arm-batch/lib/operations/batchAccountOperations.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/batchAccountOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -69,7 +69,7 @@ export class BatchAccountOperations { * @param callback The callback */ update(resourceGroupName: string, accountName: string, parameters: Models.BatchAccountUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, parameters: Models.BatchAccountUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, parameters: Models.BatchAccountUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -114,7 +114,7 @@ export class BatchAccountOperations { * @param callback The callback */ get(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -140,7 +140,7 @@ export class BatchAccountOperations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -167,7 +167,7 @@ export class BatchAccountOperations { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -199,7 +199,7 @@ export class BatchAccountOperations { * @param callback The callback */ synchronizeAutoStorageKeys(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - synchronizeAutoStorageKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + synchronizeAutoStorageKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -237,7 +237,7 @@ export class BatchAccountOperations { * @param callback The callback */ regenerateKey(resourceGroupName: string, accountName: string, keyName: Models.AccountKeyType, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKey(resourceGroupName: string, accountName: string, keyName: Models.AccountKeyType, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKey(resourceGroupName: string, accountName: string, keyName: Models.AccountKeyType, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -274,7 +274,7 @@ export class BatchAccountOperations { * @param callback The callback */ getKeys(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -346,7 +346,7 @@ export class BatchAccountOperations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -374,7 +374,7 @@ export class BatchAccountOperations { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-batch/lib/operations/certificateOperations.ts b/packages/@azure/arm-batch/lib/operations/certificateOperations.ts index 579de629b38e..5b9198143766 100644 --- a/packages/@azure/arm-batch/lib/operations/certificateOperations.ts +++ b/packages/@azure/arm-batch/lib/operations/certificateOperations.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/certificateOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class CertificateOperations { * @param callback The callback */ listByBatchAccount(resourceGroupName: string, accountName: string, options: Models.CertificateListByBatchAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByBatchAccount(resourceGroupName: string, accountName: string, options?: Models.CertificateListByBatchAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByBatchAccount(resourceGroupName: string, accountName: string, options?: Models.CertificateListByBatchAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -108,7 +108,7 @@ export class CertificateOperations { * @param callback The callback */ update(resourceGroupName: string, accountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, options: Models.CertificateUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, options?: Models.CertificateUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, options?: Models.CertificateUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -166,7 +166,7 @@ export class CertificateOperations { * @param callback The callback */ get(resourceGroupName: string, accountName: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -214,7 +214,7 @@ export class CertificateOperations { * @param callback The callback */ cancelDeletion(resourceGroupName: string, accountName: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - cancelDeletion(resourceGroupName: string, accountName: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + cancelDeletion(resourceGroupName: string, accountName: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -290,7 +290,7 @@ export class CertificateOperations { * @param callback The callback */ listByBatchAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByBatchAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByBatchAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-batch/lib/operations/location.ts b/packages/@azure/arm-batch/lib/operations/location.ts index 5d5b164fdcc0..6efd43a3f585 100644 --- a/packages/@azure/arm-batch/lib/operations/location.ts +++ b/packages/@azure/arm-batch/lib/operations/location.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/locationMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class Location { * @param callback The callback */ getQuotas(locationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getQuotas(locationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getQuotas(locationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { locationName, @@ -75,7 +75,7 @@ export class Location { * @param callback The callback */ checkNameAvailability(locationName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(locationName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(locationName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { locationName, diff --git a/packages/@azure/arm-batch/lib/operations/operations.ts b/packages/@azure/arm-batch/lib/operations/operations.ts index cf75d111c87a..b4067f9898f6 100644 --- a/packages/@azure/arm-batch/lib/operations/operations.ts +++ b/packages/@azure/arm-batch/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-batch/lib/operations/poolOperations.ts b/packages/@azure/arm-batch/lib/operations/poolOperations.ts index 51f04af38129..02c071ab662a 100644 --- a/packages/@azure/arm-batch/lib/operations/poolOperations.ts +++ b/packages/@azure/arm-batch/lib/operations/poolOperations.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/poolOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class PoolOperations { * @param callback The callback */ listByBatchAccount(resourceGroupName: string, accountName: string, options: Models.PoolListByBatchAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByBatchAccount(resourceGroupName: string, accountName: string, options?: Models.PoolListByBatchAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByBatchAccount(resourceGroupName: string, accountName: string, options?: Models.PoolListByBatchAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -103,7 +103,7 @@ export class PoolOperations { * @param callback The callback */ update(resourceGroupName: string, accountName: string, poolName: string, parameters: Models.Pool, options: Models.PoolUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, poolName: string, parameters: Models.Pool, options?: Models.PoolUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, poolName: string, parameters: Models.Pool, options?: Models.PoolUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -153,7 +153,7 @@ export class PoolOperations { * @param callback The callback */ get(resourceGroupName: string, accountName: string, poolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -189,7 +189,7 @@ export class PoolOperations { * @param callback The callback */ disableAutoScale(resourceGroupName: string, accountName: string, poolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - disableAutoScale(resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + disableAutoScale(resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -231,7 +231,7 @@ export class PoolOperations { * @param callback The callback */ stopResize(resourceGroupName: string, accountName: string, poolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - stopResize(resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + stopResize(resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -303,7 +303,7 @@ export class PoolOperations { * @param callback The callback */ listByBatchAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByBatchAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByBatchAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-batch/package.json b/packages/@azure/arm-batch/package.json index 7f35e35bf526..abc71d0ae6f6 100644 --- a/packages/@azure/arm-batch/package.json +++ b/packages/@azure/arm-batch/package.json @@ -4,8 +4,8 @@ "description": "BatchManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-batch.js.map'\" -o ./dist/arm-batch.min.js ./dist/arm-batch.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-batch/rollup.config.js b/packages/@azure/arm-batch/rollup.config.js index 412aa411ff9a..75e829947f0f 100644 --- a/packages/@azure/arm-batch/rollup.config.js +++ b/packages/@azure/arm-batch/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/batchManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-batch.js", format: "umd", name: "Azure.ArmBatch", 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-batch/tsconfig.json b/packages/@azure/arm-batch/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-batch/tsconfig.json +++ b/packages/@azure/arm-batch/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-batchai/.npmignore b/packages/@azure/arm-batchai/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-batchai/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-batchai/README.md b/packages/@azure/arm-batchai/README.md index ae392ab40a83..7618a377a4e3 100644 --- a/packages/@azure/arm-batchai/README.md +++ b/packages/@azure/arm-batchai/README.md @@ -1,24 +1,34 @@ -# Azure BatchAIManagementClient SDK for JavaScript +## Azure BatchAIManagementClient SDK for JavaScript + This package contains an isomorphic SDK for BatchAIManagementClient. -## 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-batchai ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { BatchAIManagementClient, BatchAIManagementModels, BatchAIManagementMappers } from "@azure/arm-batchai"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-batchai 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-batchai/lib/batchAIManagementClient.ts b/packages/@azure/arm-batchai/lib/batchAIManagementClient.ts index a936fa39f0c5..c9af5d391f4d 100644 --- a/packages/@azure/arm-batchai/lib/batchAIManagementClient.ts +++ b/packages/@azure/arm-batchai/lib/batchAIManagementClient.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-batchai/lib/batchAIManagementClientContext.ts b/packages/@azure/arm-batchai/lib/batchAIManagementClientContext.ts index 8ce24a149d25..ceeed0225f70 100644 --- a/packages/@azure/arm-batchai/lib/batchAIManagementClientContext.ts +++ b/packages/@azure/arm-batchai/lib/batchAIManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-batchai"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class BatchAIManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the BatchAIManagementClient class. @@ -44,6 +37,11 @@ export class BatchAIManagementClientContext extends msRestAzure.AzureServiceClie if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-05-01'; @@ -54,7 +52,6 @@ export class BatchAIManagementClientContext extends msRestAzure.AzureServiceClie this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-batchai/lib/models/index.ts b/packages/@azure/arm-batchai/lib/models/index.ts index 44250a9e2701..6fdeac200f9e 100644 --- a/packages/@azure/arm-batchai/lib/models/index.ts +++ b/packages/@azure/arm-batchai/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -2572,16 +2572,10 @@ export interface ClusterListResult extends Array { /** * Defines values for UsageUnit. * Possible values include: 'Count' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UsageUnit = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum UsageUnit { - Count = 'Count', -} +export type UsageUnit = 'Count'; /** * Defines values for CachingType. @@ -2589,47 +2583,23 @@ export enum UsageUnit { * @readonly * @enum {string} */ -export enum CachingType { - None = 'none', - Readonly = 'readonly', - Readwrite = 'readwrite', -} +export type CachingType = 'none' | 'readonly' | 'readwrite'; /** * Defines values for StorageAccountType. * Possible values include: 'Standard_LRS', 'Premium_LRS' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: StorageAccountType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum StorageAccountType { - StandardLRS = 'Standard_LRS', - PremiumLRS = 'Premium_LRS', -} +export type StorageAccountType = 'Standard_LRS' | 'Premium_LRS'; /** * Defines values for FileServerProvisioningState. - * Possible values include: 'creating', 'updating', 'deleting', 'succeeded', - * 'failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FileServerProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'creating', 'updating', 'deleting', 'succeeded', 'failed' * @readonly * @enum {string} */ -export enum FileServerProvisioningState { - Creating = 'creating', - Updating = 'updating', - Deleting = 'deleting', - Succeeded = 'succeeded', - Failed = 'failed', -} +export type FileServerProvisioningState = 'creating' | 'updating' | 'deleting' | 'succeeded' | 'failed'; /** * Defines values for VmPriority. @@ -2637,135 +2607,64 @@ export enum FileServerProvisioningState { * @readonly * @enum {string} */ -export enum VmPriority { - Dedicated = 'dedicated', - Lowpriority = 'lowpriority', -} +export type VmPriority = 'dedicated' | 'lowpriority'; /** * Defines values for DeallocationOption. * Possible values include: 'requeue', 'terminate', 'waitforjobcompletion' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DeallocationOption = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DeallocationOption { - Requeue = 'requeue', - Terminate = 'terminate', - Waitforjobcompletion = 'waitforjobcompletion', -} +export type DeallocationOption = 'requeue' | 'terminate' | 'waitforjobcompletion'; /** * Defines values for ProvisioningState. * Possible values include: 'creating', 'succeeded', 'failed', 'deleting' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ProvisioningState { - Creating = 'creating', - Succeeded = 'succeeded', - Failed = 'failed', - Deleting = 'deleting', -} +export type ProvisioningState = 'creating' | 'succeeded' | 'failed' | 'deleting'; /** * Defines values for AllocationState. * Possible values include: 'steady', 'resizing' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AllocationState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AllocationState { - Steady = 'steady', - Resizing = 'resizing', -} +export type AllocationState = 'steady' | 'resizing'; /** * Defines values for JobPriority. * Possible values include: 'low', 'normal', 'high' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: JobPriority = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum JobPriority { - Low = 'low', - Normal = 'normal', - High = 'high', -} +export type JobPriority = 'low' | 'normal' | 'high'; /** * Defines values for ToolType. - * Possible values include: 'cntk', 'tensorflow', 'caffe', 'caffe2', 'chainer', - * 'horovod', 'custommpi', 'custom' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ToolType = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'cntk', 'tensorflow', 'caffe', 'caffe2', 'chainer', 'horovod', + * 'custommpi', 'custom' * @readonly * @enum {string} */ -export enum ToolType { - Cntk = 'cntk', - Tensorflow = 'tensorflow', - Caffe = 'caffe', - Caffe2 = 'caffe2', - Chainer = 'chainer', - Horovod = 'horovod', - Custommpi = 'custommpi', - Custom = 'custom', -} +export type ToolType = 'cntk' | 'tensorflow' | 'caffe' | 'caffe2' | 'chainer' | 'horovod' | 'custommpi' | 'custom'; /** * Defines values for ExecutionState. - * Possible values include: 'queued', 'running', 'terminating', 'succeeded', - * 'failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ExecutionState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'queued', 'running', 'terminating', 'succeeded', 'failed' * @readonly * @enum {string} */ -export enum ExecutionState { - Queued = 'queued', - Running = 'running', - Terminating = 'terminating', - Succeeded = 'succeeded', - Failed = 'failed', -} +export type ExecutionState = 'queued' | 'running' | 'terminating' | 'succeeded' | 'failed'; /** * Defines values for FileType. * Possible values include: 'file', 'directory' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FileType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FileType { - File = 'file', - Directory = 'directory', -} +export type FileType = 'file' | 'directory'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-batchai/lib/models/mappers.ts b/packages/@azure/arm-batchai/lib/models/mappers.ts index ecb9918023ab..9dd4f2d35bba 100644 --- a/packages/@azure/arm-batchai/lib/models/mappers.ts +++ b/packages/@azure/arm-batchai/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-batchai/lib/models/parameters.ts b/packages/@azure/arm-batchai/lib/models/parameters.ts index 8ef1e8f4902b..872fcdb9d3ab 100644 --- a/packages/@azure/arm-batchai/lib/models/parameters.ts +++ b/packages/@azure/arm-batchai/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-batchai/lib/operations/clusters.ts b/packages/@azure/arm-batchai/lib/operations/clusters.ts index 2023381a6f9e..30ab81727a55 100644 --- a/packages/@azure/arm-batchai/lib/operations/clusters.ts +++ b/packages/@azure/arm-batchai/lib/operations/clusters.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/clustersMappers"; import * as Parameters from "../models/parameters"; @@ -81,7 +81,7 @@ export class Clusters { * @param callback The callback */ update(resourceGroupName: string, workspaceName: string, clusterName: string, options: Models.ClustersUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, workspaceName: string, clusterName: string, options?: Models.ClustersUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, workspaceName: string, clusterName: string, options?: Models.ClustersUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -146,7 +146,7 @@ export class Clusters { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, clusterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, clusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -194,7 +194,7 @@ export class Clusters { * @param callback The callback */ listRemoteLoginInformation(resourceGroupName: string, workspaceName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRemoteLoginInformation(resourceGroupName: string, workspaceName: string, clusterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRemoteLoginInformation(resourceGroupName: string, workspaceName: string, clusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -233,7 +233,7 @@ export class Clusters { * @param callback The callback */ listByWorkspace(resourceGroupName: string, workspaceName: string, options: Models.ClustersListByWorkspaceOptionalParams, callback: msRest.ServiceCallback): void; - listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.ClustersListByWorkspaceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.ClustersListByWorkspaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -312,7 +312,7 @@ export class Clusters { * @param callback The callback */ listRemoteLoginInformationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRemoteLoginInformationNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRemoteLoginInformationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -340,7 +340,7 @@ export class Clusters { * @param callback The callback */ listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-batchai/lib/operations/experiments.ts b/packages/@azure/arm-batchai/lib/operations/experiments.ts index bdd52a25fa90..1a62251376ce 100644 --- a/packages/@azure/arm-batchai/lib/operations/experiments.ts +++ b/packages/@azure/arm-batchai/lib/operations/experiments.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/experimentsMappers"; import * as Parameters from "../models/parameters"; @@ -54,7 +54,7 @@ export class Experiments { * @param callback The callback */ listByWorkspace(resourceGroupName: string, workspaceName: string, options: Models.ExperimentsListByWorkspaceOptionalParams, callback: msRest.ServiceCallback): void; - listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.ExperimentsListByWorkspaceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.ExperimentsListByWorkspaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -135,7 +135,7 @@ export class Experiments { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, experimentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, experimentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, experimentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -213,7 +213,7 @@ export class Experiments { * @param callback The callback */ listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-batchai/lib/operations/fileServers.ts b/packages/@azure/arm-batchai/lib/operations/fileServers.ts index b4c16a00e754..caf13a2c4a7a 100644 --- a/packages/@azure/arm-batchai/lib/operations/fileServers.ts +++ b/packages/@azure/arm-batchai/lib/operations/fileServers.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/fileServersMappers"; import * as Parameters from "../models/parameters"; @@ -98,7 +98,7 @@ export class FileServers { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, fileServerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, fileServerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, fileServerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -137,7 +137,7 @@ export class FileServers { * @param callback The callback */ listByWorkspace(resourceGroupName: string, workspaceName: string, options: Models.FileServersListByWorkspaceOptionalParams, callback: msRest.ServiceCallback): void; - listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.FileServersListByWorkspaceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.FileServersListByWorkspaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -216,7 +216,7 @@ export class FileServers { * @param callback The callback */ listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-batchai/lib/operations/jobs.ts b/packages/@azure/arm-batchai/lib/operations/jobs.ts index 3c4dd3a9dbdf..3f358def5300 100644 --- a/packages/@azure/arm-batchai/lib/operations/jobs.ts +++ b/packages/@azure/arm-batchai/lib/operations/jobs.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/jobsMappers"; import * as Parameters from "../models/parameters"; @@ -63,7 +63,7 @@ export class Jobs { * @param callback The callback */ listByExperiment(resourceGroupName: string, workspaceName: string, experimentName: string, options: Models.JobsListByExperimentOptionalParams, callback: msRest.ServiceCallback): void; - listByExperiment(resourceGroupName: string, workspaceName: string, experimentName: string, options?: Models.JobsListByExperimentOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByExperiment(resourceGroupName: string, workspaceName: string, experimentName: string, options?: Models.JobsListByExperimentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -161,7 +161,7 @@ export class Jobs { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, experimentName: string, jobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, experimentName: string, jobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, experimentName: string, jobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -223,7 +223,7 @@ export class Jobs { * @param callback The callback */ listOutputFiles(resourceGroupName: string, workspaceName: string, experimentName: string, jobName: string, jobsListOutputFilesOptions: Models.JobsListOutputFilesOptions, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOutputFiles(resourceGroupName: string, workspaceName: string, experimentName: string, jobName: string, jobsListOutputFilesOptions: Models.JobsListOutputFilesOptions, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOutputFiles(resourceGroupName: string, workspaceName: string, experimentName: string, jobName: string, jobsListOutputFilesOptions: Models.JobsListOutputFilesOptions, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -283,7 +283,7 @@ export class Jobs { * @param callback The callback */ listRemoteLoginInformation(resourceGroupName: string, workspaceName: string, experimentName: string, jobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRemoteLoginInformation(resourceGroupName: string, workspaceName: string, experimentName: string, jobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRemoteLoginInformation(resourceGroupName: string, workspaceName: string, experimentName: string, jobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -420,7 +420,7 @@ export class Jobs { * @param callback The callback */ listByExperimentNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByExperimentNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByExperimentNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -449,7 +449,7 @@ export class Jobs { * @param callback The callback */ listOutputFilesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOutputFilesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOutputFilesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -478,7 +478,7 @@ export class Jobs { * @param callback The callback */ listRemoteLoginInformationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRemoteLoginInformationNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRemoteLoginInformationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-batchai/lib/operations/operations.ts b/packages/@azure/arm-batchai/lib/operations/operations.ts index 2cfb7ef4da9f..259e110d0854 100644 --- a/packages/@azure/arm-batchai/lib/operations/operations.ts +++ b/packages/@azure/arm-batchai/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-batchai/lib/operations/usages.ts b/packages/@azure/arm-batchai/lib/operations/usages.ts index d0860d7e6316..0918ec77d9b0 100644 --- a/packages/@azure/arm-batchai/lib/operations/usages.ts +++ b/packages/@azure/arm-batchai/lib/operations/usages.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/usagesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Usages { * @param callback The callback */ list(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -74,7 +74,7 @@ export class Usages { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-batchai/lib/operations/workspaces.ts b/packages/@azure/arm-batchai/lib/operations/workspaces.ts index 4b47a53e3e84..d18df61d0c82 100644 --- a/packages/@azure/arm-batchai/lib/operations/workspaces.ts +++ b/packages/@azure/arm-batchai/lib/operations/workspaces.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/workspacesMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class Workspaces { * @param callback The callback */ list(options: Models.WorkspacesListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.WorkspacesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.WorkspacesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -69,7 +69,7 @@ export class Workspaces { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.WorkspacesListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.WorkspacesListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.WorkspacesListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class Workspaces { * @param callback The callback */ update(resourceGroupName: string, workspaceName: string, options: Models.WorkspacesUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, workspaceName: string, options?: Models.WorkspacesUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, workspaceName: string, options?: Models.WorkspacesUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -173,7 +173,7 @@ export class Workspaces { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -244,7 +244,7 @@ export class Workspaces { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -272,7 +272,7 @@ export class Workspaces { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-batchai/package.json b/packages/@azure/arm-batchai/package.json index c9502c184c33..ce91c35a7538 100644 --- a/packages/@azure/arm-batchai/package.json +++ b/packages/@azure/arm-batchai/package.json @@ -4,8 +4,8 @@ "description": "BatchAIManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-batchai.js.map'\" -o ./dist/arm-batchai.min.js ./dist/arm-batchai.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-batchai/rollup.config.js b/packages/@azure/arm-batchai/rollup.config.js index 8230d22dac66..de1950f9a404 100644 --- a/packages/@azure/arm-batchai/rollup.config.js +++ b/packages/@azure/arm-batchai/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/batchAIManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-batchai.js", format: "umd", name: "Azure.ArmBatchai", 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-batchai/tsconfig.json b/packages/@azure/arm-batchai/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-batchai/tsconfig.json +++ b/packages/@azure/arm-batchai/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-billing/.npmignore b/packages/@azure/arm-billing/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-billing/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-billing/README.md b/packages/@azure/arm-billing/README.md index 685f2dcccc02..f36daa13d9f6 100644 --- a/packages/@azure/arm-billing/README.md +++ b/packages/@azure/arm-billing/README.md @@ -1,24 +1,34 @@ -# Azure BillingManagementClient SDK for JavaScript +## Azure BillingManagementClient SDK for JavaScript + This package contains an isomorphic SDK for BillingManagementClient. -## 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-billing ``` +### How to use + +#### nodejs - Authentication, client creation and list enrollmentAccounts as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list enrollmentAccounts as an example written in TypeScript. +##### Sample code ```ts -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 { BillingManagementClient, BillingManagementModels, BillingManagementMappers } from "@azure/arm-billing"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list enrollmentAccounts as an example written in JavaScript. +#### browser - Authentication, client creation and list enrollmentAccounts as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-billing 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-billing/lib/billingManagementClient.ts b/packages/@azure/arm-billing/lib/billingManagementClient.ts index 9d43fa4f0c48..171fe7188b39 100644 --- a/packages/@azure/arm-billing/lib/billingManagementClient.ts +++ b/packages/@azure/arm-billing/lib/billingManagementClient.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-billing/lib/billingManagementClientContext.ts b/packages/@azure/arm-billing/lib/billingManagementClientContext.ts index eab3e097eeac..3501b4ba6e55 100644 --- a/packages/@azure/arm-billing/lib/billingManagementClientContext.ts +++ b/packages/@azure/arm-billing/lib/billingManagementClientContext.ts @@ -9,24 +9,17 @@ */ 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-billing"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class BillingManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - - apiVersion: string; - + apiVersion?: string; subscriptionId: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the BillingManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -44,6 +37,11 @@ export class BillingManagementClientContext extends msRestAzure.AzureServiceClie if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-03-01-preview'; @@ -54,7 +52,6 @@ export class BillingManagementClientContext extends msRestAzure.AzureServiceClie this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-billing/lib/models/index.ts b/packages/@azure/arm-billing/lib/models/index.ts index be402db324c3..43c00d84b805 100644 --- a/packages/@azure/arm-billing/lib/models/index.ts +++ b/packages/@azure/arm-billing/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; diff --git a/packages/@azure/arm-billing/lib/models/mappers.ts b/packages/@azure/arm-billing/lib/models/mappers.ts index 9ae65c44eb82..7a43d33d35f4 100644 --- a/packages/@azure/arm-billing/lib/models/mappers.ts +++ b/packages/@azure/arm-billing/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-billing/lib/models/parameters.ts b/packages/@azure/arm-billing/lib/models/parameters.ts index c3d7dbc8cd9f..b8826d672899 100644 --- a/packages/@azure/arm-billing/lib/models/parameters.ts +++ b/packages/@azure/arm-billing/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-billing/lib/operations/billingPeriods.ts b/packages/@azure/arm-billing/lib/operations/billingPeriods.ts index 329dce9ba17f..2dcc29cf78d9 100644 --- a/packages/@azure/arm-billing/lib/operations/billingPeriods.ts +++ b/packages/@azure/arm-billing/lib/operations/billingPeriods.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/billingPeriodsMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class BillingPeriods { * @param callback The callback */ list(options: Models.BillingPeriodsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.BillingPeriodsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.BillingPeriodsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -72,7 +72,7 @@ export class BillingPeriods { * @param callback The callback */ get(billingPeriodName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(billingPeriodName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(billingPeriodName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingPeriodName, @@ -102,7 +102,7 @@ export class BillingPeriods { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-billing/lib/operations/enrollmentAccounts.ts b/packages/@azure/arm-billing/lib/operations/enrollmentAccounts.ts index e0a119a6413f..c3309045d357 100644 --- a/packages/@azure/arm-billing/lib/operations/enrollmentAccounts.ts +++ b/packages/@azure/arm-billing/lib/operations/enrollmentAccounts.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/enrollmentAccountsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class EnrollmentAccounts { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class EnrollmentAccounts { * @param callback The callback */ get(name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { name, @@ -96,7 +96,7 @@ export class EnrollmentAccounts { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-billing/lib/operations/invoices.ts b/packages/@azure/arm-billing/lib/operations/invoices.ts index e483ac8fe45c..cdf4a4245a57 100644 --- a/packages/@azure/arm-billing/lib/operations/invoices.ts +++ b/packages/@azure/arm-billing/lib/operations/invoices.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/invoicesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Invoices { * @param callback The callback */ list(options: Models.InvoicesListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.InvoicesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.InvoicesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -75,7 +75,7 @@ export class Invoices { * @param callback The callback */ get(invoiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(invoiceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(invoiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { invoiceName, @@ -103,7 +103,7 @@ export class Invoices { * @param callback The callback */ getLatest(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getLatest(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getLatest(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -134,7 +134,7 @@ export class Invoices { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-billing/lib/operations/operations.ts b/packages/@azure/arm-billing/lib/operations/operations.ts index 62ad73234c1e..c146d47b7560 100644 --- a/packages/@azure/arm-billing/lib/operations/operations.ts +++ b/packages/@azure/arm-billing/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-billing/package.json b/packages/@azure/arm-billing/package.json index 2bee691f3351..a6e6a48233a0 100644 --- a/packages/@azure/arm-billing/package.json +++ b/packages/@azure/arm-billing/package.json @@ -4,8 +4,8 @@ "description": "BillingManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-billing.js.map'\" -o ./dist/arm-billing.min.js ./dist/arm-billing.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-billing/rollup.config.js b/packages/@azure/arm-billing/rollup.config.js index 11672e9c7e36..ae6725122752 100644 --- a/packages/@azure/arm-billing/rollup.config.js +++ b/packages/@azure/arm-billing/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/billingManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-billing.js", format: "umd", name: "Azure.ArmBilling", 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-billing/tsconfig.json b/packages/@azure/arm-billing/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-billing/tsconfig.json +++ b/packages/@azure/arm-billing/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-cdn/.npmignore b/packages/@azure/arm-cdn/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-cdn/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-cdn/README.md b/packages/@azure/arm-cdn/README.md index c2a3fe239328..e489e40d0266 100644 --- a/packages/@azure/arm-cdn/README.md +++ b/packages/@azure/arm-cdn/README.md @@ -1,24 +1,34 @@ -# Azure CdnManagementClient SDK for JavaScript +## Azure CdnManagementClient SDK for JavaScript + This package contains an isomorphic SDK for CdnManagementClient. -## 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-cdn ``` +### How to use + +#### nodejs - Authentication, client creation and list profiles as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list profiles as an example written in TypeScript. +##### Sample code ```ts -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 { CdnManagementClient, CdnManagementModels, CdnManagementMappers } from "@azure/arm-cdn"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list profiles as an example written in JavaScript. +#### browser - Authentication, client creation and list profiles as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-cdn 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-cdn/lib/cdnManagementClient.ts b/packages/@azure/arm-cdn/lib/cdnManagementClient.ts index dd3d049571c3..d0659fd35c4c 100644 --- a/packages/@azure/arm-cdn/lib/cdnManagementClient.ts +++ b/packages/@azure/arm-cdn/lib/cdnManagementClient.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 Parameters from "./models/parameters"; @@ -62,7 +62,7 @@ class CdnManagementClient extends CdnManagementClientContext { * @param callback The callback */ checkNameAvailability(name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { name, @@ -91,7 +91,7 @@ class CdnManagementClient extends CdnManagementClientContext { * @param callback The callback */ checkNameAvailabilityWithSubscription(name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailabilityWithSubscription(name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailabilityWithSubscription(name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { name, @@ -121,7 +121,7 @@ class CdnManagementClient extends CdnManagementClientContext { * @param callback The callback */ validateProbe(probeURL: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validateProbe(probeURL: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + validateProbe(probeURL: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { probeURL, diff --git a/packages/@azure/arm-cdn/lib/cdnManagementClientContext.ts b/packages/@azure/arm-cdn/lib/cdnManagementClientContext.ts index 303d595ef676..6e500aa77b6c 100644 --- a/packages/@azure/arm-cdn/lib/cdnManagementClientContext.ts +++ b/packages/@azure/arm-cdn/lib/cdnManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-cdn"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class CdnManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the CdnManagementClient class. @@ -44,6 +37,11 @@ export class CdnManagementClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-10-12'; @@ -54,7 +52,6 @@ export class CdnManagementClientContext extends msRestAzure.AzureServiceClient { this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-cdn/lib/models/index.ts b/packages/@azure/arm-cdn/lib/models/index.ts index fc2c2e942735..e1cc94c7bb37 100644 --- a/packages/@azure/arm-cdn/lib/models/index.ts +++ b/packages/@azure/arm-cdn/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1211,98 +1211,45 @@ export interface EdgenodeResult extends Array { /** * Defines values for SkuName. - * Possible values include: 'Standard_Verizon', 'Premium_Verizon', - * 'Custom_Verizon', 'Standard_Akamai', 'Standard_ChinaCdn', - * 'Standard_Microsoft' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuName = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon', + * 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft' * @readonly * @enum {string} */ -export enum SkuName { - StandardVerizon = 'Standard_Verizon', - PremiumVerizon = 'Premium_Verizon', - CustomVerizon = 'Custom_Verizon', - StandardAkamai = 'Standard_Akamai', - StandardChinaCdn = 'Standard_ChinaCdn', - StandardMicrosoft = 'Standard_Microsoft', -} +export type SkuName = 'Standard_Verizon' | 'Premium_Verizon' | 'Custom_Verizon' | 'Standard_Akamai' | 'Standard_ChinaCdn' | 'Standard_Microsoft'; /** * Defines values for ProfileResourceState. * Possible values include: 'Creating', 'Active', 'Deleting', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProfileResourceState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ProfileResourceState { - Creating = 'Creating', - Active = 'Active', - Deleting = 'Deleting', - Disabled = 'Disabled', -} +export type ProfileResourceState = 'Creating' | 'Active' | 'Deleting' | 'Disabled'; /** * Defines values for OptimizationType. * Possible values include: 'GeneralWebDelivery', 'GeneralMediaStreaming', - * 'VideoOnDemandMediaStreaming', 'LargeFileDownload', - * 'DynamicSiteAcceleration' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OptimizationType = - * "someUnknownValueThatWillStillBeValid"; + * 'VideoOnDemandMediaStreaming', 'LargeFileDownload', 'DynamicSiteAcceleration' * @readonly * @enum {string} */ -export enum OptimizationType { - GeneralWebDelivery = 'GeneralWebDelivery', - GeneralMediaStreaming = 'GeneralMediaStreaming', - VideoOnDemandMediaStreaming = 'VideoOnDemandMediaStreaming', - LargeFileDownload = 'LargeFileDownload', - DynamicSiteAcceleration = 'DynamicSiteAcceleration', -} +export type OptimizationType = 'GeneralWebDelivery' | 'GeneralMediaStreaming' | 'VideoOnDemandMediaStreaming' | 'LargeFileDownload' | 'DynamicSiteAcceleration'; /** * Defines values for EndpointResourceState. - * Possible values include: 'Creating', 'Deleting', 'Running', 'Starting', - * 'Stopped', 'Stopping' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EndpointResourceState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Creating', 'Deleting', 'Running', 'Starting', 'Stopped', 'Stopping' * @readonly * @enum {string} */ -export enum EndpointResourceState { - Creating = 'Creating', - Deleting = 'Deleting', - Running = 'Running', - Starting = 'Starting', - Stopped = 'Stopped', - Stopping = 'Stopping', -} +export type EndpointResourceState = 'Creating' | 'Deleting' | 'Running' | 'Starting' | 'Stopped' | 'Stopping'; /** * Defines values for QueryStringCachingBehavior. - * Possible values include: 'IgnoreQueryString', 'BypassCaching', - * 'UseQueryString', 'NotSet' + * Possible values include: 'IgnoreQueryString', 'BypassCaching', 'UseQueryString', 'NotSet' * @readonly * @enum {string} */ -export enum QueryStringCachingBehavior { - IgnoreQueryString = 'IgnoreQueryString', - BypassCaching = 'BypassCaching', - UseQueryString = 'UseQueryString', - NotSet = 'NotSet', -} +export type QueryStringCachingBehavior = 'IgnoreQueryString' | 'BypassCaching' | 'UseQueryString' | 'NotSet'; /** * Defines values for GeoFilterActions. @@ -1310,94 +1257,43 @@ export enum QueryStringCachingBehavior { * @readonly * @enum {string} */ -export enum GeoFilterActions { - Block = 'Block', - Allow = 'Allow', -} +export type GeoFilterActions = 'Block' | 'Allow'; /** * Defines values for OriginResourceState. * Possible values include: 'Creating', 'Active', 'Deleting' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OriginResourceState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OriginResourceState { - Creating = 'Creating', - Active = 'Active', - Deleting = 'Deleting', -} +export type OriginResourceState = 'Creating' | 'Active' | 'Deleting'; /** * Defines values for CustomDomainResourceState. * Possible values include: 'Creating', 'Active', 'Deleting' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CustomDomainResourceState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CustomDomainResourceState { - Creating = 'Creating', - Active = 'Active', - Deleting = 'Deleting', -} +export type CustomDomainResourceState = 'Creating' | 'Active' | 'Deleting'; /** * Defines values for CustomHttpsProvisioningState. - * Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', - * 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CustomHttpsProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Failed' * @readonly * @enum {string} */ -export enum CustomHttpsProvisioningState { - Enabling = 'Enabling', - Enabled = 'Enabled', - Disabling = 'Disabling', - Disabled = 'Disabled', - Failed = 'Failed', -} +export type CustomHttpsProvisioningState = 'Enabling' | 'Enabled' | 'Disabling' | 'Disabled' | 'Failed'; /** * Defines values for CustomHttpsProvisioningSubstate. * Possible values include: 'SubmittingDomainControlValidationRequest', - * 'PendingDomainControlValidationREquestApproval', - * 'DomainControlValidationRequestApproved', - * 'DomainControlValidationRequestRejected', - * 'DomainControlValidationRequestTimedOut', 'IssuingCertificate', - * 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate', + * 'PendingDomainControlValidationREquestApproval', 'DomainControlValidationRequestApproved', + * 'DomainControlValidationRequestRejected', 'DomainControlValidationRequestTimedOut', + * 'IssuingCertificate', 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate', * 'CertificateDeleted' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CustomHttpsProvisioningSubstate = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CustomHttpsProvisioningSubstate { - SubmittingDomainControlValidationRequest = 'SubmittingDomainControlValidationRequest', - PendingDomainControlValidationREquestApproval = 'PendingDomainControlValidationREquestApproval', - DomainControlValidationRequestApproved = 'DomainControlValidationRequestApproved', - DomainControlValidationRequestRejected = 'DomainControlValidationRequestRejected', - DomainControlValidationRequestTimedOut = 'DomainControlValidationRequestTimedOut', - IssuingCertificate = 'IssuingCertificate', - DeployingCertificate = 'DeployingCertificate', - CertificateDeployed = 'CertificateDeployed', - DeletingCertificate = 'DeletingCertificate', - CertificateDeleted = 'CertificateDeleted', -} +export type CustomHttpsProvisioningSubstate = 'SubmittingDomainControlValidationRequest' | 'PendingDomainControlValidationREquestApproval' | 'DomainControlValidationRequestApproved' | 'DomainControlValidationRequestRejected' | 'DomainControlValidationRequestTimedOut' | 'IssuingCertificate' | 'DeployingCertificate' | 'CertificateDeployed' | 'DeletingCertificate' | 'CertificateDeleted'; /** * Defines values for ResourceType. @@ -1405,41 +1301,23 @@ export enum CustomHttpsProvisioningSubstate { * @readonly * @enum {string} */ -export enum ResourceType { - MicrosoftCdnProfilesEndpoints = 'Microsoft.Cdn/Profiles/Endpoints', -} +export type ResourceType = 'Microsoft.Cdn/Profiles/Endpoints'; /** * Defines values for MatchType. * Possible values include: 'Literal', 'Wildcard' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MatchType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum MatchType { - Literal = 'Literal', - Wildcard = 'Wildcard', -} +export type MatchType = 'Literal' | 'Wildcard'; /** * Defines values for CacheBehavior. * Possible values include: 'BypassCache', 'Override', 'SetIfMissing' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CacheBehavior = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CacheBehavior { - BypassCache = 'BypassCache', - Override = 'Override', - SetIfMissing = 'SetIfMissing', -} +export type CacheBehavior = 'BypassCache' | 'Override' | 'SetIfMissing'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-cdn/lib/models/mappers.ts b/packages/@azure/arm-cdn/lib/models/mappers.ts index e5ff1a40ec39..236cec4d6a56 100644 --- a/packages/@azure/arm-cdn/lib/models/mappers.ts +++ b/packages/@azure/arm-cdn/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -461,11 +461,6 @@ export const DeliveryRule: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "name", - clientName: "name" - }, - uberParent: "DeliveryRuleAction", className: "DeliveryRuleAction" } } @@ -478,11 +473,6 @@ export const DeliveryRule: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "name", - clientName: "name" - }, - uberParent: "DeliveryRuleCondition", className: "DeliveryRuleCondition" } } diff --git a/packages/@azure/arm-cdn/lib/models/parameters.ts b/packages/@azure/arm-cdn/lib/models/parameters.ts index 9ac50dcd4fe1..dea0816e4379 100644 --- a/packages/@azure/arm-cdn/lib/models/parameters.ts +++ b/packages/@azure/arm-cdn/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-cdn/lib/operations/customDomains.ts b/packages/@azure/arm-cdn/lib/operations/customDomains.ts index 44b109b8d2cb..f013b934ac50 100644 --- a/packages/@azure/arm-cdn/lib/operations/customDomains.ts +++ b/packages/@azure/arm-cdn/lib/operations/customDomains.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/customDomainsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class CustomDomains { * @param callback The callback */ listByEndpoint(resourceGroupName: string, profileName: string, endpointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByEndpoint(resourceGroupName: string, profileName: string, endpointName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByEndpoint(resourceGroupName: string, profileName: string, endpointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class CustomDomains { * @param callback The callback */ get(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -159,7 +159,7 @@ export class CustomDomains { * @param callback The callback */ disableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - disableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + disableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -199,7 +199,7 @@ export class CustomDomains { * @param callback The callback */ enableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - enableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + enableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -276,7 +276,7 @@ export class CustomDomains { * @param callback The callback */ listByEndpointNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByEndpointNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByEndpointNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-cdn/lib/operations/edgeNodes.ts b/packages/@azure/arm-cdn/lib/operations/edgeNodes.ts index 57dbe1a5571a..282fd57f895a 100644 --- a/packages/@azure/arm-cdn/lib/operations/edgeNodes.ts +++ b/packages/@azure/arm-cdn/lib/operations/edgeNodes.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/edgeNodesMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class EdgeNodes { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class EdgeNodes { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-cdn/lib/operations/endpoints.ts b/packages/@azure/arm-cdn/lib/operations/endpoints.ts index 552809594a22..d5894f45add5 100644 --- a/packages/@azure/arm-cdn/lib/operations/endpoints.ts +++ b/packages/@azure/arm-cdn/lib/operations/endpoints.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/endpointsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Endpoints { * @param callback The callback */ listByProfile(resourceGroupName: string, profileName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByProfile(resourceGroupName: string, profileName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByProfile(resourceGroupName: string, profileName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -84,7 +84,7 @@ export class Endpoints { * @param callback The callback */ get(resourceGroupName: string, profileName: string, endpointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, profileName: string, endpointName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, profileName: string, endpointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -225,7 +225,7 @@ export class Endpoints { * @param callback The callback */ validateCustomDomain(resourceGroupName: string, profileName: string, endpointName: string, hostName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validateCustomDomain(resourceGroupName: string, profileName: string, endpointName: string, hostName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + validateCustomDomain(resourceGroupName: string, profileName: string, endpointName: string, hostName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -262,7 +262,7 @@ export class Endpoints { * @param callback The callback */ listResourceUsage(resourceGroupName: string, profileName: string, endpointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listResourceUsage(resourceGroupName: string, profileName: string, endpointName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listResourceUsage(resourceGroupName: string, profileName: string, endpointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -447,7 +447,7 @@ export class Endpoints { * @param callback The callback */ listByProfileNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByProfileNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByProfileNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -475,7 +475,7 @@ export class Endpoints { * @param callback The callback */ listResourceUsageNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listResourceUsageNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listResourceUsageNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-cdn/lib/operations/operations.ts b/packages/@azure/arm-cdn/lib/operations/operations.ts index 8a77ed83e4ff..09c0ecfd5439 100644 --- a/packages/@azure/arm-cdn/lib/operations/operations.ts +++ b/packages/@azure/arm-cdn/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-cdn/lib/operations/origins.ts b/packages/@azure/arm-cdn/lib/operations/origins.ts index 7ec8b3d989f9..88d68f8f92ee 100644 --- a/packages/@azure/arm-cdn/lib/operations/origins.ts +++ b/packages/@azure/arm-cdn/lib/operations/origins.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/originsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class Origins { * @param callback The callback */ listByEndpoint(resourceGroupName: string, profileName: string, endpointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByEndpoint(resourceGroupName: string, profileName: string, endpointName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByEndpoint(resourceGroupName: string, profileName: string, endpointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class Origins { * @param callback The callback */ get(resourceGroupName: string, profileName: string, endpointName: string, originName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, profileName: string, endpointName: string, originName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, profileName: string, endpointName: string, originName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -160,7 +160,7 @@ export class Origins { * @param callback The callback */ listByEndpointNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByEndpointNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByEndpointNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-cdn/lib/operations/profiles.ts b/packages/@azure/arm-cdn/lib/operations/profiles.ts index 16a8c84f9f58..7303cf7aa950 100644 --- a/packages/@azure/arm-cdn/lib/operations/profiles.ts +++ b/packages/@azure/arm-cdn/lib/operations/profiles.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/profilesMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class Profiles { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -69,7 +69,7 @@ export class Profiles { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -101,7 +101,7 @@ export class Profiles { * @param callback The callback */ get(resourceGroupName: string, profileName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, profileName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, profileName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -177,7 +177,7 @@ export class Profiles { * @param callback The callback */ generateSsoUri(resourceGroupName: string, profileName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - generateSsoUri(resourceGroupName: string, profileName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + generateSsoUri(resourceGroupName: string, profileName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -210,7 +210,7 @@ export class Profiles { * @param callback The callback */ listSupportedOptimizationTypes(resourceGroupName: string, profileName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSupportedOptimizationTypes(resourceGroupName: string, profileName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSupportedOptimizationTypes(resourceGroupName: string, profileName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -242,7 +242,7 @@ export class Profiles { * @param callback The callback */ listResourceUsage(resourceGroupName: string, profileName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listResourceUsage(resourceGroupName: string, profileName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listResourceUsage(resourceGroupName: string, profileName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -330,7 +330,7 @@ export class Profiles { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -358,7 +358,7 @@ export class Profiles { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -386,7 +386,7 @@ export class Profiles { * @param callback The callback */ listResourceUsageNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listResourceUsageNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listResourceUsageNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-cdn/lib/operations/resourceUsageOperations.ts b/packages/@azure/arm-cdn/lib/operations/resourceUsageOperations.ts index 719669705ba1..a8af3311c17b 100644 --- a/packages/@azure/arm-cdn/lib/operations/resourceUsageOperations.ts +++ b/packages/@azure/arm-cdn/lib/operations/resourceUsageOperations.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/resourceUsageOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class ResourceUsageOperations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class ResourceUsageOperations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-cdn/package.json b/packages/@azure/arm-cdn/package.json index 8472ccab15ad..ca9837b0f688 100644 --- a/packages/@azure/arm-cdn/package.json +++ b/packages/@azure/arm-cdn/package.json @@ -4,8 +4,8 @@ "description": "CdnManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-cdn.js.map'\" -o ./dist/arm-cdn.min.js ./dist/arm-cdn.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-cdn/rollup.config.js b/packages/@azure/arm-cdn/rollup.config.js index 15f0469ca97c..d8c178b39239 100644 --- a/packages/@azure/arm-cdn/rollup.config.js +++ b/packages/@azure/arm-cdn/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/cdnManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-cdn.js", format: "umd", name: "Azure.ArmCdn", 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-cdn/tsconfig.json b/packages/@azure/arm-cdn/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-cdn/tsconfig.json +++ b/packages/@azure/arm-cdn/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-cognitiveservices/.npmignore b/packages/@azure/arm-cognitiveservices/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-cognitiveservices/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-cognitiveservices/README.md b/packages/@azure/arm-cognitiveservices/README.md index 673041a38710..015cc8c05ce6 100644 --- a/packages/@azure/arm-cognitiveservices/README.md +++ b/packages/@azure/arm-cognitiveservices/README.md @@ -1,24 +1,34 @@ -# Azure CognitiveServicesManagementClient SDK for JavaScript +## Azure CognitiveServicesManagementClient SDK for JavaScript + This package contains an isomorphic SDK for CognitiveServicesManagementClient. -## 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-cognitiveservices ``` +### How to use + +#### nodejs - Authentication, client creation and getProperties accounts as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and getProperties accounts as an example written in TypeScript. +##### Sample code ```ts -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 { CognitiveServicesManagementClient, CognitiveServicesManagementModels, CognitiveServicesManagementMappers } from "@azure/arm-cognitiveservices"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and getProperties accounts as an example written in JavaScript. +#### browser - Authentication, client creation and getProperties accounts as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-cognitiveservices 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-cognitiveservices/lib/cognitiveServicesManagementClient.ts b/packages/@azure/arm-cognitiveservices/lib/cognitiveServicesManagementClient.ts index 800cbf0ec9c1..e2d721fdca7c 100644 --- a/packages/@azure/arm-cognitiveservices/lib/cognitiveServicesManagementClient.ts +++ b/packages/@azure/arm-cognitiveservices/lib/cognitiveServicesManagementClient.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-cognitiveservices/lib/cognitiveServicesManagementClientContext.ts b/packages/@azure/arm-cognitiveservices/lib/cognitiveServicesManagementClientContext.ts index baa4307655c5..71c6df1d09d8 100644 --- a/packages/@azure/arm-cognitiveservices/lib/cognitiveServicesManagementClientContext.ts +++ b/packages/@azure/arm-cognitiveservices/lib/cognitiveServicesManagementClientContext.ts @@ -9,8 +9,8 @@ */ 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-cognitiveservices"; const packageVersion = "0.1.0"; diff --git a/packages/@azure/arm-cognitiveservices/lib/models/index.ts b/packages/@azure/arm-cognitiveservices/lib/models/index.ts index 910459ccac99..5d2c38071209 100644 --- a/packages/@azure/arm-cognitiveservices/lib/models/index.ts +++ b/packages/@azure/arm-cognitiveservices/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; diff --git a/packages/@azure/arm-cognitiveservices/lib/models/mappers.ts b/packages/@azure/arm-cognitiveservices/lib/models/mappers.ts index aa87df48e288..1ef3206a6fe3 100644 --- a/packages/@azure/arm-cognitiveservices/lib/models/mappers.ts +++ b/packages/@azure/arm-cognitiveservices/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-cognitiveservices/lib/models/parameters.ts b/packages/@azure/arm-cognitiveservices/lib/models/parameters.ts index be45f2e0fbbb..6d8020a2396a 100644 --- a/packages/@azure/arm-cognitiveservices/lib/models/parameters.ts +++ b/packages/@azure/arm-cognitiveservices/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-cognitiveservices/lib/operations/accounts.ts b/packages/@azure/arm-cognitiveservices/lib/operations/accounts.ts index 7ced224dc1b6..a7a44b4f1ab7 100644 --- a/packages/@azure/arm-cognitiveservices/lib/operations/accounts.ts +++ b/packages/@azure/arm-cognitiveservices/lib/operations/accounts.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/accountsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-cognitiveservices/lib/operations/checkSkuAvailability.ts b/packages/@azure/arm-cognitiveservices/lib/operations/checkSkuAvailability.ts index 0c81871c656a..703ee9f14370 100644 --- a/packages/@azure/arm-cognitiveservices/lib/operations/checkSkuAvailability.ts +++ b/packages/@azure/arm-cognitiveservices/lib/operations/checkSkuAvailability.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/checkSkuAvailabilityMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-cognitiveservices/lib/operations/operations.ts b/packages/@azure/arm-cognitiveservices/lib/operations/operations.ts index e866b40c252b..9e57c374363d 100644 --- a/packages/@azure/arm-cognitiveservices/lib/operations/operations.ts +++ b/packages/@azure/arm-cognitiveservices/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-cognitiveservices/lib/operations/resourceSkus.ts b/packages/@azure/arm-cognitiveservices/lib/operations/resourceSkus.ts index 8cb977d93d9c..b3bba5e8356d 100644 --- a/packages/@azure/arm-cognitiveservices/lib/operations/resourceSkus.ts +++ b/packages/@azure/arm-cognitiveservices/lib/operations/resourceSkus.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/resourceSkusMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-cognitiveservices/package.json b/packages/@azure/arm-cognitiveservices/package.json index cba26328b704..fe06465ea71f 100644 --- a/packages/@azure/arm-cognitiveservices/package.json +++ b/packages/@azure/arm-cognitiveservices/package.json @@ -4,8 +4,8 @@ "description": "CognitiveServicesManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.461", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ diff --git a/packages/@azure/arm-cognitiveservices/rollup.config.js b/packages/@azure/arm-cognitiveservices/rollup.config.js index 37be70559a60..1299310032b6 100644 --- a/packages/@azure/arm-cognitiveservices/rollup.config.js +++ b/packages/@azure/arm-cognitiveservices/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/cognitiveServicesManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-cognitiveservices.js", format: "umd", name: "Azure.ArmCognitiveservices", 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-cognitiveservices/tsconfig.json b/packages/@azure/arm-cognitiveservices/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-cognitiveservices/tsconfig.json +++ b/packages/@azure/arm-cognitiveservices/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-commerce/.npmignore b/packages/@azure/arm-commerce/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-commerce/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-commerce/README.md b/packages/@azure/arm-commerce/README.md index 7050610f29a7..34a2349d5037 100644 --- a/packages/@azure/arm-commerce/README.md +++ b/packages/@azure/arm-commerce/README.md @@ -1,24 +1,34 @@ -# Azure UsageManagementClient SDK for JavaScript +## Azure UsageManagementClient SDK for JavaScript + This package contains an isomorphic SDK for UsageManagementClient. -## 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-commerce ``` +### How to use + +#### nodejs - Authentication, client creation and list usageAggregates as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list usageAggregates as an example written in TypeScript. +##### Sample code ```ts -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 { UsageManagementClient, UsageManagementModels, UsageManagementMappers } from "@azure/arm-commerce"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -38,7 +48,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list usageAggregates as an example written in JavaScript. +#### browser - Authentication, client creation and list usageAggregates as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -47,11 +66,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-commerce 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-commerce/lib/models/index.ts b/packages/@azure/arm-commerce/lib/models/index.ts index 7cdd555eae62..f9ba948659c4 100644 --- a/packages/@azure/arm-commerce/lib/models/index.ts +++ b/packages/@azure/arm-commerce/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -419,10 +419,7 @@ export interface UsageAggregationListResult extends Array { * @readonly * @enum {string} */ -export enum AggregationGranularity { - Daily = 'Daily', - Hourly = 'Hourly', -} +export type AggregationGranularity = 'Daily' | 'Hourly'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-commerce/lib/models/mappers.ts b/packages/@azure/arm-commerce/lib/models/mappers.ts index 23aae9424c11..d35dd7532add 100644 --- a/packages/@azure/arm-commerce/lib/models/mappers.ts +++ b/packages/@azure/arm-commerce/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -311,11 +311,6 @@ export const ResourceRateCardInfo: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "Name", - clientName: "name" - }, - uberParent: "OfferTermInfo", className: "OfferTermInfo" } } diff --git a/packages/@azure/arm-commerce/lib/models/parameters.ts b/packages/@azure/arm-commerce/lib/models/parameters.ts index 7f5b2d01c298..20a436455b21 100644 --- a/packages/@azure/arm-commerce/lib/models/parameters.ts +++ b/packages/@azure/arm-commerce/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-commerce/lib/operations/rateCard.ts b/packages/@azure/arm-commerce/lib/operations/rateCard.ts index 56e93e439c46..698888d775ad 100644 --- a/packages/@azure/arm-commerce/lib/operations/rateCard.ts +++ b/packages/@azure/arm-commerce/lib/operations/rateCard.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/rateCardMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class RateCard { * @param callback The callback */ get(filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { filter, diff --git a/packages/@azure/arm-commerce/lib/operations/usageAggregates.ts b/packages/@azure/arm-commerce/lib/operations/usageAggregates.ts index c9d355cf3afa..d7f83c33bac2 100644 --- a/packages/@azure/arm-commerce/lib/operations/usageAggregates.ts +++ b/packages/@azure/arm-commerce/lib/operations/usageAggregates.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/usageAggregatesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class UsageAggregates { * @param callback The callback */ list(reportedStartTime: Date | string, reportedEndTime: Date | string, options: Models.UsageAggregatesListOptionalParams, callback: msRest.ServiceCallback): void; - list(reportedStartTime: Date | string, reportedEndTime: Date | string, options?: Models.UsageAggregatesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(reportedStartTime: Date | string, reportedEndTime: Date | string, options?: Models.UsageAggregatesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { reportedStartTime, @@ -76,7 +76,7 @@ export class UsageAggregates { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-commerce/lib/usageManagementClient.ts b/packages/@azure/arm-commerce/lib/usageManagementClient.ts index 0285e292141a..14140e6bff74 100644 --- a/packages/@azure/arm-commerce/lib/usageManagementClient.ts +++ b/packages/@azure/arm-commerce/lib/usageManagementClient.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-commerce/lib/usageManagementClientContext.ts b/packages/@azure/arm-commerce/lib/usageManagementClientContext.ts index d2e17a1653fd..72e763d4020f 100644 --- a/packages/@azure/arm-commerce/lib/usageManagementClientContext.ts +++ b/packages/@azure/arm-commerce/lib/usageManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-commerce"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class UsageManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the UsageManagementClient class. @@ -45,6 +38,11 @@ export class UsageManagementClientContext extends msRestAzure.AzureServiceClient if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2015-06-01-preview'; @@ -55,7 +53,6 @@ export class UsageManagementClientContext extends msRestAzure.AzureServiceClient this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-commerce/package.json b/packages/@azure/arm-commerce/package.json index ee21dee4e0a2..dfea52e32cb1 100644 --- a/packages/@azure/arm-commerce/package.json +++ b/packages/@azure/arm-commerce/package.json @@ -4,8 +4,8 @@ "description": "UsageManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-commerce.js.map'\" -o ./dist/arm-commerce.min.js ./dist/arm-commerce.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-commerce/rollup.config.js b/packages/@azure/arm-commerce/rollup.config.js index 0bbd18f1d48e..aa45ab964a18 100644 --- a/packages/@azure/arm-commerce/rollup.config.js +++ b/packages/@azure/arm-commerce/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/usageManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-commerce.js", format: "umd", name: "Azure.ArmCommerce", 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-commerce/tsconfig.json b/packages/@azure/arm-commerce/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-commerce/tsconfig.json +++ b/packages/@azure/arm-commerce/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-rediscache/LICENSE.txt b/packages/@azure/arm-commitmentplans/LICENSE.txt similarity index 100% rename from packages/@azure/arm-rediscache/LICENSE.txt rename to packages/@azure/arm-commitmentplans/LICENSE.txt diff --git a/packages/@azure/arm-commitmentplans/README.md b/packages/@azure/arm-commitmentplans/README.md new file mode 100644 index 000000000000..8714b4b40f92 --- /dev/null +++ b/packages/@azure/arm-commitmentplans/README.md @@ -0,0 +1,96 @@ +## Azure AzureMLCommitmentPlansManagementClient SDK for JavaScript + +This package contains an isomorphic SDK for AzureMLCommitmentPlansManagementClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install + +``` +npm install @azure/arm-commitmentplans +``` + +### How to use + +#### nodejs - Authentication, client creation and list skus as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code + +```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 { AzureMLCommitmentPlansManagementClient, AzureMLCommitmentPlansManagementModels, AzureMLCommitmentPlansManagementMappers } from "@azure/arm-commitmentplans"; +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; + +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new AzureMLCommitmentPlansManagementClient(creds, subscriptionId); + client.skus.list().then((result) => { + console.log("The result is:"); + console.log(result); + }); +}).catch((err) => { + console.error(err); +}); +``` + +#### browser - Authentication, client creation and list skus as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. + +- index.html +```html + + + + @azure/arm-commitmentplans sample + + + + + + + + +``` + +## Related projects + +- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/arm-commitmentplans/lib/azureMLCommitmentPlansManagementClient.ts b/packages/@azure/arm-commitmentplans/lib/azureMLCommitmentPlansManagementClient.ts new file mode 100644 index 000000000000..a1fc34d00224 --- /dev/null +++ b/packages/@azure/arm-commitmentplans/lib/azureMLCommitmentPlansManagementClient.ts @@ -0,0 +1,48 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "./models"; +import * as Mappers from "./models/mappers"; +import * as operations from "./operations"; +import { AzureMLCommitmentPlansManagementClientContext } from "./azureMLCommitmentPlansManagementClientContext"; + + +class AzureMLCommitmentPlansManagementClient extends AzureMLCommitmentPlansManagementClientContext { + // Operation groups + skus: operations.Skus; + commitmentAssociations: operations.CommitmentAssociations; + commitmentPlans: operations.CommitmentPlans; + usageHistory: operations.UsageHistory; + + /** + * Initializes a new instance of the AzureMLCommitmentPlansManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId Azure Subscription ID. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureMLCommitmentPlansManagementClientOptions) { + super(credentials, subscriptionId, options); + this.skus = new operations.Skus(this); + this.commitmentAssociations = new operations.CommitmentAssociations(this); + this.commitmentPlans = new operations.CommitmentPlans(this); + this.usageHistory = new operations.UsageHistory(this); + } +} + +// Operation Specifications + +export { + AzureMLCommitmentPlansManagementClient, + AzureMLCommitmentPlansManagementClientContext, + Models as AzureMLCommitmentPlansManagementModels, + Mappers as AzureMLCommitmentPlansManagementMappers +}; +export * from "./operations"; diff --git a/packages/@azure/arm-rediscache/lib/redisManagementClientContext.ts b/packages/@azure/arm-commitmentplans/lib/azureMLCommitmentPlansManagementClientContext.ts similarity index 67% rename from packages/@azure/arm-rediscache/lib/redisManagementClientContext.ts rename to packages/@azure/arm-commitmentplans/lib/azureMLCommitmentPlansManagementClientContext.ts index 051aee26c4c8..3293f19add9d 100644 --- a/packages/@azure/arm-rediscache/lib/redisManagementClientContext.ts +++ b/packages/@azure/arm-commitmentplans/lib/azureMLCommitmentPlansManagementClientContext.ts @@ -9,32 +9,24 @@ */ 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-rediscache"; -const packageVersion = "1.0.0"; - -export class RedisManagementClientContext extends msRestAzure.AzureServiceClient { +const packageName = "@azure/arm-commitmentplans"; +const packageVersion = "0.1.0"; +export class AzureMLCommitmentPlansManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** - * Initializes a new instance of the RedisManagementClient class. + * Initializes a new instance of the AzureMLCommitmentPlansManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. - * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure - * subscription. The subscription ID forms part of the URI for every service call. + * @param subscriptionId Azure Subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.RedisManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureMLCommitmentPlansManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } @@ -45,9 +37,14 @@ export class RedisManagementClientContext extends msRestAzure.AzureServiceClient if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); - this.apiVersion = '2018-03-01'; + this.apiVersion = '2016-05-01-preview'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; @@ -55,7 +52,6 @@ export class RedisManagementClientContext extends msRestAzure.AzureServiceClient this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-rediscache/lib/models/patchSchedulesMappers.ts b/packages/@azure/arm-commitmentplans/lib/models/commitmentAssociationsMappers.ts similarity index 63% rename from packages/@azure/arm-rediscache/lib/models/patchSchedulesMappers.ts rename to packages/@azure/arm-commitmentplans/lib/models/commitmentAssociationsMappers.ts index f6b7ba073b86..9c35807a84b3 100644 --- a/packages/@azure/arm-rediscache/lib/models/patchSchedulesMappers.ts +++ b/packages/@azure/arm-commitmentplans/lib/models/commitmentAssociationsMappers.ts @@ -9,19 +9,16 @@ */ export { - RedisPatchScheduleListResult, - RedisPatchSchedule, - ProxyResource, + CommitmentAssociation, Resource, BaseResource, - ScheduleEntry, + CommitmentAssociationProperties, CloudError, - TrackedResource, - RedisFirewallRule, - RedisResource, - Sku, - RedisAccessKeys, - RedisLinkedServer, - RedisLinkedServerWithProperties + CommitmentAssociationListResult, + MoveCommitmentAssociationRequest, + CommitmentPlan, + CommitmentPlanProperties, + PlanQuantity, + ResourceSku } from "../models/mappers"; diff --git a/packages/@azure/arm-rediscache/lib/models/firewallRulesMappers.ts b/packages/@azure/arm-commitmentplans/lib/models/commitmentPlansMappers.ts similarity index 60% rename from packages/@azure/arm-rediscache/lib/models/firewallRulesMappers.ts rename to packages/@azure/arm-commitmentplans/lib/models/commitmentPlansMappers.ts index 7e1b378b134c..54bd9f0cc132 100644 --- a/packages/@azure/arm-rediscache/lib/models/firewallRulesMappers.ts +++ b/packages/@azure/arm-commitmentplans/lib/models/commitmentPlansMappers.ts @@ -9,20 +9,16 @@ */ export { - RedisFirewallRuleListResult, - RedisFirewallRule, - ProxyResource, + CommitmentPlan, Resource, BaseResource, + CommitmentPlanProperties, + PlanQuantity, + ResourceSku, CloudError, - RedisFirewallRuleCreateParameters, - TrackedResource, - RedisResource, - Sku, - RedisAccessKeys, - RedisLinkedServer, - RedisPatchSchedule, - ScheduleEntry, - RedisLinkedServerWithProperties + CommitmentPlanPatchPayload, + CommitmentPlanListResult, + CommitmentAssociation, + CommitmentAssociationProperties } from "../models/mappers"; diff --git a/packages/@azure/arm-commitmentplans/lib/models/index.ts b/packages/@azure/arm-commitmentplans/lib/models/index.ts new file mode 100644 index 000000000000..743d98989904 --- /dev/null +++ b/packages/@azure/arm-commitmentplans/lib/models/index.ts @@ -0,0 +1,936 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +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 SkuCapacity. + * Describes scaling information of a SKU. + * + */ +export interface SkuCapacity { + /** + * @member {number} [minimum] The minimum capacity. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly minimum?: number; + /** + * @member {number} [maximum] The maximum capacity that can be set. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly maximum?: number; + /** + * @member {number} [default] The default capacity. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly default?: number; + /** + * @member {SkuCapacityScaleType} [scaleType] The scale type applicable to + * the sku. Possible values include: 'Automatic', 'Manual', 'None' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly scaleType?: SkuCapacityScaleType; +} + +/** + * @interface + * An interface representing SkuCapability. + * Describes The SKU capabilites object. + * + */ +export interface SkuCapability { + /** + * @member {string} [name] The capability name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {string} [value] The capability value. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly value?: string; +} + +/** + * @interface + * An interface representing SkuCost. + * Describes metadata for SKU cost info. + * + */ +export interface SkuCost { + /** + * @member {string} [meterID] The meter used for this part of a SKU's cost. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly meterID?: string; + /** + * @member {number} [quantity] The multiplier for the meter ID. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly quantity?: number; + /** + * @member {string} [extendedUnit] The overall duration represented by the + * quantity. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly extendedUnit?: string; +} + +/** + * @interface + * An interface representing SkuRestrictions. + * Describes restrictions which would prevent a SKU from being used. + * + */ +export interface SkuRestrictions { + /** + * @member {ResourceSkuRestrictionsType} [type] The type of restrictions. + * Possible values include: 'location', 'zone' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly type?: ResourceSkuRestrictionsType; + /** + * @member {string[]} [values] The value of restrictions. If the restriction + * type is set to location. This would be different locations where the SKU + * is restricted. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly values?: string[]; + /** + * @member {ResourceSkuRestrictionsReasonCode} [reasonCode] The reason for + * restriction. Possible values include: 'QuotaId', + * 'NotAvailableForSubscription' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly reasonCode?: ResourceSkuRestrictionsReasonCode; +} + +/** + * @interface + * An interface representing CatalogSku. + * Details of a commitment plan SKU. + * + */ +export interface CatalogSku { + /** + * @member {string} [resourceType] Resource type name + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly resourceType?: string; + /** + * @member {string} [name] SKU name + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {string} [tier] SKU tier + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly tier?: string; + /** + * @member {string[]} [locations] Regions where the SKU is available. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly locations?: string[]; + /** + * @member {SkuCapacity} [capacity] SKU scaling information + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly capacity?: SkuCapacity; + /** + * @member {SkuCapability[]} [capabilities] The capability information for + * the specified SKU. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly capabilities?: SkuCapability[]; + /** + * @member {SkuCost[]} [costs] The cost information for the specified SKU. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly costs?: SkuCost[]; + /** + * @member {SkuRestrictions[]} [restrictions] Restrictions which would + * prevent a SKU from being used. This is empty if there are no restrictions. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly restrictions?: SkuRestrictions[]; +} + +/** + * @interface + * An interface representing Resource. + * Common properties of an ARM resource. + * + * @extends BaseResource + */ +export interface Resource extends BaseResource { + /** + * @member {string} [id] Resource Id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly id?: string; + /** + * @member {string} [name] Resource name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {string} location Resource location. + */ + location: string; + /** + * @member {string} [type] Resource type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly type?: string; + /** + * @member {{ [propertyName: string]: string }} [tags] User-defined tags for + * the resource. + */ + tags?: { [propertyName: string]: string }; +} + +/** + * @interface + * An interface representing CommitmentAssociationProperties. + * Properties of an Azure ML commitment association. + * + */ +export interface CommitmentAssociationProperties { + /** + * @member {string} [associatedResourceId] The ID of the resource this + * association points to, such as the ARM ID of an Azure ML web service. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly associatedResourceId?: string; + /** + * @member {string} [commitmentPlanId] The ARM ID of the parent Azure ML + * commitment plan. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly commitmentPlanId?: string; + /** + * @member {Date} [creationDate] The date at which this commitment + * association was created, in ISO 8601 format. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly creationDate?: Date; +} + +/** + * @interface + * An interface representing CommitmentAssociation. + * Represents the association between a commitment plan and some other + * resource, such as a Machine Learning web service. + * + * @extends Resource + */ +export interface CommitmentAssociation extends Resource { + /** + * @member {string} [etag] An entity tag used to enforce optimistic + * concurrency. + */ + etag?: string; + /** + * @member {CommitmentAssociationProperties} [properties] The properties of + * the commitment association resource. + */ + properties?: CommitmentAssociationProperties; +} + +/** + * @interface + * An interface representing ResourceSku. + * The SKU of a resource. + * + */ +export interface ResourceSku { + /** + * @member {number} [capacity] The scale-out capacity of the resource. 1 is + * 1x, 2 is 2x, etc. This impacts the quantities and cost of any commitment + * plan resource. + */ + capacity?: number; + /** + * @member {string} [name] The SKU name. Along with tier, uniquely identifies + * the SKU. + */ + name?: string; + /** + * @member {string} [tier] The SKU tier. Along with name, uniquely identifies + * the SKU. + */ + tier?: string; +} + +/** + * @interface + * An interface representing MoveCommitmentAssociationRequest. + * Specifies the destination Azure ML commitment plan for a move operation. + * + */ +export interface MoveCommitmentAssociationRequest { + /** + * @member {string} [destinationPlanId] The ARM ID of the commitment plan to + * re-parent the commitment association to. + */ + destinationPlanId?: string; +} + +/** + * @interface + * An interface representing CommitmentPlanPatchPayload. + * The properties of a commitment plan which may be updated via PATCH. + * + */ +export interface CommitmentPlanPatchPayload { + /** + * @member {{ [propertyName: string]: string }} [tags] User-defined tags for + * the commitment plan. + */ + tags?: { [propertyName: string]: string }; + /** + * @member {ResourceSku} [sku] The commitment plan SKU. + */ + sku?: ResourceSku; +} + +/** + * @interface + * An interface representing PlanQuantity. + * Represents the quantity a commitment plan provides of a metered resource. + * + */ +export interface PlanQuantity { + /** + * @member {number} [allowance] The quantity added to the commitment plan at + * an interval specified by its allowance frequency. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly allowance?: number; + /** + * @member {number} [amount] The quantity available to the plan the last time + * usage was calculated. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly amount?: number; + /** + * @member {string} [includedQuantityMeter] The Azure meter for usage against + * included quantities. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly includedQuantityMeter?: string; + /** + * @member {string} [overageMeter] The Azure meter for usage which exceeds + * included quantities. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly overageMeter?: string; +} + +/** + * @interface + * An interface representing CommitmentPlanProperties. + * Properties of an Azure ML commitment plan. + * + */ +export interface CommitmentPlanProperties { + /** + * @member {boolean} [chargeForOverage] Indicates whether usage beyond the + * commitment plan's included quantities will be charged. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly chargeForOverage?: boolean; + /** + * @member {boolean} [chargeForPlan] Indicates whether the commitment plan + * will incur a charge. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly chargeForPlan?: boolean; + /** + * @member {Date} [creationDate] The date at which this commitment plan was + * created, in ISO 8601 format. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly creationDate?: Date; + /** + * @member {{ [propertyName: string]: PlanQuantity }} [includedQuantities] + * The included resource quantities this plan gives you. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly includedQuantities?: { [propertyName: string]: PlanQuantity }; + /** + * @member {number} [maxAssociationLimit] The maximum number of commitment + * associations that can be children of this commitment plan. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly maxAssociationLimit?: number; + /** + * @member {number} [maxCapacityLimit] The maximum scale-out capacity for + * this commitment plan. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly maxCapacityLimit?: number; + /** + * @member {number} [minCapacityLimit] The minimum scale-out capacity for + * this commitment plan. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly minCapacityLimit?: number; + /** + * @member {string} [planMeter] The Azure meter which will be used to charge + * for this commitment plan. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly planMeter?: string; + /** + * @member {number} [refillFrequencyInDays] The frequency at which this + * commitment plan's included quantities are refilled. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly refillFrequencyInDays?: number; + /** + * @member {boolean} [suspendPlanOnOverage] Indicates whether this commitment + * plan will be moved into a suspended state if usage goes beyond the + * commitment plan's included quantities. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly suspendPlanOnOverage?: boolean; +} + +/** + * @interface + * An interface representing CommitmentPlan. + * An Azure ML commitment plan resource. + * + * @extends Resource + */ +export interface CommitmentPlan extends Resource { + /** + * @member {string} [etag] An entity tag used to enforce optimistic + * concurrency. + */ + etag?: string; + /** + * @member {CommitmentPlanProperties} [properties] The commitment plan + * properties. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly properties?: CommitmentPlanProperties; + /** + * @member {ResourceSku} [sku] The commitment plan SKU. + */ + sku?: ResourceSku; +} + +/** + * @interface + * An interface representing PlanUsageHistory. + * Represents historical information about usage of the Azure resources + * associated with a commitment plan. + * + */ +export interface PlanUsageHistory { + /** + * @member {{ [propertyName: string]: number }} [planDeletionOverage] Overage + * incurred as a result of deleting a commitment plan. + */ + planDeletionOverage?: { [propertyName: string]: number }; + /** + * @member {{ [propertyName: string]: number }} [planMigrationOverage] + * Overage incurred as a result of migrating a commitment plan from one SKU + * to another. + */ + planMigrationOverage?: { [propertyName: string]: number }; + /** + * @member {{ [propertyName: string]: number }} [planQuantitiesAfterUsage] + * Included quantities remaining after usage against the commitment plan's + * associated resources was calculated. + */ + planQuantitiesAfterUsage?: { [propertyName: string]: number }; + /** + * @member {{ [propertyName: string]: number }} [planQuantitiesBeforeUsage] + * Included quantities remaining before usage against the commitment plan's + * associated resources was calculated. + */ + planQuantitiesBeforeUsage?: { [propertyName: string]: number }; + /** + * @member {{ [propertyName: string]: number }} [planUsageOverage] Usage + * against the commitment plan's associated resources which was not covered + * by included quantities and is therefore overage. + */ + planUsageOverage?: { [propertyName: string]: number }; + /** + * @member {{ [propertyName: string]: number }} [usage] Usage against the + * commitment plan's associated resources. + */ + usage?: { [propertyName: string]: number }; + /** + * @member {Date} [usageDate] The date of usage, in ISO 8601 format. + */ + usageDate?: Date; +} + +/** + * @interface + * An interface representing CommitmentAssociationsListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface CommitmentAssociationsListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [skipToken] Continuation token for pagination. + */ + skipToken?: string; +} + +/** + * @interface + * An interface representing CommitmentPlansListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface CommitmentPlansListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [skipToken] Continuation token for pagination. + */ + skipToken?: string; +} + +/** + * @interface + * An interface representing CommitmentPlansListInResourceGroupOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface CommitmentPlansListInResourceGroupOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [skipToken] Continuation token for pagination. + */ + skipToken?: string; +} + +/** + * @interface + * An interface representing UsageHistoryListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface UsageHistoryListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [skipToken] Continuation token for pagination. + */ + skipToken?: string; +} + +/** + * @interface + * An interface representing AzureMLCommitmentPlansManagementClientOptions. + * @extends AzureServiceClientOptions + */ +export interface AzureMLCommitmentPlansManagementClientOptions extends AzureServiceClientOptions { + /** + * @member {string} [baseUri] + */ + baseUri?: string; +} + + +/** + * @interface + * An interface representing the SkuListResult. + * The list of commitment plan SKUs. + * + * @extends Array + */ +export interface SkuListResult extends Array { +} + +/** + * @interface + * An interface representing the CommitmentAssociationListResult. + * A page of commitment association resources. + * + * @extends Array + */ +export interface CommitmentAssociationListResult extends Array { + /** + * @member {string} [nextLink] A URI to retrieve the next page of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the CommitmentPlanListResult. + * A page of commitment plan resources. + * + * @extends Array + */ +export interface CommitmentPlanListResult extends Array { + /** + * @member {string} [nextLink] A URI to retrieve the next page of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the PlanUsageHistoryListResult. + * A page of usage history. + * + * @extends Array + */ +export interface PlanUsageHistoryListResult extends Array { + /** + * @member {string} [nextLink] A URI to retrieve the next page of results. + */ + nextLink?: string; +} + +/** + * Defines values for SkuCapacityScaleType. + * Possible values include: 'Automatic', 'Manual', 'None' + * @readonly + * @enum {string} + */ +export type SkuCapacityScaleType = 'Automatic' | 'Manual' | 'None'; + +/** + * Defines values for ResourceSkuRestrictionsType. + * Possible values include: 'location', 'zone' + * @readonly + * @enum {string} + */ +export type ResourceSkuRestrictionsType = 'location' | 'zone'; + +/** + * Defines values for ResourceSkuRestrictionsReasonCode. + * Possible values include: 'QuotaId', 'NotAvailableForSubscription' + * @readonly + * @enum {string} + */ +export type ResourceSkuRestrictionsReasonCode = 'QuotaId' | 'NotAvailableForSubscription'; + +/** + * Contains response data for the list operation. + */ +export type SkusListResponse = SkuListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SkuListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type CommitmentAssociationsGetResponse = CommitmentAssociation & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: CommitmentAssociation; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type CommitmentAssociationsListResponse = CommitmentAssociationListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: CommitmentAssociationListResult; + }; +}; + +/** + * Contains response data for the move operation. + */ +export type CommitmentAssociationsMoveResponse = CommitmentAssociation & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: CommitmentAssociation; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type CommitmentAssociationsListNextResponse = CommitmentAssociationListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: CommitmentAssociationListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type CommitmentPlansGetResponse = CommitmentPlan & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: CommitmentPlan; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type CommitmentPlansCreateOrUpdateResponse = CommitmentPlan & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: CommitmentPlan; + }; +}; + +/** + * Contains response data for the patch operation. + */ +export type CommitmentPlansPatchResponse = CommitmentPlan & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: CommitmentPlan; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type CommitmentPlansListResponse = CommitmentPlanListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: CommitmentPlanListResult; + }; +}; + +/** + * Contains response data for the listInResourceGroup operation. + */ +export type CommitmentPlansListInResourceGroupResponse = CommitmentPlanListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: CommitmentPlanListResult; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type CommitmentPlansListNextResponse = CommitmentPlanListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: CommitmentPlanListResult; + }; +}; + +/** + * Contains response data for the listInResourceGroupNext operation. + */ +export type CommitmentPlansListInResourceGroupNextResponse = CommitmentPlanListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: CommitmentPlanListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type UsageHistoryListResponse = PlanUsageHistoryListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PlanUsageHistoryListResult; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type UsageHistoryListNextResponse = PlanUsageHistoryListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PlanUsageHistoryListResult; + }; +}; diff --git a/packages/@azure/arm-commitmentplans/lib/models/mappers.ts b/packages/@azure/arm-commitmentplans/lib/models/mappers.ts new file mode 100644 index 000000000000..544de96c3b7a --- /dev/null +++ b/packages/@azure/arm-commitmentplans/lib/models/mappers.ts @@ -0,0 +1,755 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +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; + +export const SkuCapacity: msRest.CompositeMapper = { + serializedName: "SkuCapacity", + type: { + name: "Composite", + className: "SkuCapacity", + modelProperties: { + minimum: { + readOnly: true, + serializedName: "minimum", + type: { + name: "Number" + } + }, + maximum: { + readOnly: true, + serializedName: "maximum", + type: { + name: "Number" + } + }, + default: { + readOnly: true, + serializedName: "default", + type: { + name: "Number" + } + }, + scaleType: { + readOnly: true, + serializedName: "scaleType", + type: { + name: "String" + } + } + } + } +}; + +export const SkuCapability: msRest.CompositeMapper = { + serializedName: "SkuCapability", + type: { + name: "Composite", + className: "SkuCapability", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + value: { + readOnly: true, + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const SkuCost: msRest.CompositeMapper = { + serializedName: "SkuCost", + type: { + name: "Composite", + className: "SkuCost", + modelProperties: { + meterID: { + readOnly: true, + serializedName: "meterID", + type: { + name: "String" + } + }, + quantity: { + readOnly: true, + serializedName: "quantity", + type: { + name: "Number" + } + }, + extendedUnit: { + readOnly: true, + serializedName: "extendedUnit", + type: { + name: "String" + } + } + } + } +}; + +export const SkuRestrictions: msRest.CompositeMapper = { + serializedName: "SkuRestrictions", + type: { + name: "Composite", + className: "SkuRestrictions", + modelProperties: { + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + values: { + readOnly: true, + serializedName: "values", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + reasonCode: { + readOnly: true, + serializedName: "reasonCode", + type: { + name: "String" + } + } + } + } +}; + +export const CatalogSku: msRest.CompositeMapper = { + serializedName: "CatalogSku", + type: { + name: "Composite", + className: "CatalogSku", + modelProperties: { + resourceType: { + readOnly: true, + serializedName: "resourceType", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + tier: { + readOnly: true, + serializedName: "tier", + type: { + name: "String" + } + }, + locations: { + readOnly: true, + serializedName: "locations", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + capacity: { + readOnly: true, + serializedName: "capacity", + type: { + name: "Composite", + className: "SkuCapacity" + } + }, + capabilities: { + readOnly: true, + serializedName: "capabilities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SkuCapability" + } + } + } + }, + costs: { + readOnly: true, + serializedName: "costs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SkuCost" + } + } + } + }, + restrictions: { + readOnly: true, + serializedName: "restrictions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SkuRestrictions" + } + } + } + } + } + } +}; + +export const Resource: msRest.CompositeMapper = { + serializedName: "Resource", + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + location: { + required: true, + serializedName: "location", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const CommitmentAssociationProperties: msRest.CompositeMapper = { + serializedName: "CommitmentAssociationProperties", + type: { + name: "Composite", + className: "CommitmentAssociationProperties", + modelProperties: { + associatedResourceId: { + readOnly: true, + serializedName: "associatedResourceId", + type: { + name: "String" + } + }, + commitmentPlanId: { + readOnly: true, + serializedName: "commitmentPlanId", + type: { + name: "String" + } + }, + creationDate: { + readOnly: true, + serializedName: "creationDate", + type: { + name: "DateTime" + } + } + } + } +}; + +export const CommitmentAssociation: msRest.CompositeMapper = { + serializedName: "CommitmentAssociation", + type: { + name: "Composite", + className: "CommitmentAssociation", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", + type: { + name: "String" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CommitmentAssociationProperties" + } + } + } + } +}; + +export const ResourceSku: msRest.CompositeMapper = { + serializedName: "ResourceSku", + type: { + name: "Composite", + className: "ResourceSku", + modelProperties: { + capacity: { + serializedName: "capacity", + type: { + name: "Number" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + tier: { + serializedName: "tier", + type: { + name: "String" + } + } + } + } +}; + +export const MoveCommitmentAssociationRequest: msRest.CompositeMapper = { + serializedName: "MoveCommitmentAssociationRequest", + type: { + name: "Composite", + className: "MoveCommitmentAssociationRequest", + modelProperties: { + destinationPlanId: { + serializedName: "destinationPlanId", + type: { + name: "String" + } + } + } + } +}; + +export const CommitmentPlanPatchPayload: msRest.CompositeMapper = { + serializedName: "CommitmentPlanPatchPayload", + type: { + name: "Composite", + className: "CommitmentPlanPatchPayload", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "ResourceSku" + } + } + } + } +}; + +export const PlanQuantity: msRest.CompositeMapper = { + serializedName: "PlanQuantity", + type: { + name: "Composite", + className: "PlanQuantity", + modelProperties: { + allowance: { + readOnly: true, + serializedName: "allowance", + type: { + name: "Number" + } + }, + amount: { + readOnly: true, + serializedName: "amount", + type: { + name: "Number" + } + }, + includedQuantityMeter: { + readOnly: true, + serializedName: "includedQuantityMeter", + type: { + name: "String" + } + }, + overageMeter: { + readOnly: true, + serializedName: "overageMeter", + type: { + name: "String" + } + } + } + } +}; + +export const CommitmentPlanProperties: msRest.CompositeMapper = { + serializedName: "CommitmentPlanProperties", + type: { + name: "Composite", + className: "CommitmentPlanProperties", + modelProperties: { + chargeForOverage: { + readOnly: true, + serializedName: "chargeForOverage", + type: { + name: "Boolean" + } + }, + chargeForPlan: { + readOnly: true, + serializedName: "chargeForPlan", + type: { + name: "Boolean" + } + }, + creationDate: { + readOnly: true, + serializedName: "creationDate", + type: { + name: "DateTime" + } + }, + includedQuantities: { + readOnly: true, + serializedName: "includedQuantities", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "PlanQuantity" + } + } + } + }, + maxAssociationLimit: { + readOnly: true, + serializedName: "maxAssociationLimit", + type: { + name: "Number" + } + }, + maxCapacityLimit: { + readOnly: true, + serializedName: "maxCapacityLimit", + type: { + name: "Number" + } + }, + minCapacityLimit: { + readOnly: true, + serializedName: "minCapacityLimit", + type: { + name: "Number" + } + }, + planMeter: { + readOnly: true, + serializedName: "planMeter", + type: { + name: "String" + } + }, + refillFrequencyInDays: { + readOnly: true, + serializedName: "refillFrequencyInDays", + type: { + name: "Number" + } + }, + suspendPlanOnOverage: { + readOnly: true, + serializedName: "suspendPlanOnOverage", + type: { + name: "Boolean" + } + } + } + } +}; + +export const CommitmentPlan: msRest.CompositeMapper = { + serializedName: "CommitmentPlan", + type: { + name: "Composite", + className: "CommitmentPlan", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", + type: { + name: "String" + } + }, + properties: { + readOnly: true, + serializedName: "properties", + type: { + name: "Composite", + className: "CommitmentPlanProperties" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "ResourceSku" + } + } + } + } +}; + +export const PlanUsageHistory: msRest.CompositeMapper = { + serializedName: "PlanUsageHistory", + type: { + name: "Composite", + className: "PlanUsageHistory", + modelProperties: { + planDeletionOverage: { + serializedName: "planDeletionOverage", + type: { + name: "Dictionary", + value: { + type: { + name: "Number" + } + } + } + }, + planMigrationOverage: { + serializedName: "planMigrationOverage", + type: { + name: "Dictionary", + value: { + type: { + name: "Number" + } + } + } + }, + planQuantitiesAfterUsage: { + serializedName: "planQuantitiesAfterUsage", + type: { + name: "Dictionary", + value: { + type: { + name: "Number" + } + } + } + }, + planQuantitiesBeforeUsage: { + serializedName: "planQuantitiesBeforeUsage", + type: { + name: "Dictionary", + value: { + type: { + name: "Number" + } + } + } + }, + planUsageOverage: { + serializedName: "planUsageOverage", + type: { + name: "Dictionary", + value: { + type: { + name: "Number" + } + } + } + }, + usage: { + serializedName: "usage", + type: { + name: "Dictionary", + value: { + type: { + name: "Number" + } + } + } + }, + usageDate: { + serializedName: "usageDate", + type: { + name: "DateTime" + } + } + } + } +}; + +export const SkuListResult: msRest.CompositeMapper = { + serializedName: "SkuListResult", + type: { + name: "Composite", + className: "SkuListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CatalogSku" + } + } + } + } + } + } +}; + +export const CommitmentAssociationListResult: msRest.CompositeMapper = { + serializedName: "CommitmentAssociationListResult", + type: { + name: "Composite", + className: "CommitmentAssociationListResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + }, + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CommitmentAssociation" + } + } + } + } + } + } +}; + +export const CommitmentPlanListResult: msRest.CompositeMapper = { + serializedName: "CommitmentPlanListResult", + type: { + name: "Composite", + className: "CommitmentPlanListResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + }, + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CommitmentPlan" + } + } + } + } + } + } +}; + +export const PlanUsageHistoryListResult: msRest.CompositeMapper = { + serializedName: "PlanUsageHistoryListResult", + type: { + name: "Composite", + className: "PlanUsageHistoryListResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + }, + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PlanUsageHistory" + } + } + } + } + } + } +}; diff --git a/packages/@azure/arm-commitmentplans/lib/models/parameters.ts b/packages/@azure/arm-commitmentplans/lib/models/parameters.ts new file mode 100644 index 000000000000..a99eab8a3293 --- /dev/null +++ b/packages/@azure/arm-commitmentplans/lib/models/parameters.ts @@ -0,0 +1,95 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; + +export const acceptLanguage: msRest.OperationParameter = { + parameterPath: "acceptLanguage", + mapper: { + serializedName: "accept-language", + defaultValue: 'en-US', + type: { + name: "String" + } + } +}; +export const apiVersion: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + serializedName: "api-version", + type: { + name: "String" + } + } +}; +export const commitmentAssociationName: msRest.OperationURLParameter = { + parameterPath: "commitmentAssociationName", + mapper: { + required: true, + serializedName: "commitmentAssociationName", + type: { + name: "String" + } + } +}; +export const commitmentPlanName: msRest.OperationURLParameter = { + parameterPath: "commitmentPlanName", + mapper: { + required: true, + serializedName: "commitmentPlanName", + type: { + name: "String" + } + } +}; +export const nextPageLink: msRest.OperationURLParameter = { + parameterPath: "nextPageLink", + mapper: { + required: true, + serializedName: "nextLink", + type: { + name: "String" + } + }, + skipEncoding: true +}; +export const resourceGroupName: msRest.OperationURLParameter = { + parameterPath: "resourceGroupName", + mapper: { + required: true, + serializedName: "resourceGroupName", + type: { + name: "String" + } + } +}; +export const skipToken: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "skipToken" + ], + mapper: { + serializedName: "$skipToken", + type: { + name: "String" + } + } +}; +export const subscriptionId: msRest.OperationURLParameter = { + parameterPath: "subscriptionId", + mapper: { + required: true, + serializedName: "subscriptionId", + type: { + name: "String" + } + } +}; diff --git a/packages/@azure/arm-commitmentplans/lib/models/skusMappers.ts b/packages/@azure/arm-commitmentplans/lib/models/skusMappers.ts new file mode 100644 index 000000000000..0e4136b64a38 --- /dev/null +++ b/packages/@azure/arm-commitmentplans/lib/models/skusMappers.ts @@ -0,0 +1,20 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export { + SkuListResult, + CatalogSku, + SkuCapacity, + SkuCapability, + SkuCost, + SkuRestrictions, + CloudError +} from "../models/mappers"; + diff --git a/packages/@azure/arm-commitmentplans/lib/models/usageHistoryMappers.ts b/packages/@azure/arm-commitmentplans/lib/models/usageHistoryMappers.ts new file mode 100644 index 000000000000..af96d4155b40 --- /dev/null +++ b/packages/@azure/arm-commitmentplans/lib/models/usageHistoryMappers.ts @@ -0,0 +1,16 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export { + PlanUsageHistoryListResult, + PlanUsageHistory, + CloudError +} from "../models/mappers"; + diff --git a/packages/@azure/arm-commitmentplans/lib/operations/commitmentAssociations.ts b/packages/@azure/arm-commitmentplans/lib/operations/commitmentAssociations.ts new file mode 100644 index 000000000000..e6d63094e88f --- /dev/null +++ b/packages/@azure/arm-commitmentplans/lib/operations/commitmentAssociations.ts @@ -0,0 +1,272 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/commitmentAssociationsMappers"; +import * as Parameters from "../models/parameters"; +import { AzureMLCommitmentPlansManagementClientContext } from "../azureMLCommitmentPlansManagementClientContext"; + +/** Class representing a CommitmentAssociations. */ +export class CommitmentAssociations { + private readonly client: AzureMLCommitmentPlansManagementClientContext; + + /** + * Create a CommitmentAssociations. + * @param {AzureMLCommitmentPlansManagementClientContext} client Reference to the service client. + */ + constructor(client: AzureMLCommitmentPlansManagementClientContext) { + this.client = client; + } + + /** + * Get a commitment association. + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param commitmentAssociationName The commitment association name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param commitmentAssociationName The commitment association name. + * @param callback The callback + */ + get(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param commitmentAssociationName The commitment association name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + commitmentPlanName, + commitmentAssociationName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Get all commitment associations for a parent commitment plan. + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, commitmentPlanName: string, options?: Models.CommitmentAssociationsListOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param callback The callback + */ + list(resourceGroupName: string, commitmentPlanName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, commitmentPlanName: string, options: Models.CommitmentAssociationsListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, commitmentPlanName: string, options?: Models.CommitmentAssociationsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + commitmentPlanName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Re-parent a commitment association from one commitment plan to another. + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param commitmentAssociationName The commitment association name. + * @param movePayload The move request payload. + * @param [options] The optional parameters + * @returns Promise + */ + move(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, movePayload: Models.MoveCommitmentAssociationRequest, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param commitmentAssociationName The commitment association name. + * @param movePayload The move request payload. + * @param callback The callback + */ + move(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, movePayload: Models.MoveCommitmentAssociationRequest, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param commitmentAssociationName The commitment association name. + * @param movePayload The move request payload. + * @param options The optional parameters + * @param callback The callback + */ + move(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, movePayload: Models.MoveCommitmentAssociationRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + move(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, movePayload: Models.MoveCommitmentAssociationRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + commitmentPlanName, + commitmentAssociationName, + movePayload, + options + }, + moveOperationSpec, + callback) as Promise; + } + + /** + * Get all commitment associations for a parent commitment plan. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}/commitmentAssociations/{commitmentAssociationName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.commitmentPlanName, + Parameters.commitmentAssociationName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CommitmentAssociation + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}/commitmentAssociations", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.commitmentPlanName + ], + queryParameters: [ + Parameters.skipToken, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CommitmentAssociationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const moveOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}/commitmentAssociations/{commitmentAssociationName}/move", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.commitmentPlanName, + Parameters.commitmentAssociationName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "movePayload", + mapper: { + ...Mappers.MoveCommitmentAssociationRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.CommitmentAssociation + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CommitmentAssociationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-commitmentplans/lib/operations/commitmentPlans.ts b/packages/@azure/arm-commitmentplans/lib/operations/commitmentPlans.ts new file mode 100644 index 000000000000..d5c9807742e3 --- /dev/null +++ b/packages/@azure/arm-commitmentplans/lib/operations/commitmentPlans.ts @@ -0,0 +1,483 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/commitmentPlansMappers"; +import * as Parameters from "../models/parameters"; +import { AzureMLCommitmentPlansManagementClientContext } from "../azureMLCommitmentPlansManagementClientContext"; + +/** Class representing a CommitmentPlans. */ +export class CommitmentPlans { + private readonly client: AzureMLCommitmentPlansManagementClientContext; + + /** + * Create a CommitmentPlans. + * @param {AzureMLCommitmentPlansManagementClientContext} client Reference to the service client. + */ + constructor(client: AzureMLCommitmentPlansManagementClientContext) { + this.client = client; + } + + /** + * Retrieve an Azure ML commitment plan by its subscription, resource group and name. + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, commitmentPlanName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param callback The callback + */ + get(resourceGroupName: string, commitmentPlanName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, commitmentPlanName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, commitmentPlanName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + commitmentPlanName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create a new Azure ML commitment plan resource or updates an existing one. + * @param createOrUpdatePayload The payload to create or update the Azure ML commitment plan. + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(createOrUpdatePayload: Models.CommitmentPlan, resourceGroupName: string, commitmentPlanName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param createOrUpdatePayload The payload to create or update the Azure ML commitment plan. + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param callback The callback + */ + createOrUpdate(createOrUpdatePayload: Models.CommitmentPlan, resourceGroupName: string, commitmentPlanName: string, callback: msRest.ServiceCallback): void; + /** + * @param createOrUpdatePayload The payload to create or update the Azure ML commitment plan. + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(createOrUpdatePayload: Models.CommitmentPlan, resourceGroupName: string, commitmentPlanName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(createOrUpdatePayload: Models.CommitmentPlan, resourceGroupName: string, commitmentPlanName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + createOrUpdatePayload, + resourceGroupName, + commitmentPlanName, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Remove an existing Azure ML commitment plan. + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param [options] The optional parameters + * @returns Promise + */ + remove(resourceGroupName: string, commitmentPlanName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param callback The callback + */ + remove(resourceGroupName: string, commitmentPlanName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param options The optional parameters + * @param callback The callback + */ + remove(resourceGroupName: string, commitmentPlanName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + remove(resourceGroupName: string, commitmentPlanName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + commitmentPlanName, + options + }, + removeOperationSpec, + callback); + } + + /** + * Patch an existing Azure ML commitment plan resource. + * @param patchPayload The payload to use to patch the Azure ML commitment plan. Only tags and SKU + * may be modified on an existing commitment plan. + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param [options] The optional parameters + * @returns Promise + */ + patch(patchPayload: Models.CommitmentPlanPatchPayload, resourceGroupName: string, commitmentPlanName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param patchPayload The payload to use to patch the Azure ML commitment plan. Only tags and SKU + * may be modified on an existing commitment plan. + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param callback The callback + */ + patch(patchPayload: Models.CommitmentPlanPatchPayload, resourceGroupName: string, commitmentPlanName: string, callback: msRest.ServiceCallback): void; + /** + * @param patchPayload The payload to use to patch the Azure ML commitment plan. Only tags and SKU + * may be modified on an existing commitment plan. + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param options The optional parameters + * @param callback The callback + */ + patch(patchPayload: Models.CommitmentPlanPatchPayload, resourceGroupName: string, commitmentPlanName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + patch(patchPayload: Models.CommitmentPlanPatchPayload, resourceGroupName: string, commitmentPlanName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + patchPayload, + resourceGroupName, + commitmentPlanName, + options + }, + patchOperationSpec, + callback) as Promise; + } + + /** + * Retrieve all Azure ML commitment plans in a subscription. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: Models.CommitmentPlansListOptionalParams): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: Models.CommitmentPlansListOptionalParams, callback: msRest.ServiceCallback): void; + list(options?: Models.CommitmentPlansListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Retrieve all Azure ML commitment plans in a resource group. + * @param resourceGroupName The resource group name. + * @param [options] The optional parameters + * @returns Promise + */ + listInResourceGroup(resourceGroupName: string, options?: Models.CommitmentPlansListInResourceGroupOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param callback The callback + */ + listInResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param options The optional parameters + * @param callback The callback + */ + listInResourceGroup(resourceGroupName: string, options: Models.CommitmentPlansListInResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; + listInResourceGroup(resourceGroupName: string, options?: Models.CommitmentPlansListInResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listInResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Retrieve all Azure ML commitment plans in a subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } + + /** + * Retrieve all Azure ML commitment plans in a resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listInResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listInResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listInResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listInResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listInResourceGroupNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.commitmentPlanName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CommitmentPlan + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.commitmentPlanName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "createOrUpdatePayload", + mapper: { + ...Mappers.CommitmentPlan, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.CommitmentPlan + }, + 201: { + bodyMapper: Mappers.CommitmentPlan + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const removeOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.commitmentPlanName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const patchOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.commitmentPlanName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "patchPayload", + mapper: { + ...Mappers.CommitmentPlanPatchPayload, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.CommitmentPlan + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/commitmentPlans", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.skipToken, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CommitmentPlanListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listInResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + queryParameters: [ + Parameters.skipToken, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CommitmentPlanListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CommitmentPlanListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listInResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CommitmentPlanListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-commitmentplans/lib/operations/index.ts b/packages/@azure/arm-commitmentplans/lib/operations/index.ts new file mode 100644 index 000000000000..6ff850f6f24b --- /dev/null +++ b/packages/@azure/arm-commitmentplans/lib/operations/index.ts @@ -0,0 +1,14 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export * from "./skus"; +export * from "./commitmentAssociations"; +export * from "./commitmentPlans"; +export * from "./usageHistory"; diff --git a/packages/@azure/arm-commitmentplans/lib/operations/skus.ts b/packages/@azure/arm-commitmentplans/lib/operations/skus.ts new file mode 100644 index 000000000000..c5ea6377fc60 --- /dev/null +++ b/packages/@azure/arm-commitmentplans/lib/operations/skus.ts @@ -0,0 +1,77 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/skusMappers"; +import * as Parameters from "../models/parameters"; +import { AzureMLCommitmentPlansManagementClientContext } from "../azureMLCommitmentPlansManagementClientContext"; + +/** Class representing a Skus. */ +export class Skus { + private readonly client: AzureMLCommitmentPlansManagementClientContext; + + /** + * Create a Skus. + * @param {AzureMLCommitmentPlansManagementClientContext} client Reference to the service client. + */ + constructor(client: AzureMLCommitmentPlansManagementClientContext) { + this.client = client; + } + + /** + * Lists the available commitment plan SKUs. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/skus", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SkuListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-commitmentplans/lib/operations/usageHistory.ts b/packages/@azure/arm-commitmentplans/lib/operations/usageHistory.ts new file mode 100644 index 000000000000..766184995635 --- /dev/null +++ b/packages/@azure/arm-commitmentplans/lib/operations/usageHistory.ts @@ -0,0 +1,137 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/usageHistoryMappers"; +import * as Parameters from "../models/parameters"; +import { AzureMLCommitmentPlansManagementClientContext } from "../azureMLCommitmentPlansManagementClientContext"; + +/** Class representing a UsageHistory. */ +export class UsageHistory { + private readonly client: AzureMLCommitmentPlansManagementClientContext; + + /** + * Create a UsageHistory. + * @param {AzureMLCommitmentPlansManagementClientContext} client Reference to the service client. + */ + constructor(client: AzureMLCommitmentPlansManagementClientContext) { + this.client = client; + } + + /** + * Retrieve the usage history for an Azure ML commitment plan. + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, commitmentPlanName: string, options?: Models.UsageHistoryListOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param callback The callback + */ + list(resourceGroupName: string, commitmentPlanName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param commitmentPlanName The Azure ML commitment plan name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, commitmentPlanName: string, options: Models.UsageHistoryListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, commitmentPlanName: string, options?: Models.UsageHistoryListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + commitmentPlanName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Retrieve the usage history for an Azure ML commitment plan. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}/usageHistory", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.commitmentPlanName + ], + queryParameters: [ + Parameters.skipToken, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PlanUsageHistoryListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PlanUsageHistoryListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-commitmentplans/package.json b/packages/@azure/arm-commitmentplans/package.json new file mode 100644 index 000000000000..6685f20e8731 --- /dev/null +++ b/packages/@azure/arm-commitmentplans/package.json @@ -0,0 +1,55 @@ +{ + "name": "@azure/arm-commitmentplans", + "author": "Microsoft Corporation", + "description": "AzureMLCommitmentPlansManagementClient 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", + "tslib": "^1.9.3" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "license": "MIT", + "main": "./dist/arm-commitmentplans.js", + "module": "./esm/azureMLCommitmentPlansManagementClient.js", + "types": "./esm/azureMLCommitmentPlansManagementClient.d.ts", + "devDependencies": { + "typescript": "^3.1.1", + "rollup": "^0.66.2", + "rollup-plugin-node-resolve": "^3.4.0", + "uglify-js": "^3.4.9" + }, + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/packages/@azure/arm-commitmentplans", + "repository": { + "type": "git", + "url": "https://github.com/azure/azure-sdk-for-js.git" + }, + "bugs": { + "url": "https://github.com/azure/azure-sdk-for-js/issues" + }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], + "scripts": { + "build": "tsc && rollup -c rollup.config.js && npm run minify", + "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-commitmentplans.js.map'\" -o ./dist/arm-commitmentplans.min.js ./dist/arm-commitmentplans.js", + "prepack": "npm install && npm run build" + }, + "sideEffects": false +} diff --git a/packages/@azure/arm-commitmentplans/rollup.config.js b/packages/@azure/arm-commitmentplans/rollup.config.js new file mode 100644 index 000000000000..226323b9807f --- /dev/null +++ b/packages/@azure/arm-commitmentplans/rollup.config.js @@ -0,0 +1,31 @@ +import nodeResolve from "rollup-plugin-node-resolve"; +/** + * @type {import('rollup').RollupFileOptions} + */ +const config = { + input: './esm/azureMLCommitmentPlansManagementClient.js', + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + output: { + file: "./dist/arm-commitmentplans.js", + format: "umd", + name: "Azure.ArmCommitmentplans", + sourcemap: true, + globals: { + "@azure/ms-rest-js": "msRest", + "@azure/ms-rest-azure-js": "msRestAzure" + }, + banner: `/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */` + }, + plugins: [ + nodeResolve({ module: true }) + ] +}; +export default config; diff --git a/packages/@azure/arm-rediscache/tsconfig.json b/packages/@azure/arm-commitmentplans/tsconfig.json similarity index 92% rename from packages/@azure/arm-rediscache/tsconfig.json rename to packages/@azure/arm-commitmentplans/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-rediscache/tsconfig.json +++ b/packages/@azure/arm-commitmentplans/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-compute/.npmignore b/packages/@azure/arm-compute/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-compute/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-compute/README.md b/packages/@azure/arm-compute/README.md index 73e7297014f5..869b746e589a 100644 --- a/packages/@azure/arm-compute/README.md +++ b/packages/@azure/arm-compute/README.md @@ -1,24 +1,34 @@ -# Azure ComputeManagementClient SDK for JavaScript +## Azure ComputeManagementClient SDK for JavaScript + This package contains an isomorphic SDK for ComputeManagementClient. -## 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-compute ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { ComputeManagementClient, ComputeManagementModels, ComputeManagementMappers } from "@azure/arm-compute"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-compute 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-compute/lib/computeManagementClient.ts b/packages/@azure/arm-compute/lib/computeManagementClient.ts index 8f852c570d34..104bf5b43830 100644 --- a/packages/@azure/arm-compute/lib/computeManagementClient.ts +++ b/packages/@azure/arm-compute/lib/computeManagementClient.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-compute/lib/computeManagementClientContext.ts b/packages/@azure/arm-compute/lib/computeManagementClientContext.ts index 4b640c8b6c17..714bc8dbc81e 100644 --- a/packages/@azure/arm-compute/lib/computeManagementClientContext.ts +++ b/packages/@azure/arm-compute/lib/computeManagementClientContext.ts @@ -9,22 +9,16 @@ */ 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-compute"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class ComputeManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the ComputeManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -43,6 +37,11 @@ export class ComputeManagementClientContext extends msRestAzure.AzureServiceClie if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.acceptLanguage = 'en-US'; @@ -52,7 +51,6 @@ export class ComputeManagementClientContext extends msRestAzure.AzureServiceClie this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-compute/lib/models/index.ts b/packages/@azure/arm-compute/lib/models/index.ts index 96d7f4ef9eb6..1d3683439842 100644 --- a/packages/@azure/arm-compute/lib/models/index.ts +++ b/packages/@azure/arm-compute/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -6576,27 +6576,15 @@ export interface ContainerServiceListResult extends Array { * @readonly * @enum {string} */ -export enum StatusLevelTypes { - Info = 'Info', - Warning = 'Warning', - Error = 'Error', -} +export type StatusLevelTypes = 'Info' | 'Warning' | 'Error'; /** * Defines values for AvailabilitySetSkuTypes. * Possible values include: 'Classic', 'Aligned' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AvailabilitySetSkuTypes = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AvailabilitySetSkuTypes { - Classic = 'Classic', - Aligned = 'Aligned', -} +export type AvailabilitySetSkuTypes = 'Classic' | 'Aligned'; /** * Defines values for OperatingSystemTypes. @@ -6604,233 +6592,48 @@ export enum AvailabilitySetSkuTypes { * @readonly * @enum {string} */ -export enum OperatingSystemTypes { - Windows = 'Windows', - Linux = 'Linux', -} +export type OperatingSystemTypes = 'Windows' | 'Linux'; /** * Defines values for VirtualMachineSizeTypes. - * Possible values include: 'Basic_A0', 'Basic_A1', 'Basic_A2', 'Basic_A3', - * 'Basic_A4', 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3', - * 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8', - * 'Standard_A9', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2', - * 'Standard_A2_v2', 'Standard_A4_v2', 'Standard_A8_v2', 'Standard_A2m_v2', - * 'Standard_A4m_v2', 'Standard_A8m_v2', 'Standard_B1s', 'Standard_B1ms', - * 'Standard_B2s', 'Standard_B2ms', 'Standard_B4ms', 'Standard_B8ms', - * 'Standard_D1', 'Standard_D2', 'Standard_D3', 'Standard_D4', 'Standard_D11', - * 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', - * 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', - * 'Standard_D2_v3', 'Standard_D4_v3', 'Standard_D8_v3', 'Standard_D16_v3', - * 'Standard_D32_v3', 'Standard_D64_v3', 'Standard_D2s_v3', 'Standard_D4s_v3', - * 'Standard_D8s_v3', 'Standard_D16s_v3', 'Standard_D32s_v3', - * 'Standard_D64s_v3', 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_D13_v2', - * 'Standard_D14_v2', 'Standard_D15_v2', 'Standard_DS1', 'Standard_DS2', - * 'Standard_DS3', 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', - * 'Standard_DS13', 'Standard_DS14', 'Standard_DS1_v2', 'Standard_DS2_v2', - * 'Standard_DS3_v2', 'Standard_DS4_v2', 'Standard_DS5_v2', 'Standard_DS11_v2', - * 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2', - * 'Standard_DS15_v2', 'Standard_DS13-4_v2', 'Standard_DS13-2_v2', - * 'Standard_DS14-8_v2', 'Standard_DS14-4_v2', 'Standard_E2_v3', - * 'Standard_E4_v3', 'Standard_E8_v3', 'Standard_E16_v3', 'Standard_E32_v3', - * 'Standard_E64_v3', 'Standard_E2s_v3', 'Standard_E4s_v3', 'Standard_E8s_v3', - * 'Standard_E16s_v3', 'Standard_E32s_v3', 'Standard_E64s_v3', - * 'Standard_E32-16_v3', 'Standard_E32-8s_v3', 'Standard_E64-32s_v3', - * 'Standard_E64-16s_v3', 'Standard_F1', 'Standard_F2', 'Standard_F4', - * 'Standard_F8', 'Standard_F16', 'Standard_F1s', 'Standard_F2s', - * 'Standard_F4s', 'Standard_F8s', 'Standard_F16s', 'Standard_F2s_v2', - * 'Standard_F4s_v2', 'Standard_F8s_v2', 'Standard_F16s_v2', - * 'Standard_F32s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_G1', - * 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', - * 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5', - * 'Standard_GS4-8', 'Standard_GS4-4', 'Standard_GS5-16', 'Standard_GS5-8', - * 'Standard_H8', 'Standard_H16', 'Standard_H8m', 'Standard_H16m', - * 'Standard_H16r', 'Standard_H16mr', 'Standard_L4s', 'Standard_L8s', - * 'Standard_L16s', 'Standard_L32s', 'Standard_M64s', 'Standard_M64ms', - * 'Standard_M128s', 'Standard_M128ms', 'Standard_M64-32ms', - * 'Standard_M64-16ms', 'Standard_M128-64ms', 'Standard_M128-32ms', - * 'Standard_NC6', 'Standard_NC12', 'Standard_NC24', 'Standard_NC24r', - * 'Standard_NC6s_v2', 'Standard_NC12s_v2', 'Standard_NC24s_v2', - * 'Standard_NC24rs_v2', 'Standard_NC6s_v3', 'Standard_NC12s_v3', - * 'Standard_NC24s_v3', 'Standard_NC24rs_v3', 'Standard_ND6s', - * 'Standard_ND12s', 'Standard_ND24s', 'Standard_ND24rs', 'Standard_NV6', - * 'Standard_NV12', 'Standard_NV24' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: VirtualMachineSizeTypes = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Basic_A0', 'Basic_A1', 'Basic_A2', 'Basic_A3', 'Basic_A4', + * 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3', 'Standard_A4', 'Standard_A5', + * 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9', 'Standard_A10', 'Standard_A11', + * 'Standard_A1_v2', 'Standard_A2_v2', 'Standard_A4_v2', 'Standard_A8_v2', 'Standard_A2m_v2', + * 'Standard_A4m_v2', 'Standard_A8m_v2', 'Standard_B1s', 'Standard_B1ms', 'Standard_B2s', + * 'Standard_B2ms', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D2', 'Standard_D3', + * 'Standard_D4', 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', + * 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D2_v3', + * 'Standard_D4_v3', 'Standard_D8_v3', 'Standard_D16_v3', 'Standard_D32_v3', 'Standard_D64_v3', + * 'Standard_D2s_v3', 'Standard_D4s_v3', 'Standard_D8s_v3', 'Standard_D16s_v3', 'Standard_D32s_v3', + * 'Standard_D64s_v3', 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', + * 'Standard_D15_v2', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', 'Standard_DS4', + * 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', 'Standard_DS1_v2', + * 'Standard_DS2_v2', 'Standard_DS3_v2', 'Standard_DS4_v2', 'Standard_DS5_v2', 'Standard_DS11_v2', + * 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2', 'Standard_DS15_v2', + * 'Standard_DS13-4_v2', 'Standard_DS13-2_v2', 'Standard_DS14-8_v2', 'Standard_DS14-4_v2', + * 'Standard_E2_v3', 'Standard_E4_v3', 'Standard_E8_v3', 'Standard_E16_v3', 'Standard_E32_v3', + * 'Standard_E64_v3', 'Standard_E2s_v3', 'Standard_E4s_v3', 'Standard_E8s_v3', 'Standard_E16s_v3', + * 'Standard_E32s_v3', 'Standard_E64s_v3', 'Standard_E32-16_v3', 'Standard_E32-8s_v3', + * 'Standard_E64-32s_v3', 'Standard_E64-16s_v3', 'Standard_F1', 'Standard_F2', 'Standard_F4', + * 'Standard_F8', 'Standard_F16', 'Standard_F1s', 'Standard_F2s', 'Standard_F4s', 'Standard_F8s', + * 'Standard_F16s', 'Standard_F2s_v2', 'Standard_F4s_v2', 'Standard_F8s_v2', 'Standard_F16s_v2', + * 'Standard_F32s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_G1', 'Standard_G2', + * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', + * 'Standard_GS4', 'Standard_GS5', 'Standard_GS4-8', 'Standard_GS4-4', 'Standard_GS5-16', + * 'Standard_GS5-8', 'Standard_H8', 'Standard_H16', 'Standard_H8m', 'Standard_H16m', + * 'Standard_H16r', 'Standard_H16mr', 'Standard_L4s', 'Standard_L8s', 'Standard_L16s', + * 'Standard_L32s', 'Standard_M64s', 'Standard_M64ms', 'Standard_M128s', 'Standard_M128ms', + * 'Standard_M64-32ms', 'Standard_M64-16ms', 'Standard_M128-64ms', 'Standard_M128-32ms', + * 'Standard_NC6', 'Standard_NC12', 'Standard_NC24', 'Standard_NC24r', 'Standard_NC6s_v2', + * 'Standard_NC12s_v2', 'Standard_NC24s_v2', 'Standard_NC24rs_v2', 'Standard_NC6s_v3', + * 'Standard_NC12s_v3', 'Standard_NC24s_v3', 'Standard_NC24rs_v3', 'Standard_ND6s', + * 'Standard_ND12s', 'Standard_ND24s', 'Standard_ND24rs', 'Standard_NV6', 'Standard_NV12', + * 'Standard_NV24' * @readonly * @enum {string} */ -export enum VirtualMachineSizeTypes { - BasicA0 = 'Basic_A0', - BasicA1 = 'Basic_A1', - BasicA2 = 'Basic_A2', - BasicA3 = 'Basic_A3', - BasicA4 = 'Basic_A4', - StandardA0 = 'Standard_A0', - StandardA1 = 'Standard_A1', - StandardA2 = 'Standard_A2', - StandardA3 = 'Standard_A3', - StandardA4 = 'Standard_A4', - StandardA5 = 'Standard_A5', - StandardA6 = 'Standard_A6', - StandardA7 = 'Standard_A7', - StandardA8 = 'Standard_A8', - StandardA9 = 'Standard_A9', - StandardA10 = 'Standard_A10', - StandardA11 = 'Standard_A11', - StandardA1V2 = 'Standard_A1_v2', - StandardA2V2 = 'Standard_A2_v2', - StandardA4V2 = 'Standard_A4_v2', - StandardA8V2 = 'Standard_A8_v2', - StandardA2mV2 = 'Standard_A2m_v2', - StandardA4mV2 = 'Standard_A4m_v2', - StandardA8mV2 = 'Standard_A8m_v2', - StandardB1s = 'Standard_B1s', - StandardB1ms = 'Standard_B1ms', - StandardB2s = 'Standard_B2s', - StandardB2ms = 'Standard_B2ms', - StandardB4ms = 'Standard_B4ms', - StandardB8ms = 'Standard_B8ms', - StandardD1 = 'Standard_D1', - StandardD2 = 'Standard_D2', - StandardD3 = 'Standard_D3', - StandardD4 = 'Standard_D4', - StandardD11 = 'Standard_D11', - StandardD12 = 'Standard_D12', - StandardD13 = 'Standard_D13', - StandardD14 = 'Standard_D14', - StandardD1V2 = 'Standard_D1_v2', - StandardD2V2 = 'Standard_D2_v2', - StandardD3V2 = 'Standard_D3_v2', - StandardD4V2 = 'Standard_D4_v2', - StandardD5V2 = 'Standard_D5_v2', - StandardD2V3 = 'Standard_D2_v3', - StandardD4V3 = 'Standard_D4_v3', - StandardD8V3 = 'Standard_D8_v3', - StandardD16V3 = 'Standard_D16_v3', - StandardD32V3 = 'Standard_D32_v3', - StandardD64V3 = 'Standard_D64_v3', - StandardD2sV3 = 'Standard_D2s_v3', - StandardD4sV3 = 'Standard_D4s_v3', - StandardD8sV3 = 'Standard_D8s_v3', - StandardD16sV3 = 'Standard_D16s_v3', - StandardD32sV3 = 'Standard_D32s_v3', - StandardD64sV3 = 'Standard_D64s_v3', - StandardD11V2 = 'Standard_D11_v2', - StandardD12V2 = 'Standard_D12_v2', - StandardD13V2 = 'Standard_D13_v2', - StandardD14V2 = 'Standard_D14_v2', - StandardD15V2 = 'Standard_D15_v2', - StandardDS1 = 'Standard_DS1', - StandardDS2 = 'Standard_DS2', - StandardDS3 = 'Standard_DS3', - StandardDS4 = 'Standard_DS4', - StandardDS11 = 'Standard_DS11', - StandardDS12 = 'Standard_DS12', - StandardDS13 = 'Standard_DS13', - StandardDS14 = 'Standard_DS14', - StandardDS1V2 = 'Standard_DS1_v2', - StandardDS2V2 = 'Standard_DS2_v2', - StandardDS3V2 = 'Standard_DS3_v2', - StandardDS4V2 = 'Standard_DS4_v2', - StandardDS5V2 = 'Standard_DS5_v2', - StandardDS11V2 = 'Standard_DS11_v2', - StandardDS12V2 = 'Standard_DS12_v2', - StandardDS13V2 = 'Standard_DS13_v2', - StandardDS14V2 = 'Standard_DS14_v2', - StandardDS15V2 = 'Standard_DS15_v2', - StandardDS134V2 = 'Standard_DS13-4_v2', - StandardDS132V2 = 'Standard_DS13-2_v2', - StandardDS148V2 = 'Standard_DS14-8_v2', - StandardDS144V2 = 'Standard_DS14-4_v2', - StandardE2V3 = 'Standard_E2_v3', - StandardE4V3 = 'Standard_E4_v3', - StandardE8V3 = 'Standard_E8_v3', - StandardE16V3 = 'Standard_E16_v3', - StandardE32V3 = 'Standard_E32_v3', - StandardE64V3 = 'Standard_E64_v3', - StandardE2sV3 = 'Standard_E2s_v3', - StandardE4sV3 = 'Standard_E4s_v3', - StandardE8sV3 = 'Standard_E8s_v3', - StandardE16sV3 = 'Standard_E16s_v3', - StandardE32sV3 = 'Standard_E32s_v3', - StandardE64sV3 = 'Standard_E64s_v3', - StandardE3216V3 = 'Standard_E32-16_v3', - StandardE328sV3 = 'Standard_E32-8s_v3', - StandardE6432sV3 = 'Standard_E64-32s_v3', - StandardE6416sV3 = 'Standard_E64-16s_v3', - StandardF1 = 'Standard_F1', - StandardF2 = 'Standard_F2', - StandardF4 = 'Standard_F4', - StandardF8 = 'Standard_F8', - StandardF16 = 'Standard_F16', - StandardF1s = 'Standard_F1s', - StandardF2s = 'Standard_F2s', - StandardF4s = 'Standard_F4s', - StandardF8s = 'Standard_F8s', - StandardF16s = 'Standard_F16s', - StandardF2sV2 = 'Standard_F2s_v2', - StandardF4sV2 = 'Standard_F4s_v2', - StandardF8sV2 = 'Standard_F8s_v2', - StandardF16sV2 = 'Standard_F16s_v2', - StandardF32sV2 = 'Standard_F32s_v2', - StandardF64sV2 = 'Standard_F64s_v2', - StandardF72sV2 = 'Standard_F72s_v2', - StandardG1 = 'Standard_G1', - StandardG2 = 'Standard_G2', - StandardG3 = 'Standard_G3', - StandardG4 = 'Standard_G4', - StandardG5 = 'Standard_G5', - StandardGS1 = 'Standard_GS1', - StandardGS2 = 'Standard_GS2', - StandardGS3 = 'Standard_GS3', - StandardGS4 = 'Standard_GS4', - StandardGS5 = 'Standard_GS5', - StandardGS48 = 'Standard_GS4-8', - StandardGS44 = 'Standard_GS4-4', - StandardGS516 = 'Standard_GS5-16', - StandardGS58 = 'Standard_GS5-8', - StandardH8 = 'Standard_H8', - StandardH16 = 'Standard_H16', - StandardH8m = 'Standard_H8m', - StandardH16m = 'Standard_H16m', - StandardH16r = 'Standard_H16r', - StandardH16mr = 'Standard_H16mr', - StandardL4s = 'Standard_L4s', - StandardL8s = 'Standard_L8s', - StandardL16s = 'Standard_L16s', - StandardL32s = 'Standard_L32s', - StandardM64s = 'Standard_M64s', - StandardM64ms = 'Standard_M64ms', - StandardM128s = 'Standard_M128s', - StandardM128ms = 'Standard_M128ms', - StandardM6432ms = 'Standard_M64-32ms', - StandardM6416ms = 'Standard_M64-16ms', - StandardM12864ms = 'Standard_M128-64ms', - StandardM12832ms = 'Standard_M128-32ms', - StandardNC6 = 'Standard_NC6', - StandardNC12 = 'Standard_NC12', - StandardNC24 = 'Standard_NC24', - StandardNC24r = 'Standard_NC24r', - StandardNC6sV2 = 'Standard_NC6s_v2', - StandardNC12sV2 = 'Standard_NC12s_v2', - StandardNC24sV2 = 'Standard_NC24s_v2', - StandardNC24rsV2 = 'Standard_NC24rs_v2', - StandardNC6sV3 = 'Standard_NC6s_v3', - StandardNC12sV3 = 'Standard_NC12s_v3', - StandardNC24sV3 = 'Standard_NC24s_v3', - StandardNC24rsV3 = 'Standard_NC24rs_v3', - StandardND6s = 'Standard_ND6s', - StandardND12s = 'Standard_ND12s', - StandardND24s = 'Standard_ND24s', - StandardND24rs = 'Standard_ND24rs', - StandardNV6 = 'Standard_NV6', - StandardNV12 = 'Standard_NV12', - StandardNV24 = 'Standard_NV24', -} +export type VirtualMachineSizeTypes = 'Basic_A0' | 'Basic_A1' | 'Basic_A2' | 'Basic_A3' | 'Basic_A4' | 'Standard_A0' | 'Standard_A1' | 'Standard_A2' | 'Standard_A3' | 'Standard_A4' | 'Standard_A5' | 'Standard_A6' | 'Standard_A7' | 'Standard_A8' | 'Standard_A9' | 'Standard_A10' | 'Standard_A11' | 'Standard_A1_v2' | 'Standard_A2_v2' | 'Standard_A4_v2' | 'Standard_A8_v2' | 'Standard_A2m_v2' | 'Standard_A4m_v2' | 'Standard_A8m_v2' | 'Standard_B1s' | 'Standard_B1ms' | 'Standard_B2s' | 'Standard_B2ms' | 'Standard_B4ms' | 'Standard_B8ms' | 'Standard_D1' | 'Standard_D2' | 'Standard_D3' | 'Standard_D4' | 'Standard_D11' | 'Standard_D12' | 'Standard_D13' | 'Standard_D14' | 'Standard_D1_v2' | 'Standard_D2_v2' | 'Standard_D3_v2' | 'Standard_D4_v2' | 'Standard_D5_v2' | 'Standard_D2_v3' | 'Standard_D4_v3' | 'Standard_D8_v3' | 'Standard_D16_v3' | 'Standard_D32_v3' | 'Standard_D64_v3' | 'Standard_D2s_v3' | 'Standard_D4s_v3' | 'Standard_D8s_v3' | 'Standard_D16s_v3' | 'Standard_D32s_v3' | 'Standard_D64s_v3' | 'Standard_D11_v2' | 'Standard_D12_v2' | 'Standard_D13_v2' | 'Standard_D14_v2' | 'Standard_D15_v2' | 'Standard_DS1' | 'Standard_DS2' | 'Standard_DS3' | 'Standard_DS4' | 'Standard_DS11' | 'Standard_DS12' | 'Standard_DS13' | 'Standard_DS14' | 'Standard_DS1_v2' | 'Standard_DS2_v2' | 'Standard_DS3_v2' | 'Standard_DS4_v2' | 'Standard_DS5_v2' | 'Standard_DS11_v2' | 'Standard_DS12_v2' | 'Standard_DS13_v2' | 'Standard_DS14_v2' | 'Standard_DS15_v2' | 'Standard_DS13-4_v2' | 'Standard_DS13-2_v2' | 'Standard_DS14-8_v2' | 'Standard_DS14-4_v2' | 'Standard_E2_v3' | 'Standard_E4_v3' | 'Standard_E8_v3' | 'Standard_E16_v3' | 'Standard_E32_v3' | 'Standard_E64_v3' | 'Standard_E2s_v3' | 'Standard_E4s_v3' | 'Standard_E8s_v3' | 'Standard_E16s_v3' | 'Standard_E32s_v3' | 'Standard_E64s_v3' | 'Standard_E32-16_v3' | 'Standard_E32-8s_v3' | 'Standard_E64-32s_v3' | 'Standard_E64-16s_v3' | 'Standard_F1' | 'Standard_F2' | 'Standard_F4' | 'Standard_F8' | 'Standard_F16' | 'Standard_F1s' | 'Standard_F2s' | 'Standard_F4s' | 'Standard_F8s' | 'Standard_F16s' | 'Standard_F2s_v2' | 'Standard_F4s_v2' | 'Standard_F8s_v2' | 'Standard_F16s_v2' | 'Standard_F32s_v2' | 'Standard_F64s_v2' | 'Standard_F72s_v2' | 'Standard_G1' | 'Standard_G2' | 'Standard_G3' | 'Standard_G4' | 'Standard_G5' | 'Standard_GS1' | 'Standard_GS2' | 'Standard_GS3' | 'Standard_GS4' | 'Standard_GS5' | 'Standard_GS4-8' | 'Standard_GS4-4' | 'Standard_GS5-16' | 'Standard_GS5-8' | 'Standard_H8' | 'Standard_H16' | 'Standard_H8m' | 'Standard_H16m' | 'Standard_H16r' | 'Standard_H16mr' | 'Standard_L4s' | 'Standard_L8s' | 'Standard_L16s' | 'Standard_L32s' | 'Standard_M64s' | 'Standard_M64ms' | 'Standard_M128s' | 'Standard_M128ms' | 'Standard_M64-32ms' | 'Standard_M64-16ms' | 'Standard_M128-64ms' | 'Standard_M128-32ms' | 'Standard_NC6' | 'Standard_NC12' | 'Standard_NC24' | 'Standard_NC24r' | 'Standard_NC6s_v2' | 'Standard_NC12s_v2' | 'Standard_NC24s_v2' | 'Standard_NC24rs_v2' | 'Standard_NC6s_v3' | 'Standard_NC12s_v3' | 'Standard_NC24s_v3' | 'Standard_NC24rs_v3' | 'Standard_ND6s' | 'Standard_ND12s' | 'Standard_ND24s' | 'Standard_ND24rs' | 'Standard_NV6' | 'Standard_NV12' | 'Standard_NV24'; /** * Defines values for CachingTypes. @@ -6838,62 +6641,31 @@ export enum VirtualMachineSizeTypes { * @readonly * @enum {string} */ -export enum CachingTypes { - None = 'None', - ReadOnly = 'ReadOnly', - ReadWrite = 'ReadWrite', -} +export type CachingTypes = 'None' | 'ReadOnly' | 'ReadWrite'; /** * Defines values for DiskCreateOptionTypes. * Possible values include: 'FromImage', 'Empty', 'Attach' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DiskCreateOptionTypes = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DiskCreateOptionTypes { - FromImage = 'FromImage', - Empty = 'Empty', - Attach = 'Attach', -} +export type DiskCreateOptionTypes = 'FromImage' | 'Empty' | 'Attach'; /** * Defines values for StorageAccountTypes. - * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', - * 'UltraSSD_LRS' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: StorageAccountTypes = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' * @readonly * @enum {string} */ -export enum StorageAccountTypes { - StandardLRS = 'Standard_LRS', - PremiumLRS = 'Premium_LRS', - StandardSSDLRS = 'StandardSSD_LRS', - UltraSSDLRS = 'UltraSSD_LRS', -} +export type StorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS' | 'UltraSSD_LRS'; /** * Defines values for DiffDiskOptions. * Possible values include: 'Local' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DiffDiskOptions = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DiffDiskOptions { - Local = 'Local', -} +export type DiffDiskOptions = 'Local'; /** * Defines values for PassNames. @@ -6901,9 +6673,7 @@ export enum DiffDiskOptions { * @readonly * @enum {string} */ -export enum PassNames { - OobeSystem = 'OobeSystem', -} +export type PassNames = 'OobeSystem'; /** * Defines values for ComponentNames. @@ -6911,9 +6681,7 @@ export enum PassNames { * @readonly * @enum {string} */ -export enum ComponentNames { - MicrosoftWindowsShellSetup = 'Microsoft-Windows-Shell-Setup', -} +export type ComponentNames = 'Microsoft-Windows-Shell-Setup'; /** * Defines values for SettingNames. @@ -6921,10 +6689,7 @@ export enum ComponentNames { * @readonly * @enum {string} */ -export enum SettingNames { - AutoLogon = 'AutoLogon', - FirstLogonCommands = 'FirstLogonCommands', -} +export type SettingNames = 'AutoLogon' | 'FirstLogonCommands'; /** * Defines values for ProtocolTypes. @@ -6932,38 +6697,24 @@ export enum SettingNames { * @readonly * @enum {string} */ -export enum ProtocolTypes { - Http = 'Http', - Https = 'Https', -} +export type ProtocolTypes = 'Http' | 'Https'; /** * Defines values for ResourceIdentityType. - * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, - * UserAssigned', 'None' + * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', + * 'None' * @readonly * @enum {string} */ -export enum ResourceIdentityType { - SystemAssigned = 'SystemAssigned', - UserAssigned = 'UserAssigned', - SystemAssignedUserAssigned = 'SystemAssigned, UserAssigned', - None = 'None', -} +export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; /** * Defines values for MaintenanceOperationResultCodeTypes. - * Possible values include: 'None', 'RetryLater', 'MaintenanceAborted', - * 'MaintenanceCompleted' + * Possible values include: 'None', 'RetryLater', 'MaintenanceAborted', 'MaintenanceCompleted' * @readonly * @enum {string} */ -export enum MaintenanceOperationResultCodeTypes { - None = 'None', - RetryLater = 'RetryLater', - MaintenanceAborted = 'MaintenanceAborted', - MaintenanceCompleted = 'MaintenanceCompleted', -} +export type MaintenanceOperationResultCodeTypes = 'None' | 'RetryLater' | 'MaintenanceAborted' | 'MaintenanceCompleted'; /** * Defines values for UpgradeMode. @@ -6971,11 +6722,7 @@ export enum MaintenanceOperationResultCodeTypes { * @readonly * @enum {string} */ -export enum UpgradeMode { - Automatic = 'Automatic', - Manual = 'Manual', - Rolling = 'Rolling', -} +export type UpgradeMode = 'Automatic' | 'Manual' | 'Rolling'; /** * Defines values for OperatingSystemStateTypes. @@ -6983,57 +6730,31 @@ export enum UpgradeMode { * @readonly * @enum {string} */ -export enum OperatingSystemStateTypes { - Generalized = 'Generalized', - Specialized = 'Specialized', -} +export type OperatingSystemStateTypes = 'Generalized' | 'Specialized'; /** * Defines values for IPVersion. * Possible values include: 'IPv4', 'IPv6' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: IPVersion = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum IPVersion { - IPv4 = 'IPv4', - IPv6 = 'IPv6', -} +export type IPVersion = 'IPv4' | 'IPv6'; /** * Defines values for VirtualMachinePriorityTypes. * Possible values include: 'Regular', 'Low' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: VirtualMachinePriorityTypes = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum VirtualMachinePriorityTypes { - Regular = 'Regular', - Low = 'Low', -} +export type VirtualMachinePriorityTypes = 'Regular' | 'Low'; /** * Defines values for VirtualMachineEvictionPolicyTypes. * Possible values include: 'Deallocate', 'Delete' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: VirtualMachineEvictionPolicyTypes = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum VirtualMachineEvictionPolicyTypes { - Deallocate = 'Deallocate', - Delete = 'Delete', -} +export type VirtualMachineEvictionPolicyTypes = 'Deallocate' | 'Delete'; /** * Defines values for VirtualMachineScaleSetSkuScaleType. @@ -7041,24 +6762,15 @@ export enum VirtualMachineEvictionPolicyTypes { * @readonly * @enum {string} */ -export enum VirtualMachineScaleSetSkuScaleType { - Automatic = 'Automatic', - None = 'None', -} +export type VirtualMachineScaleSetSkuScaleType = 'Automatic' | 'None'; /** * Defines values for UpgradeState. - * Possible values include: 'RollingForward', 'Cancelled', 'Completed', - * 'Faulted' + * Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted' * @readonly * @enum {string} */ -export enum UpgradeState { - RollingForward = 'RollingForward', - Cancelled = 'Cancelled', - Completed = 'Completed', - Faulted = 'Faulted', -} +export type UpgradeState = 'RollingForward' | 'Cancelled' | 'Completed' | 'Faulted'; /** * Defines values for UpgradeOperationInvoker. @@ -7066,25 +6778,15 @@ export enum UpgradeState { * @readonly * @enum {string} */ -export enum UpgradeOperationInvoker { - Unknown = 'Unknown', - User = 'User', - Platform = 'Platform', -} +export type UpgradeOperationInvoker = 'Unknown' | 'User' | 'Platform'; /** * Defines values for RollingUpgradeStatusCode. - * Possible values include: 'RollingForward', 'Cancelled', 'Completed', - * 'Faulted' + * Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted' * @readonly * @enum {string} */ -export enum RollingUpgradeStatusCode { - RollingForward = 'RollingForward', - Cancelled = 'Cancelled', - Completed = 'Completed', - Faulted = 'Faulted', -} +export type RollingUpgradeStatusCode = 'RollingForward' | 'Cancelled' | 'Completed' | 'Faulted'; /** * Defines values for RollingUpgradeActionType. @@ -7092,10 +6794,7 @@ export enum RollingUpgradeStatusCode { * @readonly * @enum {string} */ -export enum RollingUpgradeActionType { - Start = 'Start', - Cancel = 'Cancel', -} +export type RollingUpgradeActionType = 'Start' | 'Cancel'; /** * Defines values for IntervalInMins. @@ -7103,12 +6802,7 @@ export enum RollingUpgradeActionType { * @readonly * @enum {string} */ -export enum IntervalInMins { - ThreeMins = 'ThreeMins', - FiveMins = 'FiveMins', - ThirtyMins = 'ThirtyMins', - SixtyMins = 'SixtyMins', -} +export type IntervalInMins = 'ThreeMins' | 'FiveMins' | 'ThirtyMins' | 'SixtyMins'; /** * Defines values for ResourceSkuCapacityScaleType. @@ -7116,11 +6810,7 @@ export enum IntervalInMins { * @readonly * @enum {string} */ -export enum ResourceSkuCapacityScaleType { - Automatic = 'Automatic', - Manual = 'Manual', - None = 'None', -} +export type ResourceSkuCapacityScaleType = 'Automatic' | 'Manual' | 'None'; /** * Defines values for ResourceSkuRestrictionsType. @@ -7128,10 +6818,7 @@ export enum ResourceSkuCapacityScaleType { * @readonly * @enum {string} */ -export enum ResourceSkuRestrictionsType { - Location = 'Location', - Zone = 'Zone', -} +export type ResourceSkuRestrictionsType = 'Location' | 'Zone'; /** * Defines values for ResourceSkuRestrictionsReasonCode. @@ -7139,119 +6826,55 @@ export enum ResourceSkuRestrictionsType { * @readonly * @enum {string} */ -export enum ResourceSkuRestrictionsReasonCode { - QuotaId = 'QuotaId', - NotAvailableForSubscription = 'NotAvailableForSubscription', -} +export type ResourceSkuRestrictionsReasonCode = 'QuotaId' | 'NotAvailableForSubscription'; /** * Defines values for DiskStorageAccountTypes. - * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', - * 'UltraSSD_LRS' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DiskStorageAccountTypes = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' * @readonly * @enum {string} */ -export enum DiskStorageAccountTypes { - StandardLRS = 'Standard_LRS', - PremiumLRS = 'Premium_LRS', - StandardSSDLRS = 'StandardSSD_LRS', - UltraSSDLRS = 'UltraSSD_LRS', -} +export type DiskStorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS' | 'UltraSSD_LRS'; /** * Defines values for DiskCreateOption. - * Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy', - * 'Restore' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DiskCreateOption = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy', 'Restore' * @readonly * @enum {string} */ -export enum DiskCreateOption { - Empty = 'Empty', - Attach = 'Attach', - FromImage = 'FromImage', - Import = 'Import', - Copy = 'Copy', - Restore = 'Restore', -} +export type DiskCreateOption = 'Empty' | 'Attach' | 'FromImage' | 'Import' | 'Copy' | 'Restore'; /** * Defines values for SnapshotStorageAccountTypes. * Possible values include: 'Standard_LRS', 'Premium_LRS', 'Standard_ZRS' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SnapshotStorageAccountTypes = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SnapshotStorageAccountTypes { - StandardLRS = 'Standard_LRS', - PremiumLRS = 'Premium_LRS', - StandardZRS = 'Standard_ZRS', -} +export type SnapshotStorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'Standard_ZRS'; /** * Defines values for AccessLevel. * Possible values include: 'None', 'Read' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AccessLevel = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AccessLevel { - None = 'None', - Read = 'Read', -} +export type AccessLevel = 'None' | 'Read'; /** * Defines values for AggregatedReplicationState. * Possible values include: 'Unknown', 'InProgress', 'Completed', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AggregatedReplicationState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AggregatedReplicationState { - Unknown = 'Unknown', - InProgress = 'InProgress', - Completed = 'Completed', - Failed = 'Failed', -} +export type AggregatedReplicationState = 'Unknown' | 'InProgress' | 'Completed' | 'Failed'; /** * Defines values for ReplicationState. * Possible values include: 'Unknown', 'Replicating', 'Completed', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReplicationState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ReplicationState { - Unknown = 'Unknown', - Replicating = 'Replicating', - Completed = 'Completed', - Failed = 'Failed', -} +export type ReplicationState = 'Unknown' | 'Replicating' | 'Completed' | 'Failed'; /** * Defines values for HostCaching. @@ -7259,11 +6882,7 @@ export enum ReplicationState { * @readonly * @enum {string} */ -export enum HostCaching { - None = 'None', - ReadOnly = 'ReadOnly', - ReadWrite = 'ReadWrite', -} +export type HostCaching = 'None' | 'ReadOnly' | 'ReadWrite'; /** * Defines values for ContainerServiceOrchestratorTypes. @@ -7271,83 +6890,23 @@ export enum HostCaching { * @readonly * @enum {string} */ -export enum ContainerServiceOrchestratorTypes { - Swarm = 'Swarm', - DCOS = 'DCOS', - Custom = 'Custom', - Kubernetes = 'Kubernetes', -} +export type ContainerServiceOrchestratorTypes = 'Swarm' | 'DCOS' | 'Custom' | 'Kubernetes'; /** * Defines values for ContainerServiceVMSizeTypes. - * Possible values include: 'Standard_A0', 'Standard_A1', 'Standard_A2', - * 'Standard_A3', 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', - * 'Standard_A8', 'Standard_A9', 'Standard_A10', 'Standard_A11', 'Standard_D1', - * 'Standard_D2', 'Standard_D3', 'Standard_D4', 'Standard_D11', 'Standard_D12', - * 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', 'Standard_D2_v2', - * 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2', - * 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_G1', - * 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_DS1', - * 'Standard_DS2', 'Standard_DS3', 'Standard_DS4', 'Standard_DS11', - * 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', 'Standard_GS1', - * 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ContainerServiceVMSizeTypes = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3', + * 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9', + * 'Standard_A10', 'Standard_A11', 'Standard_D1', 'Standard_D2', 'Standard_D3', 'Standard_D4', + * 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', + * 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2', + * 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_G1', 'Standard_G2', + * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', + * 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', + * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5' * @readonly * @enum {string} */ -export enum ContainerServiceVMSizeTypes { - StandardA0 = 'Standard_A0', - StandardA1 = 'Standard_A1', - StandardA2 = 'Standard_A2', - StandardA3 = 'Standard_A3', - StandardA4 = 'Standard_A4', - StandardA5 = 'Standard_A5', - StandardA6 = 'Standard_A6', - StandardA7 = 'Standard_A7', - StandardA8 = 'Standard_A8', - StandardA9 = 'Standard_A9', - StandardA10 = 'Standard_A10', - StandardA11 = 'Standard_A11', - StandardD1 = 'Standard_D1', - StandardD2 = 'Standard_D2', - StandardD3 = 'Standard_D3', - StandardD4 = 'Standard_D4', - StandardD11 = 'Standard_D11', - StandardD12 = 'Standard_D12', - StandardD13 = 'Standard_D13', - StandardD14 = 'Standard_D14', - StandardD1V2 = 'Standard_D1_v2', - StandardD2V2 = 'Standard_D2_v2', - StandardD3V2 = 'Standard_D3_v2', - StandardD4V2 = 'Standard_D4_v2', - StandardD5V2 = 'Standard_D5_v2', - StandardD11V2 = 'Standard_D11_v2', - StandardD12V2 = 'Standard_D12_v2', - StandardD13V2 = 'Standard_D13_v2', - StandardD14V2 = 'Standard_D14_v2', - StandardG1 = 'Standard_G1', - StandardG2 = 'Standard_G2', - StandardG3 = 'Standard_G3', - StandardG4 = 'Standard_G4', - StandardG5 = 'Standard_G5', - StandardDS1 = 'Standard_DS1', - StandardDS2 = 'Standard_DS2', - StandardDS3 = 'Standard_DS3', - StandardDS4 = 'Standard_DS4', - StandardDS11 = 'Standard_DS11', - StandardDS12 = 'Standard_DS12', - StandardDS13 = 'Standard_DS13', - StandardDS14 = 'Standard_DS14', - StandardGS1 = 'Standard_GS1', - StandardGS2 = 'Standard_GS2', - StandardGS3 = 'Standard_GS3', - StandardGS4 = 'Standard_GS4', - StandardGS5 = 'Standard_GS5', -} +export type ContainerServiceVMSizeTypes = 'Standard_A0' | 'Standard_A1' | 'Standard_A2' | 'Standard_A3' | 'Standard_A4' | 'Standard_A5' | 'Standard_A6' | 'Standard_A7' | 'Standard_A8' | 'Standard_A9' | 'Standard_A10' | 'Standard_A11' | 'Standard_D1' | 'Standard_D2' | 'Standard_D3' | 'Standard_D4' | 'Standard_D11' | 'Standard_D12' | 'Standard_D13' | 'Standard_D14' | 'Standard_D1_v2' | 'Standard_D2_v2' | 'Standard_D3_v2' | 'Standard_D4_v2' | 'Standard_D5_v2' | 'Standard_D11_v2' | 'Standard_D12_v2' | 'Standard_D13_v2' | 'Standard_D14_v2' | 'Standard_G1' | 'Standard_G2' | 'Standard_G3' | 'Standard_G4' | 'Standard_G5' | 'Standard_DS1' | 'Standard_DS2' | 'Standard_DS3' | 'Standard_DS4' | 'Standard_DS11' | 'Standard_DS12' | 'Standard_DS13' | 'Standard_DS14' | 'Standard_GS1' | 'Standard_GS2' | 'Standard_GS3' | 'Standard_GS4' | 'Standard_GS5'; /** * Defines values for InstanceViewTypes. @@ -7355,87 +6914,39 @@ export enum ContainerServiceVMSizeTypes { * @readonly * @enum {string} */ -export enum InstanceViewTypes { - InstanceView = 'instanceView', -} +export type InstanceViewTypes = 'instanceView'; /** * Defines values for ReplicationStatusTypes. * Possible values include: 'ReplicationStatus' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReplicationStatusTypes = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ReplicationStatusTypes { - ReplicationStatus = 'ReplicationStatus', -} +export type ReplicationStatusTypes = 'ReplicationStatus'; /** * Defines values for ProvisioningState. - * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', - * 'Deleting', 'Migrating' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' * @readonly * @enum {string} */ -export enum ProvisioningState { - Creating = 'Creating', - Updating = 'Updating', - Failed = 'Failed', - Succeeded = 'Succeeded', - Deleting = 'Deleting', - Migrating = 'Migrating', -} +export type ProvisioningState = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; /** * Defines values for ProvisioningState1. - * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', - * 'Deleting', 'Migrating' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState1 = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' * @readonly * @enum {string} */ -export enum ProvisioningState1 { - Creating = 'Creating', - Updating = 'Updating', - Failed = 'Failed', - Succeeded = 'Succeeded', - Deleting = 'Deleting', - Migrating = 'Migrating', -} +export type ProvisioningState1 = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; /** * Defines values for ProvisioningState2. - * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', - * 'Deleting', 'Migrating' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState2 = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' * @readonly * @enum {string} */ -export enum ProvisioningState2 { - Creating = 'Creating', - Updating = 'Updating', - Failed = 'Failed', - Succeeded = 'Succeeded', - Deleting = 'Deleting', - Migrating = 'Migrating', -} +export type ProvisioningState2 = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-compute/lib/models/mappers.ts b/packages/@azure/arm-compute/lib/models/mappers.ts index a39f601fda01..e3f6d324002a 100644 --- a/packages/@azure/arm-compute/lib/models/mappers.ts +++ b/packages/@azure/arm-compute/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-compute/lib/models/parameters.ts b/packages/@azure/arm-compute/lib/models/parameters.ts index f79efb6514d5..1efec3c6f215 100644 --- a/packages/@azure/arm-compute/lib/models/parameters.ts +++ b/packages/@azure/arm-compute/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-compute/lib/operations/availabilitySets.ts b/packages/@azure/arm-compute/lib/operations/availabilitySets.ts index 4d61028c81c7..29ea74283bc3 100644 --- a/packages/@azure/arm-compute/lib/operations/availabilitySets.ts +++ b/packages/@azure/arm-compute/lib/operations/availabilitySets.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/availabilitySetsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class AvailabilitySets { * @param callback The callback */ createOrUpdate(resourceGroupName: string, availabilitySetName: string, parameters: Models.AvailabilitySet, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, availabilitySetName: string, parameters: Models.AvailabilitySet, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, availabilitySetName: string, parameters: Models.AvailabilitySet, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class AvailabilitySets { * @param callback The callback */ update(resourceGroupName: string, availabilitySetName: string, parameters: Models.AvailabilitySetUpdate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, availabilitySetName: string, parameters: Models.AvailabilitySetUpdate, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, availabilitySetName: string, parameters: Models.AvailabilitySetUpdate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -119,7 +119,7 @@ export class AvailabilitySets { * @param callback The callback */ deleteMethod(resourceGroupName: string, availabilitySetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, availabilitySetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, availabilitySetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -151,7 +151,7 @@ export class AvailabilitySets { * @param callback The callback */ get(resourceGroupName: string, availabilitySetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, availabilitySetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, availabilitySetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -177,7 +177,7 @@ export class AvailabilitySets { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -204,7 +204,7 @@ export class AvailabilitySets { * @param callback The callback */ list(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -236,7 +236,7 @@ export class AvailabilitySets { * @param callback The callback */ listAvailableSizes(resourceGroupName: string, availabilitySetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAvailableSizes(resourceGroupName: string, availabilitySetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAvailableSizes(resourceGroupName: string, availabilitySetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -265,7 +265,7 @@ export class AvailabilitySets { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -293,7 +293,7 @@ export class AvailabilitySets { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/lib/operations/containerServices.ts b/packages/@azure/arm-compute/lib/operations/containerServices.ts index 4478344c82a9..fb409253f04a 100644 --- a/packages/@azure/arm-compute/lib/operations/containerServices.ts +++ b/packages/@azure/arm-compute/lib/operations/containerServices.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/containerServicesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class ContainerServices { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -97,7 +97,7 @@ export class ContainerServices { * @param callback The callback */ get(resourceGroupName: string, containerServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, containerServiceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, containerServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -146,7 +146,7 @@ export class ContainerServices { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -223,7 +223,7 @@ export class ContainerServices { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -254,7 +254,7 @@ export class ContainerServices { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/lib/operations/disks.ts b/packages/@azure/arm-compute/lib/operations/disks.ts index 222782a6290a..97002da76ce8 100644 --- a/packages/@azure/arm-compute/lib/operations/disks.ts +++ b/packages/@azure/arm-compute/lib/operations/disks.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/disksMappers"; import * as Parameters from "../models/parameters"; @@ -84,7 +84,7 @@ export class Disks { * @param callback The callback */ get(resourceGroupName: string, diskName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, diskName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, diskName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -127,7 +127,7 @@ export class Disks { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -152,7 +152,7 @@ export class Disks { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -314,7 +314,7 @@ export class Disks { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -342,7 +342,7 @@ export class Disks { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/lib/operations/galleries.ts b/packages/@azure/arm-compute/lib/operations/galleries.ts index fda6238ba32b..974eb128b68f 100644 --- a/packages/@azure/arm-compute/lib/operations/galleries.ts +++ b/packages/@azure/arm-compute/lib/operations/galleries.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/galleriesMappers"; import * as Parameters from "../models/parameters"; @@ -62,7 +62,7 @@ export class Galleries { * @param callback The callback */ get(resourceGroupName: string, galleryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, galleryName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, galleryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -103,7 +103,7 @@ export class Galleries { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -128,7 +128,7 @@ export class Galleries { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -194,7 +194,7 @@ export class Galleries { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -222,7 +222,7 @@ export class Galleries { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/lib/operations/galleryImageVersions.ts b/packages/@azure/arm-compute/lib/operations/galleryImageVersions.ts index 795d2a461ead..7e92617c0e45 100644 --- a/packages/@azure/arm-compute/lib/operations/galleryImageVersions.ts +++ b/packages/@azure/arm-compute/lib/operations/galleryImageVersions.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/galleryImageVersionsMappers"; import * as Parameters from "../models/parameters"; @@ -76,7 +76,7 @@ export class GalleryImageVersions { * @param callback The callback */ get(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options: Models.GalleryImageVersionsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: Models.GalleryImageVersionsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: Models.GalleryImageVersionsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -131,7 +131,7 @@ export class GalleryImageVersions { * @param callback The callback */ listByGalleryImage(resourceGroupName: string, galleryName: string, galleryImageName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByGalleryImage(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByGalleryImage(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -212,7 +212,7 @@ export class GalleryImageVersions { * @param callback The callback */ listByGalleryImageNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByGalleryImageNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByGalleryImageNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/lib/operations/galleryImages.ts b/packages/@azure/arm-compute/lib/operations/galleryImages.ts index 50aef0b2903d..f61ec5fc1cf2 100644 --- a/packages/@azure/arm-compute/lib/operations/galleryImages.ts +++ b/packages/@azure/arm-compute/lib/operations/galleryImages.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/galleryImagesMappers"; import * as Parameters from "../models/parameters"; @@ -71,7 +71,7 @@ export class GalleryImages { * @param callback The callback */ get(resourceGroupName: string, galleryName: string, galleryImageName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class GalleryImages { * @param callback The callback */ listByGallery(resourceGroupName: string, galleryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByGallery(resourceGroupName: string, galleryName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByGallery(resourceGroupName: string, galleryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -196,7 +196,7 @@ export class GalleryImages { * @param callback The callback */ listByGalleryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByGalleryNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByGalleryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/lib/operations/images.ts b/packages/@azure/arm-compute/lib/operations/images.ts index 756ef6b889d4..6187e85ab7f9 100644 --- a/packages/@azure/arm-compute/lib/operations/images.ts +++ b/packages/@azure/arm-compute/lib/operations/images.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/imagesMappers"; import * as Parameters from "../models/parameters"; @@ -86,7 +86,7 @@ export class Images { * @param callback The callback */ get(resourceGroupName: string, imageName: string, options: Models.ImagesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, imageName: string, options?: Models.ImagesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, imageName: string, options?: Models.ImagesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -115,7 +115,7 @@ export class Images { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -141,7 +141,7 @@ export class Images { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -226,7 +226,7 @@ export class Images { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -255,7 +255,7 @@ export class Images { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/lib/operations/logAnalytics.ts b/packages/@azure/arm-compute/lib/operations/logAnalytics.ts index 1ce24a0da64d..3734f06d68aa 100644 --- a/packages/@azure/arm-compute/lib/operations/logAnalytics.ts +++ b/packages/@azure/arm-compute/lib/operations/logAnalytics.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/logAnalyticsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-compute/lib/operations/operations.ts b/packages/@azure/arm-compute/lib/operations/operations.ts index ce959da2c911..641f050bdd14 100644 --- a/packages/@azure/arm-compute/lib/operations/operations.ts +++ b/packages/@azure/arm-compute/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-compute/lib/operations/resourceSkus.ts b/packages/@azure/arm-compute/lib/operations/resourceSkus.ts index a641b8ec3db5..c5118454eadd 100644 --- a/packages/@azure/arm-compute/lib/operations/resourceSkus.ts +++ b/packages/@azure/arm-compute/lib/operations/resourceSkus.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/resourceSkusMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class ResourceSkus { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class ResourceSkus { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/lib/operations/snapshots.ts b/packages/@azure/arm-compute/lib/operations/snapshots.ts index 335eda62e711..5a5e9c9090c2 100644 --- a/packages/@azure/arm-compute/lib/operations/snapshots.ts +++ b/packages/@azure/arm-compute/lib/operations/snapshots.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/snapshotsMappers"; import * as Parameters from "../models/parameters"; @@ -84,7 +84,7 @@ export class Snapshots { * @param callback The callback */ get(resourceGroupName: string, snapshotName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, snapshotName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, snapshotName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -127,7 +127,7 @@ export class Snapshots { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -152,7 +152,7 @@ export class Snapshots { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -316,7 +316,7 @@ export class Snapshots { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -344,7 +344,7 @@ export class Snapshots { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/lib/operations/usageOperations.ts b/packages/@azure/arm-compute/lib/operations/usageOperations.ts index 3ea7988f2fc9..b6cae3039867 100644 --- a/packages/@azure/arm-compute/lib/operations/usageOperations.ts +++ b/packages/@azure/arm-compute/lib/operations/usageOperations.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/usageOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class UsageOperations { * @param callback The callback */ list(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -74,7 +74,7 @@ export class UsageOperations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/lib/operations/virtualMachineExtensionImages.ts b/packages/@azure/arm-compute/lib/operations/virtualMachineExtensionImages.ts index ab35556d8d70..d429b13e72fe 100644 --- a/packages/@azure/arm-compute/lib/operations/virtualMachineExtensionImages.ts +++ b/packages/@azure/arm-compute/lib/operations/virtualMachineExtensionImages.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/virtualMachineExtensionImagesMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class VirtualMachineExtensionImages { * @param callback The callback */ get(location: string, publisherName: string, type: string, version: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(location: string, publisherName: string, type: string, version: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(location: string, publisherName: string, type: string, version: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -87,7 +87,7 @@ export class VirtualMachineExtensionImages { * @param callback The callback */ listTypes(location: string, publisherName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listTypes(location: string, publisherName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listTypes(location: string, publisherName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -122,7 +122,7 @@ export class VirtualMachineExtensionImages { * @param callback The callback */ listVersions(location: string, publisherName: string, type: string, options: Models.VirtualMachineExtensionImagesListVersionsOptionalParams, callback: msRest.ServiceCallback): void; - listVersions(location: string, publisherName: string, type: string, options?: Models.VirtualMachineExtensionImagesListVersionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listVersions(location: string, publisherName: string, type: string, options?: Models.VirtualMachineExtensionImagesListVersionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, diff --git a/packages/@azure/arm-compute/lib/operations/virtualMachineExtensions.ts b/packages/@azure/arm-compute/lib/operations/virtualMachineExtensions.ts index 55987d58d203..289e3d3134e9 100644 --- a/packages/@azure/arm-compute/lib/operations/virtualMachineExtensions.ts +++ b/packages/@azure/arm-compute/lib/operations/virtualMachineExtensions.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/virtualMachineExtensionsMappers"; import * as Parameters from "../models/parameters"; @@ -94,7 +94,7 @@ export class VirtualMachineExtensions { * @param callback The callback */ get(resourceGroupName: string, vmName: string, vmExtensionName: string, options: Models.VirtualMachineExtensionsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vmName: string, vmExtensionName: string, options?: Models.VirtualMachineExtensionsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vmName: string, vmExtensionName: string, options?: Models.VirtualMachineExtensionsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -127,7 +127,7 @@ export class VirtualMachineExtensions { * @param callback The callback */ list(resourceGroupName: string, vmName: string, options: Models.VirtualMachineExtensionsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, vmName: string, options?: Models.VirtualMachineExtensionsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, vmName: string, options?: Models.VirtualMachineExtensionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-compute/lib/operations/virtualMachineImages.ts b/packages/@azure/arm-compute/lib/operations/virtualMachineImages.ts index 46b583bcd2a6..0d2b8ffd1914 100644 --- a/packages/@azure/arm-compute/lib/operations/virtualMachineImages.ts +++ b/packages/@azure/arm-compute/lib/operations/virtualMachineImages.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/virtualMachineImagesMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class VirtualMachineImages { * @param callback The callback */ get(location: string, publisherName: string, offer: string, skus: string, version: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(location: string, publisherName: string, offer: string, skus: string, version: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(location: string, publisherName: string, offer: string, skus: string, version: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -98,7 +98,7 @@ export class VirtualMachineImages { * @param callback The callback */ list(location: string, publisherName: string, offer: string, skus: string, options: Models.VirtualMachineImagesListOptionalParams, callback: msRest.ServiceCallback): void; - list(location: string, publisherName: string, offer: string, skus: string, options?: Models.VirtualMachineImagesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(location: string, publisherName: string, offer: string, skus: string, options?: Models.VirtualMachineImagesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -132,7 +132,7 @@ export class VirtualMachineImages { * @param callback The callback */ listOffers(location: string, publisherName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOffers(location: string, publisherName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOffers(location: string, publisherName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -161,7 +161,7 @@ export class VirtualMachineImages { * @param callback The callback */ listPublishers(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPublishers(location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPublishers(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -195,7 +195,7 @@ export class VirtualMachineImages { * @param callback The callback */ listSkus(location: string, publisherName: string, offer: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSkus(location: string, publisherName: string, offer: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSkus(location: string, publisherName: string, offer: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, diff --git a/packages/@azure/arm-compute/lib/operations/virtualMachineRunCommands.ts b/packages/@azure/arm-compute/lib/operations/virtualMachineRunCommands.ts index 1db094699596..134182cee58b 100644 --- a/packages/@azure/arm-compute/lib/operations/virtualMachineRunCommands.ts +++ b/packages/@azure/arm-compute/lib/operations/virtualMachineRunCommands.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/virtualMachineRunCommandsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class VirtualMachineRunCommands { * @param callback The callback */ list(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -75,7 +75,7 @@ export class VirtualMachineRunCommands { * @param callback The callback */ get(location: string, commandId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(location: string, commandId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(location: string, commandId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -104,7 +104,7 @@ export class VirtualMachineRunCommands { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSetExtensions.ts b/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSetExtensions.ts index 9bb3b4b1e150..ede0b80fda8d 100644 --- a/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSetExtensions.ts +++ b/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSetExtensions.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/virtualMachineScaleSetExtensionsMappers"; import * as Parameters from "../models/parameters"; @@ -79,7 +79,7 @@ export class VirtualMachineScaleSetExtensions { * @param callback The callback */ get(resourceGroupName: string, vmScaleSetName: string, vmssExtensionName: string, options: Models.VirtualMachineScaleSetExtensionsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vmScaleSetName: string, vmssExtensionName: string, options?: Models.VirtualMachineScaleSetExtensionsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vmScaleSetName: string, vmssExtensionName: string, options?: Models.VirtualMachineScaleSetExtensionsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -112,7 +112,7 @@ export class VirtualMachineScaleSetExtensions { * @param callback The callback */ list(resourceGroupName: string, vmScaleSetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -184,7 +184,7 @@ export class VirtualMachineScaleSetExtensions { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSetRollingUpgrades.ts b/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSetRollingUpgrades.ts index 318bfe986327..77d3e791f36c 100644 --- a/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSetRollingUpgrades.ts +++ b/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSetRollingUpgrades.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/virtualMachineScaleSetRollingUpgradesMappers"; import * as Parameters from "../models/parameters"; @@ -88,7 +88,7 @@ export class VirtualMachineScaleSetRollingUpgrades { * @param callback The callback */ getLatest(resourceGroupName: string, vmScaleSetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getLatest(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getLatest(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSetVMs.ts b/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSetVMs.ts index 37fddc32a78d..a88fe0ec3aa5 100644 --- a/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSetVMs.ts +++ b/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSetVMs.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/virtualMachineScaleSetVMsMappers"; import * as Parameters from "../models/parameters"; @@ -121,7 +121,7 @@ export class VirtualMachineScaleSetVMs { * @param callback The callback */ get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -157,7 +157,7 @@ export class VirtualMachineScaleSetVMs { * @param callback The callback */ getInstanceView(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceView(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceView(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -190,7 +190,7 @@ export class VirtualMachineScaleSetVMs { * @param callback The callback */ list(resourceGroupName: string, virtualMachineScaleSetName: string, options: Models.VirtualMachineScaleSetVMsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, virtualMachineScaleSetName: string, options?: Models.VirtualMachineScaleSetVMsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, virtualMachineScaleSetName: string, options?: Models.VirtualMachineScaleSetVMsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -530,7 +530,7 @@ export class VirtualMachineScaleSetVMs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSets.ts b/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSets.ts index 2b0d383982dc..871451f4dcd7 100644 --- a/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSets.ts +++ b/packages/@azure/arm-compute/lib/operations/virtualMachineScaleSets.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/virtualMachineScaleSetsMappers"; import * as Parameters from "../models/parameters"; @@ -86,7 +86,7 @@ export class VirtualMachineScaleSets { * @param callback The callback */ get(resourceGroupName: string, vmScaleSetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -145,7 +145,7 @@ export class VirtualMachineScaleSets { * @param callback The callback */ getInstanceView(resourceGroupName: string, vmScaleSetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceView(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getInstanceView(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -174,7 +174,7 @@ export class VirtualMachineScaleSets { * @param callback The callback */ list(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -201,7 +201,7 @@ export class VirtualMachineScaleSets { * @param callback The callback */ listAll(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAll(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAll(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -232,7 +232,7 @@ export class VirtualMachineScaleSets { * @param callback The callback */ listSkus(resourceGroupName: string, vmScaleSetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSkus(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSkus(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -264,7 +264,7 @@ export class VirtualMachineScaleSets { * @param callback The callback */ getOSUpgradeHistory(resourceGroupName: string, vmScaleSetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getOSUpgradeHistory(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getOSUpgradeHistory(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -407,7 +407,7 @@ export class VirtualMachineScaleSets { * @param callback The callback */ forceRecoveryServiceFabricPlatformUpdateDomainWalk(resourceGroupName: string, vmScaleSetName: string, platformUpdateDomain: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - forceRecoveryServiceFabricPlatformUpdateDomainWalk(resourceGroupName: string, vmScaleSetName: string, platformUpdateDomain: number, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + forceRecoveryServiceFabricPlatformUpdateDomainWalk(resourceGroupName: string, vmScaleSetName: string, platformUpdateDomain: number, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -687,7 +687,7 @@ export class VirtualMachineScaleSets { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -717,7 +717,7 @@ export class VirtualMachineScaleSets { * @param callback The callback */ listAllNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -746,7 +746,7 @@ export class VirtualMachineScaleSets { * @param callback The callback */ listSkusNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -774,7 +774,7 @@ export class VirtualMachineScaleSets { * @param callback The callback */ getOSUpgradeHistoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getOSUpgradeHistoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getOSUpgradeHistoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/lib/operations/virtualMachineSizes.ts b/packages/@azure/arm-compute/lib/operations/virtualMachineSizes.ts index 75650099f5ec..a5554fd0825b 100644 --- a/packages/@azure/arm-compute/lib/operations/virtualMachineSizes.ts +++ b/packages/@azure/arm-compute/lib/operations/virtualMachineSizes.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/virtualMachineSizesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class VirtualMachineSizes { * @param callback The callback */ list(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, diff --git a/packages/@azure/arm-compute/lib/operations/virtualMachines.ts b/packages/@azure/arm-compute/lib/operations/virtualMachines.ts index 2a4820d76a4a..0afa912f29f6 100644 --- a/packages/@azure/arm-compute/lib/operations/virtualMachines.ts +++ b/packages/@azure/arm-compute/lib/operations/virtualMachines.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/virtualMachinesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class VirtualMachines { * @param callback The callback */ listByLocation(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByLocation(location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByLocation(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -128,7 +128,7 @@ export class VirtualMachines { * @param callback The callback */ get(resourceGroupName: string, vmName: string, options: Models.VirtualMachinesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vmName: string, options?: Models.VirtualMachinesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vmName: string, options?: Models.VirtualMachinesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -160,7 +160,7 @@ export class VirtualMachines { * @param callback The callback */ instanceView(resourceGroupName: string, vmName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - instanceView(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + instanceView(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -218,7 +218,7 @@ export class VirtualMachines { * @param callback The callback */ generalize(resourceGroupName: string, vmName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - generalize(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + generalize(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -248,7 +248,7 @@ export class VirtualMachines { * @param callback The callback */ list(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -274,7 +274,7 @@ export class VirtualMachines { * @param callback The callback */ listAll(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAll(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAll(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -304,7 +304,7 @@ export class VirtualMachines { * @param callback The callback */ listAvailableSizes(resourceGroupName: string, vmName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAvailableSizes(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAvailableSizes(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -667,7 +667,7 @@ export class VirtualMachines { * @param callback The callback */ listByLocationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -696,7 +696,7 @@ export class VirtualMachines { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -725,7 +725,7 @@ export class VirtualMachines { * @param callback The callback */ listAllNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-compute/package.json b/packages/@azure/arm-compute/package.json index 86761c32687b..097cb976f055 100644 --- a/packages/@azure/arm-compute/package.json +++ b/packages/@azure/arm-compute/package.json @@ -4,8 +4,8 @@ "description": "ComputeManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-compute/rollup.config.js b/packages/@azure/arm-compute/rollup.config.js index c92f8d73cf6a..be3dd3556db7 100644 --- a/packages/@azure/arm-compute/rollup.config.js +++ b/packages/@azure/arm-compute/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/computeManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-compute.js", format: "umd", name: "Azure.ArmCompute", 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-compute/tsconfig.json b/packages/@azure/arm-compute/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-compute/tsconfig.json +++ b/packages/@azure/arm-compute/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-consumption/.npmignore b/packages/@azure/arm-consumption/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-consumption/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-consumption/README.md b/packages/@azure/arm-consumption/README.md index 54dc31cd7f50..733d35a9c5cf 100644 --- a/packages/@azure/arm-consumption/README.md +++ b/packages/@azure/arm-consumption/README.md @@ -1,24 +1,34 @@ -# Azure ConsumptionManagementClient SDK for JavaScript +## Azure ConsumptionManagementClient SDK for JavaScript + This package contains an isomorphic SDK for ConsumptionManagementClient. -## 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-consumption ``` +### How to use + +#### nodejs - Authentication, client creation and list usageDetails as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list usageDetails as an example written in TypeScript. +##### Sample code ```ts -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 { ConsumptionManagementClient, ConsumptionManagementModels, ConsumptionManagementMappers } from "@azure/arm-consumption"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -38,7 +48,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list usageDetails as an example written in JavaScript. +#### browser - Authentication, client creation and list usageDetails as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -47,11 +66,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-consumption 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-consumption/lib/consumptionManagementClient.ts b/packages/@azure/arm-consumption/lib/consumptionManagementClient.ts index 821726d32293..6157a62a09ab 100644 --- a/packages/@azure/arm-consumption/lib/consumptionManagementClient.ts +++ b/packages/@azure/arm-consumption/lib/consumptionManagementClient.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-consumption/lib/consumptionManagementClientContext.ts b/packages/@azure/arm-consumption/lib/consumptionManagementClientContext.ts index d62d2dde430f..ae3c432891eb 100644 --- a/packages/@azure/arm-consumption/lib/consumptionManagementClientContext.ts +++ b/packages/@azure/arm-consumption/lib/consumptionManagementClientContext.ts @@ -9,24 +9,17 @@ */ 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-consumption"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class ConsumptionManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - - apiVersion: string; - + apiVersion?: string; subscriptionId: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the ConsumptionManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -44,6 +37,11 @@ export class ConsumptionManagementClientContext extends msRestAzure.AzureService if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-10-01'; @@ -54,7 +52,6 @@ export class ConsumptionManagementClientContext extends msRestAzure.AzureService this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-consumption/lib/models/index.ts b/packages/@azure/arm-consumption/lib/models/index.ts index ff05ffc44127..a0df6be94f6f 100644 --- a/packages/@azure/arm-consumption/lib/models/index.ts +++ b/packages/@azure/arm-consumption/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -2615,136 +2615,66 @@ export interface OperationListResult extends Array { /** * Defines values for BillingFrequency. * Possible values include: 'Month', 'Quarter', 'Year' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BillingFrequency = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum BillingFrequency { - Month = 'Month', - Quarter = 'Quarter', - Year = 'Year', -} +export type BillingFrequency = 'Month' | 'Quarter' | 'Year'; /** * Defines values for CategoryType. * Possible values include: 'Cost', 'Usage' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CategoryType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CategoryType { - Cost = 'Cost', - Usage = 'Usage', -} +export type CategoryType = 'Cost' | 'Usage'; /** * Defines values for TimeGrainType. * Possible values include: 'Monthly', 'Quarterly', 'Annually' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TimeGrainType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TimeGrainType { - Monthly = 'Monthly', - Quarterly = 'Quarterly', - Annually = 'Annually', -} +export type TimeGrainType = 'Monthly' | 'Quarterly' | 'Annually'; /** * Defines values for OperatorType. * Possible values include: 'EqualTo', 'GreaterThan', 'GreaterThanOrEqualTo' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OperatorType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OperatorType { - EqualTo = 'EqualTo', - GreaterThan = 'GreaterThan', - GreaterThanOrEqualTo = 'GreaterThanOrEqualTo', -} +export type OperatorType = 'EqualTo' | 'GreaterThan' | 'GreaterThanOrEqualTo'; /** * Defines values for Grain. * Possible values include: 'Daily', 'Monthly', 'Yearly' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Grain = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Grain { - Daily = 'Daily', - Monthly = 'Monthly', - Yearly = 'Yearly', -} +export type Grain = 'Daily' | 'Monthly' | 'Yearly'; /** * Defines values for ChargeType. * Possible values include: 'Actual', 'Forecast' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ChargeType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ChargeType { - Actual = 'Actual', - Forecast = 'Forecast', -} +export type ChargeType = 'Actual' | 'Forecast'; /** * Defines values for Bound. * Possible values include: 'Upper', 'Lower' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Bound = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Bound { - Upper = 'Upper', - Lower = 'Lower', -} +export type Bound = 'Upper' | 'Lower'; /** * Defines values for Datagrain. * Possible values include: 'DailyGrain', 'MonthlyGrain' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Datagrain = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Datagrain { - /** - * Daily grain of data - */ - DailyGrain = 'daily', - /** - * Monthly grain of data - */ - MonthlyGrain = 'monthly', -} +export type Datagrain = 'daily' | 'monthly'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-consumption/lib/models/mappers.ts b/packages/@azure/arm-consumption/lib/models/mappers.ts index 93f55c00decc..69f5bcfaaee2 100644 --- a/packages/@azure/arm-consumption/lib/models/mappers.ts +++ b/packages/@azure/arm-consumption/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-consumption/lib/models/parameters.ts b/packages/@azure/arm-consumption/lib/models/parameters.ts index ee3e50aa4a0b..307ad6cae657 100644 --- a/packages/@azure/arm-consumption/lib/models/parameters.ts +++ b/packages/@azure/arm-consumption/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-consumption/lib/operations/aggregatedCost.ts b/packages/@azure/arm-consumption/lib/operations/aggregatedCost.ts index 86f8dcc93f95..b3747dd1e77e 100644 --- a/packages/@azure/arm-consumption/lib/operations/aggregatedCost.ts +++ b/packages/@azure/arm-consumption/lib/operations/aggregatedCost.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/aggregatedCostMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class AggregatedCost { * @param callback The callback */ getByManagementGroup(managementGroupId: string, options: Models.AggregatedCostGetByManagementGroupOptionalParams, callback: msRest.ServiceCallback): void; - getByManagementGroup(managementGroupId: string, options?: Models.AggregatedCostGetByManagementGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + getByManagementGroup(managementGroupId: string, options?: Models.AggregatedCostGetByManagementGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupId, @@ -77,7 +77,7 @@ export class AggregatedCost { * @param callback The callback */ getForBillingPeriodByManagementGroup(managementGroupId: string, billingPeriodName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getForBillingPeriodByManagementGroup(managementGroupId: string, billingPeriodName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getForBillingPeriodByManagementGroup(managementGroupId: string, billingPeriodName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupId, diff --git a/packages/@azure/arm-consumption/lib/operations/balances.ts b/packages/@azure/arm-consumption/lib/operations/balances.ts index 16b04f86fcc2..2bce5d1e065c 100644 --- a/packages/@azure/arm-consumption/lib/operations/balances.ts +++ b/packages/@azure/arm-consumption/lib/operations/balances.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/balancesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Balances { * @param callback The callback */ getByBillingAccount(billingAccountId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getByBillingAccount(billingAccountId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getByBillingAccount(billingAccountId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingAccountId, @@ -77,7 +77,7 @@ export class Balances { * @param callback The callback */ getForBillingPeriodByBillingAccount(billingAccountId: string, billingPeriodName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getForBillingPeriodByBillingAccount(billingAccountId: string, billingPeriodName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getForBillingPeriodByBillingAccount(billingAccountId: string, billingPeriodName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingAccountId, diff --git a/packages/@azure/arm-consumption/lib/operations/budgets.ts b/packages/@azure/arm-consumption/lib/operations/budgets.ts index c53014e6358e..ea97f7785722 100644 --- a/packages/@azure/arm-consumption/lib/operations/budgets.ts +++ b/packages/@azure/arm-consumption/lib/operations/budgets.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/budgetsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class Budgets { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Budgets { * @param callback The callback */ listByResourceGroupName(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupName(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupName(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -96,7 +96,7 @@ export class Budgets { * @param callback The callback */ get(budgetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(budgetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(budgetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { budgetName, @@ -129,7 +129,7 @@ export class Budgets { * @param callback The callback */ createOrUpdate(budgetName: string, parameters: Models.Budget, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(budgetName: string, parameters: Models.Budget, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(budgetName: string, parameters: Models.Budget, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { budgetName, @@ -158,7 +158,7 @@ export class Budgets { * @param callback The callback */ deleteMethod(budgetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(budgetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(budgetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { budgetName, @@ -189,7 +189,7 @@ export class Budgets { * @param callback The callback */ getByResourceGroupName(resourceGroupName: string, budgetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getByResourceGroupName(resourceGroupName: string, budgetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getByResourceGroupName(resourceGroupName: string, budgetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -226,7 +226,7 @@ export class Budgets { * @param callback The callback */ createOrUpdateByResourceGroupName(resourceGroupName: string, budgetName: string, parameters: Models.Budget, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateByResourceGroupName(resourceGroupName: string, budgetName: string, parameters: Models.Budget, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateByResourceGroupName(resourceGroupName: string, budgetName: string, parameters: Models.Budget, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -259,7 +259,7 @@ export class Budgets { * @param callback The callback */ deleteByResourceGroupName(resourceGroupName: string, budgetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteByResourceGroupName(resourceGroupName: string, budgetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteByResourceGroupName(resourceGroupName: string, budgetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -288,7 +288,7 @@ export class Budgets { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -316,7 +316,7 @@ export class Budgets { * @param callback The callback */ listByResourceGroupNameNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNameNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNameNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-consumption/lib/operations/charges.ts b/packages/@azure/arm-consumption/lib/operations/charges.ts index 00b3dc3fd04c..8ba1f7efd45a 100644 --- a/packages/@azure/arm-consumption/lib/operations/charges.ts +++ b/packages/@azure/arm-consumption/lib/operations/charges.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/chargesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Charges { * @param callback The callback */ listByEnrollmentAccount(billingAccountId: string, enrollmentAccountId: string, options: Models.ChargesListByEnrollmentAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByEnrollmentAccount(billingAccountId: string, enrollmentAccountId: string, options?: Models.ChargesListByEnrollmentAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByEnrollmentAccount(billingAccountId: string, enrollmentAccountId: string, options?: Models.ChargesListByEnrollmentAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingAccountId, @@ -82,7 +82,7 @@ export class Charges { * @param callback The callback */ listForBillingPeriodByEnrollmentAccount(billingAccountId: string, enrollmentAccountId: string, billingPeriodName: string, options: Models.ChargesListForBillingPeriodByEnrollmentAccountOptionalParams, callback: msRest.ServiceCallback): void; - listForBillingPeriodByEnrollmentAccount(billingAccountId: string, enrollmentAccountId: string, billingPeriodName: string, options?: Models.ChargesListForBillingPeriodByEnrollmentAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByEnrollmentAccount(billingAccountId: string, enrollmentAccountId: string, billingPeriodName: string, options?: Models.ChargesListForBillingPeriodByEnrollmentAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingAccountId, @@ -115,7 +115,7 @@ export class Charges { * @param callback The callback */ listByDepartment(billingAccountId: string, departmentId: string, options: Models.ChargesListByDepartmentOptionalParams, callback: msRest.ServiceCallback): void; - listByDepartment(billingAccountId: string, departmentId: string, options?: Models.ChargesListByDepartmentOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByDepartment(billingAccountId: string, departmentId: string, options?: Models.ChargesListByDepartmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingAccountId, @@ -150,7 +150,7 @@ export class Charges { * @param callback The callback */ listForBillingPeriodByDepartment(billingAccountId: string, departmentId: string, billingPeriodName: string, options: Models.ChargesListForBillingPeriodByDepartmentOptionalParams, callback: msRest.ServiceCallback): void; - listForBillingPeriodByDepartment(billingAccountId: string, departmentId: string, billingPeriodName: string, options?: Models.ChargesListForBillingPeriodByDepartmentOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByDepartment(billingAccountId: string, departmentId: string, billingPeriodName: string, options?: Models.ChargesListForBillingPeriodByDepartmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingAccountId, diff --git a/packages/@azure/arm-consumption/lib/operations/forecasts.ts b/packages/@azure/arm-consumption/lib/operations/forecasts.ts index 96c0a9e81138..cffd25eed466 100644 --- a/packages/@azure/arm-consumption/lib/operations/forecasts.ts +++ b/packages/@azure/arm-consumption/lib/operations/forecasts.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/forecastsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class Forecasts { * @param callback The callback */ list(options: Models.ForecastsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.ForecastsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.ForecastsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-consumption/lib/operations/marketplaces.ts b/packages/@azure/arm-consumption/lib/operations/marketplaces.ts index 62f4f7525d9a..b324d9f44a8f 100644 --- a/packages/@azure/arm-consumption/lib/operations/marketplaces.ts +++ b/packages/@azure/arm-consumption/lib/operations/marketplaces.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/marketplacesMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class Marketplaces { * @param callback The callback */ list(options: Models.MarketplacesListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.MarketplacesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.MarketplacesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class Marketplaces { * @param callback The callback */ listByBillingPeriod(billingPeriodName: string, options: Models.MarketplacesListByBillingPeriodOptionalParams, callback: msRest.ServiceCallback): void; - listByBillingPeriod(billingPeriodName: string, options?: Models.MarketplacesListByBillingPeriodOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByBillingPeriod(billingPeriodName: string, options?: Models.MarketplacesListByBillingPeriodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingPeriodName, @@ -99,7 +99,7 @@ export class Marketplaces { * @param callback The callback */ listByBillingAccount(billingAccountId: string, options: Models.MarketplacesListByBillingAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByBillingAccount(billingAccountId: string, options?: Models.MarketplacesListByBillingAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByBillingAccount(billingAccountId: string, options?: Models.MarketplacesListByBillingAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingAccountId, @@ -131,7 +131,7 @@ export class Marketplaces { * @param callback The callback */ listForBillingPeriodByBillingAccount(billingAccountId: string, billingPeriodName: string, options: Models.MarketplacesListForBillingPeriodByBillingAccountOptionalParams, callback: msRest.ServiceCallback): void; - listForBillingPeriodByBillingAccount(billingAccountId: string, billingPeriodName: string, options?: Models.MarketplacesListForBillingPeriodByBillingAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByBillingAccount(billingAccountId: string, billingPeriodName: string, options?: Models.MarketplacesListForBillingPeriodByBillingAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingAccountId, @@ -161,7 +161,7 @@ export class Marketplaces { * @param callback The callback */ listByDepartment(departmentId: string, options: Models.MarketplacesListByDepartmentOptionalParams, callback: msRest.ServiceCallback): void; - listByDepartment(departmentId: string, options?: Models.MarketplacesListByDepartmentOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByDepartment(departmentId: string, options?: Models.MarketplacesListByDepartmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { departmentId, @@ -193,7 +193,7 @@ export class Marketplaces { * @param callback The callback */ listForBillingPeriodByDepartment(departmentId: string, billingPeriodName: string, options: Models.MarketplacesListForBillingPeriodByDepartmentOptionalParams, callback: msRest.ServiceCallback): void; - listForBillingPeriodByDepartment(departmentId: string, billingPeriodName: string, options?: Models.MarketplacesListForBillingPeriodByDepartmentOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByDepartment(departmentId: string, billingPeriodName: string, options?: Models.MarketplacesListForBillingPeriodByDepartmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { departmentId, @@ -223,7 +223,7 @@ export class Marketplaces { * @param callback The callback */ listByEnrollmentAccount(enrollmentAccountId: string, options: Models.MarketplacesListByEnrollmentAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByEnrollmentAccount(enrollmentAccountId: string, options?: Models.MarketplacesListByEnrollmentAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByEnrollmentAccount(enrollmentAccountId: string, options?: Models.MarketplacesListByEnrollmentAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { enrollmentAccountId, @@ -255,7 +255,7 @@ export class Marketplaces { * @param callback The callback */ listForBillingPeriodByEnrollmentAccount(enrollmentAccountId: string, billingPeriodName: string, options: Models.MarketplacesListForBillingPeriodByEnrollmentAccountOptionalParams, callback: msRest.ServiceCallback): void; - listForBillingPeriodByEnrollmentAccount(enrollmentAccountId: string, billingPeriodName: string, options?: Models.MarketplacesListForBillingPeriodByEnrollmentAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByEnrollmentAccount(enrollmentAccountId: string, billingPeriodName: string, options?: Models.MarketplacesListForBillingPeriodByEnrollmentAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { enrollmentAccountId, @@ -285,7 +285,7 @@ export class Marketplaces { * @param callback The callback */ listByManagementGroup(managementGroupId: string, options: Models.MarketplacesListByManagementGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByManagementGroup(managementGroupId: string, options?: Models.MarketplacesListByManagementGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByManagementGroup(managementGroupId: string, options?: Models.MarketplacesListByManagementGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupId, @@ -317,7 +317,7 @@ export class Marketplaces { * @param callback The callback */ listForBillingPeriodByManagementGroup(managementGroupId: string, billingPeriodName: string, options: Models.MarketplacesListForBillingPeriodByManagementGroupOptionalParams, callback: msRest.ServiceCallback): void; - listForBillingPeriodByManagementGroup(managementGroupId: string, billingPeriodName: string, options?: Models.MarketplacesListForBillingPeriodByManagementGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByManagementGroup(managementGroupId: string, billingPeriodName: string, options?: Models.MarketplacesListForBillingPeriodByManagementGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupId, @@ -347,7 +347,7 @@ export class Marketplaces { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -376,7 +376,7 @@ export class Marketplaces { * @param callback The callback */ listByBillingPeriodNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByBillingPeriodNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByBillingPeriodNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -405,7 +405,7 @@ export class Marketplaces { * @param callback The callback */ listByBillingAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByBillingAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByBillingAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -434,7 +434,7 @@ export class Marketplaces { * @param callback The callback */ listForBillingPeriodByBillingAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listForBillingPeriodByBillingAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByBillingAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -463,7 +463,7 @@ export class Marketplaces { * @param callback The callback */ listByDepartmentNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDepartmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDepartmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -492,7 +492,7 @@ export class Marketplaces { * @param callback The callback */ listForBillingPeriodByDepartmentNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listForBillingPeriodByDepartmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByDepartmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -521,7 +521,7 @@ export class Marketplaces { * @param callback The callback */ listByEnrollmentAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByEnrollmentAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByEnrollmentAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -550,7 +550,7 @@ export class Marketplaces { * @param callback The callback */ listForBillingPeriodByEnrollmentAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listForBillingPeriodByEnrollmentAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByEnrollmentAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -579,7 +579,7 @@ export class Marketplaces { * @param callback The callback */ listByManagementGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -608,7 +608,7 @@ export class Marketplaces { * @param callback The callback */ listForBillingPeriodByManagementGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listForBillingPeriodByManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-consumption/lib/operations/operations.ts b/packages/@azure/arm-consumption/lib/operations/operations.ts index 3dbeb405ca11..f5d1f7c74f7e 100644 --- a/packages/@azure/arm-consumption/lib/operations/operations.ts +++ b/packages/@azure/arm-consumption/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-consumption/lib/operations/priceSheet.ts b/packages/@azure/arm-consumption/lib/operations/priceSheet.ts index b12d27cf34e5..acc62419b42a 100644 --- a/packages/@azure/arm-consumption/lib/operations/priceSheet.ts +++ b/packages/@azure/arm-consumption/lib/operations/priceSheet.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/priceSheetMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class PriceSheet { * @param callback The callback */ get(options: Models.PriceSheetGetOptionalParams, callback: msRest.ServiceCallback): void; - get(options?: Models.PriceSheetGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(options?: Models.PriceSheetGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class PriceSheet { * @param callback The callback */ getByBillingPeriod(billingPeriodName: string, options: Models.PriceSheetGetByBillingPeriodOptionalParams, callback: msRest.ServiceCallback): void; - getByBillingPeriod(billingPeriodName: string, options?: Models.PriceSheetGetByBillingPeriodOptionalParams, callback?: msRest.ServiceCallback): Promise { + getByBillingPeriod(billingPeriodName: string, options?: Models.PriceSheetGetByBillingPeriodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingPeriodName, diff --git a/packages/@azure/arm-consumption/lib/operations/reservationRecommendations.ts b/packages/@azure/arm-consumption/lib/operations/reservationRecommendations.ts index db2b421ca42c..3f4787a580a9 100644 --- a/packages/@azure/arm-consumption/lib/operations/reservationRecommendations.ts +++ b/packages/@azure/arm-consumption/lib/operations/reservationRecommendations.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/reservationRecommendationsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class ReservationRecommendations { * @param callback The callback */ list(options: Models.ReservationRecommendationsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.ReservationRecommendationsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.ReservationRecommendationsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class ReservationRecommendations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-consumption/lib/operations/reservationsDetails.ts b/packages/@azure/arm-consumption/lib/operations/reservationsDetails.ts index 4c6689e66caa..c712a50bbfcc 100644 --- a/packages/@azure/arm-consumption/lib/operations/reservationsDetails.ts +++ b/packages/@azure/arm-consumption/lib/operations/reservationsDetails.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/reservationsDetailsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ReservationsDetails { * @param callback The callback */ listByReservationOrder(reservationOrderId: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReservationOrder(reservationOrderId: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReservationOrder(reservationOrderId: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { reservationOrderId, @@ -88,7 +88,7 @@ export class ReservationsDetails { * @param callback The callback */ listByReservationOrderAndReservation(reservationOrderId: string, reservationId: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReservationOrderAndReservation(reservationOrderId: string, reservationId: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReservationOrderAndReservation(reservationOrderId: string, reservationId: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { reservationOrderId, @@ -118,7 +118,7 @@ export class ReservationsDetails { * @param callback The callback */ listByReservationOrderNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReservationOrderNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReservationOrderNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -146,7 +146,7 @@ export class ReservationsDetails { * @param callback The callback */ listByReservationOrderAndReservationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReservationOrderAndReservationNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReservationOrderAndReservationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-consumption/lib/operations/reservationsSummaries.ts b/packages/@azure/arm-consumption/lib/operations/reservationsSummaries.ts index 5977744bc25f..47d212f52431 100644 --- a/packages/@azure/arm-consumption/lib/operations/reservationsSummaries.ts +++ b/packages/@azure/arm-consumption/lib/operations/reservationsSummaries.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/reservationsSummariesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class ReservationsSummaries { * @param callback The callback */ listByReservationOrder(reservationOrderId: string, grain: Models.Datagrain, options: Models.ReservationsSummariesListByReservationOrderOptionalParams, callback: msRest.ServiceCallback): void; - listByReservationOrder(reservationOrderId: string, grain: Models.Datagrain, options?: Models.ReservationsSummariesListByReservationOrderOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByReservationOrder(reservationOrderId: string, grain: Models.Datagrain, options?: Models.ReservationsSummariesListByReservationOrderOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { reservationOrderId, @@ -82,7 +82,7 @@ export class ReservationsSummaries { * @param callback The callback */ listByReservationOrderAndReservation(reservationOrderId: string, reservationId: string, grain: Models.Datagrain, options: Models.ReservationsSummariesListByReservationOrderAndReservationOptionalParams, callback: msRest.ServiceCallback): void; - listByReservationOrderAndReservation(reservationOrderId: string, reservationId: string, grain: Models.Datagrain, options?: Models.ReservationsSummariesListByReservationOrderAndReservationOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByReservationOrderAndReservation(reservationOrderId: string, reservationId: string, grain: Models.Datagrain, options?: Models.ReservationsSummariesListByReservationOrderAndReservationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { reservationOrderId, @@ -112,7 +112,7 @@ export class ReservationsSummaries { * @param callback The callback */ listByReservationOrderNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReservationOrderNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReservationOrderNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -140,7 +140,7 @@ export class ReservationsSummaries { * @param callback The callback */ listByReservationOrderAndReservationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReservationOrderAndReservationNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReservationOrderAndReservationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-consumption/lib/operations/tags.ts b/packages/@azure/arm-consumption/lib/operations/tags.ts index 531211007241..81d26e09da89 100644 --- a/packages/@azure/arm-consumption/lib/operations/tags.ts +++ b/packages/@azure/arm-consumption/lib/operations/tags.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/tagsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class Tags { * @param callback The callback */ get(billingAccountId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(billingAccountId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(billingAccountId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingAccountId, diff --git a/packages/@azure/arm-consumption/lib/operations/usageDetails.ts b/packages/@azure/arm-consumption/lib/operations/usageDetails.ts index 878e034327c4..a35d44831b51 100644 --- a/packages/@azure/arm-consumption/lib/operations/usageDetails.ts +++ b/packages/@azure/arm-consumption/lib/operations/usageDetails.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/usageDetailsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class UsageDetails { * @param callback The callback */ list(options: Models.UsageDetailsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.UsageDetailsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.UsageDetailsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class UsageDetails { * @param callback The callback */ listByBillingPeriod(billingPeriodName: string, options: Models.UsageDetailsListByBillingPeriodOptionalParams, callback: msRest.ServiceCallback): void; - listByBillingPeriod(billingPeriodName: string, options?: Models.UsageDetailsListByBillingPeriodOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByBillingPeriod(billingPeriodName: string, options?: Models.UsageDetailsListByBillingPeriodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingPeriodName, @@ -99,7 +99,7 @@ export class UsageDetails { * @param callback The callback */ listByBillingAccount(billingAccountId: string, options: Models.UsageDetailsListByBillingAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByBillingAccount(billingAccountId: string, options?: Models.UsageDetailsListByBillingAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByBillingAccount(billingAccountId: string, options?: Models.UsageDetailsListByBillingAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingAccountId, @@ -131,7 +131,7 @@ export class UsageDetails { * @param callback The callback */ listForBillingPeriodByBillingAccount(billingAccountId: string, billingPeriodName: string, options: Models.UsageDetailsListForBillingPeriodByBillingAccountOptionalParams, callback: msRest.ServiceCallback): void; - listForBillingPeriodByBillingAccount(billingAccountId: string, billingPeriodName: string, options?: Models.UsageDetailsListForBillingPeriodByBillingAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByBillingAccount(billingAccountId: string, billingPeriodName: string, options?: Models.UsageDetailsListForBillingPeriodByBillingAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { billingAccountId, @@ -161,7 +161,7 @@ export class UsageDetails { * @param callback The callback */ listByDepartment(departmentId: string, options: Models.UsageDetailsListByDepartmentOptionalParams, callback: msRest.ServiceCallback): void; - listByDepartment(departmentId: string, options?: Models.UsageDetailsListByDepartmentOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByDepartment(departmentId: string, options?: Models.UsageDetailsListByDepartmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { departmentId, @@ -193,7 +193,7 @@ export class UsageDetails { * @param callback The callback */ listForBillingPeriodByDepartment(departmentId: string, billingPeriodName: string, options: Models.UsageDetailsListForBillingPeriodByDepartmentOptionalParams, callback: msRest.ServiceCallback): void; - listForBillingPeriodByDepartment(departmentId: string, billingPeriodName: string, options?: Models.UsageDetailsListForBillingPeriodByDepartmentOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByDepartment(departmentId: string, billingPeriodName: string, options?: Models.UsageDetailsListForBillingPeriodByDepartmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { departmentId, @@ -223,7 +223,7 @@ export class UsageDetails { * @param callback The callback */ listByEnrollmentAccount(enrollmentAccountId: string, options: Models.UsageDetailsListByEnrollmentAccountOptionalParams, callback: msRest.ServiceCallback): void; - listByEnrollmentAccount(enrollmentAccountId: string, options?: Models.UsageDetailsListByEnrollmentAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByEnrollmentAccount(enrollmentAccountId: string, options?: Models.UsageDetailsListByEnrollmentAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { enrollmentAccountId, @@ -255,7 +255,7 @@ export class UsageDetails { * @param callback The callback */ listForBillingPeriodByEnrollmentAccount(enrollmentAccountId: string, billingPeriodName: string, options: Models.UsageDetailsListForBillingPeriodByEnrollmentAccountOptionalParams, callback: msRest.ServiceCallback): void; - listForBillingPeriodByEnrollmentAccount(enrollmentAccountId: string, billingPeriodName: string, options?: Models.UsageDetailsListForBillingPeriodByEnrollmentAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByEnrollmentAccount(enrollmentAccountId: string, billingPeriodName: string, options?: Models.UsageDetailsListForBillingPeriodByEnrollmentAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { enrollmentAccountId, @@ -285,7 +285,7 @@ export class UsageDetails { * @param callback The callback */ listByManagementGroup(managementGroupId: string, options: Models.UsageDetailsListByManagementGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByManagementGroup(managementGroupId: string, options?: Models.UsageDetailsListByManagementGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByManagementGroup(managementGroupId: string, options?: Models.UsageDetailsListByManagementGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupId, @@ -318,7 +318,7 @@ export class UsageDetails { * @param callback The callback */ listForBillingPeriodByManagementGroup(managementGroupId: string, billingPeriodName: string, options: Models.UsageDetailsListForBillingPeriodByManagementGroupOptionalParams, callback: msRest.ServiceCallback): void; - listForBillingPeriodByManagementGroup(managementGroupId: string, billingPeriodName: string, options?: Models.UsageDetailsListForBillingPeriodByManagementGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByManagementGroup(managementGroupId: string, billingPeriodName: string, options?: Models.UsageDetailsListForBillingPeriodByManagementGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupId, @@ -348,7 +348,7 @@ export class UsageDetails { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -377,7 +377,7 @@ export class UsageDetails { * @param callback The callback */ listByBillingPeriodNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByBillingPeriodNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByBillingPeriodNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -406,7 +406,7 @@ export class UsageDetails { * @param callback The callback */ listByBillingAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByBillingAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByBillingAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -435,7 +435,7 @@ export class UsageDetails { * @param callback The callback */ listForBillingPeriodByBillingAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listForBillingPeriodByBillingAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByBillingAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -464,7 +464,7 @@ export class UsageDetails { * @param callback The callback */ listByDepartmentNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDepartmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDepartmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -493,7 +493,7 @@ export class UsageDetails { * @param callback The callback */ listForBillingPeriodByDepartmentNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listForBillingPeriodByDepartmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByDepartmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -522,7 +522,7 @@ export class UsageDetails { * @param callback The callback */ listByEnrollmentAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByEnrollmentAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByEnrollmentAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -551,7 +551,7 @@ export class UsageDetails { * @param callback The callback */ listForBillingPeriodByEnrollmentAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listForBillingPeriodByEnrollmentAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByEnrollmentAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -580,7 +580,7 @@ export class UsageDetails { * @param callback The callback */ listByManagementGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -610,7 +610,7 @@ export class UsageDetails { * @param callback The callback */ listForBillingPeriodByManagementGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listForBillingPeriodByManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listForBillingPeriodByManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-consumption/package.json b/packages/@azure/arm-consumption/package.json index e1617361ac74..9db02eb107a7 100644 --- a/packages/@azure/arm-consumption/package.json +++ b/packages/@azure/arm-consumption/package.json @@ -4,8 +4,8 @@ "description": "ConsumptionManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-consumption/rollup.config.js b/packages/@azure/arm-consumption/rollup.config.js index 6b2068adb408..e434910415dd 100644 --- a/packages/@azure/arm-consumption/rollup.config.js +++ b/packages/@azure/arm-consumption/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/consumptionManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-consumption.js", format: "umd", name: "Azure.ArmConsumption", 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-consumption/tsconfig.json b/packages/@azure/arm-consumption/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-consumption/tsconfig.json +++ b/packages/@azure/arm-consumption/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-containerinstance/README.md b/packages/@azure/arm-containerinstance/README.md index d283d3df011c..24c6ab260b7c 100644 --- a/packages/@azure/arm-containerinstance/README.md +++ b/packages/@azure/arm-containerinstance/README.md @@ -1,24 +1,34 @@ -# Azure ContainerInstanceManagementClient SDK for JavaScript +## Azure ContainerInstanceManagementClient SDK for JavaScript + This package contains an isomorphic SDK for ContainerInstanceManagementClient. -## 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-containerinstance ``` +### How to use + +#### nodejs - Authentication, client creation and list containerGroups as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list containerGroups as an example written in TypeScript. +##### Sample code ```ts -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 { ContainerInstanceManagementClient, ContainerInstanceManagementModels, ContainerInstanceManagementMappers } from "@azure/arm-containerinstance"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list containerGroups as an example written in JavaScript. +#### browser - Authentication, client creation and list containerGroups as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-containerinstance 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-containerinstance/lib/containerInstanceManagementClient.ts b/packages/@azure/arm-containerinstance/lib/containerInstanceManagementClient.ts index 372fec9b049f..fcf252530375 100644 --- a/packages/@azure/arm-containerinstance/lib/containerInstanceManagementClient.ts +++ b/packages/@azure/arm-containerinstance/lib/containerInstanceManagementClient.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-containerinstance/lib/containerInstanceManagementClientContext.ts b/packages/@azure/arm-containerinstance/lib/containerInstanceManagementClientContext.ts index 05f43d13a11f..a7fd954f853f 100644 --- a/packages/@azure/arm-containerinstance/lib/containerInstanceManagementClientContext.ts +++ b/packages/@azure/arm-containerinstance/lib/containerInstanceManagementClientContext.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-containerinstance"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class ContainerInstanceManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/packages/@azure/arm-containerinstance/lib/models/index.ts b/packages/@azure/arm-containerinstance/lib/models/index.ts index f17d274dc5d6..7e5fdb25e3f8 100644 --- a/packages/@azure/arm-containerinstance/lib/models/index.ts +++ b/packages/@azure/arm-containerinstance/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1068,160 +1068,83 @@ export interface ContainerGroupListResult extends Array { /** * Defines values for ContainerNetworkProtocol. * Possible values include: 'TCP', 'UDP' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ContainerNetworkProtocol = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ContainerNetworkProtocol { - TCP = 'TCP', - UDP = 'UDP', -} +export type ContainerNetworkProtocol = 'TCP' | 'UDP'; /** * Defines values for GpuSku. * Possible values include: 'K80', 'P100', 'V100' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: GpuSku = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum GpuSku { - K80 = 'K80', - P100 = 'P100', - V100 = 'V100', -} +export type GpuSku = 'K80' | 'P100' | 'V100'; /** * Defines values for ResourceIdentityType. - * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, - * UserAssigned', 'None' + * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', + * 'None' * @readonly * @enum {string} */ -export enum ResourceIdentityType { - SystemAssigned = 'SystemAssigned', - UserAssigned = 'UserAssigned', - SystemAssignedUserAssigned = 'SystemAssigned, UserAssigned', - None = 'None', -} +export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; /** * Defines values for ContainerGroupRestartPolicy. * Possible values include: 'Always', 'OnFailure', 'Never' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ContainerGroupRestartPolicy = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ContainerGroupRestartPolicy { - Always = 'Always', - OnFailure = 'OnFailure', - Never = 'Never', -} +export type ContainerGroupRestartPolicy = 'Always' | 'OnFailure' | 'Never'; /** * Defines values for ContainerGroupNetworkProtocol. * Possible values include: 'TCP', 'UDP' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ContainerGroupNetworkProtocol = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ContainerGroupNetworkProtocol { - TCP = 'TCP', - UDP = 'UDP', -} +export type ContainerGroupNetworkProtocol = 'TCP' | 'UDP'; /** * Defines values for ContainerGroupIpAddressType. * Possible values include: 'Public', 'Private' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ContainerGroupIpAddressType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ContainerGroupIpAddressType { - Public = 'Public', - Private = 'Private', -} +export type ContainerGroupIpAddressType = 'Public' | 'Private'; /** * Defines values for OperatingSystemTypes. * Possible values include: 'Windows', 'Linux' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OperatingSystemTypes = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OperatingSystemTypes { - Windows = 'Windows', - Linux = 'Linux', -} +export type OperatingSystemTypes = 'Windows' | 'Linux'; /** * Defines values for LogAnalyticsLogType. * Possible values include: 'ContainerInsights', 'ContainerInstanceLogs' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: LogAnalyticsLogType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum LogAnalyticsLogType { - ContainerInsights = 'ContainerInsights', - ContainerInstanceLogs = 'ContainerInstanceLogs', -} +export type LogAnalyticsLogType = 'ContainerInsights' | 'ContainerInstanceLogs'; /** * Defines values for ContainerInstanceOperationsOrigin. * Possible values include: 'User', 'System' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ContainerInstanceOperationsOrigin = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ContainerInstanceOperationsOrigin { - User = 'User', - System = 'System', -} +export type ContainerInstanceOperationsOrigin = 'User' | 'System'; /** * Defines values for Scheme. * Possible values include: 'http', 'https' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Scheme = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Scheme { - Http = 'http', - Https = 'https', -} +export type Scheme = 'http' | 'https'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-containerinstance/lib/models/mappers.ts b/packages/@azure/arm-containerinstance/lib/models/mappers.ts index 754e07c89efe..9158bf63b1fe 100644 --- a/packages/@azure/arm-containerinstance/lib/models/mappers.ts +++ b/packages/@azure/arm-containerinstance/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-containerinstance/lib/models/parameters.ts b/packages/@azure/arm-containerinstance/lib/models/parameters.ts index 7ce0c3cf3b3a..4477e73aead2 100644 --- a/packages/@azure/arm-containerinstance/lib/models/parameters.ts +++ b/packages/@azure/arm-containerinstance/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-containerinstance/lib/operations/containerGroupUsage.ts b/packages/@azure/arm-containerinstance/lib/operations/containerGroupUsage.ts index 83da8ca4e092..7a774667bb9b 100644 --- a/packages/@azure/arm-containerinstance/lib/operations/containerGroupUsage.ts +++ b/packages/@azure/arm-containerinstance/lib/operations/containerGroupUsage.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/containerGroupUsageMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class ContainerGroupUsage { * @param callback The callback */ list(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, diff --git a/packages/@azure/arm-containerinstance/lib/operations/containerGroups.ts b/packages/@azure/arm-containerinstance/lib/operations/containerGroups.ts index db1328867ae9..5ff24cf25b25 100644 --- a/packages/@azure/arm-containerinstance/lib/operations/containerGroups.ts +++ b/packages/@azure/arm-containerinstance/lib/operations/containerGroups.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/containerGroupsMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class ContainerGroups { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -75,7 +75,7 @@ export class ContainerGroups { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -109,7 +109,7 @@ export class ContainerGroups { * @param callback The callback */ get(resourceGroupName: string, containerGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, containerGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, containerGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -159,7 +159,7 @@ export class ContainerGroups { * @param callback The callback */ update(resourceGroupName: string, containerGroupName: string, resource: Models.Resource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, containerGroupName: string, resource: Models.Resource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, containerGroupName: string, resource: Models.Resource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -194,7 +194,7 @@ export class ContainerGroups { * @param callback The callback */ deleteMethod(resourceGroupName: string, containerGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, containerGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, containerGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -242,7 +242,7 @@ export class ContainerGroups { * @param callback The callback */ stop(resourceGroupName: string, containerGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - stop(resourceGroupName: string, containerGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + stop(resourceGroupName: string, containerGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -253,6 +253,19 @@ export class ContainerGroups { callback); } + /** + * Starts all containers in a container group. + * @summary Starts all containers in a container group. + * @param resourceGroupName The name of the resource group. + * @param containerGroupName The name of the container group. + * @param [options] The optional parameters + * @returns Promise + */ + start(resourceGroupName: string, containerGroupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginStart(resourceGroupName,containerGroupName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + /** * Create or update container groups with specified configurations. * @summary Create or update container groups. @@ -294,6 +307,25 @@ export class ContainerGroups { options); } + /** + * Starts all containers in a container group. + * @summary Starts all containers in a container group. + * @param resourceGroupName The name of the resource group. + * @param containerGroupName The name of the container group. + * @param [options] The optional parameters + * @returns Promise + */ + beginStart(resourceGroupName: string, containerGroupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + containerGroupName, + options + }, + beginStartOperationSpec, + options); + } + /** * Get a list of container groups in the specified subscription. This operation returns properties * of each container group including containers, image registry credentials, restart policy, IP @@ -315,7 +347,7 @@ export class ContainerGroups { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -346,7 +378,7 @@ export class ContainerGroups { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -570,6 +602,29 @@ const beginRestartOperationSpec: msRest.OperationSpec = { serializer }; +const beginStartOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/start", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.containerGroupName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/packages/@azure/arm-containerinstance/lib/operations/containerOperations.ts b/packages/@azure/arm-containerinstance/lib/operations/containerOperations.ts index 9c9f739e7501..6f07a7a5adca 100644 --- a/packages/@azure/arm-containerinstance/lib/operations/containerOperations.ts +++ b/packages/@azure/arm-containerinstance/lib/operations/containerOperations.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/containerOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -52,7 +52,7 @@ export class ContainerOperations { * @param callback The callback */ listLogs(resourceGroupName: string, containerGroupName: string, containerName: string, options: Models.ContainerListLogsOptionalParams, callback: msRest.ServiceCallback): void; - listLogs(resourceGroupName: string, containerGroupName: string, containerName: string, options?: Models.ContainerListLogsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listLogs(resourceGroupName: string, containerGroupName: string, containerName: string, options?: Models.ContainerListLogsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -93,7 +93,7 @@ export class ContainerOperations { * @param callback The callback */ executeCommand(resourceGroupName: string, containerGroupName: string, containerName: string, containerExecRequest: Models.ContainerExecRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - executeCommand(resourceGroupName: string, containerGroupName: string, containerName: string, containerExecRequest: Models.ContainerExecRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + executeCommand(resourceGroupName: string, containerGroupName: string, containerName: string, containerExecRequest: Models.ContainerExecRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-containerinstance/lib/operations/operations.ts b/packages/@azure/arm-containerinstance/lib/operations/operations.ts index a8391c769d5e..bc4f9cbed727 100644 --- a/packages/@azure/arm-containerinstance/lib/operations/operations.ts +++ b/packages/@azure/arm-containerinstance/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-containerinstance/lib/operations/serviceAssociationLink.ts b/packages/@azure/arm-containerinstance/lib/operations/serviceAssociationLink.ts index eb1c90a50cd9..93968c8bf441 100644 --- a/packages/@azure/arm-containerinstance/lib/operations/serviceAssociationLink.ts +++ b/packages/@azure/arm-containerinstance/lib/operations/serviceAssociationLink.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Mappers from "../models/serviceAssociationLinkMappers"; import * as Parameters from "../models/parameters"; import { ContainerInstanceManagementClientContext } from "../containerInstanceManagementClientContext"; @@ -51,7 +51,7 @@ export class ServiceAssociationLink { * @param callback The callback */ deleteMethod(resourceGroupName: string, virtualNetworkName: string, subnetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, virtualNetworkName: string, subnetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, virtualNetworkName: string, subnetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-containerinstance/package.json b/packages/@azure/arm-containerinstance/package.json index aac696d442cb..768a00f032ae 100644 --- a/packages/@azure/arm-containerinstance/package.json +++ b/packages/@azure/arm-containerinstance/package.json @@ -4,8 +4,8 @@ "description": "ContainerInstanceManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.457", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-containerinstance/rollup.config.js b/packages/@azure/arm-containerinstance/rollup.config.js index fe81de3b2477..bc9e961b2be1 100644 --- a/packages/@azure/arm-containerinstance/rollup.config.js +++ b/packages/@azure/arm-containerinstance/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/containerInstanceManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-containerinstance.js", format: "umd", name: "Azure.ArmContainerinstance", 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-containerinstance/tsconfig.json b/packages/@azure/arm-containerinstance/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-containerinstance/tsconfig.json +++ b/packages/@azure/arm-containerinstance/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-containerregistry/README.md b/packages/@azure/arm-containerregistry/README.md index e39eeee50c4c..8a2a9e99b9a9 100644 --- a/packages/@azure/arm-containerregistry/README.md +++ b/packages/@azure/arm-containerregistry/README.md @@ -1,24 +1,34 @@ -# 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. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get registries as an example written in TypeScript. +##### Sample code ```ts -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"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get registries as an example written in JavaScript. +#### 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 + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,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 7d16956f3d0f..b0b07fb3826a 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 = "1.0.0"; +const packageVersion = "0.1.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 01f73c6dc500..ecd9211c426e 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 "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 }; @@ -2475,72 +2475,34 @@ export interface TaskListResult extends Array { /** * Defines values for ImportMode. * Possible values include: 'NoForce', 'Force' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImportMode = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ImportMode { - NoForce = 'NoForce', - Force = 'Force', -} +export type ImportMode = 'NoForce' | 'Force'; /** * Defines values for SkuName. * Possible values include: 'Classic', 'Basic', 'Standard', 'Premium' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuName = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuName { - Classic = 'Classic', - Basic = 'Basic', - Standard = 'Standard', - Premium = 'Premium', -} +export type SkuName = 'Classic' | 'Basic' | 'Standard' | 'Premium'; /** * Defines values for SkuTier. * Possible values include: 'Classic', 'Basic', 'Standard', 'Premium' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuTier = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuTier { - Classic = 'Classic', - Basic = 'Basic', - Standard = 'Standard', - Premium = 'Premium', -} +export type SkuTier = 'Classic' | 'Basic' | 'Standard' | 'Premium'; /** * Defines values for ProvisioningState. - * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', - * 'Failed', 'Canceled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' * @readonly * @enum {string} */ -export enum ProvisioningState { - Creating = 'Creating', - Updating = 'Updating', - Deleting = 'Deleting', - Succeeded = 'Succeeded', - Failed = 'Failed', - Canceled = 'Canceled', -} +export type ProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Failed' | 'Canceled'; /** * Defines values for PasswordName. @@ -2548,287 +2510,144 @@ export enum ProvisioningState { * @readonly * @enum {string} */ -export enum PasswordName { - Password = 'password', - Password2 = 'password2', -} +export type PasswordName = 'password' | 'password2'; /** * Defines values for RegistryUsageUnit. * Possible values include: 'Count', 'Bytes' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RegistryUsageUnit = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RegistryUsageUnit { - Count = 'Count', - Bytes = 'Bytes', -} +export type RegistryUsageUnit = 'Count' | 'Bytes'; /** * Defines values for PolicyStatus. * Possible values include: 'enabled', 'disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PolicyStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PolicyStatus { - Enabled = 'enabled', - Disabled = 'disabled', -} +export type PolicyStatus = 'enabled' | 'disabled'; /** * Defines values for TrustPolicyType. * Possible values include: 'Notary' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TrustPolicyType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TrustPolicyType { - Notary = 'Notary', -} +export type TrustPolicyType = 'Notary'; /** * Defines values for WebhookStatus. * Possible values include: 'enabled', 'disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: WebhookStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum WebhookStatus { - Enabled = 'enabled', - Disabled = 'disabled', -} +export type WebhookStatus = 'enabled' | 'disabled'; /** * Defines values for WebhookAction. * Possible values include: 'push', 'delete', 'quarantine' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: WebhookAction = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum WebhookAction { - Push = 'push', - Delete = 'delete', - Quarantine = 'quarantine', -} +export type WebhookAction = 'push' | 'delete' | 'quarantine'; /** * Defines values for RunStatus. - * Possible values include: 'Queued', 'Started', 'Running', 'Succeeded', - * 'Failed', 'Canceled', 'Error', 'Timeout' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RunStatus = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', 'Canceled', + * 'Error', 'Timeout' * @readonly * @enum {string} */ -export enum RunStatus { - Queued = 'Queued', - Started = 'Started', - Running = 'Running', - Succeeded = 'Succeeded', - Failed = 'Failed', - Canceled = 'Canceled', - Error = 'Error', - Timeout = 'Timeout', -} +export type RunStatus = 'Queued' | 'Started' | 'Running' | 'Succeeded' | 'Failed' | 'Canceled' | 'Error' | 'Timeout'; /** * Defines values for RunType. * Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RunType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RunType { - QuickBuild = 'QuickBuild', - QuickRun = 'QuickRun', - AutoBuild = 'AutoBuild', - AutoRun = 'AutoRun', -} +export type RunType = 'QuickBuild' | 'QuickRun' | 'AutoBuild' | 'AutoRun'; /** * Defines values for OS. * Possible values include: 'Windows', 'Linux' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OS = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OS { - Windows = 'Windows', - Linux = 'Linux', -} +export type OS = 'Windows' | 'Linux'; /** * Defines values for Architecture. * Possible values include: 'amd64', 'x86', 'arm' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Architecture = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Architecture { - Amd64 = 'amd64', - X86 = 'x86', - Arm = 'arm', -} +export type Architecture = 'amd64' | 'x86' | 'arm'; /** * Defines values for Variant. * Possible values include: 'v6', 'v7', 'v8' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Variant = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Variant { - V6 = 'v6', - V7 = 'v7', - V8 = 'v8', -} +export type Variant = 'v6' | 'v7' | 'v8'; /** * Defines values for TaskStatus. * Possible values include: 'Disabled', 'Enabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TaskStatus = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TaskStatus { - Disabled = 'Disabled', - Enabled = 'Enabled', -} +export type TaskStatus = 'Disabled' | 'Enabled'; /** * Defines values for BaseImageDependencyType. * Possible values include: 'BuildTime', 'RunTime' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BaseImageDependencyType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum BaseImageDependencyType { - BuildTime = 'BuildTime', - RunTime = 'RunTime', -} +export type BaseImageDependencyType = 'BuildTime' | 'RunTime'; /** * Defines values for SourceControlType. * Possible values include: 'Github', 'VisualStudioTeamService' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SourceControlType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SourceControlType { - Github = 'Github', - VisualStudioTeamService = 'VisualStudioTeamService', -} +export type SourceControlType = 'Github' | 'VisualStudioTeamService'; /** * Defines values for TokenType. * Possible values include: 'PAT', 'OAuth' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TokenType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TokenType { - PAT = 'PAT', - OAuth = 'OAuth', -} +export type TokenType = 'PAT' | 'OAuth'; /** * Defines values for SourceTriggerEvent. * Possible values include: 'commit', 'pullrequest' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SourceTriggerEvent = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SourceTriggerEvent { - Commit = 'commit', - Pullrequest = 'pullrequest', -} +export type SourceTriggerEvent = 'commit' | 'pullrequest'; /** * Defines values for TriggerStatus. * Possible values include: 'Disabled', 'Enabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TriggerStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TriggerStatus { - Disabled = 'Disabled', - Enabled = 'Enabled', -} +export type TriggerStatus = 'Disabled' | 'Enabled'; /** * Defines values for BaseImageTriggerType. * Possible values include: 'All', 'Runtime' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BaseImageTriggerType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum BaseImageTriggerType { - All = 'All', - Runtime = 'Runtime', -} +export type BaseImageTriggerType = 'All' | 'Runtime'; /** * Contains response data for the checkNameAvailability operation. diff --git a/packages/@azure/arm-containerregistry/lib/models/mappers.ts b/packages/@azure/arm-containerregistry/lib/models/mappers.ts index 7ba832ea9e22..b8be8baaa0e7 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 "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; @@ -2075,11 +2075,6 @@ export const Task: msRest.CompositeMapper = { serializedName: "properties.step", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "TaskStepProperties", className: "TaskStepProperties" } }, @@ -2366,11 +2361,6 @@ 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 817420573cbf..6ca1bdad0386 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/operations/operations.ts b/packages/@azure/arm-containerregistry/lib/operations/operations.ts index a6adc32e6bf0..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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-containerregistry/lib/operations/registries.ts b/packages/@azure/arm-containerregistry/lib/operations/registries.ts index f6ab64b126b4..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"; @@ -59,7 +59,7 @@ export class Registries { * @param callback The callback */ checkNameAvailability(registryNameCheckRequest: Models.RegistryNameCheckRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(registryNameCheckRequest: Models.RegistryNameCheckRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(registryNameCheckRequest: Models.RegistryNameCheckRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { registryNameCheckRequest, @@ -90,7 +90,7 @@ export class Registries { * @param callback The callback */ get(resourceGroupName: string, registryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -157,7 +157,7 @@ export class Registries { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -182,7 +182,7 @@ export class Registries { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -212,7 +212,7 @@ export class Registries { * @param callback The callback */ listCredentials(resourceGroupName: string, registryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCredentials(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listCredentials(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -250,7 +250,7 @@ export class Registries { * @param callback The callback */ regenerateCredential(resourceGroupName: string, registryName: string, regenerateCredentialParameters: Models.RegenerateCredentialParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateCredential(resourceGroupName: string, registryName: string, regenerateCredentialParameters: Models.RegenerateCredentialParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateCredential(resourceGroupName: string, registryName: string, regenerateCredentialParameters: Models.RegenerateCredentialParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -283,7 +283,7 @@ export class Registries { * @param callback The callback */ listUsages(resourceGroupName: string, registryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listUsages(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listUsages(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -315,7 +315,7 @@ export class Registries { * @param callback The callback */ listPolicies(resourceGroupName: string, registryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPolicies(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPolicies(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -374,7 +374,7 @@ export class Registries { * @param callback The callback */ getBuildSourceUploadUrl(resourceGroupName: string, registryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getBuildSourceUploadUrl(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getBuildSourceUploadUrl(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -522,7 +522,7 @@ export class Registries { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -550,7 +550,7 @@ export class Registries { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-containerregistry/lib/operations/replications.ts b/packages/@azure/arm-containerregistry/lib/operations/replications.ts index 01848ea74f0a..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"; @@ -51,7 +51,7 @@ export class Replications { * @param callback The callback */ get(resourceGroupName: string, registryName: string, replicationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, registryName: string, replicationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, registryName: string, replicationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -125,7 +125,7 @@ export class Replications { * @param callback The callback */ list(resourceGroupName: string, registryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -218,7 +218,7 @@ export class Replications { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-containerregistry/lib/operations/runs.ts b/packages/@azure/arm-containerregistry/lib/operations/runs.ts index e653c84801bd..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"; @@ -48,7 +48,7 @@ export class Runs { * @param callback The callback */ list(resourceGroupName: string, registryName: string, options: Models.RunsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, registryName: string, options?: Models.RunsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, registryName: string, options?: Models.RunsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class Runs { * @param callback The callback */ get(resourceGroupName: string, registryName: string, runId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, registryName: string, runId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, registryName: string, runId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -133,7 +133,7 @@ export class Runs { * @param callback The callback */ getLogSasUrl(resourceGroupName: string, registryName: string, runId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getLogSasUrl(resourceGroupName: string, registryName: string, runId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getLogSasUrl(resourceGroupName: string, registryName: string, runId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -218,7 +218,7 @@ export class Runs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-containerregistry/lib/operations/tasks.ts b/packages/@azure/arm-containerregistry/lib/operations/tasks.ts index c9f209a9c9b5..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"; @@ -48,7 +48,7 @@ export class Tasks { * @param callback The callback */ list(resourceGroupName: string, registryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class Tasks { * @param callback The callback */ get(resourceGroupName: string, registryName: string, taskName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, registryName: string, taskName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, registryName: string, taskName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -160,7 +160,7 @@ export class Tasks { * @param callback The callback */ getDetails(resourceGroupName: string, registryName: string, taskName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDetails(resourceGroupName: string, registryName: string, taskName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDetails(resourceGroupName: string, registryName: string, taskName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -254,7 +254,7 @@ export class Tasks { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-containerregistry/lib/operations/webhooks.ts b/packages/@azure/arm-containerregistry/lib/operations/webhooks.ts index 7ef89273d83f..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"; @@ -51,7 +51,7 @@ export class Webhooks { * @param callback The callback */ get(resourceGroupName: string, registryName: string, webhookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, registryName: string, webhookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, registryName: string, webhookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -125,7 +125,7 @@ export class Webhooks { * @param callback The callback */ list(resourceGroupName: string, registryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -160,7 +160,7 @@ export class Webhooks { * @param callback The callback */ ping(resourceGroupName: string, registryName: string, webhookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - ping(resourceGroupName: string, registryName: string, webhookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + ping(resourceGroupName: string, registryName: string, webhookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -196,7 +196,7 @@ export class Webhooks { * @param callback The callback */ getCallbackConfig(resourceGroupName: string, registryName: string, webhookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCallbackConfig(resourceGroupName: string, registryName: string, webhookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCallbackConfig(resourceGroupName: string, registryName: string, webhookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -232,7 +232,7 @@ export class Webhooks { * @param callback The callback */ listEvents(resourceGroupName: string, registryName: string, webhookName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listEvents(resourceGroupName: string, registryName: string, webhookName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listEvents(resourceGroupName: string, registryName: string, webhookName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -326,7 +326,7 @@ export class Webhooks { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -354,7 +354,7 @@ export class Webhooks { * @param callback The callback */ listEventsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listEventsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listEventsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-containerregistry/package.json b/packages/@azure/arm-containerregistry/package.json index 4e48a822dcbf..f41742ccbffd 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": { - "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.457", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-containerregistry/rollup.config.js b/packages/@azure/arm-containerregistry/rollup.config.js index 8dfbc0c1bfd1..5d8e0b31e885 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: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-containerregistry.js", format: "umd", 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.esm.json b/packages/@azure/arm-containerregistry/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-containerregistry/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} 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"] } diff --git a/packages/@azure/arm-containerregistry/webpack.config.js b/packages/@azure/arm-containerregistry/webpack.config.js deleted file mode 100644 index 5a48a4b97baa..000000000000 --- a/packages/@azure/arm-containerregistry/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/containerRegistryManagementClient.js', - devtool: 'source-map', - output: { - filename: 'containerRegistryManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'containerRegistryManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-containerservice/.npmignore b/packages/@azure/arm-containerservice/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-containerservice/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-containerservice/README.md b/packages/@azure/arm-containerservice/README.md index 8a7a8b828974..f946aee45080 100644 --- a/packages/@azure/arm-containerservice/README.md +++ b/packages/@azure/arm-containerservice/README.md @@ -1,24 +1,34 @@ -# Azure ContainerServiceClient SDK for JavaScript +## Azure ContainerServiceClient SDK for JavaScript + This package contains an isomorphic SDK for ContainerServiceClient. -## 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-containerservice ``` +### How to use + +#### nodejs - Authentication, client creation and get openShiftManagedClusters as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get openShiftManagedClusters as an example written in TypeScript. +##### Sample code ```ts -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 { ContainerServiceClient, ContainerServiceModels, ContainerServiceMappers } from "@azure/arm-containerservice"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get openShiftManagedClusters as an example written in JavaScript. +#### browser - Authentication, client creation and get openShiftManagedClusters as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-containerservice 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-containerservice/lib/containerServiceClient.ts b/packages/@azure/arm-containerservice/lib/containerServiceClient.ts index f2ce52c96cd4..05e56c8fc1b7 100644 --- a/packages/@azure/arm-containerservice/lib/containerServiceClient.ts +++ b/packages/@azure/arm-containerservice/lib/containerServiceClient.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-containerservice/lib/containerServiceClientContext.ts b/packages/@azure/arm-containerservice/lib/containerServiceClientContext.ts index 029157e74293..f9f2055f46a6 100644 --- a/packages/@azure/arm-containerservice/lib/containerServiceClientContext.ts +++ b/packages/@azure/arm-containerservice/lib/containerServiceClientContext.ts @@ -9,22 +9,16 @@ */ 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-containerservice"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class ContainerServiceClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the ContainerServiceClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -43,6 +37,11 @@ export class ContainerServiceClientContext extends msRestAzure.AzureServiceClien if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.acceptLanguage = 'en-US'; @@ -52,7 +51,6 @@ export class ContainerServiceClientContext extends msRestAzure.AzureServiceClien this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-containerservice/lib/models/index.ts b/packages/@azure/arm-containerservice/lib/models/index.ts index 54cf5321c188..323e74eef506 100644 --- a/packages/@azure/arm-containerservice/lib/models/index.ts +++ b/packages/@azure/arm-containerservice/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1429,367 +1429,111 @@ export interface ManagedClusterListResult extends Array { /** * Defines values for OSType. * Possible values include: 'Linux', 'Windows' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OSType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OSType { - Linux = 'Linux', - Windows = 'Windows', -} +export type OSType = 'Linux' | 'Windows'; /** * Defines values for OpenShiftContainerServiceVMSize. * Possible values include: 'Standard_D2s_v3', 'Standard_D4s_v3' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OpenShiftContainerServiceVMSize = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OpenShiftContainerServiceVMSize { - StandardD2sV3 = 'Standard_D2s_v3', - StandardD4sV3 = 'Standard_D4s_v3', -} +export type OpenShiftContainerServiceVMSize = 'Standard_D2s_v3' | 'Standard_D4s_v3'; /** * Defines values for OpenShiftAgentPoolProfileRole. * Possible values include: 'compute', 'infra' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OpenShiftAgentPoolProfileRole = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OpenShiftAgentPoolProfileRole { - Compute = 'compute', - Infra = 'infra', -} +export type OpenShiftAgentPoolProfileRole = 'compute' | 'infra'; /** * Defines values for ContainerServiceStorageProfileTypes. * Possible values include: 'StorageAccount', 'ManagedDisks' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ContainerServiceStorageProfileTypes = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ContainerServiceStorageProfileTypes { - StorageAccount = 'StorageAccount', - ManagedDisks = 'ManagedDisks', -} +export type ContainerServiceStorageProfileTypes = 'StorageAccount' | 'ManagedDisks'; /** * Defines values for ContainerServiceVMSizeTypes. - * Possible values include: 'Standard_A1', 'Standard_A10', 'Standard_A11', - * 'Standard_A1_v2', 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2', - * 'Standard_A3', 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2', - * 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8', - * 'Standard_A8_v2', 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms', - * 'Standard_B2s', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', - * 'Standard_D11', 'Standard_D11_v2', 'Standard_D11_v2_Promo', 'Standard_D12', - * 'Standard_D12_v2', 'Standard_D12_v2_Promo', 'Standard_D13', - * 'Standard_D13_v2', 'Standard_D13_v2_Promo', 'Standard_D14', - * 'Standard_D14_v2', 'Standard_D14_v2_Promo', 'Standard_D15_v2', - * 'Standard_D16_v3', 'Standard_D16s_v3', 'Standard_D1_v2', 'Standard_D2', - * 'Standard_D2_v2', 'Standard_D2_v2_Promo', 'Standard_D2_v3', - * 'Standard_D2s_v3', 'Standard_D3', 'Standard_D32_v3', 'Standard_D32s_v3', - * 'Standard_D3_v2', 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2', - * 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3', - * 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3', - * 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3', 'Standard_DS1', - * 'Standard_DS11', 'Standard_DS11_v2', 'Standard_DS11_v2_Promo', - * 'Standard_DS12', 'Standard_DS12_v2', 'Standard_DS12_v2_Promo', - * 'Standard_DS13', 'Standard_DS13-2_v2', 'Standard_DS13-4_v2', - * 'Standard_DS13_v2', 'Standard_DS13_v2_Promo', 'Standard_DS14', - * 'Standard_DS14-4_v2', 'Standard_DS14-8_v2', 'Standard_DS14_v2', - * 'Standard_DS14_v2_Promo', 'Standard_DS15_v2', 'Standard_DS1_v2', - * 'Standard_DS2', 'Standard_DS2_v2', 'Standard_DS2_v2_Promo', 'Standard_DS3', - * 'Standard_DS3_v2', 'Standard_DS3_v2_Promo', 'Standard_DS4', - * 'Standard_DS4_v2', 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', - * 'Standard_DS5_v2_Promo', 'Standard_E16_v3', 'Standard_E16s_v3', - * 'Standard_E2_v3', 'Standard_E2s_v3', 'Standard_E32-16s_v3', - * 'Standard_E32-8s_v3', 'Standard_E32_v3', 'Standard_E32s_v3', - * 'Standard_E4_v3', 'Standard_E4s_v3', 'Standard_E64-16s_v3', - * 'Standard_E64-32s_v3', 'Standard_E64_v3', 'Standard_E64s_v3', - * 'Standard_E8_v3', 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', - * 'Standard_F16s', 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', - * 'Standard_F2s', 'Standard_F2s_v2', 'Standard_F32s_v2', 'Standard_F4', - * 'Standard_F4s', 'Standard_F4s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2', - * 'Standard_F8', 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1', - * 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', - * 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS4-4', - * 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16', 'Standard_GS5-8', - * 'Standard_H16', 'Standard_H16m', 'Standard_H16mr', 'Standard_H16r', - * 'Standard_H8', 'Standard_H8m', 'Standard_L16s', 'Standard_L32s', - * 'Standard_L4s', 'Standard_L8s', 'Standard_M128-32ms', 'Standard_M128-64ms', - * 'Standard_M128ms', 'Standard_M128s', 'Standard_M64-16ms', - * 'Standard_M64-32ms', 'Standard_M64ms', 'Standard_M64s', 'Standard_NC12', + * Possible values include: 'Standard_A1', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2', + * 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2', 'Standard_A3', 'Standard_A4', + * 'Standard_A4_v2', 'Standard_A4m_v2', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8', + * 'Standard_A8_v2', 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms', 'Standard_B2s', + * 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D11', 'Standard_D11_v2', + * 'Standard_D11_v2_Promo', 'Standard_D12', 'Standard_D12_v2', 'Standard_D12_v2_Promo', + * 'Standard_D13', 'Standard_D13_v2', 'Standard_D13_v2_Promo', 'Standard_D14', 'Standard_D14_v2', + * 'Standard_D14_v2_Promo', 'Standard_D15_v2', 'Standard_D16_v3', 'Standard_D16s_v3', + * 'Standard_D1_v2', 'Standard_D2', 'Standard_D2_v2', 'Standard_D2_v2_Promo', 'Standard_D2_v3', + * 'Standard_D2s_v3', 'Standard_D3', 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2', + * 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2', 'Standard_D4_v2_Promo', + * 'Standard_D4_v3', 'Standard_D4s_v3', 'Standard_D5_v2', 'Standard_D5_v2_Promo', + * 'Standard_D64_v3', 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3', 'Standard_DS1', + * 'Standard_DS11', 'Standard_DS11_v2', 'Standard_DS11_v2_Promo', 'Standard_DS12', + * 'Standard_DS12_v2', 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2', + * 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo', 'Standard_DS14', + * 'Standard_DS14-4_v2', 'Standard_DS14-8_v2', 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', + * 'Standard_DS15_v2', 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2', + * 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2', 'Standard_DS3_v2_Promo', + * 'Standard_DS4', 'Standard_DS4_v2', 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', + * 'Standard_DS5_v2_Promo', 'Standard_E16_v3', 'Standard_E16s_v3', 'Standard_E2_v3', + * 'Standard_E2s_v3', 'Standard_E32-16s_v3', 'Standard_E32-8s_v3', 'Standard_E32_v3', + * 'Standard_E32s_v3', 'Standard_E4_v3', 'Standard_E4s_v3', 'Standard_E64-16s_v3', + * 'Standard_E64-32s_v3', 'Standard_E64_v3', 'Standard_E64s_v3', 'Standard_E8_v3', + * 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', 'Standard_F16s', 'Standard_F16s_v2', + * 'Standard_F1s', 'Standard_F2', 'Standard_F2s', 'Standard_F2s_v2', 'Standard_F32s_v2', + * 'Standard_F4', 'Standard_F4s', 'Standard_F4s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2', + * 'Standard_F8', 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1', 'Standard_G2', 'Standard_G3', + * 'Standard_G4', 'Standard_G5', 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', + * 'Standard_GS4-4', 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16', 'Standard_GS5-8', + * 'Standard_H16', 'Standard_H16m', 'Standard_H16mr', 'Standard_H16r', 'Standard_H8', + * 'Standard_H8m', 'Standard_L16s', 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', + * 'Standard_M128-32ms', 'Standard_M128-64ms', 'Standard_M128ms', 'Standard_M128s', + * 'Standard_M64-16ms', 'Standard_M64-32ms', 'Standard_M64ms', 'Standard_M64s', 'Standard_NC12', * 'Standard_NC12s_v2', 'Standard_NC12s_v3', 'Standard_NC24', 'Standard_NC24r', - * 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', 'Standard_NC24s_v2', - * 'Standard_NC24s_v3', 'Standard_NC6', 'Standard_NC6s_v2', 'Standard_NC6s_v3', - * 'Standard_ND12s', 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', - * 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ContainerServiceVMSizeTypes = - * "someUnknownValueThatWillStillBeValid"; + * 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', 'Standard_NC24s_v2', 'Standard_NC24s_v3', + * 'Standard_NC6', 'Standard_NC6s_v2', 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs', + * 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' * @readonly * @enum {string} */ -export enum ContainerServiceVMSizeTypes { - StandardA1 = 'Standard_A1', - StandardA10 = 'Standard_A10', - StandardA11 = 'Standard_A11', - StandardA1V2 = 'Standard_A1_v2', - StandardA2 = 'Standard_A2', - StandardA2V2 = 'Standard_A2_v2', - StandardA2mV2 = 'Standard_A2m_v2', - StandardA3 = 'Standard_A3', - StandardA4 = 'Standard_A4', - StandardA4V2 = 'Standard_A4_v2', - StandardA4mV2 = 'Standard_A4m_v2', - StandardA5 = 'Standard_A5', - StandardA6 = 'Standard_A6', - StandardA7 = 'Standard_A7', - StandardA8 = 'Standard_A8', - StandardA8V2 = 'Standard_A8_v2', - StandardA8mV2 = 'Standard_A8m_v2', - StandardA9 = 'Standard_A9', - StandardB2ms = 'Standard_B2ms', - StandardB2s = 'Standard_B2s', - StandardB4ms = 'Standard_B4ms', - StandardB8ms = 'Standard_B8ms', - StandardD1 = 'Standard_D1', - StandardD11 = 'Standard_D11', - StandardD11V2 = 'Standard_D11_v2', - StandardD11V2Promo = 'Standard_D11_v2_Promo', - StandardD12 = 'Standard_D12', - StandardD12V2 = 'Standard_D12_v2', - StandardD12V2Promo = 'Standard_D12_v2_Promo', - StandardD13 = 'Standard_D13', - StandardD13V2 = 'Standard_D13_v2', - StandardD13V2Promo = 'Standard_D13_v2_Promo', - StandardD14 = 'Standard_D14', - StandardD14V2 = 'Standard_D14_v2', - StandardD14V2Promo = 'Standard_D14_v2_Promo', - StandardD15V2 = 'Standard_D15_v2', - StandardD16V3 = 'Standard_D16_v3', - StandardD16sV3 = 'Standard_D16s_v3', - StandardD1V2 = 'Standard_D1_v2', - StandardD2 = 'Standard_D2', - StandardD2V2 = 'Standard_D2_v2', - StandardD2V2Promo = 'Standard_D2_v2_Promo', - StandardD2V3 = 'Standard_D2_v3', - StandardD2sV3 = 'Standard_D2s_v3', - StandardD3 = 'Standard_D3', - StandardD32V3 = 'Standard_D32_v3', - StandardD32sV3 = 'Standard_D32s_v3', - StandardD3V2 = 'Standard_D3_v2', - StandardD3V2Promo = 'Standard_D3_v2_Promo', - StandardD4 = 'Standard_D4', - StandardD4V2 = 'Standard_D4_v2', - StandardD4V2Promo = 'Standard_D4_v2_Promo', - StandardD4V3 = 'Standard_D4_v3', - StandardD4sV3 = 'Standard_D4s_v3', - StandardD5V2 = 'Standard_D5_v2', - StandardD5V2Promo = 'Standard_D5_v2_Promo', - StandardD64V3 = 'Standard_D64_v3', - StandardD64sV3 = 'Standard_D64s_v3', - StandardD8V3 = 'Standard_D8_v3', - StandardD8sV3 = 'Standard_D8s_v3', - StandardDS1 = 'Standard_DS1', - StandardDS11 = 'Standard_DS11', - StandardDS11V2 = 'Standard_DS11_v2', - StandardDS11V2Promo = 'Standard_DS11_v2_Promo', - StandardDS12 = 'Standard_DS12', - StandardDS12V2 = 'Standard_DS12_v2', - StandardDS12V2Promo = 'Standard_DS12_v2_Promo', - StandardDS13 = 'Standard_DS13', - StandardDS132V2 = 'Standard_DS13-2_v2', - StandardDS134V2 = 'Standard_DS13-4_v2', - StandardDS13V2 = 'Standard_DS13_v2', - StandardDS13V2Promo = 'Standard_DS13_v2_Promo', - StandardDS14 = 'Standard_DS14', - StandardDS144V2 = 'Standard_DS14-4_v2', - StandardDS148V2 = 'Standard_DS14-8_v2', - StandardDS14V2 = 'Standard_DS14_v2', - StandardDS14V2Promo = 'Standard_DS14_v2_Promo', - StandardDS15V2 = 'Standard_DS15_v2', - StandardDS1V2 = 'Standard_DS1_v2', - StandardDS2 = 'Standard_DS2', - StandardDS2V2 = 'Standard_DS2_v2', - StandardDS2V2Promo = 'Standard_DS2_v2_Promo', - StandardDS3 = 'Standard_DS3', - StandardDS3V2 = 'Standard_DS3_v2', - StandardDS3V2Promo = 'Standard_DS3_v2_Promo', - StandardDS4 = 'Standard_DS4', - StandardDS4V2 = 'Standard_DS4_v2', - StandardDS4V2Promo = 'Standard_DS4_v2_Promo', - StandardDS5V2 = 'Standard_DS5_v2', - StandardDS5V2Promo = 'Standard_DS5_v2_Promo', - StandardE16V3 = 'Standard_E16_v3', - StandardE16sV3 = 'Standard_E16s_v3', - StandardE2V3 = 'Standard_E2_v3', - StandardE2sV3 = 'Standard_E2s_v3', - StandardE3216sV3 = 'Standard_E32-16s_v3', - StandardE328sV3 = 'Standard_E32-8s_v3', - StandardE32V3 = 'Standard_E32_v3', - StandardE32sV3 = 'Standard_E32s_v3', - StandardE4V3 = 'Standard_E4_v3', - StandardE4sV3 = 'Standard_E4s_v3', - StandardE6416sV3 = 'Standard_E64-16s_v3', - StandardE6432sV3 = 'Standard_E64-32s_v3', - StandardE64V3 = 'Standard_E64_v3', - StandardE64sV3 = 'Standard_E64s_v3', - StandardE8V3 = 'Standard_E8_v3', - StandardE8sV3 = 'Standard_E8s_v3', - StandardF1 = 'Standard_F1', - StandardF16 = 'Standard_F16', - StandardF16s = 'Standard_F16s', - StandardF16sV2 = 'Standard_F16s_v2', - StandardF1s = 'Standard_F1s', - StandardF2 = 'Standard_F2', - StandardF2s = 'Standard_F2s', - StandardF2sV2 = 'Standard_F2s_v2', - StandardF32sV2 = 'Standard_F32s_v2', - StandardF4 = 'Standard_F4', - StandardF4s = 'Standard_F4s', - StandardF4sV2 = 'Standard_F4s_v2', - StandardF64sV2 = 'Standard_F64s_v2', - StandardF72sV2 = 'Standard_F72s_v2', - StandardF8 = 'Standard_F8', - StandardF8s = 'Standard_F8s', - StandardF8sV2 = 'Standard_F8s_v2', - StandardG1 = 'Standard_G1', - StandardG2 = 'Standard_G2', - StandardG3 = 'Standard_G3', - StandardG4 = 'Standard_G4', - StandardG5 = 'Standard_G5', - StandardGS1 = 'Standard_GS1', - StandardGS2 = 'Standard_GS2', - StandardGS3 = 'Standard_GS3', - StandardGS4 = 'Standard_GS4', - StandardGS44 = 'Standard_GS4-4', - StandardGS48 = 'Standard_GS4-8', - StandardGS5 = 'Standard_GS5', - StandardGS516 = 'Standard_GS5-16', - StandardGS58 = 'Standard_GS5-8', - StandardH16 = 'Standard_H16', - StandardH16m = 'Standard_H16m', - StandardH16mr = 'Standard_H16mr', - StandardH16r = 'Standard_H16r', - StandardH8 = 'Standard_H8', - StandardH8m = 'Standard_H8m', - StandardL16s = 'Standard_L16s', - StandardL32s = 'Standard_L32s', - StandardL4s = 'Standard_L4s', - StandardL8s = 'Standard_L8s', - StandardM12832ms = 'Standard_M128-32ms', - StandardM12864ms = 'Standard_M128-64ms', - StandardM128ms = 'Standard_M128ms', - StandardM128s = 'Standard_M128s', - StandardM6416ms = 'Standard_M64-16ms', - StandardM6432ms = 'Standard_M64-32ms', - StandardM64ms = 'Standard_M64ms', - StandardM64s = 'Standard_M64s', - StandardNC12 = 'Standard_NC12', - StandardNC12sV2 = 'Standard_NC12s_v2', - StandardNC12sV3 = 'Standard_NC12s_v3', - StandardNC24 = 'Standard_NC24', - StandardNC24r = 'Standard_NC24r', - StandardNC24rsV2 = 'Standard_NC24rs_v2', - StandardNC24rsV3 = 'Standard_NC24rs_v3', - StandardNC24sV2 = 'Standard_NC24s_v2', - StandardNC24sV3 = 'Standard_NC24s_v3', - StandardNC6 = 'Standard_NC6', - StandardNC6sV2 = 'Standard_NC6s_v2', - StandardNC6sV3 = 'Standard_NC6s_v3', - StandardND12s = 'Standard_ND12s', - StandardND24rs = 'Standard_ND24rs', - StandardND24s = 'Standard_ND24s', - StandardND6s = 'Standard_ND6s', - StandardNV12 = 'Standard_NV12', - StandardNV24 = 'Standard_NV24', - StandardNV6 = 'Standard_NV6', -} +export type ContainerServiceVMSizeTypes = 'Standard_A1' | 'Standard_A10' | 'Standard_A11' | 'Standard_A1_v2' | 'Standard_A2' | 'Standard_A2_v2' | 'Standard_A2m_v2' | 'Standard_A3' | 'Standard_A4' | 'Standard_A4_v2' | 'Standard_A4m_v2' | 'Standard_A5' | 'Standard_A6' | 'Standard_A7' | 'Standard_A8' | 'Standard_A8_v2' | 'Standard_A8m_v2' | 'Standard_A9' | 'Standard_B2ms' | 'Standard_B2s' | 'Standard_B4ms' | 'Standard_B8ms' | 'Standard_D1' | 'Standard_D11' | 'Standard_D11_v2' | 'Standard_D11_v2_Promo' | 'Standard_D12' | 'Standard_D12_v2' | 'Standard_D12_v2_Promo' | 'Standard_D13' | 'Standard_D13_v2' | 'Standard_D13_v2_Promo' | 'Standard_D14' | 'Standard_D14_v2' | 'Standard_D14_v2_Promo' | 'Standard_D15_v2' | 'Standard_D16_v3' | 'Standard_D16s_v3' | 'Standard_D1_v2' | 'Standard_D2' | 'Standard_D2_v2' | 'Standard_D2_v2_Promo' | 'Standard_D2_v3' | 'Standard_D2s_v3' | 'Standard_D3' | 'Standard_D32_v3' | 'Standard_D32s_v3' | 'Standard_D3_v2' | 'Standard_D3_v2_Promo' | 'Standard_D4' | 'Standard_D4_v2' | 'Standard_D4_v2_Promo' | 'Standard_D4_v3' | 'Standard_D4s_v3' | 'Standard_D5_v2' | 'Standard_D5_v2_Promo' | 'Standard_D64_v3' | 'Standard_D64s_v3' | 'Standard_D8_v3' | 'Standard_D8s_v3' | 'Standard_DS1' | 'Standard_DS11' | 'Standard_DS11_v2' | 'Standard_DS11_v2_Promo' | 'Standard_DS12' | 'Standard_DS12_v2' | 'Standard_DS12_v2_Promo' | 'Standard_DS13' | 'Standard_DS13-2_v2' | 'Standard_DS13-4_v2' | 'Standard_DS13_v2' | 'Standard_DS13_v2_Promo' | 'Standard_DS14' | 'Standard_DS14-4_v2' | 'Standard_DS14-8_v2' | 'Standard_DS14_v2' | 'Standard_DS14_v2_Promo' | 'Standard_DS15_v2' | 'Standard_DS1_v2' | 'Standard_DS2' | 'Standard_DS2_v2' | 'Standard_DS2_v2_Promo' | 'Standard_DS3' | 'Standard_DS3_v2' | 'Standard_DS3_v2_Promo' | 'Standard_DS4' | 'Standard_DS4_v2' | 'Standard_DS4_v2_Promo' | 'Standard_DS5_v2' | 'Standard_DS5_v2_Promo' | 'Standard_E16_v3' | 'Standard_E16s_v3' | 'Standard_E2_v3' | 'Standard_E2s_v3' | 'Standard_E32-16s_v3' | 'Standard_E32-8s_v3' | 'Standard_E32_v3' | 'Standard_E32s_v3' | 'Standard_E4_v3' | 'Standard_E4s_v3' | 'Standard_E64-16s_v3' | 'Standard_E64-32s_v3' | 'Standard_E64_v3' | 'Standard_E64s_v3' | 'Standard_E8_v3' | 'Standard_E8s_v3' | 'Standard_F1' | 'Standard_F16' | 'Standard_F16s' | 'Standard_F16s_v2' | 'Standard_F1s' | 'Standard_F2' | 'Standard_F2s' | 'Standard_F2s_v2' | 'Standard_F32s_v2' | 'Standard_F4' | 'Standard_F4s' | 'Standard_F4s_v2' | 'Standard_F64s_v2' | 'Standard_F72s_v2' | 'Standard_F8' | 'Standard_F8s' | 'Standard_F8s_v2' | 'Standard_G1' | 'Standard_G2' | 'Standard_G3' | 'Standard_G4' | 'Standard_G5' | 'Standard_GS1' | 'Standard_GS2' | 'Standard_GS3' | 'Standard_GS4' | 'Standard_GS4-4' | 'Standard_GS4-8' | 'Standard_GS5' | 'Standard_GS5-16' | 'Standard_GS5-8' | 'Standard_H16' | 'Standard_H16m' | 'Standard_H16mr' | 'Standard_H16r' | 'Standard_H8' | 'Standard_H8m' | 'Standard_L16s' | 'Standard_L32s' | 'Standard_L4s' | 'Standard_L8s' | 'Standard_M128-32ms' | 'Standard_M128-64ms' | 'Standard_M128ms' | 'Standard_M128s' | 'Standard_M64-16ms' | 'Standard_M64-32ms' | 'Standard_M64ms' | 'Standard_M64s' | 'Standard_NC12' | 'Standard_NC12s_v2' | 'Standard_NC12s_v3' | 'Standard_NC24' | 'Standard_NC24r' | 'Standard_NC24rs_v2' | 'Standard_NC24rs_v3' | 'Standard_NC24s_v2' | 'Standard_NC24s_v3' | 'Standard_NC6' | 'Standard_NC6s_v2' | 'Standard_NC6s_v3' | 'Standard_ND12s' | 'Standard_ND24rs' | 'Standard_ND24s' | 'Standard_ND6s' | 'Standard_NV12' | 'Standard_NV24' | 'Standard_NV6'; /** * Defines values for ContainerServiceOrchestratorTypes. * Possible values include: 'Kubernetes', 'Swarm', 'DCOS', 'DockerCE', 'Custom' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ContainerServiceOrchestratorTypes = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ContainerServiceOrchestratorTypes { - Kubernetes = 'Kubernetes', - Swarm = 'Swarm', - DCOS = 'DCOS', - DockerCE = 'DockerCE', - Custom = 'Custom', -} +export type ContainerServiceOrchestratorTypes = 'Kubernetes' | 'Swarm' | 'DCOS' | 'DockerCE' | 'Custom'; /** * Defines values for AgentPoolType. * Possible values include: 'VirtualMachineScaleSets', 'AvailabilitySet' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AgentPoolType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AgentPoolType { - VirtualMachineScaleSets = 'VirtualMachineScaleSets', - AvailabilitySet = 'AvailabilitySet', -} +export type AgentPoolType = 'VirtualMachineScaleSets' | 'AvailabilitySet'; /** * Defines values for NetworkPlugin. * Possible values include: 'azure', 'kubenet' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NetworkPlugin = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum NetworkPlugin { - Azure = 'azure', - Kubenet = 'kubenet', -} +export type NetworkPlugin = 'azure' | 'kubenet'; /** * Defines values for NetworkPolicy. * Possible values include: 'calico' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NetworkPolicy = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum NetworkPolicy { - Calico = 'calico', -} +export type NetworkPolicy = 'calico'; /** * Contains response data for the get operation. diff --git a/packages/@azure/arm-containerservice/lib/models/mappers.ts b/packages/@azure/arm-containerservice/lib/models/mappers.ts index f4a9081f1c37..9364677ba065 100644 --- a/packages/@azure/arm-containerservice/lib/models/mappers.ts +++ b/packages/@azure/arm-containerservice/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -291,11 +291,6 @@ export const OpenShiftManagedClusterIdentityProvider: msRest.CompositeMapper = { serializedName: "provider", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "OpenShiftManagedClusterBaseIdentityProvider", className: "OpenShiftManagedClusterBaseIdentityProvider" } } diff --git a/packages/@azure/arm-containerservice/lib/models/parameters.ts b/packages/@azure/arm-containerservice/lib/models/parameters.ts index 65a0237fd2dd..dce5d04185f0 100644 --- a/packages/@azure/arm-containerservice/lib/models/parameters.ts +++ b/packages/@azure/arm-containerservice/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-containerservice/lib/operations/containerServices.ts b/packages/@azure/arm-containerservice/lib/operations/containerServices.ts index 7bae83a16054..cbaad988a792 100644 --- a/packages/@azure/arm-containerservice/lib/operations/containerServices.ts +++ b/packages/@azure/arm-containerservice/lib/operations/containerServices.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/containerServicesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class ContainerServices { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -97,7 +97,7 @@ export class ContainerServices { * @param callback The callback */ get(resourceGroupName: string, containerServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, containerServiceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, containerServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -146,7 +146,7 @@ export class ContainerServices { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -176,7 +176,7 @@ export class ContainerServices { * @param callback The callback */ listOrchestrators(location: string, options: Models.ContainerServicesListOrchestratorsOptionalParams, callback: msRest.ServiceCallback): void; - listOrchestrators(location: string, options?: Models.ContainerServicesListOrchestratorsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listOrchestrators(location: string, options?: Models.ContainerServicesListOrchestratorsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -253,7 +253,7 @@ export class ContainerServices { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -284,7 +284,7 @@ export class ContainerServices { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-containerservice/lib/operations/managedClusters.ts b/packages/@azure/arm-containerservice/lib/operations/managedClusters.ts index 47321fd42f44..c1e1f95eecb3 100644 --- a/packages/@azure/arm-containerservice/lib/operations/managedClusters.ts +++ b/packages/@azure/arm-containerservice/lib/operations/managedClusters.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/managedClustersMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class ManagedClusters { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -73,7 +73,7 @@ export class ManagedClusters { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -106,7 +106,7 @@ export class ManagedClusters { * @param callback The callback */ getUpgradeProfile(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getUpgradeProfile(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getUpgradeProfile(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -143,7 +143,7 @@ export class ManagedClusters { * @param callback The callback */ getAccessProfile(resourceGroupName: string, resourceName: string, roleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAccessProfile(resourceGroupName: string, resourceName: string, roleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAccessProfile(resourceGroupName: string, resourceName: string, roleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -177,7 +177,7 @@ export class ManagedClusters { * @param callback The callback */ listClusterAdminCredentials(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listClusterAdminCredentials(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listClusterAdminCredentials(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -210,7 +210,7 @@ export class ManagedClusters { * @param callback The callback */ listClusterUserCredentials(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listClusterUserCredentials(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listClusterUserCredentials(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -243,7 +243,7 @@ export class ManagedClusters { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -378,7 +378,7 @@ export class ManagedClusters { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -408,7 +408,7 @@ export class ManagedClusters { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-containerservice/lib/operations/openShiftManagedClusters.ts b/packages/@azure/arm-containerservice/lib/operations/openShiftManagedClusters.ts index 7153cbba4ba2..17565ba683c3 100644 --- a/packages/@azure/arm-containerservice/lib/operations/openShiftManagedClusters.ts +++ b/packages/@azure/arm-containerservice/lib/operations/openShiftManagedClusters.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/openShiftManagedClustersMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class OpenShiftManagedClusters { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-containerservice/lib/operations/operations.ts b/packages/@azure/arm-containerservice/lib/operations/operations.ts index 178653ba1d4f..3d409d17f22c 100644 --- a/packages/@azure/arm-containerservice/lib/operations/operations.ts +++ b/packages/@azure/arm-containerservice/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-containerservice/package.json b/packages/@azure/arm-containerservice/package.json index 1f8d32b32470..18ace67aca59 100644 --- a/packages/@azure/arm-containerservice/package.json +++ b/packages/@azure/arm-containerservice/package.json @@ -4,8 +4,8 @@ "description": "ContainerServiceClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-containerservice/rollup.config.js b/packages/@azure/arm-containerservice/rollup.config.js index f97a239d27ee..c1380ed7226c 100644 --- a/packages/@azure/arm-containerservice/rollup.config.js +++ b/packages/@azure/arm-containerservice/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/containerServiceClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-containerservice.js", format: "umd", name: "Azure.ArmContainerservice", 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-containerservice/tsconfig.json b/packages/@azure/arm-containerservice/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-containerservice/tsconfig.json +++ b/packages/@azure/arm-containerservice/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-cosmosdb/README.md b/packages/@azure/arm-cosmosdb/README.md index f62862c2c657..cb2b5f65e1d7 100644 --- a/packages/@azure/arm-cosmosdb/README.md +++ b/packages/@azure/arm-cosmosdb/README.md @@ -1,24 +1,34 @@ -# Azure CosmosDBManagementClient SDK for JavaScript +## Azure CosmosDBManagementClient SDK for JavaScript + This package contains an isomorphic SDK for CosmosDBManagementClient. -## 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-cosmosdb ``` +### How to use + +#### nodejs - Authentication, client creation and get databaseAccounts as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get databaseAccounts as an example written in TypeScript. +##### Sample code ```ts -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 { CosmosDBManagementClient, CosmosDBManagementModels, CosmosDBManagementMappers } from "@azure/arm-cosmosdb"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get databaseAccounts as an example written in JavaScript. +#### browser - Authentication, client creation and get databaseAccounts as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-cosmosdb 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-cosmosdb/lib/cosmosDBManagementClient.ts b/packages/@azure/arm-cosmosdb/lib/cosmosDBManagementClient.ts index b148949fca79..93072dc8ebb5 100644 --- a/packages/@azure/arm-cosmosdb/lib/cosmosDBManagementClient.ts +++ b/packages/@azure/arm-cosmosdb/lib/cosmosDBManagementClient.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-cosmosdb/lib/cosmosDBManagementClientContext.ts b/packages/@azure/arm-cosmosdb/lib/cosmosDBManagementClientContext.ts index 8d2bd6bf53b6..651fd8a59271 100644 --- a/packages/@azure/arm-cosmosdb/lib/cosmosDBManagementClientContext.ts +++ b/packages/@azure/arm-cosmosdb/lib/cosmosDBManagementClientContext.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-cosmosdb"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -37,6 +37,11 @@ export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceCli if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2015-04-08'; @@ -47,7 +52,6 @@ export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceCli this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-cosmosdb/lib/models/index.ts b/packages/@azure/arm-cosmosdb/lib/models/index.ts index 94bcc01dded9..5e2aff757a9b 100644 --- a/packages/@azure/arm-cosmosdb/lib/models/index.ts +++ b/packages/@azure/arm-cosmosdb/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1097,19 +1097,10 @@ export interface PartitionUsagesResult extends Array { /** * Defines values for DatabaseAccountKind. * Possible values include: 'GlobalDocumentDB', 'MongoDB', 'Parse' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DatabaseAccountKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DatabaseAccountKind { - GlobalDocumentDB = 'GlobalDocumentDB', - MongoDB = 'MongoDB', - Parse = 'Parse', -} +export type DatabaseAccountKind = 'GlobalDocumentDB' | 'MongoDB' | 'Parse'; /** * Defines values for DatabaseAccountOfferType. @@ -1117,84 +1108,40 @@ export enum DatabaseAccountKind { * @readonly * @enum {string} */ -export enum DatabaseAccountOfferType { - Standard = 'Standard', -} +export type DatabaseAccountOfferType = 'Standard'; /** * Defines values for DefaultConsistencyLevel. - * Possible values include: 'Eventual', 'Session', 'BoundedStaleness', - * 'Strong', 'ConsistentPrefix' + * Possible values include: 'Eventual', 'Session', 'BoundedStaleness', 'Strong', 'ConsistentPrefix' * @readonly * @enum {string} */ -export enum DefaultConsistencyLevel { - Eventual = 'Eventual', - Session = 'Session', - BoundedStaleness = 'BoundedStaleness', - Strong = 'Strong', - ConsistentPrefix = 'ConsistentPrefix', -} +export type DefaultConsistencyLevel = 'Eventual' | 'Session' | 'BoundedStaleness' | 'Strong' | 'ConsistentPrefix'; /** * Defines values for KeyKind. - * Possible values include: 'primary', 'secondary', 'primaryReadonly', - * 'secondaryReadonly' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: KeyKind = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'primary', 'secondary', 'primaryReadonly', 'secondaryReadonly' * @readonly * @enum {string} */ -export enum KeyKind { - Primary = 'primary', - Secondary = 'secondary', - PrimaryReadonly = 'primaryReadonly', - SecondaryReadonly = 'secondaryReadonly', -} +export type KeyKind = 'primary' | 'secondary' | 'primaryReadonly' | 'secondaryReadonly'; /** * Defines values for UnitType. - * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', - * 'CountPerSecond', 'BytesPerSecond', 'Milliseconds' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UnitType = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', + * 'BytesPerSecond', 'Milliseconds' * @readonly * @enum {string} */ -export enum UnitType { - Count = 'Count', - Bytes = 'Bytes', - Seconds = 'Seconds', - Percent = 'Percent', - CountPerSecond = 'CountPerSecond', - BytesPerSecond = 'BytesPerSecond', - Milliseconds = 'Milliseconds', -} +export type UnitType = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSecond' | 'BytesPerSecond' | 'Milliseconds'; /** * Defines values for PrimaryAggregationType. - * Possible values include: 'None', 'Average', 'Total', 'Minimimum', 'Maximum', - * 'Last' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PrimaryAggregationType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'Average', 'Total', 'Minimimum', 'Maximum', 'Last' * @readonly * @enum {string} */ -export enum PrimaryAggregationType { - None = 'None', - Average = 'Average', - Total = 'Total', - Minimimum = 'Minimimum', - Maximum = 'Maximum', - Last = 'Last', -} +export type PrimaryAggregationType = 'None' | 'Average' | 'Total' | 'Minimimum' | 'Maximum' | 'Last'; /** * Contains response data for the get operation. diff --git a/packages/@azure/arm-cosmosdb/lib/models/mappers.ts b/packages/@azure/arm-cosmosdb/lib/models/mappers.ts index b1fa92fd418b..be398210e186 100644 --- a/packages/@azure/arm-cosmosdb/lib/models/mappers.ts +++ b/packages/@azure/arm-cosmosdb/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-cosmosdb/lib/models/parameters.ts b/packages/@azure/arm-cosmosdb/lib/models/parameters.ts index 85cdcc90c515..43bb72b48f40 100644 --- a/packages/@azure/arm-cosmosdb/lib/models/parameters.ts +++ b/packages/@azure/arm-cosmosdb/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-cosmosdb/lib/operations/collection.ts b/packages/@azure/arm-cosmosdb/lib/operations/collection.ts index 27d74bc39197..0422c89def77 100644 --- a/packages/@azure/arm-cosmosdb/lib/operations/collection.ts +++ b/packages/@azure/arm-cosmosdb/lib/operations/collection.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/collectionMappers"; import * as Parameters from "../models/parameters"; @@ -63,7 +63,7 @@ export class Collection { * @param callback The callback */ listMetrics(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -104,7 +104,7 @@ export class Collection { * @param callback The callback */ listUsages(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, options: Models.CollectionListUsagesOptionalParams, callback: msRest.ServiceCallback): void; - listUsages(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, options?: Models.CollectionListUsagesOptionalParams, callback?: msRest.ServiceCallback): Promise { + listUsages(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, options?: Models.CollectionListUsagesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -144,7 +144,7 @@ export class Collection { * @param callback The callback */ listMetricDefinitions(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinitions(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinitions(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-cosmosdb/lib/operations/collectionPartition.ts b/packages/@azure/arm-cosmosdb/lib/operations/collectionPartition.ts index b7d9e8f790d8..40f75fb5947e 100644 --- a/packages/@azure/arm-cosmosdb/lib/operations/collectionPartition.ts +++ b/packages/@azure/arm-cosmosdb/lib/operations/collectionPartition.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/collectionPartitionMappers"; import * as Parameters from "../models/parameters"; @@ -63,7 +63,7 @@ export class CollectionPartition { * @param callback The callback */ listMetrics(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -104,7 +104,7 @@ export class CollectionPartition { * @param callback The callback */ listUsages(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, options: Models.CollectionPartitionListUsagesOptionalParams, callback: msRest.ServiceCallback): void; - listUsages(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, options?: Models.CollectionPartitionListUsagesOptionalParams, callback?: msRest.ServiceCallback): Promise { + listUsages(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, options?: Models.CollectionPartitionListUsagesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-cosmosdb/lib/operations/collectionPartitionRegion.ts b/packages/@azure/arm-cosmosdb/lib/operations/collectionPartitionRegion.ts index 2d84637f753e..fd93d778824f 100644 --- a/packages/@azure/arm-cosmosdb/lib/operations/collectionPartitionRegion.ts +++ b/packages/@azure/arm-cosmosdb/lib/operations/collectionPartitionRegion.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/collectionPartitionRegionMappers"; import * as Parameters from "../models/parameters"; @@ -66,7 +66,7 @@ export class CollectionPartitionRegion { * @param callback The callback */ listMetrics(resourceGroupName: string, accountName: string, region: string, databaseRid: string, collectionRid: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, accountName: string, region: string, databaseRid: string, collectionRid: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, accountName: string, region: string, databaseRid: string, collectionRid: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-cosmosdb/lib/operations/collectionRegion.ts b/packages/@azure/arm-cosmosdb/lib/operations/collectionRegion.ts index dbf57893e6b5..3dcd4150416f 100644 --- a/packages/@azure/arm-cosmosdb/lib/operations/collectionRegion.ts +++ b/packages/@azure/arm-cosmosdb/lib/operations/collectionRegion.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/collectionRegionMappers"; import * as Parameters from "../models/parameters"; @@ -66,7 +66,7 @@ export class CollectionRegion { * @param callback The callback */ listMetrics(resourceGroupName: string, accountName: string, region: string, databaseRid: string, collectionRid: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, accountName: string, region: string, databaseRid: string, collectionRid: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, accountName: string, region: string, databaseRid: string, collectionRid: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-cosmosdb/lib/operations/database.ts b/packages/@azure/arm-cosmosdb/lib/operations/database.ts index 699a51975a3e..72e78748a348 100644 --- a/packages/@azure/arm-cosmosdb/lib/operations/database.ts +++ b/packages/@azure/arm-cosmosdb/lib/operations/database.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/databaseMappers"; import * as Parameters from "../models/parameters"; @@ -60,7 +60,7 @@ export class Database { * @param callback The callback */ listMetrics(resourceGroupName: string, accountName: string, databaseRid: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, accountName: string, databaseRid: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, accountName: string, databaseRid: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -97,7 +97,7 @@ export class Database { * @param callback The callback */ listUsages(resourceGroupName: string, accountName: string, databaseRid: string, options: Models.DatabaseListUsagesOptionalParams, callback: msRest.ServiceCallback): void; - listUsages(resourceGroupName: string, accountName: string, databaseRid: string, options?: Models.DatabaseListUsagesOptionalParams, callback?: msRest.ServiceCallback): Promise { + listUsages(resourceGroupName: string, accountName: string, databaseRid: string, options?: Models.DatabaseListUsagesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -133,7 +133,7 @@ export class Database { * @param callback The callback */ listMetricDefinitions(resourceGroupName: string, accountName: string, databaseRid: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinitions(resourceGroupName: string, accountName: string, databaseRid: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinitions(resourceGroupName: string, accountName: string, databaseRid: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-cosmosdb/lib/operations/databaseAccountRegion.ts b/packages/@azure/arm-cosmosdb/lib/operations/databaseAccountRegion.ts index e5d845c1bb88..91612a2ba085 100644 --- a/packages/@azure/arm-cosmosdb/lib/operations/databaseAccountRegion.ts +++ b/packages/@azure/arm-cosmosdb/lib/operations/databaseAccountRegion.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/databaseAccountRegionMappers"; import * as Parameters from "../models/parameters"; @@ -59,7 +59,7 @@ export class DatabaseAccountRegion { * @param callback The callback */ listMetrics(resourceGroupName: string, accountName: string, region: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, accountName: string, region: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, accountName: string, region: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-cosmosdb/lib/operations/databaseAccounts.ts b/packages/@azure/arm-cosmosdb/lib/operations/databaseAccounts.ts index d52593ed3d46..50b579fdd470 100644 --- a/packages/@azure/arm-cosmosdb/lib/operations/databaseAccounts.ts +++ b/packages/@azure/arm-cosmosdb/lib/operations/databaseAccounts.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/databaseAccountsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class DatabaseAccounts { * @param callback The callback */ get(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -128,7 +128,7 @@ export class DatabaseAccounts { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -155,7 +155,7 @@ export class DatabaseAccounts { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -186,7 +186,7 @@ export class DatabaseAccounts { * @param callback The callback */ listKeys(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -218,7 +218,7 @@ export class DatabaseAccounts { * @param callback The callback */ listConnectionStrings(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConnectionStrings(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConnectionStrings(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -276,7 +276,7 @@ export class DatabaseAccounts { * @param callback The callback */ getReadOnlyKeys(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getReadOnlyKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getReadOnlyKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -308,7 +308,7 @@ export class DatabaseAccounts { * @param callback The callback */ listReadOnlyKeys(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listReadOnlyKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listReadOnlyKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -351,7 +351,7 @@ export class DatabaseAccounts { * @param callback The callback */ checkNameExists(accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameExists(accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameExists(accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { accountName, @@ -391,7 +391,7 @@ export class DatabaseAccounts { * @param callback The callback */ listMetrics(resourceGroupName: string, accountName: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, accountName: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, accountName: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -424,7 +424,7 @@ export class DatabaseAccounts { * @param callback The callback */ listUsages(resourceGroupName: string, accountName: string, options: Models.DatabaseAccountsListUsagesOptionalParams, callback: msRest.ServiceCallback): void; - listUsages(resourceGroupName: string, accountName: string, options?: Models.DatabaseAccountsListUsagesOptionalParams, callback?: msRest.ServiceCallback): Promise { + listUsages(resourceGroupName: string, accountName: string, options?: Models.DatabaseAccountsListUsagesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -456,7 +456,7 @@ export class DatabaseAccounts { * @param callback The callback */ listMetricDefinitions(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinitions(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinitions(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-cosmosdb/lib/operations/operations.ts b/packages/@azure/arm-cosmosdb/lib/operations/operations.ts index f86b183dd30d..29d658a52ea0 100644 --- a/packages/@azure/arm-cosmosdb/lib/operations/operations.ts +++ b/packages/@azure/arm-cosmosdb/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-cosmosdb/lib/operations/partitionKeyRangeId.ts b/packages/@azure/arm-cosmosdb/lib/operations/partitionKeyRangeId.ts index 85c8c29d7c87..b7fe39b8a8a7 100644 --- a/packages/@azure/arm-cosmosdb/lib/operations/partitionKeyRangeId.ts +++ b/packages/@azure/arm-cosmosdb/lib/operations/partitionKeyRangeId.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/partitionKeyRangeIdMappers"; import * as Parameters from "../models/parameters"; @@ -65,7 +65,7 @@ export class PartitionKeyRangeId { * @param callback The callback */ listMetrics(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, partitionKeyRangeId: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, partitionKeyRangeId: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, partitionKeyRangeId: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-cosmosdb/lib/operations/partitionKeyRangeIdRegion.ts b/packages/@azure/arm-cosmosdb/lib/operations/partitionKeyRangeIdRegion.ts index 987f3639a465..251d7c0fe27f 100644 --- a/packages/@azure/arm-cosmosdb/lib/operations/partitionKeyRangeIdRegion.ts +++ b/packages/@azure/arm-cosmosdb/lib/operations/partitionKeyRangeIdRegion.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/partitionKeyRangeIdRegionMappers"; import * as Parameters from "../models/parameters"; @@ -69,7 +69,7 @@ export class PartitionKeyRangeIdRegion { * @param callback The callback */ listMetrics(resourceGroupName: string, accountName: string, region: string, databaseRid: string, collectionRid: string, partitionKeyRangeId: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, accountName: string, region: string, databaseRid: string, collectionRid: string, partitionKeyRangeId: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, accountName: string, region: string, databaseRid: string, collectionRid: string, partitionKeyRangeId: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-cosmosdb/lib/operations/percentile.ts b/packages/@azure/arm-cosmosdb/lib/operations/percentile.ts index c245f7c7bfc1..50fa2cd0d798 100644 --- a/packages/@azure/arm-cosmosdb/lib/operations/percentile.ts +++ b/packages/@azure/arm-cosmosdb/lib/operations/percentile.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/percentileMappers"; import * as Parameters from "../models/parameters"; @@ -57,7 +57,7 @@ export class Percentile { * @param callback The callback */ listMetrics(resourceGroupName: string, accountName: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, accountName: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, accountName: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-cosmosdb/lib/operations/percentileSourceTarget.ts b/packages/@azure/arm-cosmosdb/lib/operations/percentileSourceTarget.ts index 9cdcf19b194e..276e2fe3e067 100644 --- a/packages/@azure/arm-cosmosdb/lib/operations/percentileSourceTarget.ts +++ b/packages/@azure/arm-cosmosdb/lib/operations/percentileSourceTarget.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/percentileSourceTargetMappers"; import * as Parameters from "../models/parameters"; @@ -69,7 +69,7 @@ export class PercentileSourceTarget { * @param callback The callback */ listMetrics(resourceGroupName: string, accountName: string, sourceRegion: string, targetRegion: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, accountName: string, sourceRegion: string, targetRegion: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, accountName: string, sourceRegion: string, targetRegion: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-cosmosdb/lib/operations/percentileTarget.ts b/packages/@azure/arm-cosmosdb/lib/operations/percentileTarget.ts index a639e559d234..03e51ef75595 100644 --- a/packages/@azure/arm-cosmosdb/lib/operations/percentileTarget.ts +++ b/packages/@azure/arm-cosmosdb/lib/operations/percentileTarget.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/percentileTargetMappers"; import * as Parameters from "../models/parameters"; @@ -63,7 +63,7 @@ export class PercentileTarget { * @param callback The callback */ listMetrics(resourceGroupName: string, accountName: string, targetRegion: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, accountName: string, targetRegion: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, accountName: string, targetRegion: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-cosmosdb/package.json b/packages/@azure/arm-cosmosdb/package.json index bcdf19d9e67a..90353531d223 100644 --- a/packages/@azure/arm-cosmosdb/package.json +++ b/packages/@azure/arm-cosmosdb/package.json @@ -4,8 +4,8 @@ "description": "CosmosDBManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-cosmosdb/rollup.config.js b/packages/@azure/arm-cosmosdb/rollup.config.js index 6ceb38178260..45bce80ed12e 100644 --- a/packages/@azure/arm-cosmosdb/rollup.config.js +++ b/packages/@azure/arm-cosmosdb/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/cosmosDBManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-cosmosdb.js", format: "umd", name: "Azure.ArmCosmosdb", 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-cosmosdb/tsconfig.json b/packages/@azure/arm-cosmosdb/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-cosmosdb/tsconfig.json +++ b/packages/@azure/arm-cosmosdb/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-customerinsights/.npmignore b/packages/@azure/arm-customerinsights/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-customerinsights/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-customerinsights/README.md b/packages/@azure/arm-customerinsights/README.md index 491777ebc504..47d2a2dda102 100644 --- a/packages/@azure/arm-customerinsights/README.md +++ b/packages/@azure/arm-customerinsights/README.md @@ -1,24 +1,34 @@ -# Azure CustomerInsightsManagementClient SDK for JavaScript +## Azure CustomerInsightsManagementClient SDK for JavaScript + This package contains an isomorphic SDK for CustomerInsightsManagementClient. -## 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-customerinsights ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { CustomerInsightsManagementClient, CustomerInsightsManagementModels, CustomerInsightsManagementMappers } from "@azure/arm-customerinsights"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-customerinsights 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-customerinsights/lib/customerInsightsManagementClient.ts b/packages/@azure/arm-customerinsights/lib/customerInsightsManagementClient.ts index 9afef88468d2..756b2eaa4155 100644 --- a/packages/@azure/arm-customerinsights/lib/customerInsightsManagementClient.ts +++ b/packages/@azure/arm-customerinsights/lib/customerInsightsManagementClient.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-customerinsights/lib/customerInsightsManagementClientContext.ts b/packages/@azure/arm-customerinsights/lib/customerInsightsManagementClientContext.ts index f0246ed2b390..90b220dba9bb 100644 --- a/packages/@azure/arm-customerinsights/lib/customerInsightsManagementClientContext.ts +++ b/packages/@azure/arm-customerinsights/lib/customerInsightsManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-customerinsights"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class CustomerInsightsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the CustomerInsightsManagementClient class. @@ -45,6 +38,11 @@ export class CustomerInsightsManagementClientContext extends msRestAzure.AzureSe if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-04-26'; @@ -55,7 +53,6 @@ export class CustomerInsightsManagementClientContext extends msRestAzure.AzureSe this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-customerinsights/lib/models/index.ts b/packages/@azure/arm-customerinsights/lib/models/index.ts index 55146a5f1532..2aa661daf73e 100644 --- a/packages/@azure/arm-customerinsights/lib/models/index.ts +++ b/packages/@azure/arm-customerinsights/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -3040,66 +3040,32 @@ export interface PredictionListResult extends Array { * @readonly * @enum {string} */ -export enum EntityTypes { - None = 'None', - Profile = 'Profile', - Interaction = 'Interaction', - Relationship = 'Relationship', -} +export type EntityTypes = 'None' | 'Profile' | 'Interaction' | 'Relationship'; /** * Defines values for DataSourceType. * Possible values include: 'Connector', 'LinkInteraction', 'SystemDefault' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DataSourceType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DataSourceType { - Connector = 'Connector', - LinkInteraction = 'LinkInteraction', - SystemDefault = 'SystemDefault', -} +export type DataSourceType = 'Connector' | 'LinkInteraction' | 'SystemDefault'; /** * Defines values for Status. * Possible values include: 'None', 'Active', 'Deleted' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Status = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Status { - None = 'None', - Active = 'Active', - Deleted = 'Deleted', -} +export type Status = 'None' | 'Active' | 'Deleted'; /** * Defines values for ProvisioningStates. - * Possible values include: 'Provisioning', 'Succeeded', 'Expiring', - * 'Deleting', 'HumanIntervention', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningStates = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Provisioning', 'Succeeded', 'Expiring', 'Deleting', + * 'HumanIntervention', 'Failed' * @readonly * @enum {string} */ -export enum ProvisioningStates { - Provisioning = 'Provisioning', - Succeeded = 'Succeeded', - Expiring = 'Expiring', - Deleting = 'Deleting', - HumanIntervention = 'HumanIntervention', - Failed = 'Failed', -} +export type ProvisioningStates = 'Provisioning' | 'Succeeded' | 'Expiring' | 'Deleting' | 'HumanIntervention' | 'Failed'; /** * Defines values for PermissionTypes. @@ -3107,61 +3073,31 @@ export enum ProvisioningStates { * @readonly * @enum {string} */ -export enum PermissionTypes { - Read = 'Read', - Write = 'Write', - Manage = 'Manage', -} +export type PermissionTypes = 'Read' | 'Write' | 'Manage'; /** * Defines values for ConnectorTypes. - * Possible values include: 'None', 'CRM', 'AzureBlob', 'Salesforce', - * 'ExchangeOnline', 'Outbound' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ConnectorTypes = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'CRM', 'AzureBlob', 'Salesforce', 'ExchangeOnline', 'Outbound' * @readonly * @enum {string} */ -export enum ConnectorTypes { - None = 'None', - CRM = 'CRM', - AzureBlob = 'AzureBlob', - Salesforce = 'Salesforce', - ExchangeOnline = 'ExchangeOnline', - Outbound = 'Outbound', -} +export type ConnectorTypes = 'None' | 'CRM' | 'AzureBlob' | 'Salesforce' | 'ExchangeOnline' | 'Outbound'; /** * Defines values for ConnectorStates. - * Possible values include: 'Creating', 'Created', 'Ready', 'Expiring', - * 'Deleting', 'Failed' + * Possible values include: 'Creating', 'Created', 'Ready', 'Expiring', 'Deleting', 'Failed' * @readonly * @enum {string} */ -export enum ConnectorStates { - Creating = 'Creating', - Created = 'Created', - Ready = 'Ready', - Expiring = 'Expiring', - Deleting = 'Deleting', - Failed = 'Failed', -} +export type ConnectorStates = 'Creating' | 'Created' | 'Ready' | 'Expiring' | 'Deleting' | 'Failed'; /** * Defines values for ErrorManagementTypes. - * Possible values include: 'RejectAndContinue', 'StopImport', - * 'RejectUntilLimit' + * Possible values include: 'RejectAndContinue', 'StopImport', 'RejectUntilLimit' * @readonly * @enum {string} */ -export enum ErrorManagementTypes { - RejectAndContinue = 'RejectAndContinue', - StopImport = 'StopImport', - RejectUntilLimit = 'RejectUntilLimit', -} +export type ErrorManagementTypes = 'RejectAndContinue' | 'StopImport' | 'RejectUntilLimit'; /** * Defines values for FrequencyTypes. @@ -3169,13 +3105,7 @@ export enum ErrorManagementTypes { * @readonly * @enum {string} */ -export enum FrequencyTypes { - Minute = 'Minute', - Hour = 'Hour', - Day = 'Day', - Week = 'Week', - Month = 'Month', -} +export type FrequencyTypes = 'Minute' | 'Hour' | 'Day' | 'Week' | 'Month'; /** * Defines values for CompletionOperationTypes. @@ -3183,28 +3113,16 @@ export enum FrequencyTypes { * @readonly * @enum {string} */ -export enum CompletionOperationTypes { - DoNothing = 'DoNothing', - DeleteFile = 'DeleteFile', - MoveFile = 'MoveFile', -} +export type CompletionOperationTypes = 'DoNothing' | 'DeleteFile' | 'MoveFile'; /** * Defines values for ConnectorMappingStates. - * Possible values include: 'Creating', 'Created', 'Failed', 'Ready', - * 'Running', 'Stopped', 'Expiring' + * Possible values include: 'Creating', 'Created', 'Failed', 'Ready', 'Running', 'Stopped', + * 'Expiring' * @readonly * @enum {string} */ -export enum ConnectorMappingStates { - Creating = 'Creating', - Created = 'Created', - Failed = 'Failed', - Ready = 'Ready', - Running = 'Running', - Stopped = 'Stopped', - Expiring = 'Expiring', -} +export type ConnectorMappingStates = 'Creating' | 'Created' | 'Failed' | 'Ready' | 'Running' | 'Stopped' | 'Expiring'; /** * Defines values for CalculationWindowTypes. @@ -3212,31 +3130,15 @@ export enum ConnectorMappingStates { * @readonly * @enum {string} */ -export enum CalculationWindowTypes { - Lifetime = 'Lifetime', - Hour = 'Hour', - Day = 'Day', - Week = 'Week', - Month = 'Month', -} +export type CalculationWindowTypes = 'Lifetime' | 'Hour' | 'Day' | 'Week' | 'Month'; /** * Defines values for KpiFunctions. - * Possible values include: 'Sum', 'Avg', 'Min', 'Max', 'Last', 'Count', - * 'None', 'CountDistinct' + * Possible values include: 'Sum', 'Avg', 'Min', 'Max', 'Last', 'Count', 'None', 'CountDistinct' * @readonly * @enum {string} */ -export enum KpiFunctions { - Sum = 'Sum', - Avg = 'Avg', - Min = 'Min', - Max = 'Max', - Last = 'Last', - Count = 'Count', - None = 'None', - CountDistinct = 'CountDistinct', -} +export type KpiFunctions = 'Sum' | 'Avg' | 'Min' | 'Max' | 'Last' | 'Count' | 'None' | 'CountDistinct'; /** * Defines values for EntityType. @@ -3244,12 +3146,7 @@ export enum KpiFunctions { * @readonly * @enum {string} */ -export enum EntityType { - None = 'None', - Profile = 'Profile', - Interaction = 'Interaction', - Relationship = 'Relationship', -} +export type EntityType = 'None' | 'Profile' | 'Interaction' | 'Relationship'; /** * Defines values for LinkTypes. @@ -3257,10 +3154,7 @@ export enum EntityType { * @readonly * @enum {string} */ -export enum LinkTypes { - UpdateAlways = 'UpdateAlways', - CopyIfNull = 'CopyIfNull', -} +export type LinkTypes = 'UpdateAlways' | 'CopyIfNull'; /** * Defines values for InstanceOperationType. @@ -3268,10 +3162,7 @@ export enum LinkTypes { * @readonly * @enum {string} */ -export enum InstanceOperationType { - Upsert = 'Upsert', - Delete = 'Delete', -} +export type InstanceOperationType = 'Upsert' | 'Delete'; /** * Defines values for CardinalityTypes. @@ -3279,82 +3170,35 @@ export enum InstanceOperationType { * @readonly * @enum {string} */ -export enum CardinalityTypes { - OneToOne = 'OneToOne', - OneToMany = 'OneToMany', - ManyToMany = 'ManyToMany', -} +export type CardinalityTypes = 'OneToOne' | 'OneToMany' | 'ManyToMany'; /** * Defines values for RoleTypes. - * Possible values include: 'Admin', 'Reader', 'ManageAdmin', 'ManageReader', - * 'DataAdmin', 'DataReader' + * Possible values include: 'Admin', 'Reader', 'ManageAdmin', 'ManageReader', 'DataAdmin', + * 'DataReader' * @readonly * @enum {string} */ -export enum RoleTypes { - Admin = 'Admin', - Reader = 'Reader', - ManageAdmin = 'ManageAdmin', - ManageReader = 'ManageReader', - DataAdmin = 'DataAdmin', - DataReader = 'DataReader', -} +export type RoleTypes = 'Admin' | 'Reader' | 'ManageAdmin' | 'ManageReader' | 'DataAdmin' | 'DataReader'; /** * Defines values for CanonicalPropertyValueType. - * Possible values include: 'Numeric', 'Categorical', 'DerivedCategorical', - * 'DerivedNumeric' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CanonicalPropertyValueType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Numeric', 'Categorical', 'DerivedCategorical', 'DerivedNumeric' * @readonly * @enum {string} */ -export enum CanonicalPropertyValueType { - Numeric = 'Numeric', - Categorical = 'Categorical', - DerivedCategorical = 'DerivedCategorical', - DerivedNumeric = 'DerivedNumeric', -} +export type CanonicalPropertyValueType = 'Numeric' | 'Categorical' | 'DerivedCategorical' | 'DerivedNumeric'; /** * Defines values for PredictionModelLifeCycle. - * Possible values include: 'New', 'Provisioning', 'ProvisioningFailed', - * 'PendingDiscovering', 'Discovering', 'PendingFeaturing', 'Featuring', - * 'FeaturingFailed', 'PendingTraining', 'Training', 'TrainingFailed', - * 'Evaluating', 'EvaluatingFailed', 'PendingModelConfirmation', 'Active', - * 'Deleted', 'HumanIntervention', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PredictionModelLifeCycle = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'New', 'Provisioning', 'ProvisioningFailed', 'PendingDiscovering', + * 'Discovering', 'PendingFeaturing', 'Featuring', 'FeaturingFailed', 'PendingTraining', + * 'Training', 'TrainingFailed', 'Evaluating', 'EvaluatingFailed', 'PendingModelConfirmation', + * 'Active', 'Deleted', 'HumanIntervention', 'Failed' * @readonly * @enum {string} */ -export enum PredictionModelLifeCycle { - New = 'New', - Provisioning = 'Provisioning', - ProvisioningFailed = 'ProvisioningFailed', - PendingDiscovering = 'PendingDiscovering', - Discovering = 'Discovering', - PendingFeaturing = 'PendingFeaturing', - Featuring = 'Featuring', - FeaturingFailed = 'FeaturingFailed', - PendingTraining = 'PendingTraining', - Training = 'Training', - TrainingFailed = 'TrainingFailed', - Evaluating = 'Evaluating', - EvaluatingFailed = 'EvaluatingFailed', - PendingModelConfirmation = 'PendingModelConfirmation', - Active = 'Active', - Deleted = 'Deleted', - HumanIntervention = 'HumanIntervention', - Failed = 'Failed', -} +export type PredictionModelLifeCycle = 'New' | 'Provisioning' | 'ProvisioningFailed' | 'PendingDiscovering' | 'Discovering' | 'PendingFeaturing' | 'Featuring' | 'FeaturingFailed' | 'PendingTraining' | 'Training' | 'TrainingFailed' | 'Evaluating' | 'EvaluatingFailed' | 'PendingModelConfirmation' | 'Active' | 'Deleted' | 'HumanIntervention' | 'Failed'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-customerinsights/lib/models/mappers.ts b/packages/@azure/arm-customerinsights/lib/models/mappers.ts index 4d8604a2e995..75cbbaf2fdd3 100644 --- a/packages/@azure/arm-customerinsights/lib/models/mappers.ts +++ b/packages/@azure/arm-customerinsights/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-customerinsights/lib/models/parameters.ts b/packages/@azure/arm-customerinsights/lib/models/parameters.ts index f0f95c726142..92b144d1f4ec 100644 --- a/packages/@azure/arm-customerinsights/lib/models/parameters.ts +++ b/packages/@azure/arm-customerinsights/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-customerinsights/lib/operations/authorizationPolicies.ts b/packages/@azure/arm-customerinsights/lib/operations/authorizationPolicies.ts index 13472cce361f..59e566b8e598 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/authorizationPolicies.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/authorizationPolicies.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/authorizationPoliciesMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class AuthorizationPolicies { * @param callback The callback */ createOrUpdate(resourceGroupName: string, hubName: string, authorizationPolicyName: string, parameters: Models.AuthorizationPolicyResourceFormat, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, hubName: string, authorizationPolicyName: string, parameters: Models.AuthorizationPolicyResourceFormat, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, hubName: string, authorizationPolicyName: string, parameters: Models.AuthorizationPolicyResourceFormat, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class AuthorizationPolicies { * @param callback The callback */ get(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -123,7 +123,7 @@ export class AuthorizationPolicies { * @param callback The callback */ listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class AuthorizationPolicies { * @param callback The callback */ regeneratePrimaryKey(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regeneratePrimaryKey(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regeneratePrimaryKey(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -194,7 +194,7 @@ export class AuthorizationPolicies { * @param callback The callback */ regenerateSecondaryKey(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateSecondaryKey(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateSecondaryKey(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -224,7 +224,7 @@ export class AuthorizationPolicies { * @param callback The callback */ listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/connectorMappings.ts b/packages/@azure/arm-customerinsights/lib/operations/connectorMappings.ts index 9c680bc9e42a..163fcb794742 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/connectorMappings.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/connectorMappings.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/connectorMappingsMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class ConnectorMappings { * @param callback The callback */ createOrUpdate(resourceGroupName: string, hubName: string, connectorName: string, mappingName: string, parameters: Models.ConnectorMappingResourceFormat, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, hubName: string, connectorName: string, mappingName: string, parameters: Models.ConnectorMappingResourceFormat, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, hubName: string, connectorName: string, mappingName: string, parameters: Models.ConnectorMappingResourceFormat, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -97,7 +97,7 @@ export class ConnectorMappings { * @param callback The callback */ get(resourceGroupName: string, hubName: string, connectorName: string, mappingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hubName: string, connectorName: string, mappingName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hubName: string, connectorName: string, mappingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -137,7 +137,7 @@ export class ConnectorMappings { * @param callback The callback */ deleteMethod(resourceGroupName: string, hubName: string, connectorName: string, mappingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, hubName: string, connectorName: string, mappingName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, hubName: string, connectorName: string, mappingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -174,7 +174,7 @@ export class ConnectorMappings { * @param callback The callback */ listByConnector(resourceGroupName: string, hubName: string, connectorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByConnector(resourceGroupName: string, hubName: string, connectorName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByConnector(resourceGroupName: string, hubName: string, connectorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -204,7 +204,7 @@ export class ConnectorMappings { * @param callback The callback */ listByConnectorNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByConnectorNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByConnectorNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/connectors.ts b/packages/@azure/arm-customerinsights/lib/operations/connectors.ts index 9e8c2bc467f6..b6f31427d302 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/connectors.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/connectors.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/connectorsMappers"; import * as Parameters from "../models/parameters"; @@ -65,7 +65,7 @@ export class Connectors { * @param callback The callback */ get(resourceGroupName: string, hubName: string, connectorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hubName: string, connectorName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hubName: string, connectorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -111,7 +111,7 @@ export class Connectors { * @param callback The callback */ listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -182,7 +182,7 @@ export class Connectors { * @param callback The callback */ listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/hubs.ts b/packages/@azure/arm-customerinsights/lib/operations/hubs.ts index cec6cbca0f21..14dc55617ee6 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/hubs.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/hubs.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/hubsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class Hubs { * @param callback The callback */ createOrUpdate(resourceGroupName: string, hubName: string, parameters: Models.Hub, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, hubName: string, parameters: Models.Hub, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, hubName: string, parameters: Models.Hub, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -87,7 +87,7 @@ export class Hubs { * @param callback The callback */ update(resourceGroupName: string, hubName: string, parameters: Models.Hub, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, hubName: string, parameters: Models.Hub, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, hubName: string, parameters: Models.Hub, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -132,7 +132,7 @@ export class Hubs { * @param callback The callback */ get(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -161,7 +161,7 @@ export class Hubs { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -186,7 +186,7 @@ export class Hubs { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -231,7 +231,7 @@ export class Hubs { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -259,7 +259,7 @@ export class Hubs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/images.ts b/packages/@azure/arm-customerinsights/lib/operations/images.ts index 1f8ed0195d41..a13c44e734dd 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/images.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/images.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/imagesMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Images { * @param callback The callback */ getUploadUrlForEntityType(resourceGroupName: string, hubName: string, parameters: Models.GetImageUploadUrlInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getUploadUrlForEntityType(resourceGroupName: string, hubName: string, parameters: Models.GetImageUploadUrlInput, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getUploadUrlForEntityType(resourceGroupName: string, hubName: string, parameters: Models.GetImageUploadUrlInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class Images { * @param callback The callback */ getUploadUrlForData(resourceGroupName: string, hubName: string, parameters: Models.GetImageUploadUrlInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getUploadUrlForData(resourceGroupName: string, hubName: string, parameters: Models.GetImageUploadUrlInput, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getUploadUrlForData(resourceGroupName: string, hubName: string, parameters: Models.GetImageUploadUrlInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-customerinsights/lib/operations/interactions.ts b/packages/@azure/arm-customerinsights/lib/operations/interactions.ts index 680694ff6d0b..952398e52b39 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/interactions.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/interactions.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/interactionsMappers"; import * as Parameters from "../models/parameters"; @@ -65,7 +65,7 @@ export class Interactions { * @param callback The callback */ get(resourceGroupName: string, hubName: string, interactionName: string, options: Models.InteractionsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hubName: string, interactionName: string, options?: Models.InteractionsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hubName: string, interactionName: string, options?: Models.InteractionsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -98,7 +98,7 @@ export class Interactions { * @param callback The callback */ listByHub(resourceGroupName: string, hubName: string, options: Models.InteractionsListByHubOptionalParams, callback: msRest.ServiceCallback): void; - listByHub(resourceGroupName: string, hubName: string, options?: Models.InteractionsListByHubOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByHub(resourceGroupName: string, hubName: string, options?: Models.InteractionsListByHubOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -133,7 +133,7 @@ export class Interactions { * @param callback The callback */ suggestRelationshipLinks(resourceGroupName: string, hubName: string, interactionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - suggestRelationshipLinks(resourceGroupName: string, hubName: string, interactionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + suggestRelationshipLinks(resourceGroupName: string, hubName: string, interactionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -185,7 +185,7 @@ export class Interactions { * @param callback The callback */ listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/kpi.ts b/packages/@azure/arm-customerinsights/lib/operations/kpi.ts index f8e71fc627b5..93dd5a725e2f 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/kpi.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/kpi.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/kpiMappers"; import * as Parameters from "../models/parameters"; @@ -65,7 +65,7 @@ export class Kpi { * @param callback The callback */ get(resourceGroupName: string, hubName: string, kpiName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hubName: string, kpiName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hubName: string, kpiName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -114,7 +114,7 @@ export class Kpi { * @param callback The callback */ reprocess(resourceGroupName: string, hubName: string, kpiName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - reprocess(resourceGroupName: string, hubName: string, kpiName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + reprocess(resourceGroupName: string, hubName: string, kpiName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -147,7 +147,7 @@ export class Kpi { * @param callback The callback */ listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -218,7 +218,7 @@ export class Kpi { * @param callback The callback */ listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/links.ts b/packages/@azure/arm-customerinsights/lib/operations/links.ts index 6dc0a95dc35f..901f8eff3bd0 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/links.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/links.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/linksMappers"; import * as Parameters from "../models/parameters"; @@ -65,7 +65,7 @@ export class Links { * @param callback The callback */ get(resourceGroupName: string, hubName: string, linkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hubName: string, linkName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hubName: string, linkName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -101,7 +101,7 @@ export class Links { * @param callback The callback */ deleteMethod(resourceGroupName: string, hubName: string, linkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, hubName: string, linkName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, hubName: string, linkName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -134,7 +134,7 @@ export class Links { * @param callback The callback */ listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -185,7 +185,7 @@ export class Links { * @param callback The callback */ listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/operations.ts b/packages/@azure/arm-customerinsights/lib/operations/operations.ts index fd73a3e46cb9..ca78fd0dec52 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/operations.ts +++ b/packages/@azure/arm-customerinsights/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/predictions.ts b/packages/@azure/arm-customerinsights/lib/operations/predictions.ts index 9a3da08e1c2d..1461b781d718 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/predictions.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/predictions.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/predictionsMappers"; import * as Parameters from "../models/parameters"; @@ -65,7 +65,7 @@ export class Predictions { * @param callback The callback */ get(resourceGroupName: string, hubName: string, predictionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hubName: string, predictionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hubName: string, predictionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -114,7 +114,7 @@ export class Predictions { * @param callback The callback */ getTrainingResults(resourceGroupName: string, hubName: string, predictionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getTrainingResults(resourceGroupName: string, hubName: string, predictionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getTrainingResults(resourceGroupName: string, hubName: string, predictionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -150,7 +150,7 @@ export class Predictions { * @param callback The callback */ getModelStatus(resourceGroupName: string, hubName: string, predictionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getModelStatus(resourceGroupName: string, hubName: string, predictionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getModelStatus(resourceGroupName: string, hubName: string, predictionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -189,7 +189,7 @@ export class Predictions { * @param callback The callback */ modelStatus(resourceGroupName: string, hubName: string, predictionName: string, parameters: Models.PredictionModelStatus, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - modelStatus(resourceGroupName: string, hubName: string, predictionName: string, parameters: Models.PredictionModelStatus, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + modelStatus(resourceGroupName: string, hubName: string, predictionName: string, parameters: Models.PredictionModelStatus, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -223,7 +223,7 @@ export class Predictions { * @param callback The callback */ listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -294,7 +294,7 @@ export class Predictions { * @param callback The callback */ listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/profiles.ts b/packages/@azure/arm-customerinsights/lib/operations/profiles.ts index 4c32539e8829..71ca8e27ab66 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/profiles.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/profiles.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/profilesMappers"; import * as Parameters from "../models/parameters"; @@ -65,7 +65,7 @@ export class Profiles { * @param callback The callback */ get(resourceGroupName: string, hubName: string, profileName: string, options: Models.ProfilesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hubName: string, profileName: string, options?: Models.ProfilesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hubName: string, profileName: string, options?: Models.ProfilesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -111,7 +111,7 @@ export class Profiles { * @param callback The callback */ listByHub(resourceGroupName: string, hubName: string, options: Models.ProfilesListByHubOptionalParams, callback: msRest.ServiceCallback): void; - listByHub(resourceGroupName: string, hubName: string, options?: Models.ProfilesListByHubOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByHub(resourceGroupName: string, hubName: string, options?: Models.ProfilesListByHubOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -148,7 +148,7 @@ export class Profiles { * @param callback The callback */ getEnrichingKpis(resourceGroupName: string, hubName: string, profileName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getEnrichingKpis(resourceGroupName: string, hubName: string, profileName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getEnrichingKpis(resourceGroupName: string, hubName: string, profileName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -220,7 +220,7 @@ export class Profiles { * @param callback The callback */ listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/relationshipLinks.ts b/packages/@azure/arm-customerinsights/lib/operations/relationshipLinks.ts index 213245c997b9..e3c57fd48ee8 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/relationshipLinks.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/relationshipLinks.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/relationshipLinksMappers"; import * as Parameters from "../models/parameters"; @@ -65,7 +65,7 @@ export class RelationshipLinks { * @param callback The callback */ get(resourceGroupName: string, hubName: string, relationshipLinkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hubName: string, relationshipLinkName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hubName: string, relationshipLinkName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -111,7 +111,7 @@ export class RelationshipLinks { * @param callback The callback */ listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -182,7 +182,7 @@ export class RelationshipLinks { * @param callback The callback */ listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/relationships.ts b/packages/@azure/arm-customerinsights/lib/operations/relationships.ts index a771feebb532..74d121544f68 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/relationships.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/relationships.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/relationshipsMappers"; import * as Parameters from "../models/parameters"; @@ -65,7 +65,7 @@ export class Relationships { * @param callback The callback */ get(resourceGroupName: string, hubName: string, relationshipName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hubName: string, relationshipName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hubName: string, relationshipName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -111,7 +111,7 @@ export class Relationships { * @param callback The callback */ listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -182,7 +182,7 @@ export class Relationships { * @param callback The callback */ listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/roleAssignments.ts b/packages/@azure/arm-customerinsights/lib/operations/roleAssignments.ts index 80f7bf861c58..9db2c64ec4a6 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/roleAssignments.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/roleAssignments.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/roleAssignmentsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class RoleAssignments { * @param callback The callback */ listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -97,7 +97,7 @@ export class RoleAssignments { * @param callback The callback */ get(resourceGroupName: string, hubName: string, assignmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hubName: string, assignmentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hubName: string, assignmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -133,7 +133,7 @@ export class RoleAssignments { * @param callback The callback */ deleteMethod(resourceGroupName: string, hubName: string, assignmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, hubName: string, assignmentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, hubName: string, assignmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -185,7 +185,7 @@ export class RoleAssignments { * @param callback The callback */ listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/roles.ts b/packages/@azure/arm-customerinsights/lib/operations/roles.ts index 39d004a612ed..8e8b9ad00ba3 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/roles.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/roles.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/rolesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Roles { * @param callback The callback */ listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -76,7 +76,7 @@ export class Roles { * @param callback The callback */ listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/views.ts b/packages/@azure/arm-customerinsights/lib/operations/views.ts index 52d25cc515bc..18899ace4d78 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/views.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/views.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/viewsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Views { * @param callback The callback */ listByHub(resourceGroupName: string, hubName: string, userId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHub(resourceGroupName: string, hubName: string, userId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHub(resourceGroupName: string, hubName: string, userId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -89,7 +89,7 @@ export class Views { * @param callback The callback */ createOrUpdate(resourceGroupName: string, hubName: string, viewName: string, parameters: Models.ViewResourceFormat, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, hubName: string, viewName: string, parameters: Models.ViewResourceFormat, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, hubName: string, viewName: string, parameters: Models.ViewResourceFormat, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -129,7 +129,7 @@ export class Views { * @param callback The callback */ get(resourceGroupName: string, hubName: string, viewName: string, userId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hubName: string, viewName: string, userId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hubName: string, viewName: string, userId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -169,7 +169,7 @@ export class Views { * @param callback The callback */ deleteMethod(resourceGroupName: string, hubName: string, viewName: string, userId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, hubName: string, viewName: string, userId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, hubName: string, viewName: string, userId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -200,7 +200,7 @@ export class Views { * @param callback The callback */ listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/lib/operations/widgetTypes.ts b/packages/@azure/arm-customerinsights/lib/operations/widgetTypes.ts index b1b2e90656e5..3a53aeeb953e 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/widgetTypes.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/widgetTypes.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/widgetTypesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class WidgetTypes { * @param callback The callback */ listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class WidgetTypes { * @param callback The callback */ get(resourceGroupName: string, hubName: string, widgetTypeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hubName: string, widgetTypeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hubName: string, widgetTypeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -112,7 +112,7 @@ export class WidgetTypes { * @param callback The callback */ listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-customerinsights/package.json b/packages/@azure/arm-customerinsights/package.json index 1757ec520866..cedaf11a874b 100644 --- a/packages/@azure/arm-customerinsights/package.json +++ b/packages/@azure/arm-customerinsights/package.json @@ -4,8 +4,8 @@ "description": "CustomerInsightsManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-customerinsights.js.map'\" -o ./dist/arm-customerinsights.min.js ./dist/arm-customerinsights.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-customerinsights/rollup.config.js b/packages/@azure/arm-customerinsights/rollup.config.js index be9134352a1e..902131e1d3cc 100644 --- a/packages/@azure/arm-customerinsights/rollup.config.js +++ b/packages/@azure/arm-customerinsights/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/customerInsightsManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-customerinsights.js", format: "umd", name: "Azure.ArmCustomerinsights", 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-customerinsights/tsconfig.json b/packages/@azure/arm-customerinsights/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-customerinsights/tsconfig.json +++ b/packages/@azure/arm-customerinsights/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-databox/.npmignore b/packages/@azure/arm-databox/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-databox/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-databox/README.md b/packages/@azure/arm-databox/README.md index 0b61f969c717..18092acbb7f8 100644 --- a/packages/@azure/arm-databox/README.md +++ b/packages/@azure/arm-databox/README.md @@ -1,24 +1,34 @@ -# Azure DataBoxManagementClient SDK for JavaScript +## Azure DataBoxManagementClient SDK for JavaScript + This package contains an isomorphic SDK for DataBoxManagementClient. -## 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-databox ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { DataBoxManagementClient, DataBoxManagementModels, DataBoxManagementMappers } from "@azure/arm-databox"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-databox 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-databox/lib/dataBoxManagementClient.ts b/packages/@azure/arm-databox/lib/dataBoxManagementClient.ts index 36abba80a4d5..f602142b81a6 100644 --- a/packages/@azure/arm-databox/lib/dataBoxManagementClient.ts +++ b/packages/@azure/arm-databox/lib/dataBoxManagementClient.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-databox/lib/dataBoxManagementClientContext.ts b/packages/@azure/arm-databox/lib/dataBoxManagementClientContext.ts index 06a3f3875332..41793844b975 100644 --- a/packages/@azure/arm-databox/lib/dataBoxManagementClientContext.ts +++ b/packages/@azure/arm-databox/lib/dataBoxManagementClientContext.ts @@ -9,24 +9,17 @@ */ 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-databox"; -const packageVersion = "0.0.1"; +const packageVersion = "0.1.0"; export class DataBoxManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - - apiVersion: string; - + apiVersion?: string; subscriptionId: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the DataBoxManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -44,6 +37,11 @@ export class DataBoxManagementClientContext extends msRestAzure.AzureServiceClie if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-01-01'; @@ -54,7 +52,6 @@ export class DataBoxManagementClientContext extends msRestAzure.AzureServiceClie this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-databox/lib/models/index.ts b/packages/@azure/arm-databox/lib/models/index.ts index 13d22fcbc1b5..d44b8d2e5332 100644 --- a/packages/@azure/arm-databox/lib/models/index.ts +++ b/packages/@azure/arm-databox/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1813,33 +1813,11 @@ export interface AvailableSkusResult extends Array { /** * Defines values for ShareDestinationFormatType. - * Possible values include: 'UnknownType', 'HCS', 'BlockBlob', 'PageBlob', - * 'AzureFile' + * Possible values include: 'UnknownType', 'HCS', 'BlockBlob', 'PageBlob', 'AzureFile' * @readonly * @enum {string} */ -export enum ShareDestinationFormatType { - /** - * Unknown format. - */ - UnknownType = 'UnknownType', - /** - * Storsimple data format. - */ - HCS = 'HCS', - /** - * Azure storage block blob format. - */ - BlockBlob = 'BlockBlob', - /** - * Azure storage page blob format. - */ - PageBlob = 'PageBlob', - /** - * Azure storage file format. - */ - AzureFile = 'AzureFile', -} +export type ShareDestinationFormatType = 'UnknownType' | 'HCS' | 'BlockBlob' | 'PageBlob' | 'AzureFile'; /** * Defines values for AccessProtocol. @@ -1847,16 +1825,7 @@ export enum ShareDestinationFormatType { * @readonly * @enum {string} */ -export enum AccessProtocol { - /** - * Server Message Block protocol(SMB). - */ - SMB = 'SMB', - /** - * Network File System protocol(NFS). - */ - NFS = 'NFS', -} +export type AccessProtocol = 'SMB' | 'NFS'; /** * Defines values for AddressValidationStatus. @@ -1864,21 +1833,7 @@ export enum AccessProtocol { * @readonly * @enum {string} */ -export enum AddressValidationStatus { - /** - * Address provided is valid. - */ - Valid = 'Valid', - /** - * Address provided is invalid or not supported. - */ - Invalid = 'Invalid', - /** - * Address provided is ambiguous, please choose one of the alternate - * addresses returned. - */ - Ambiguous = 'Ambiguous', -} +export type AddressValidationStatus = 'Valid' | 'Invalid' | 'Ambiguous'; /** * Defines values for AddressType. @@ -1886,20 +1841,7 @@ export enum AddressValidationStatus { * @readonly * @enum {string} */ -export enum AddressType { - /** - * Address type not known. - */ - None = 'None', - /** - * Residential Address. - */ - Residential = 'Residential', - /** - * Commercial Address. - */ - Commercial = 'Commercial', -} +export type AddressType = 'None' | 'Residential' | 'Commercial'; /** * Defines values for SkuName. @@ -1907,20 +1849,7 @@ export enum AddressType { * @readonly * @enum {string} */ -export enum SkuName { - /** - * Databox. - */ - DataBox = 'DataBox', - /** - * DataboxDisk. - */ - DataBoxDisk = 'DataBoxDisk', - /** - * DataboxHeavy. - */ - DataBoxHeavy = 'DataBoxHeavy', -} +export type SkuName = 'DataBox' | 'DataBoxDisk' | 'DataBoxHeavy'; /** * Defines values for SkuDisabledReason. @@ -1928,198 +1857,44 @@ export enum SkuName { * @readonly * @enum {string} */ -export enum SkuDisabledReason { - /** - * SKU is not disabled. - */ - None = 'None', - /** - * SKU is not available in the requested country. - */ - Country = 'Country', - /** - * SKU is not available to push data to the requested storage account region. - */ - Region = 'Region', - /** - * Required features are not enabled for the SKU. - */ - Feature = 'Feature', - /** - * Subscription does not have required offer types for the SKU. - */ - OfferType = 'OfferType', -} +export type SkuDisabledReason = 'None' | 'Country' | 'Region' | 'Feature' | 'OfferType'; /** * Defines values for NotificationStageName. - * Possible values include: 'DevicePrepared', 'Dispatched', 'Delivered', - * 'PickedUp', 'AtAzureDC', 'DataCopy' + * Possible values include: 'DevicePrepared', 'Dispatched', 'Delivered', 'PickedUp', 'AtAzureDC', + * 'DataCopy' * @readonly * @enum {string} */ -export enum NotificationStageName { - /** - * Notification at device prepared stage. - */ - DevicePrepared = 'DevicePrepared', - /** - * Notification at device dispatched stage. - */ - Dispatched = 'Dispatched', - /** - * Notification at device delivered stage. - */ - Delivered = 'Delivered', - /** - * Notification at device picked up from user stage. - */ - PickedUp = 'PickedUp', - /** - * Notification at device received at azure datacenter stage. - */ - AtAzureDC = 'AtAzureDC', - /** - * Notification at data copy started stage. - */ - DataCopy = 'DataCopy', -} +export type NotificationStageName = 'DevicePrepared' | 'Dispatched' | 'Delivered' | 'PickedUp' | 'AtAzureDC' | 'DataCopy'; /** * Defines values for CopyStatus. - * Possible values include: 'NotStarted', 'InProgress', 'Completed', - * 'CompletedWithErrors', 'Failed', 'NotReturned' + * Possible values include: 'NotStarted', 'InProgress', 'Completed', 'CompletedWithErrors', + * 'Failed', 'NotReturned' * @readonly * @enum {string} */ -export enum CopyStatus { - /** - * Data copy hasnt started yet. - */ - NotStarted = 'NotStarted', - /** - * Data copy is in progress. - */ - InProgress = 'InProgress', - /** - * Data copy completed. - */ - Completed = 'Completed', - /** - * Data copy completed with errors. - */ - CompletedWithErrors = 'CompletedWithErrors', - /** - * Data copy failed. No data was copied. - */ - Failed = 'Failed', - /** - * No copy triggered as device was not returned. - */ - NotReturned = 'NotReturned', -} +export type CopyStatus = 'NotStarted' | 'InProgress' | 'Completed' | 'CompletedWithErrors' | 'Failed' | 'NotReturned'; /** * Defines values for StageName. - * Possible values include: 'DeviceOrdered', 'DevicePrepared', 'Dispatched', - * 'Delivered', 'PickedUp', 'AtAzureDC', 'DataCopy', 'Completed', - * 'CompletedWithErrors', 'Cancelled', 'Failed_IssueReportedAtCustomer', - * 'Failed_IssueDetectedAtAzureDC', 'Aborted' + * Possible values include: 'DeviceOrdered', 'DevicePrepared', 'Dispatched', 'Delivered', + * 'PickedUp', 'AtAzureDC', 'DataCopy', 'Completed', 'CompletedWithErrors', 'Cancelled', + * 'Failed_IssueReportedAtCustomer', 'Failed_IssueDetectedAtAzureDC', 'Aborted' * @readonly * @enum {string} */ -export enum StageName { - /** - * An order has been created. - */ - DeviceOrdered = 'DeviceOrdered', - /** - * A device has been prepared for the order. - */ - DevicePrepared = 'DevicePrepared', - /** - * Device has been dispatched to the user of the order. - */ - Dispatched = 'Dispatched', - /** - * Device has been delivered to the user of the order. - */ - Delivered = 'Delivered', - /** - * Device has been picked up from user and in transit to azure datacenter. - */ - PickedUp = 'PickedUp', - /** - * Device has been received at azure datacenter from the user. - */ - AtAzureDC = 'AtAzureDC', - /** - * Data copy from the device at azure datacenter. - */ - DataCopy = 'DataCopy', - /** - * Order has completed. - */ - Completed = 'Completed', - /** - * Order has completed with errors. - */ - CompletedWithErrors = 'CompletedWithErrors', - /** - * Order has been cancelled. - */ - Cancelled = 'Cancelled', - /** - * Order has failed due to issue reported by user. - */ - FailedIssueReportedAtCustomer = 'Failed_IssueReportedAtCustomer', - /** - * Order has failed due to issue detected at azure datacenter. - */ - FailedIssueDetectedAtAzureDC = 'Failed_IssueDetectedAtAzureDC', - /** - * Order has been aborted. - */ - Aborted = 'Aborted', -} +export type StageName = 'DeviceOrdered' | 'DevicePrepared' | 'Dispatched' | 'Delivered' | 'PickedUp' | 'AtAzureDC' | 'DataCopy' | 'Completed' | 'CompletedWithErrors' | 'Cancelled' | 'Failed_IssueReportedAtCustomer' | 'Failed_IssueDetectedAtAzureDC' | 'Aborted'; /** * Defines values for StageStatus. - * Possible values include: 'None', 'InProgress', 'Succeeded', 'Failed', - * 'Cancelled', 'Cancelling', 'SucceededWithErrors' + * Possible values include: 'None', 'InProgress', 'Succeeded', 'Failed', 'Cancelled', 'Cancelling', + * 'SucceededWithErrors' * @readonly * @enum {string} */ -export enum StageStatus { - /** - * No status available yet. - */ - None = 'None', - /** - * Stage is in progress. - */ - InProgress = 'InProgress', - /** - * Stage has succeeded. - */ - Succeeded = 'Succeeded', - /** - * Stage has failed. - */ - Failed = 'Failed', - /** - * Stage has been cancelled. - */ - Cancelled = 'Cancelled', - /** - * Stage is cancelling. - */ - Cancelling = 'Cancelling', - /** - * Stage has succeeded with errors. - */ - SucceededWithErrors = 'SucceededWithErrors', -} +export type StageStatus = 'None' | 'InProgress' | 'Succeeded' | 'Failed' | 'Cancelled' | 'Cancelling' | 'SucceededWithErrors'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-databox/lib/models/mappers.ts b/packages/@azure/arm-databox/lib/models/mappers.ts index 5db8f8377757..2efaac8776aa 100644 --- a/packages/@azure/arm-databox/lib/models/mappers.ts +++ b/packages/@azure/arm-databox/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -913,11 +913,6 @@ export const JobDetails: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "copyLogDetailsType", - clientName: "copyLogDetailsType" - }, - uberParent: "CopyLogDetails", className: "CopyLogDetails" } } @@ -1656,11 +1651,6 @@ export const JobResource: msRest.CompositeMapper = { serializedName: "properties.details", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "jobDetailsType", - clientName: "jobDetailsType" - }, - uberParent: "JobDetails", className: "JobDetails" } }, @@ -1906,11 +1896,6 @@ export const UnencryptedCredentials: msRest.CompositeMapper = { serializedName: "jobSecrets", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "jobSecretsType", - clientName: "jobSecretsType" - }, - uberParent: "JobSecrets", className: "JobSecrets" } } diff --git a/packages/@azure/arm-databox/lib/models/parameters.ts b/packages/@azure/arm-databox/lib/models/parameters.ts index d78607ac498b..fd0c31593682 100644 --- a/packages/@azure/arm-databox/lib/models/parameters.ts +++ b/packages/@azure/arm-databox/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-databox/lib/operations/jobs.ts b/packages/@azure/arm-databox/lib/operations/jobs.ts index df4e72bc7cd1..e54ed30dd8b2 100644 --- a/packages/@azure/arm-databox/lib/operations/jobs.ts +++ b/packages/@azure/arm-databox/lib/operations/jobs.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/jobsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class Jobs { * @param callback The callback */ list(options: Models.JobsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.JobsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.JobsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -69,7 +69,7 @@ export class Jobs { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.JobsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.JobsListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.JobsListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -103,7 +103,7 @@ export class Jobs { * @param callback The callback */ get(resourceGroupName: string, jobName: string, options: Models.JobsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, jobName: string, options?: Models.JobsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, jobName: string, options?: Models.JobsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -183,7 +183,7 @@ export class Jobs { * @param callback The callback */ bookShipmentPickUp(resourceGroupName: string, jobName: string, shipmentPickUpRequest: Models.ShipmentPickUpRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - bookShipmentPickUp(resourceGroupName: string, jobName: string, shipmentPickUpRequest: Models.ShipmentPickUpRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + bookShipmentPickUp(resourceGroupName: string, jobName: string, shipmentPickUpRequest: Models.ShipmentPickUpRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -222,7 +222,7 @@ export class Jobs { * @param callback The callback */ cancel(resourceGroupName: string, jobName: string, reason: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - cancel(resourceGroupName: string, jobName: string, reason: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + cancel(resourceGroupName: string, jobName: string, reason: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -258,7 +258,7 @@ export class Jobs { * @param callback The callback */ listCredentials(resourceGroupName: string, jobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCredentials(resourceGroupName: string, jobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listCredentials(resourceGroupName: string, jobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -349,7 +349,7 @@ export class Jobs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -377,7 +377,7 @@ export class Jobs { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-databox/lib/operations/operations.ts b/packages/@azure/arm-databox/lib/operations/operations.ts index 6593c92737d9..800bafca8a60 100644 --- a/packages/@azure/arm-databox/lib/operations/operations.ts +++ b/packages/@azure/arm-databox/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-databox/lib/operations/service.ts b/packages/@azure/arm-databox/lib/operations/service.ts index 4abb5ffc4080..8395b5e80c48 100644 --- a/packages/@azure/arm-databox/lib/operations/service.ts +++ b/packages/@azure/arm-databox/lib/operations/service.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/serviceMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Service { * @param callback The callback */ listAvailableSkus(location: string, availableSkuRequest: Models.AvailableSkuRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAvailableSkus(location: string, availableSkuRequest: Models.AvailableSkuRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAvailableSkus(location: string, availableSkuRequest: Models.AvailableSkuRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -85,7 +85,7 @@ export class Service { * @param callback The callback */ validateAddressMethod(location: string, shippingAddress: Models.ShippingAddress, deviceType: Models.SkuName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validateAddressMethod(location: string, shippingAddress: Models.ShippingAddress, deviceType: Models.SkuName, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + validateAddressMethod(location: string, shippingAddress: Models.ShippingAddress, deviceType: Models.SkuName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -115,7 +115,7 @@ export class Service { * @param callback The callback */ listAvailableSkusNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAvailableSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAvailableSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-databox/package.json b/packages/@azure/arm-databox/package.json index 54b82bbb1273..e94577846a3a 100644 --- a/packages/@azure/arm-databox/package.json +++ b/packages/@azure/arm-databox/package.json @@ -4,8 +4,8 @@ "description": "DataBoxManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-databox.js.map'\" -o ./dist/arm-databox.min.js ./dist/arm-databox.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-databox/rollup.config.js b/packages/@azure/arm-databox/rollup.config.js index 5856c43e4ef6..a5330f2b0f58 100644 --- a/packages/@azure/arm-databox/rollup.config.js +++ b/packages/@azure/arm-databox/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/dataBoxManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-databox.js", format: "umd", name: "Azure.ArmDatabox", 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-databox/tsconfig.json b/packages/@azure/arm-databox/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-databox/tsconfig.json +++ b/packages/@azure/arm-databox/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-databricks/.npmignore b/packages/@azure/arm-databricks/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-databricks/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-databricks/README.md b/packages/@azure/arm-databricks/README.md index 62f02abe364d..90b38a164045 100644 --- a/packages/@azure/arm-databricks/README.md +++ b/packages/@azure/arm-databricks/README.md @@ -1,24 +1,34 @@ -# Azure DatabricksClient SDK for JavaScript +## Azure DatabricksClient SDK for JavaScript + This package contains an isomorphic SDK for DatabricksClient. -## 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-databricks ``` +### How to use + +#### nodejs - Authentication, client creation and get workspaces as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get workspaces as an example written in TypeScript. +##### Sample code ```ts -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 { DatabricksClient, DatabricksModels, DatabricksMappers } from "@azure/arm-databricks"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get workspaces as an example written in JavaScript. +#### browser - Authentication, client creation and get workspaces as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-databricks 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-databricks/lib/databricksClient.ts b/packages/@azure/arm-databricks/lib/databricksClient.ts index eca26a698ef7..ef1cc667e629 100644 --- a/packages/@azure/arm-databricks/lib/databricksClient.ts +++ b/packages/@azure/arm-databricks/lib/databricksClient.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-databricks/lib/databricksClientContext.ts b/packages/@azure/arm-databricks/lib/databricksClientContext.ts index 159ac29eeddf..be3305b83c0f 100644 --- a/packages/@azure/arm-databricks/lib/databricksClientContext.ts +++ b/packages/@azure/arm-databricks/lib/databricksClientContext.ts @@ -9,23 +9,16 @@ */ 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-databricks"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class DatabricksClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the DatabricksClient class. @@ -44,6 +37,11 @@ export class DatabricksClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-04-01'; @@ -54,7 +52,6 @@ export class DatabricksClientContext extends msRestAzure.AzureServiceClient { this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-databricks/lib/models/index.ts b/packages/@azure/arm-databricks/lib/models/index.ts index 34beaa0750cc..5b622f068da9 100644 --- a/packages/@azure/arm-databricks/lib/models/index.ts +++ b/packages/@azure/arm-databricks/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -303,30 +303,12 @@ export interface OperationListResult extends Array { /** * Defines values for ProvisioningState. - * Possible values include: 'Accepted', 'Running', 'Ready', 'Creating', - * 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', - * 'Updating' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Accepted', 'Running', 'Ready', 'Creating', 'Created', 'Deleting', + * 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating' * @readonly * @enum {string} */ -export enum ProvisioningState { - Accepted = 'Accepted', - Running = 'Running', - Ready = 'Ready', - Creating = 'Creating', - Created = 'Created', - Deleting = 'Deleting', - Deleted = 'Deleted', - Canceled = 'Canceled', - Failed = 'Failed', - Succeeded = 'Succeeded', - Updating = 'Updating', -} +export type ProvisioningState = 'Accepted' | 'Running' | 'Ready' | 'Creating' | 'Created' | 'Deleting' | 'Deleted' | 'Canceled' | 'Failed' | 'Succeeded' | 'Updating'; /** * Contains response data for the get operation. diff --git a/packages/@azure/arm-databricks/lib/models/mappers.ts b/packages/@azure/arm-databricks/lib/models/mappers.ts index 8626019cf0f4..8d5caa24faef 100644 --- a/packages/@azure/arm-databricks/lib/models/mappers.ts +++ b/packages/@azure/arm-databricks/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-databricks/lib/models/parameters.ts b/packages/@azure/arm-databricks/lib/models/parameters.ts index 2fe8dc66163b..0ebe5bdcaaa5 100644 --- a/packages/@azure/arm-databricks/lib/models/parameters.ts +++ b/packages/@azure/arm-databricks/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-databricks/lib/operations/operations.ts b/packages/@azure/arm-databricks/lib/operations/operations.ts index 1625297a0f2c..69151b9b3e14 100644 --- a/packages/@azure/arm-databricks/lib/operations/operations.ts +++ b/packages/@azure/arm-databricks/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-databricks/lib/operations/workspaces.ts b/packages/@azure/arm-databricks/lib/operations/workspaces.ts index dccabd9bbae4..df498c59fb03 100644 --- a/packages/@azure/arm-databricks/lib/operations/workspaces.ts +++ b/packages/@azure/arm-databricks/lib/operations/workspaces.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/workspacesMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Workspaces { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -115,7 +115,7 @@ export class Workspaces { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -140,7 +140,7 @@ export class Workspaces { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -225,7 +225,7 @@ export class Workspaces { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -253,7 +253,7 @@ export class Workspaces { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-databricks/package.json b/packages/@azure/arm-databricks/package.json index da3b8d658da9..3a56b66a8205 100644 --- a/packages/@azure/arm-databricks/package.json +++ b/packages/@azure/arm-databricks/package.json @@ -4,8 +4,8 @@ "description": "DatabricksClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-databricks.js.map'\" -o ./dist/arm-databricks.min.js ./dist/arm-databricks.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-databricks/rollup.config.js b/packages/@azure/arm-databricks/rollup.config.js index e3bd81e94704..10910c284024 100644 --- a/packages/@azure/arm-databricks/rollup.config.js +++ b/packages/@azure/arm-databricks/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/databricksClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-databricks.js", format: "umd", name: "Azure.ArmDatabricks", 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-databricks/tsconfig.json b/packages/@azure/arm-databricks/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-databricks/tsconfig.json +++ b/packages/@azure/arm-databricks/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-datacatalog/.npmignore b/packages/@azure/arm-datacatalog/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-datacatalog/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-datacatalog/README.md b/packages/@azure/arm-datacatalog/README.md index 79bc1792952f..1687a59c445b 100644 --- a/packages/@azure/arm-datacatalog/README.md +++ b/packages/@azure/arm-datacatalog/README.md @@ -1,24 +1,34 @@ -# Azure DataCatalogRestClient SDK for JavaScript +## Azure DataCatalogRestClient SDK for JavaScript + This package contains an isomorphic SDK for DataCatalogRestClient. -## 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-datacatalog ``` +### How to use + +#### nodejs - Authentication, client creation and list aDCOperations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list aDCOperations as an example written in TypeScript. +##### Sample code ```ts -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 { DataCatalogRestClient, DataCatalogRestModels, DataCatalogRestMappers } from "@azure/arm-datacatalog"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list aDCOperations as an example written in JavaScript. +#### browser - Authentication, client creation and list aDCOperations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-datacatalog 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-datacatalog/lib/dataCatalogRestClient.ts b/packages/@azure/arm-datacatalog/lib/dataCatalogRestClient.ts index 9335e834b499..4aa9c94fa9ea 100644 --- a/packages/@azure/arm-datacatalog/lib/dataCatalogRestClient.ts +++ b/packages/@azure/arm-datacatalog/lib/dataCatalogRestClient.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-datacatalog/lib/dataCatalogRestClientContext.ts b/packages/@azure/arm-datacatalog/lib/dataCatalogRestClientContext.ts index 616514e91c02..625a2fd045b7 100644 --- a/packages/@azure/arm-datacatalog/lib/dataCatalogRestClientContext.ts +++ b/packages/@azure/arm-datacatalog/lib/dataCatalogRestClientContext.ts @@ -9,26 +9,18 @@ */ 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-datacatalog"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class DataCatalogRestClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - + apiVersion?: string; catalogName: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the DataCatalogRestClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -51,6 +43,11 @@ export class DataCatalogRestClientContext extends msRestAzure.AzureServiceClient if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2016-03-30'; @@ -62,7 +59,6 @@ export class DataCatalogRestClientContext extends msRestAzure.AzureServiceClient this.subscriptionId = subscriptionId; this.catalogName = catalogName; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-datacatalog/lib/models/index.ts b/packages/@azure/arm-datacatalog/lib/models/index.ts index 7ff6998816bb..2c3606bc5249 100644 --- a/packages/@azure/arm-datacatalog/lib/models/index.ts +++ b/packages/@azure/arm-datacatalog/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -194,17 +194,10 @@ export interface DataCatalogRestClientOptions extends AzureServiceClientOptions /** * Defines values for SkuType. * Possible values include: 'Free', 'Standard' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuType { - Free = 'Free', - Standard = 'Standard', -} +export type SkuType = 'Free' | 'Standard'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-datacatalog/lib/models/mappers.ts b/packages/@azure/arm-datacatalog/lib/models/mappers.ts index 8960757627d6..fd335ff89fc6 100644 --- a/packages/@azure/arm-datacatalog/lib/models/mappers.ts +++ b/packages/@azure/arm-datacatalog/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-datacatalog/lib/models/parameters.ts b/packages/@azure/arm-datacatalog/lib/models/parameters.ts index 34407ec0baf6..9ec29ab6c2c7 100644 --- a/packages/@azure/arm-datacatalog/lib/models/parameters.ts +++ b/packages/@azure/arm-datacatalog/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-datacatalog/lib/operations/aDCCatalogs.ts b/packages/@azure/arm-datacatalog/lib/operations/aDCCatalogs.ts index 79e45215511d..a8e717cffe94 100644 --- a/packages/@azure/arm-datacatalog/lib/operations/aDCCatalogs.ts +++ b/packages/@azure/arm-datacatalog/lib/operations/aDCCatalogs.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/aDCCatalogsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ADCCatalogs { * @param callback The callback */ listtByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listtByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listtByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -87,7 +87,7 @@ export class ADCCatalogs { * @param callback The callback */ createOrUpdate(resourceGroupName: string, properties: Models.ADCCatalog, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, properties: Models.ADCCatalog, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, properties: Models.ADCCatalog, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class ADCCatalogs { * @param callback The callback */ get(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -170,7 +170,7 @@ export class ADCCatalogs { * @param callback The callback */ update(resourceGroupName: string, properties: Models.ADCCatalog, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, properties: Models.ADCCatalog, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, properties: Models.ADCCatalog, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-datacatalog/lib/operations/aDCOperations.ts b/packages/@azure/arm-datacatalog/lib/operations/aDCOperations.ts index 24e701c6a5c2..d75dd298f37a 100644 --- a/packages/@azure/arm-datacatalog/lib/operations/aDCOperations.ts +++ b/packages/@azure/arm-datacatalog/lib/operations/aDCOperations.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/aDCOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class ADCOperations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-datacatalog/package.json b/packages/@azure/arm-datacatalog/package.json index c652c2b82e71..4b186826be2d 100644 --- a/packages/@azure/arm-datacatalog/package.json +++ b/packages/@azure/arm-datacatalog/package.json @@ -4,8 +4,8 @@ "description": "DataCatalogRestClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-datacatalog.js.map'\" -o ./dist/arm-datacatalog.min.js ./dist/arm-datacatalog.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-datacatalog/rollup.config.js b/packages/@azure/arm-datacatalog/rollup.config.js index 4145bb0fb348..ccc17b025801 100644 --- a/packages/@azure/arm-datacatalog/rollup.config.js +++ b/packages/@azure/arm-datacatalog/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/dataCatalogRestClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-datacatalog.js", format: "umd", name: "Azure.ArmDatacatalog", 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-datacatalog/tsconfig.json b/packages/@azure/arm-datacatalog/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-datacatalog/tsconfig.json +++ b/packages/@azure/arm-datacatalog/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-datafactory/README.md b/packages/@azure/arm-datafactory/README.md index 304db4229054..3696b4b92881 100644 --- a/packages/@azure/arm-datafactory/README.md +++ b/packages/@azure/arm-datafactory/README.md @@ -1,24 +1,34 @@ -# Azure DataFactoryManagementClient SDK for JavaScript +## Azure DataFactoryManagementClient SDK for JavaScript + This package contains an isomorphic SDK for DataFactoryManagementClient. -## 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-datafactory ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { DataFactoryManagementClient, DataFactoryManagementModels, DataFactoryManagementMappers } from "@azure/arm-datafactory"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-datafactory 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-datafactory/lib/dataFactoryManagementClient.ts b/packages/@azure/arm-datafactory/lib/dataFactoryManagementClient.ts index 0a741b122788..a5a259413e04 100644 --- a/packages/@azure/arm-datafactory/lib/dataFactoryManagementClient.ts +++ b/packages/@azure/arm-datafactory/lib/dataFactoryManagementClient.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-datafactory/lib/dataFactoryManagementClientContext.ts b/packages/@azure/arm-datafactory/lib/dataFactoryManagementClientContext.ts index d174106a61e1..a09d8c33b533 100644 --- a/packages/@azure/arm-datafactory/lib/dataFactoryManagementClientContext.ts +++ b/packages/@azure/arm-datafactory/lib/dataFactoryManagementClientContext.ts @@ -9,8 +9,8 @@ */ 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-datafactory"; const packageVersion = "0.1.0"; diff --git a/packages/@azure/arm-datafactory/lib/models/index.ts b/packages/@azure/arm-datafactory/lib/models/index.ts index bbb4c18a082d..1448fb14a278 100644 --- a/packages/@azure/arm-datafactory/lib/models/index.ts +++ b/packages/@azure/arm-datafactory/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; diff --git a/packages/@azure/arm-datafactory/lib/models/mappers.ts b/packages/@azure/arm-datafactory/lib/models/mappers.ts index f666369408bf..f1925a862fee 100644 --- a/packages/@azure/arm-datafactory/lib/models/mappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -375,11 +375,6 @@ export const Factory: msRest.CompositeMapper = { serializedName: "properties.repoConfiguration", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "FactoryRepoConfiguration", className: "FactoryRepoConfiguration" } } @@ -437,11 +432,6 @@ export const IntegrationRuntimeResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "IntegrationRuntime", className: "IntegrationRuntime", additionalProperties: { type: { @@ -550,11 +540,6 @@ export const IntegrationRuntimeStatusResponse: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "IntegrationRuntimeStatus", className: "IntegrationRuntimeStatus", additionalProperties: { type: { @@ -787,11 +772,6 @@ export const LinkedServiceResource: msRest.CompositeMapper = { defaultValue: {}, type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "LinkedService", className: "LinkedService", additionalProperties: { type: { @@ -911,11 +891,6 @@ export const DatasetResource: msRest.CompositeMapper = { defaultValue: {}, type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "Dataset", className: "Dataset", additionalProperties: { type: { @@ -1114,11 +1089,6 @@ export const PipelineResource: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "Activity", className: "Activity", additionalProperties: { type: { @@ -1241,11 +1211,6 @@ export const TriggerResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "Trigger", className: "Trigger", additionalProperties: { type: { @@ -1336,11 +1301,6 @@ export const FactoryRepoUpdate: msRest.CompositeMapper = { serializedName: "repoConfiguration", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "FactoryRepoConfiguration", className: "FactoryRepoConfiguration" } } @@ -2136,8 +2096,6 @@ export const RerunTriggerResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", className: "RerunTumblingWindowTrigger", additionalProperties: Trigger.type.additionalProperties } @@ -2653,11 +2611,6 @@ export const TumblingWindowTrigger: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DependencyReference", className: "DependencyReference" } } @@ -3008,11 +2961,6 @@ export const ResponsysLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -3066,11 +3014,6 @@ export const AzureDatabricksLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessToken", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -3168,11 +3111,6 @@ export const AzureDataLakeAnalyticsLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -3305,11 +3243,6 @@ export const HDInsightOnDemandLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -3343,11 +3276,6 @@ export const HDInsightOnDemandLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clusterPassword", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -3361,11 +3289,6 @@ export const HDInsightOnDemandLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clusterSshPassword", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -3509,11 +3432,6 @@ export const SalesforceMarketingCloudLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -3565,8 +3483,6 @@ export const NetezzaLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.pwd", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -3600,8 +3516,6 @@ export const VerticaLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.pwd", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -3636,11 +3550,6 @@ export const ZohoLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessToken", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -3693,11 +3602,6 @@ export const XeroLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.consumerKey", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -3705,11 +3609,6 @@ export const XeroLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.privateKey", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -3769,11 +3668,6 @@ export const SquareLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -3865,11 +3759,6 @@ export const SparkLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -3940,11 +3829,6 @@ export const ShopifyLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessToken", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4010,11 +3894,6 @@ export const ServiceNowLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4028,11 +3907,6 @@ export const ServiceNowLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4100,11 +3974,6 @@ export const QuickBooksLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.consumerSecret", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4113,11 +3982,6 @@ export const QuickBooksLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessToken", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4126,11 +3990,6 @@ export const QuickBooksLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessTokenSecret", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4204,11 +4063,6 @@ export const PrestoLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4304,11 +4158,6 @@ export const PhoenixLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4380,11 +4229,6 @@ export const PaypalLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4444,11 +4288,6 @@ export const MarketoLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4500,8 +4339,6 @@ export const MariaDBLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.pwd", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -4536,11 +4373,6 @@ export const MagentoLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessToken", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4606,11 +4438,6 @@ export const JiraLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4682,11 +4509,6 @@ export const ImpalaLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4751,11 +4573,6 @@ export const HubspotLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4763,11 +4580,6 @@ export const HubspotLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessToken", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4775,11 +4587,6 @@ export const HubspotLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.refreshToken", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4881,11 +4688,6 @@ export const HiveLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -4981,11 +4783,6 @@ export const HBaseLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5043,8 +4840,6 @@ export const GreenplumLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.pwd", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -5098,11 +4893,6 @@ export const GoogleBigQueryLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.refreshToken", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5110,11 +4900,6 @@ export const GoogleBigQueryLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientId", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5122,11 +4907,6 @@ export const GoogleBigQueryLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5192,11 +4972,6 @@ export const EloquaLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5248,8 +5023,6 @@ export const DrillLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.pwd", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -5283,8 +5056,6 @@ export const CouchbaseLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.credString", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -5326,11 +5097,6 @@ export const ConcurLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5382,8 +5148,6 @@ export const AzurePostgreSqlLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -5432,11 +5196,6 @@ export const AmazonMWSLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.mwsAuthToken", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5451,11 +5210,6 @@ export const AmazonMWSLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.secretKey", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5520,11 +5274,6 @@ export const SapHanaLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5579,11 +5328,6 @@ export const SapBWLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5636,11 +5380,6 @@ export const SftpServerLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5660,11 +5399,6 @@ export const SftpServerLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.privateKeyContent", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5672,11 +5406,6 @@ export const SftpServerLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.passPhrase", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5735,11 +5464,6 @@ export const FtpServerLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5798,11 +5522,6 @@ export const HttpLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5855,11 +5574,6 @@ export const AzureSearchLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.key", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5921,11 +5635,6 @@ export const AmazonRedshiftLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -5972,11 +5681,6 @@ export const AmazonS3LinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.secretAccessKey", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6017,11 +5721,6 @@ export const SapEccLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6062,11 +5761,6 @@ export const SapCloudForCustomerLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6106,11 +5800,6 @@ export const SalesforceLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6118,11 +5807,6 @@ export const SalesforceLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.securityToken", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6163,11 +5847,6 @@ export const AzureDataLakeStoreLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6245,11 +5924,6 @@ export const MongoDbLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6326,11 +6000,6 @@ export const CassandraLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6388,11 +6057,6 @@ export const WebClientCertificateAuthentication: msRest.CompositeMapper = { serializedName: "pfx", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6401,11 +6065,6 @@ export const WebClientCertificateAuthentication: msRest.CompositeMapper = { serializedName: "password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } } @@ -6434,11 +6093,6 @@ export const WebBasicAuthentication: msRest.CompositeMapper = { serializedName: "password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } } @@ -6473,11 +6127,6 @@ export const WebLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "authenticationType", - clientName: "authenticationType" - }, - uberParent: "WebLinkedServiceTypeProperties", className: "WebLinkedServiceTypeProperties" } } @@ -6518,11 +6167,6 @@ export const ODataLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6575,11 +6219,6 @@ export const HdfsLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } } @@ -6614,11 +6253,6 @@ export const OdbcLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.credential", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6632,11 +6266,6 @@ export const OdbcLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6672,11 +6301,6 @@ export const AzureMLLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.apiKey", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6696,11 +6320,6 @@ export const AzureMLLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6753,11 +6372,6 @@ export const TeradataLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6811,11 +6425,6 @@ export const Db2LinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6875,11 +6484,6 @@ export const SybaseLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6908,11 +6512,6 @@ export const PostgreSqlLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.connectionString", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6920,8 +6519,6 @@ export const PostgreSqlLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -6950,11 +6547,6 @@ export const MySqlLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.connectionString", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -6962,8 +6554,6 @@ export const MySqlLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -6998,8 +6588,6 @@ export const AzureMySqlLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7034,8 +6622,6 @@ export const OracleLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7076,11 +6662,6 @@ export const FileServerLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -7121,11 +6702,6 @@ export const HDInsightLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -7212,11 +6788,6 @@ export const DynamicsLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -7251,8 +6822,6 @@ export const CosmosDbLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accountKey", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7308,11 +6877,6 @@ export const AzureBatchLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessKey", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -7370,8 +6934,6 @@ export const AzureSqlDatabaseLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7385,11 +6947,6 @@ export const AzureSqlDatabaseLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -7436,11 +6993,6 @@ export const SqlServerLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -7475,8 +7027,6 @@ export const AzureSqlDWLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7490,11 +7040,6 @@ export const AzureSqlDWLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -7534,8 +7079,6 @@ export const AzureTableStorageLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accountKey", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7549,8 +7092,6 @@ export const AzureTableStorageLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.sasToken", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7584,8 +7125,6 @@ export const AzureBlobStorageLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accountKey", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7599,8 +7138,6 @@ export const AzureBlobStorageLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.sasToken", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7620,11 +7157,6 @@ export const AzureBlobStorageLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", className: "SecretBase" } }, @@ -7664,8 +7196,6 @@ export const AzureStorageLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accountKey", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7679,8 +7209,6 @@ export const AzureStorageLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.sasToken", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -8446,11 +7974,6 @@ export const HttpDataset: msRest.CompositeMapper = { serializedName: "typeProperties.format", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DatasetStorageFormat", className: "DatasetStorageFormat", additionalProperties: { type: { @@ -8463,11 +7986,6 @@ export const HttpDataset: msRest.CompositeMapper = { serializedName: "typeProperties.compression", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DatasetCompression", className: "DatasetCompression", additionalProperties: { type: { @@ -8739,11 +8257,6 @@ export const FileShareDataset: msRest.CompositeMapper = { serializedName: "typeProperties.format", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DatasetStorageFormat", className: "DatasetStorageFormat", additionalProperties: { type: { @@ -8762,11 +8275,6 @@ export const FileShareDataset: msRest.CompositeMapper = { serializedName: "typeProperties.compression", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DatasetCompression", className: "DatasetCompression", additionalProperties: { type: { @@ -8806,11 +8314,6 @@ export const AzureDataLakeStoreDataset: msRest.CompositeMapper = { serializedName: "typeProperties.format", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DatasetStorageFormat", className: "DatasetStorageFormat", additionalProperties: { type: { @@ -8823,11 +8326,6 @@ export const AzureDataLakeStoreDataset: msRest.CompositeMapper = { serializedName: "typeProperties.compression", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DatasetCompression", className: "DatasetCompression", additionalProperties: { type: { @@ -9023,11 +8521,6 @@ export const AzureBlobDataset: msRest.CompositeMapper = { serializedName: "typeProperties.format", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DatasetStorageFormat", className: "DatasetStorageFormat", additionalProperties: { type: { @@ -9040,11 +8533,6 @@ export const AzureBlobDataset: msRest.CompositeMapper = { serializedName: "typeProperties.compression", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DatasetCompression", className: "DatasetCompression", additionalProperties: { type: { @@ -9096,11 +8584,6 @@ export const AmazonS3Dataset: msRest.CompositeMapper = { serializedName: "typeProperties.format", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DatasetStorageFormat", className: "DatasetStorageFormat", additionalProperties: { type: { @@ -9113,11 +8596,6 @@ export const AmazonS3Dataset: msRest.CompositeMapper = { serializedName: "typeProperties.compression", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DatasetCompression", className: "DatasetCompression", additionalProperties: { type: { @@ -9585,8 +9063,6 @@ export const WebActivityAuthentication: msRest.CompositeMapper = { serializedName: "pfx", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "SecureString" } }, @@ -9600,8 +9076,6 @@ export const WebActivityAuthentication: msRest.CompositeMapper = { serializedName: "password", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "SecureString" } }, @@ -10898,11 +10372,6 @@ export const LookupActivity: msRest.CompositeMapper = { serializedName: "typeProperties.source", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "CopySource", className: "CopySource", additionalProperties: { type: { @@ -12262,11 +11731,6 @@ export const CopyActivity: msRest.CompositeMapper = { serializedName: "typeProperties.source", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "CopySource", className: "CopySource", additionalProperties: { type: { @@ -12280,11 +11744,6 @@ export const CopyActivity: msRest.CompositeMapper = { serializedName: "typeProperties.sink", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "CopySink", className: "CopySink", additionalProperties: { type: { @@ -12297,11 +11756,6 @@ export const CopyActivity: msRest.CompositeMapper = { serializedName: "typeProperties.translator", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "CopyTranslator", className: "CopyTranslator", additionalProperties: { type: { @@ -12517,11 +11971,6 @@ export const UntilActivity: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "Activity", className: "Activity", additionalProperties: { type: { @@ -12599,11 +12048,6 @@ export const ForEachActivity: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "Activity", className: "Activity", additionalProperties: { type: { @@ -12644,11 +12088,6 @@ export const IfConditionActivity: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "Activity", className: "Activity", additionalProperties: { type: { @@ -12666,11 +12105,6 @@ export const IfConditionActivity: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "Activity", className: "Activity", additionalProperties: { type: { @@ -13350,8 +12784,6 @@ export const LinkedIntegrationRuntimeKeyAuthorization: msRest.CompositeMapper = serializedName: "key", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "SecureString" } } @@ -13372,11 +12804,6 @@ export const SelfHostedIntegrationRuntime: msRest.CompositeMapper = { serializedName: "typeProperties.linkedInfo", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "authorizationType", - clientName: "authorizationType" - }, - uberParent: "LinkedIntegrationRuntimeType", className: "LinkedIntegrationRuntimeType" } } @@ -13401,8 +12828,6 @@ export const IntegrationRuntimeCustomSetupScriptProperties: msRest.CompositeMapp serializedName: "sasToken", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "SecureString" } } @@ -13436,8 +12861,6 @@ export const IntegrationRuntimeSsisCatalogInfo: msRest.CompositeMapper = { serializedName: "catalogAdminPassword", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", className: "SecureString" } }, diff --git a/packages/@azure/arm-datafactory/lib/models/parameters.ts b/packages/@azure/arm-datafactory/lib/models/parameters.ts index b0823763aba8..62bbebe50a2a 100644 --- a/packages/@azure/arm-datafactory/lib/models/parameters.ts +++ b/packages/@azure/arm-datafactory/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-datafactory/lib/operations/activityRuns.ts b/packages/@azure/arm-datafactory/lib/operations/activityRuns.ts index 4661351c849e..8fa8f663ebc9 100644 --- a/packages/@azure/arm-datafactory/lib/operations/activityRuns.ts +++ b/packages/@azure/arm-datafactory/lib/operations/activityRuns.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/activityRunsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/datasets.ts b/packages/@azure/arm-datafactory/lib/operations/datasets.ts index 464c91543510..c1a78dc8ccbd 100644 --- a/packages/@azure/arm-datafactory/lib/operations/datasets.ts +++ b/packages/@azure/arm-datafactory/lib/operations/datasets.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/datasetsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/factories.ts b/packages/@azure/arm-datafactory/lib/operations/factories.ts index 59b97d7814df..ad06bf87325a 100644 --- a/packages/@azure/arm-datafactory/lib/operations/factories.ts +++ b/packages/@azure/arm-datafactory/lib/operations/factories.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/factoriesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/integrationRuntimeNodes.ts b/packages/@azure/arm-datafactory/lib/operations/integrationRuntimeNodes.ts index c69b1b4e5c58..236a5dcbd59f 100644 --- a/packages/@azure/arm-datafactory/lib/operations/integrationRuntimeNodes.ts +++ b/packages/@azure/arm-datafactory/lib/operations/integrationRuntimeNodes.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/integrationRuntimeNodesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/integrationRuntimes.ts b/packages/@azure/arm-datafactory/lib/operations/integrationRuntimes.ts index 5c5eb16b0e5e..59acad8987c1 100644 --- a/packages/@azure/arm-datafactory/lib/operations/integrationRuntimes.ts +++ b/packages/@azure/arm-datafactory/lib/operations/integrationRuntimes.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/integrationRuntimesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/linkedServices.ts b/packages/@azure/arm-datafactory/lib/operations/linkedServices.ts index 041da7b2e5a8..6d117656636d 100644 --- a/packages/@azure/arm-datafactory/lib/operations/linkedServices.ts +++ b/packages/@azure/arm-datafactory/lib/operations/linkedServices.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/linkedServicesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/operations.ts b/packages/@azure/arm-datafactory/lib/operations/operations.ts index 48b7524448e7..3d2c2fe9ddce 100644 --- a/packages/@azure/arm-datafactory/lib/operations/operations.ts +++ b/packages/@azure/arm-datafactory/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-datafactory/lib/operations/pipelineRuns.ts b/packages/@azure/arm-datafactory/lib/operations/pipelineRuns.ts index 7cbee8cb5f2f..553d61bcfbab 100644 --- a/packages/@azure/arm-datafactory/lib/operations/pipelineRuns.ts +++ b/packages/@azure/arm-datafactory/lib/operations/pipelineRuns.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/pipelineRunsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/pipelines.ts b/packages/@azure/arm-datafactory/lib/operations/pipelines.ts index f51e7f7aafb9..aa709aa8ca59 100644 --- a/packages/@azure/arm-datafactory/lib/operations/pipelines.ts +++ b/packages/@azure/arm-datafactory/lib/operations/pipelines.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/pipelinesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/rerunTriggers.ts b/packages/@azure/arm-datafactory/lib/operations/rerunTriggers.ts index 4efd6c3a3d9c..22693ccbabba 100644 --- a/packages/@azure/arm-datafactory/lib/operations/rerunTriggers.ts +++ b/packages/@azure/arm-datafactory/lib/operations/rerunTriggers.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/rerunTriggersMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/triggerRuns.ts b/packages/@azure/arm-datafactory/lib/operations/triggerRuns.ts index 72b6c29e9c42..400d35e96cb4 100644 --- a/packages/@azure/arm-datafactory/lib/operations/triggerRuns.ts +++ b/packages/@azure/arm-datafactory/lib/operations/triggerRuns.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/triggerRunsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/triggers.ts b/packages/@azure/arm-datafactory/lib/operations/triggers.ts index eb88dd2444ab..0e3699ac9da3 100644 --- a/packages/@azure/arm-datafactory/lib/operations/triggers.ts +++ b/packages/@azure/arm-datafactory/lib/operations/triggers.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/triggersMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/package.json b/packages/@azure/arm-datafactory/package.json index 420d1073c741..6e00a9f80b93 100644 --- a/packages/@azure/arm-datafactory/package.json +++ b/packages/@azure/arm-datafactory/package.json @@ -4,8 +4,8 @@ "description": "DataFactoryManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.461", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ diff --git a/packages/@azure/arm-datafactory/rollup.config.js b/packages/@azure/arm-datafactory/rollup.config.js index aed11bd56760..dc8bc798c773 100644 --- a/packages/@azure/arm-datafactory/rollup.config.js +++ b/packages/@azure/arm-datafactory/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/dataFactoryManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-datafactory.js", format: "umd", name: "Azure.ArmDatafactory", 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-datafactory/tsconfig.esm.json b/packages/@azure/arm-datafactory/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-datafactory/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-datafactory/tsconfig.json b/packages/@azure/arm-datafactory/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-datafactory/tsconfig.json +++ b/packages/@azure/arm-datafactory/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-datafactory/webpack.config.js b/packages/@azure/arm-datafactory/webpack.config.js deleted file mode 100644 index c84a2af3c544..000000000000 --- a/packages/@azure/arm-datafactory/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/dataFactoryManagementClient.js', - devtool: 'source-map', - output: { - filename: 'dataFactoryManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'dataFactoryManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-datamigration/.npmignore b/packages/@azure/arm-datamigration/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-datamigration/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-datamigration/README.md b/packages/@azure/arm-datamigration/README.md index 188e1b9f360e..a44bee56889d 100644 --- a/packages/@azure/arm-datamigration/README.md +++ b/packages/@azure/arm-datamigration/README.md @@ -1,24 +1,34 @@ -# Azure DataMigrationServiceClient SDK for JavaScript +## Azure DataMigrationServiceClient SDK for JavaScript + This package contains an isomorphic SDK for DataMigrationServiceClient. -## 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-datamigration ``` +### How to use + +#### nodejs - Authentication, client creation and listSkus resourceSkus as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and listSkus resourceSkus as an example written in TypeScript. +##### Sample code ```ts -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 { DataMigrationServiceClient, DataMigrationServiceModels, DataMigrationServiceMappers } from "@azure/arm-datamigration"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and listSkus resourceSkus as an example written in JavaScript. +#### browser - Authentication, client creation and listSkus resourceSkus as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-datamigration 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-datamigration/lib/dataMigrationServiceClient.ts b/packages/@azure/arm-datamigration/lib/dataMigrationServiceClient.ts index 23e16af742db..e167ba9207fa 100644 --- a/packages/@azure/arm-datamigration/lib/dataMigrationServiceClient.ts +++ b/packages/@azure/arm-datamigration/lib/dataMigrationServiceClient.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-datamigration/lib/dataMigrationServiceClientContext.ts b/packages/@azure/arm-datamigration/lib/dataMigrationServiceClientContext.ts index 29bdcb443e9e..d846980a5add 100644 --- a/packages/@azure/arm-datamigration/lib/dataMigrationServiceClientContext.ts +++ b/packages/@azure/arm-datamigration/lib/dataMigrationServiceClientContext.ts @@ -9,8 +9,8 @@ */ 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-datamigration"; const packageVersion = "0.1.0"; diff --git a/packages/@azure/arm-datamigration/lib/models/index.ts b/packages/@azure/arm-datamigration/lib/models/index.ts index 978c6652c980..a444ab2695b5 100644 --- a/packages/@azure/arm-datamigration/lib/models/index.ts +++ b/packages/@azure/arm-datamigration/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; diff --git a/packages/@azure/arm-datamigration/lib/models/mappers.ts b/packages/@azure/arm-datamigration/lib/models/mappers.ts index 4e0f01e7cc4d..efef2403a2e8 100644 --- a/packages/@azure/arm-datamigration/lib/models/mappers.ts +++ b/packages/@azure/arm-datamigration/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -605,8 +605,6 @@ export const GetTdeCertificatesSqlTaskInput: msRest.CompositeMapper = { serializedName: "connectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } }, @@ -674,11 +672,6 @@ export const ProjectTaskProperties: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "commandType", - clientName: "commandType" - }, - uberParent: "CommandProperties", className: "CommandProperties" } } @@ -1105,8 +1098,6 @@ export const MongoDbMigrationSettings: msRest.CompositeMapper = { serializedName: "source", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "MongoDbConnectionInfo" } }, @@ -1115,8 +1106,6 @@ export const MongoDbMigrationSettings: msRest.CompositeMapper = { serializedName: "target", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "MongoDbConnectionInfo" } }, @@ -1401,8 +1390,6 @@ export const ValidateMigrationInputSqlServerSqlMITaskInput: msRest.CompositeMapp serializedName: "sourceConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } }, @@ -1411,8 +1398,6 @@ export const ValidateMigrationInputSqlServerSqlMITaskInput: msRest.CompositeMapp serializedName: "targetConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } }, @@ -1624,8 +1609,6 @@ export const ValidateSyncMigrationInputSqlServerTaskInput: msRest.CompositeMappe serializedName: "sourceConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } }, @@ -1634,8 +1617,6 @@ export const ValidateSyncMigrationInputSqlServerTaskInput: msRest.CompositeMappe serializedName: "targetConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } }, @@ -2124,8 +2105,6 @@ export const MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput: msRest.Composit serializedName: "targetConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "PostgreSqlConnectionInfo" } }, @@ -2134,8 +2113,6 @@ export const MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput: msRest.Composit serializedName: "sourceConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "PostgreSqlConnectionInfo" } } @@ -2167,11 +2144,6 @@ export const MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties: msRest.Com element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "resultType", - clientName: "resultType" - }, - uberParent: "MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput", className: "MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput" } } @@ -2572,8 +2544,6 @@ export const MigrateMySqlAzureDbForMySqlSyncTaskInput: msRest.CompositeMapper = serializedName: "sourceConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "MySqlConnectionInfo" } }, @@ -2582,8 +2552,6 @@ export const MigrateMySqlAzureDbForMySqlSyncTaskInput: msRest.CompositeMapper = serializedName: "targetConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "MySqlConnectionInfo" } }, @@ -2628,11 +2596,6 @@ export const MigrateMySqlAzureDbForMySqlSyncTaskProperties: msRest.CompositeMapp element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "resultType", - clientName: "resultType" - }, - uberParent: "MigrateMySqlAzureDbForMySqlSyncTaskOutput", className: "MigrateMySqlAzureDbForMySqlSyncTaskOutput" } } @@ -3018,8 +2981,6 @@ export const SqlMigrationTaskInput: msRest.CompositeMapper = { serializedName: "sourceConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } }, @@ -3028,8 +2989,6 @@ export const SqlMigrationTaskInput: msRest.CompositeMapper = { serializedName: "targetConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } } @@ -3120,11 +3079,6 @@ export const MigrateSqlServerSqlDbSyncTaskProperties: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "resultType", - clientName: "resultType" - }, - uberParent: "MigrateSqlServerSqlDbSyncTaskOutput", className: "MigrateSqlServerSqlDbSyncTaskOutput" } } @@ -4180,11 +4134,6 @@ export const MigrateSqlServerSqlDbTaskProperties: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "resultType", - clientName: "resultType" - }, - uberParent: "MigrateSqlServerSqlDbTaskOutput", className: "MigrateSqlServerSqlDbTaskOutput" } } @@ -4733,11 +4682,6 @@ export const MigrateSqlServerSqlMITaskProperties: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "resultType", - clientName: "resultType" - }, - uberParent: "MigrateSqlServerSqlMITaskOutput", className: "MigrateSqlServerSqlMITaskOutput" } } @@ -4847,8 +4791,6 @@ export const ConnectToTargetAzureDbForMySqlTaskInput: msRest.CompositeMapper = { serializedName: "sourceConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "MySqlConnectionInfo" } }, @@ -4857,8 +4799,6 @@ export const ConnectToTargetAzureDbForMySqlTaskInput: msRest.CompositeMapper = { serializedName: "targetConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "MySqlConnectionInfo" } } @@ -4978,8 +4918,6 @@ export const ConnectToTargetSqlMITaskInput: msRest.CompositeMapper = { serializedName: "targetConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } } @@ -5131,8 +5069,6 @@ export const GetUserTablesSqlSyncTaskInput: msRest.CompositeMapper = { serializedName: "sourceConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } }, @@ -5141,8 +5077,6 @@ export const GetUserTablesSqlSyncTaskInput: msRest.CompositeMapper = { serializedName: "targetConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } }, @@ -5266,8 +5200,6 @@ export const GetUserTablesSqlTaskInput: msRest.CompositeMapper = { serializedName: "connectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } }, @@ -5374,8 +5306,6 @@ export const ConnectToTargetSqlSqlDbSyncTaskInput: msRest.CompositeMapper = { serializedName: "sourceConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } }, @@ -5384,8 +5314,6 @@ export const ConnectToTargetSqlSqlDbSyncTaskInput: msRest.CompositeMapper = { serializedName: "targetConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } } @@ -5437,8 +5365,6 @@ export const ConnectToTargetSqlDbTaskInput: msRest.CompositeMapper = { serializedName: "targetConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } } @@ -5860,8 +5786,6 @@ export const ConnectToSourceSqlServerTaskInput: msRest.CompositeMapper = { serializedName: "sourceConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } }, @@ -5920,11 +5844,6 @@ export const ConnectToSourceSqlServerSyncTaskProperties: msRest.CompositeMapper element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "resultType", - clientName: "resultType" - }, - uberParent: "ConnectToSourceSqlServerTaskOutput", className: "ConnectToSourceSqlServerTaskOutput" } } @@ -5958,11 +5877,6 @@ export const ConnectToSourceSqlServerTaskProperties: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "resultType", - clientName: "resultType" - }, - uberParent: "ConnectToSourceSqlServerTaskOutput", className: "ConnectToSourceSqlServerTaskOutput" } } @@ -6194,8 +6108,6 @@ export const ConnectToMongoDbTaskProperties: msRest.CompositeMapper = { serializedName: "input", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "MongoDbConnectionInfo" } }, @@ -6233,11 +6145,6 @@ export const ProjectTask: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "taskType", - clientName: "taskType" - }, - uberParent: "ProjectTaskProperties", className: "ProjectTaskProperties" } } @@ -6406,11 +6313,6 @@ export const Project: msRest.CompositeMapper = { serializedName: "properties.sourceConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "ConnectionInfo", className: "ConnectionInfo" } }, @@ -6418,11 +6320,6 @@ export const Project: msRest.CompositeMapper = { serializedName: "properties.targetConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "ConnectionInfo", className: "ConnectionInfo" } }, @@ -7041,8 +6938,6 @@ export const ConnectToSourceMySqlTaskInput: msRest.CompositeMapper = { serializedName: "sourceConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "MySqlConnectionInfo" } }, @@ -7332,11 +7227,6 @@ export const MigrateSchemaSqlServerSqlDbTaskProperties: msRest.CompositeMapper = element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "resultType", - clientName: "resultType" - }, - uberParent: "MigrateSchemaSqlServerSqlDbTaskOutput", className: "MigrateSchemaSqlServerSqlDbTaskOutput" } } @@ -7929,8 +7819,6 @@ export const NonSqlMigrationTaskInput: msRest.CompositeMapper = { serializedName: "targetConnectionInfo", type: { name: "Composite", - polymorphicDiscriminator: ConnectionInfo.type.polymorphicDiscriminator, - uberParent: "ConnectionInfo", className: "SqlConnectionInfo" } }, diff --git a/packages/@azure/arm-datamigration/lib/models/parameters.ts b/packages/@azure/arm-datamigration/lib/models/parameters.ts index 7aeaceeadc6d..1e3467fb21b5 100644 --- a/packages/@azure/arm-datamigration/lib/models/parameters.ts +++ b/packages/@azure/arm-datamigration/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-datamigration/lib/operations/files.ts b/packages/@azure/arm-datamigration/lib/operations/files.ts index f05767ce3cf2..14df112b639c 100644 --- a/packages/@azure/arm-datamigration/lib/operations/files.ts +++ b/packages/@azure/arm-datamigration/lib/operations/files.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/filesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datamigration/lib/operations/operations.ts b/packages/@azure/arm-datamigration/lib/operations/operations.ts index e22bb1ea9155..66ba9b562856 100644 --- a/packages/@azure/arm-datamigration/lib/operations/operations.ts +++ b/packages/@azure/arm-datamigration/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-datamigration/lib/operations/projects.ts b/packages/@azure/arm-datamigration/lib/operations/projects.ts index caae446b34a6..e4ea787a0759 100644 --- a/packages/@azure/arm-datamigration/lib/operations/projects.ts +++ b/packages/@azure/arm-datamigration/lib/operations/projects.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/projectsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datamigration/lib/operations/resourceSkus.ts b/packages/@azure/arm-datamigration/lib/operations/resourceSkus.ts index c8b3a6952ff9..55ef48a49e45 100644 --- a/packages/@azure/arm-datamigration/lib/operations/resourceSkus.ts +++ b/packages/@azure/arm-datamigration/lib/operations/resourceSkus.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/resourceSkusMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datamigration/lib/operations/services.ts b/packages/@azure/arm-datamigration/lib/operations/services.ts index 1a7c813a75ec..2259b48ecb34 100644 --- a/packages/@azure/arm-datamigration/lib/operations/services.ts +++ b/packages/@azure/arm-datamigration/lib/operations/services.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/servicesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datamigration/lib/operations/tasks.ts b/packages/@azure/arm-datamigration/lib/operations/tasks.ts index 02e8d3d519d6..5eac18dd5ebe 100644 --- a/packages/@azure/arm-datamigration/lib/operations/tasks.ts +++ b/packages/@azure/arm-datamigration/lib/operations/tasks.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/tasksMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datamigration/lib/operations/usages.ts b/packages/@azure/arm-datamigration/lib/operations/usages.ts index 34e58611e057..d84ce8f2c577 100644 --- a/packages/@azure/arm-datamigration/lib/operations/usages.ts +++ b/packages/@azure/arm-datamigration/lib/operations/usages.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/usagesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datamigration/package.json b/packages/@azure/arm-datamigration/package.json index 2af74a3ceb0a..ff8fd5ea9af8 100644 --- a/packages/@azure/arm-datamigration/package.json +++ b/packages/@azure/arm-datamigration/package.json @@ -4,8 +4,8 @@ "description": "DataMigrationServiceClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.461", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ diff --git a/packages/@azure/arm-datamigration/rollup.config.js b/packages/@azure/arm-datamigration/rollup.config.js index 19b928fe7c40..176b6470f2ea 100644 --- a/packages/@azure/arm-datamigration/rollup.config.js +++ b/packages/@azure/arm-datamigration/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/dataMigrationServiceClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-datamigration.js", format: "umd", name: "Azure.ArmDatamigration", 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-datamigration/tsconfig.json b/packages/@azure/arm-datamigration/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-datamigration/tsconfig.json +++ b/packages/@azure/arm-datamigration/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-deploymentmanager/.npmignore b/packages/@azure/arm-deploymentmanager/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-deploymentmanager/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-deploymentmanager/README.md b/packages/@azure/arm-deploymentmanager/README.md index d0fc0d5c28db..ab3f4fd49c19 100644 --- a/packages/@azure/arm-deploymentmanager/README.md +++ b/packages/@azure/arm-deploymentmanager/README.md @@ -1,24 +1,34 @@ -# Azure AzureDeploymentManager SDK for JavaScript +## Azure AzureDeploymentManager SDK for JavaScript + This package contains an isomorphic SDK for AzureDeploymentManager. -## 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-deploymentmanager ``` +### How to use + +#### nodejs - Authentication, client creation and get serviceTopologies as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get serviceTopologies as an example written in TypeScript. +##### Sample code ```ts -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 { AzureDeploymentManager, AzureDeploymentManagerModels, AzureDeploymentManagerMappers } from "@azure/arm-deploymentmanager"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get serviceTopologies as an example written in JavaScript. +#### browser - Authentication, client creation and get serviceTopologies as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-deploymentmanager 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-deploymentmanager/lib/azureDeploymentManager.ts b/packages/@azure/arm-deploymentmanager/lib/azureDeploymentManager.ts index 54e63d173e52..f948ddd290cd 100644 --- a/packages/@azure/arm-deploymentmanager/lib/azureDeploymentManager.ts +++ b/packages/@azure/arm-deploymentmanager/lib/azureDeploymentManager.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-deploymentmanager/lib/azureDeploymentManagerContext.ts b/packages/@azure/arm-deploymentmanager/lib/azureDeploymentManagerContext.ts index 8603ab6a3c90..fd7b70425219 100644 --- a/packages/@azure/arm-deploymentmanager/lib/azureDeploymentManagerContext.ts +++ b/packages/@azure/arm-deploymentmanager/lib/azureDeploymentManagerContext.ts @@ -9,23 +9,16 @@ */ 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-deploymentmanager"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class AzureDeploymentManagerContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the AzureDeploymentManager class. @@ -45,6 +38,11 @@ export class AzureDeploymentManagerContext extends msRestAzure.AzureServiceClien if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-09-01-preview'; @@ -55,7 +53,6 @@ export class AzureDeploymentManagerContext extends msRestAzure.AzureServiceClien this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-deploymentmanager/lib/models/index.ts b/packages/@azure/arm-deploymentmanager/lib/models/index.ts index 0cbb747516a6..329d4d1ab976 100644 --- a/packages/@azure/arm-deploymentmanager/lib/models/index.ts +++ b/packages/@azure/arm-deploymentmanager/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1053,10 +1053,7 @@ export interface RolloutsCreateOrUpdateHeaders { * @readonly * @enum {string} */ -export enum DeploymentMode { - Incremental = 'Incremental', - Complete = 'Complete', -} +export type DeploymentMode = 'Incremental' | 'Complete'; /** * Contains response data for the createOrUpdate operation. diff --git a/packages/@azure/arm-deploymentmanager/lib/models/mappers.ts b/packages/@azure/arm-deploymentmanager/lib/models/mappers.ts index 2767dd0889e7..2bcd85f0b693 100644 --- a/packages/@azure/arm-deploymentmanager/lib/models/mappers.ts +++ b/packages/@azure/arm-deploymentmanager/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -256,11 +256,6 @@ export const ArtifactSource: msRest.CompositeMapper = { serializedName: "properties.authentication", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "Authentication", className: "Authentication" } } @@ -314,11 +309,6 @@ export const ArtifactSourcePropertiesModel: msRest.CompositeMapper = { serializedName: "authentication", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "Authentication", className: "Authentication" } } @@ -1103,11 +1093,6 @@ export const StepResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "stepType", - clientName: "stepType" - }, - uberParent: "StepProperties", className: "StepProperties" } } diff --git a/packages/@azure/arm-deploymentmanager/lib/models/parameters.ts b/packages/@azure/arm-deploymentmanager/lib/models/parameters.ts index cbb21ac85b87..54f7af08e5b8 100644 --- a/packages/@azure/arm-deploymentmanager/lib/models/parameters.ts +++ b/packages/@azure/arm-deploymentmanager/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-deploymentmanager/lib/operations/artifactSources.ts b/packages/@azure/arm-deploymentmanager/lib/operations/artifactSources.ts index 96d61ec956cf..617df1b95483 100644 --- a/packages/@azure/arm-deploymentmanager/lib/operations/artifactSources.ts +++ b/packages/@azure/arm-deploymentmanager/lib/operations/artifactSources.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/artifactSourcesMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class ArtifactSources { * @param callback The callback */ createOrUpdate(resourceGroupName: string, artifactSourceName: string, options: Models.ArtifactSourcesCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, artifactSourceName: string, options?: Models.ArtifactSourcesCreateOrUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, artifactSourceName: string, options?: Models.ArtifactSourcesCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -80,7 +80,7 @@ export class ArtifactSources { * @param callback The callback */ get(resourceGroupName: string, artifactSourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, artifactSourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, artifactSourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -112,7 +112,7 @@ export class ArtifactSources { * @param callback The callback */ deleteMethod(resourceGroupName: string, artifactSourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, artifactSourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, artifactSourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-deploymentmanager/lib/operations/operations.ts b/packages/@azure/arm-deploymentmanager/lib/operations/operations.ts index 82f5b7522089..6ce81dd5bdfd 100644 --- a/packages/@azure/arm-deploymentmanager/lib/operations/operations.ts +++ b/packages/@azure/arm-deploymentmanager/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ get(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-deploymentmanager/lib/operations/rollouts.ts b/packages/@azure/arm-deploymentmanager/lib/operations/rollouts.ts index b3a87ab4c700..8d6f069444d9 100644 --- a/packages/@azure/arm-deploymentmanager/lib/operations/rollouts.ts +++ b/packages/@azure/arm-deploymentmanager/lib/operations/rollouts.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/rolloutsMappers"; import * as Parameters from "../models/parameters"; @@ -62,7 +62,7 @@ export class Rollouts { * @param callback The callback */ get(resourceGroupName: string, rolloutName: string, options: Models.RolloutsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, rolloutName: string, options?: Models.RolloutsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, rolloutName: string, options?: Models.RolloutsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -95,7 +95,7 @@ export class Rollouts { * @param callback The callback */ deleteMethod(resourceGroupName: string, rolloutName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, rolloutName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, rolloutName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -128,7 +128,7 @@ export class Rollouts { * @param callback The callback */ cancel(resourceGroupName: string, rolloutName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - cancel(resourceGroupName: string, rolloutName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + cancel(resourceGroupName: string, rolloutName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -161,7 +161,7 @@ export class Rollouts { * @param callback The callback */ restart(resourceGroupName: string, rolloutName: string, options: Models.RolloutsRestartOptionalParams, callback: msRest.ServiceCallback): void; - restart(resourceGroupName: string, rolloutName: string, options?: Models.RolloutsRestartOptionalParams, callback?: msRest.ServiceCallback): Promise { + restart(resourceGroupName: string, rolloutName: string, options?: Models.RolloutsRestartOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-deploymentmanager/lib/operations/serviceTopologies.ts b/packages/@azure/arm-deploymentmanager/lib/operations/serviceTopologies.ts index 16d0e71ca6ea..493e5b789d82 100644 --- a/packages/@azure/arm-deploymentmanager/lib/operations/serviceTopologies.ts +++ b/packages/@azure/arm-deploymentmanager/lib/operations/serviceTopologies.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/serviceTopologiesMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class ServiceTopologies { * @param callback The callback */ createOrUpdate(serviceTopologyInfo: Models.ServiceTopologyResource, resourceGroupName: string, serviceTopologyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(serviceTopologyInfo: Models.ServiceTopologyResource, resourceGroupName: string, serviceTopologyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(serviceTopologyInfo: Models.ServiceTopologyResource, resourceGroupName: string, serviceTopologyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { serviceTopologyInfo, @@ -84,7 +84,7 @@ export class ServiceTopologies { * @param callback The callback */ get(resourceGroupName: string, serviceTopologyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serviceTopologyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serviceTopologyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -116,7 +116,7 @@ export class ServiceTopologies { * @param callback The callback */ deleteMethod(resourceGroupName: string, serviceTopologyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, serviceTopologyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, serviceTopologyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-deploymentmanager/lib/operations/serviceUnits.ts b/packages/@azure/arm-deploymentmanager/lib/operations/serviceUnits.ts index 01d93a8414f3..88044bbc4e6a 100644 --- a/packages/@azure/arm-deploymentmanager/lib/operations/serviceUnits.ts +++ b/packages/@azure/arm-deploymentmanager/lib/operations/serviceUnits.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/serviceUnitsMappers"; import * as Parameters from "../models/parameters"; @@ -71,7 +71,7 @@ export class ServiceUnits { * @param callback The callback */ get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -111,7 +111,7 @@ export class ServiceUnits { * @param callback The callback */ deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-deploymentmanager/lib/operations/services.ts b/packages/@azure/arm-deploymentmanager/lib/operations/services.ts index 5917515c13fb..b230fe0e99fe 100644 --- a/packages/@azure/arm-deploymentmanager/lib/operations/services.ts +++ b/packages/@azure/arm-deploymentmanager/lib/operations/services.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/servicesMappers"; import * as Parameters from "../models/parameters"; @@ -54,7 +54,7 @@ export class Services { * @param callback The callback */ createOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceInfo: Models.ServiceResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceInfo: Models.ServiceResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceInfo: Models.ServiceResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -91,7 +91,7 @@ export class Services { * @param callback The callback */ get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -127,7 +127,7 @@ export class Services { * @param callback The callback */ deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-deploymentmanager/lib/operations/steps.ts b/packages/@azure/arm-deploymentmanager/lib/operations/steps.ts index 93876781d467..568a331a49c5 100644 --- a/packages/@azure/arm-deploymentmanager/lib/operations/steps.ts +++ b/packages/@azure/arm-deploymentmanager/lib/operations/steps.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/stepsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Steps { * @param callback The callback */ createOrUpdate(resourceGroupName: string, stepName: string, options: Models.StepsCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, stepName: string, options?: Models.StepsCreateOrUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, stepName: string, options?: Models.StepsCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -80,7 +80,7 @@ export class Steps { * @param callback The callback */ get(resourceGroupName: string, stepName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, stepName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, stepName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -112,7 +112,7 @@ export class Steps { * @param callback The callback */ deleteMethod(resourceGroupName: string, stepName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, stepName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, stepName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-deploymentmanager/package.json b/packages/@azure/arm-deploymentmanager/package.json index 680a37cfc580..db03c25d9ae6 100644 --- a/packages/@azure/arm-deploymentmanager/package.json +++ b/packages/@azure/arm-deploymentmanager/package.json @@ -4,8 +4,8 @@ "description": "AzureDeploymentManager Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-deploymentmanager.js.map'\" -o ./dist/arm-deploymentmanager.min.js ./dist/arm-deploymentmanager.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-deploymentmanager/rollup.config.js b/packages/@azure/arm-deploymentmanager/rollup.config.js index ca2f45cd8b68..3ecd8b075746 100644 --- a/packages/@azure/arm-deploymentmanager/rollup.config.js +++ b/packages/@azure/arm-deploymentmanager/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/azureDeploymentManager.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-deploymentmanager.js", format: "umd", name: "Azure.ArmDeploymentmanager", 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-deploymentmanager/tsconfig.esm.json b/packages/@azure/arm-deploymentmanager/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-deploymentmanager/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-deploymentmanager/tsconfig.json b/packages/@azure/arm-deploymentmanager/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-deploymentmanager/tsconfig.json +++ b/packages/@azure/arm-deploymentmanager/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-deploymentmanager/webpack.config.js b/packages/@azure/arm-deploymentmanager/webpack.config.js deleted file mode 100644 index e65a9896ffb5..000000000000 --- a/packages/@azure/arm-deploymentmanager/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/azureDeploymentManager.js', - devtool: 'source-map', - output: { - filename: 'azureDeploymentManagerBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'azureDeploymentManager' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-deviceprovisioningservices/.npmignore b/packages/@azure/arm-deviceprovisioningservices/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-deviceprovisioningservices/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-deviceprovisioningservices/README.md b/packages/@azure/arm-deviceprovisioningservices/README.md index cc5479d20c47..1c3ac463be52 100644 --- a/packages/@azure/arm-deviceprovisioningservices/README.md +++ b/packages/@azure/arm-deviceprovisioningservices/README.md @@ -1,24 +1,34 @@ -# Azure IotDpsClient SDK for JavaScript +## Azure IotDpsClient SDK for JavaScript + This package contains an isomorphic SDK for IotDpsClient. -## 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-deviceprovisioningservices ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { IotDpsClient, IotDpsModels, IotDpsMappers } from "@azure/arm-deviceprovisioningservices"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-deviceprovisioningservices 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-deviceprovisioningservices/lib/iotDpsClient.ts b/packages/@azure/arm-deviceprovisioningservices/lib/iotDpsClient.ts index 7a074ec997bb..b5b09d14c58d 100644 --- a/packages/@azure/arm-deviceprovisioningservices/lib/iotDpsClient.ts +++ b/packages/@azure/arm-deviceprovisioningservices/lib/iotDpsClient.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-deviceprovisioningservices/lib/iotDpsClientContext.ts b/packages/@azure/arm-deviceprovisioningservices/lib/iotDpsClientContext.ts index 92d541c812a3..48146b6d20a3 100644 --- a/packages/@azure/arm-deviceprovisioningservices/lib/iotDpsClientContext.ts +++ b/packages/@azure/arm-deviceprovisioningservices/lib/iotDpsClientContext.ts @@ -9,23 +9,16 @@ */ 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-deviceprovisioningservices"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class IotDpsClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the IotDpsClient class. @@ -44,6 +37,11 @@ export class IotDpsClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-01-22'; @@ -54,7 +52,6 @@ export class IotDpsClientContext extends msRestAzure.AzureServiceClient { this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-deviceprovisioningservices/lib/models/index.ts b/packages/@azure/arm-deviceprovisioningservices/lib/models/index.ts index 91a8ffa13b24..67af3c02b6fc 100644 --- a/packages/@azure/arm-deviceprovisioningservices/lib/models/index.ts +++ b/packages/@azure/arm-deviceprovisioningservices/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -856,114 +856,53 @@ export interface SharedAccessSignatureAuthorizationRuleListResult extends Array< /** * Defines values for IotDpsSku. * Possible values include: 'S1' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: IotDpsSku = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum IotDpsSku { - S1 = 'S1', -} +export type IotDpsSku = 'S1'; /** * Defines values for State. - * Possible values include: 'Activating', 'Active', 'Deleting', 'Deleted', - * 'ActivationFailed', 'DeletionFailed', 'Transitioning', 'Suspending', - * 'Suspended', 'Resuming', 'FailingOver', 'FailoverFailed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: State = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Activating', 'Active', 'Deleting', 'Deleted', 'ActivationFailed', + * 'DeletionFailed', 'Transitioning', 'Suspending', 'Suspended', 'Resuming', 'FailingOver', + * 'FailoverFailed' * @readonly * @enum {string} */ -export enum State { - Activating = 'Activating', - Active = 'Active', - Deleting = 'Deleting', - Deleted = 'Deleted', - ActivationFailed = 'ActivationFailed', - DeletionFailed = 'DeletionFailed', - Transitioning = 'Transitioning', - Suspending = 'Suspending', - Suspended = 'Suspended', - Resuming = 'Resuming', - FailingOver = 'FailingOver', - FailoverFailed = 'FailoverFailed', -} +export type State = 'Activating' | 'Active' | 'Deleting' | 'Deleted' | 'ActivationFailed' | 'DeletionFailed' | 'Transitioning' | 'Suspending' | 'Suspended' | 'Resuming' | 'FailingOver' | 'FailoverFailed'; /** * Defines values for AllocationPolicy. * Possible values include: 'Hashed', 'GeoLatency', 'Static' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AllocationPolicy = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AllocationPolicy { - Hashed = 'Hashed', - GeoLatency = 'GeoLatency', - Static = 'Static', -} +export type AllocationPolicy = 'Hashed' | 'GeoLatency' | 'Static'; /** * Defines values for AccessRightsDescription. - * Possible values include: 'ServiceConfig', 'EnrollmentRead', - * 'EnrollmentWrite', 'DeviceConnect', 'RegistrationStatusRead', - * 'RegistrationStatusWrite' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AccessRightsDescription = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'ServiceConfig', 'EnrollmentRead', 'EnrollmentWrite', 'DeviceConnect', + * 'RegistrationStatusRead', 'RegistrationStatusWrite' * @readonly * @enum {string} */ -export enum AccessRightsDescription { - ServiceConfig = 'ServiceConfig', - EnrollmentRead = 'EnrollmentRead', - EnrollmentWrite = 'EnrollmentWrite', - DeviceConnect = 'DeviceConnect', - RegistrationStatusRead = 'RegistrationStatusRead', - RegistrationStatusWrite = 'RegistrationStatusWrite', -} +export type AccessRightsDescription = 'ServiceConfig' | 'EnrollmentRead' | 'EnrollmentWrite' | 'DeviceConnect' | 'RegistrationStatusRead' | 'RegistrationStatusWrite'; /** * Defines values for NameUnavailabilityReason. * Possible values include: 'Invalid', 'AlreadyExists' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NameUnavailabilityReason = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum NameUnavailabilityReason { - Invalid = 'Invalid', - AlreadyExists = 'AlreadyExists', -} +export type NameUnavailabilityReason = 'Invalid' | 'AlreadyExists'; /** * Defines values for CertificatePurpose. * Possible values include: 'clientAuthentication', 'serverAuthentication' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CertificatePurpose = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CertificatePurpose { - ClientAuthentication = 'clientAuthentication', - ServerAuthentication = 'serverAuthentication', -} +export type CertificatePurpose = 'clientAuthentication' | 'serverAuthentication'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-deviceprovisioningservices/lib/models/mappers.ts b/packages/@azure/arm-deviceprovisioningservices/lib/models/mappers.ts index 9e59f83b73cc..91c501da2866 100644 --- a/packages/@azure/arm-deviceprovisioningservices/lib/models/mappers.ts +++ b/packages/@azure/arm-deviceprovisioningservices/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-deviceprovisioningservices/lib/models/parameters.ts b/packages/@azure/arm-deviceprovisioningservices/lib/models/parameters.ts index f3c90c4add60..9c52c58bd990 100644 --- a/packages/@azure/arm-deviceprovisioningservices/lib/models/parameters.ts +++ b/packages/@azure/arm-deviceprovisioningservices/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-deviceprovisioningservices/lib/operations/dpsCertificate.ts b/packages/@azure/arm-deviceprovisioningservices/lib/operations/dpsCertificate.ts index 8e296860e231..48dd486b2027 100644 --- a/packages/@azure/arm-deviceprovisioningservices/lib/operations/dpsCertificate.ts +++ b/packages/@azure/arm-deviceprovisioningservices/lib/operations/dpsCertificate.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/dpsCertificateMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class DpsCertificate { * @param callback The callback */ get(certificateName: string, resourceGroupName: string, provisioningServiceName: string, options: Models.DpsCertificateGetOptionalParams, callback: msRest.ServiceCallback): void; - get(certificateName: string, resourceGroupName: string, provisioningServiceName: string, options?: Models.DpsCertificateGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(certificateName: string, resourceGroupName: string, provisioningServiceName: string, options?: Models.DpsCertificateGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { certificateName, @@ -93,7 +93,7 @@ export class DpsCertificate { * @param callback The callback */ createOrUpdate(resourceGroupName: string, provisioningServiceName: string, certificateName: string, certificateDescription: Models.CertificateBodyDescription, options: Models.DpsCertificateCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, provisioningServiceName: string, certificateName: string, certificateDescription: Models.CertificateBodyDescription, options?: Models.DpsCertificateCreateOrUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, provisioningServiceName: string, certificateName: string, certificateDescription: Models.CertificateBodyDescription, options?: Models.DpsCertificateCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -137,7 +137,7 @@ export class DpsCertificate { * @param callback The callback */ deleteMethod(resourceGroupName: string, ifMatch: string, provisioningServiceName: string, certificateName: string, options: Models.DpsCertificateDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, ifMatch: string, provisioningServiceName: string, certificateName: string, options?: Models.DpsCertificateDeleteMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, ifMatch: string, provisioningServiceName: string, certificateName: string, options?: Models.DpsCertificateDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -171,7 +171,7 @@ export class DpsCertificate { * @param callback The callback */ list(resourceGroupName: string, provisioningServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, provisioningServiceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, provisioningServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -215,7 +215,7 @@ export class DpsCertificate { * @param callback The callback */ generateVerificationCode(certificateName: string, ifMatch: string, resourceGroupName: string, provisioningServiceName: string, options: Models.DpsCertificateGenerateVerificationCodeOptionalParams, callback: msRest.ServiceCallback): void; - generateVerificationCode(certificateName: string, ifMatch: string, resourceGroupName: string, provisioningServiceName: string, options?: Models.DpsCertificateGenerateVerificationCodeOptionalParams, callback?: msRest.ServiceCallback): Promise { + generateVerificationCode(certificateName: string, ifMatch: string, resourceGroupName: string, provisioningServiceName: string, options?: Models.DpsCertificateGenerateVerificationCodeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { certificateName, @@ -263,7 +263,7 @@ export class DpsCertificate { * @param callback The callback */ verifyCertificate(certificateName: string, ifMatch: string, request: Models.VerificationCodeRequest, resourceGroupName: string, provisioningServiceName: string, options: Models.DpsCertificateVerifyCertificateOptionalParams, callback: msRest.ServiceCallback): void; - verifyCertificate(certificateName: string, ifMatch: string, request: Models.VerificationCodeRequest, resourceGroupName: string, provisioningServiceName: string, options?: Models.DpsCertificateVerifyCertificateOptionalParams, callback?: msRest.ServiceCallback): Promise { + verifyCertificate(certificateName: string, ifMatch: string, request: Models.VerificationCodeRequest, resourceGroupName: string, provisioningServiceName: string, options?: Models.DpsCertificateVerifyCertificateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { certificateName, diff --git a/packages/@azure/arm-deviceprovisioningservices/lib/operations/iotDpsResource.ts b/packages/@azure/arm-deviceprovisioningservices/lib/operations/iotDpsResource.ts index 7fa23df87438..bacb4f4e1232 100644 --- a/packages/@azure/arm-deviceprovisioningservices/lib/operations/iotDpsResource.ts +++ b/packages/@azure/arm-deviceprovisioningservices/lib/operations/iotDpsResource.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/iotDpsResourceMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class IotDpsResource { * @param callback The callback */ get(provisioningServiceName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(provisioningServiceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(provisioningServiceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { provisioningServiceName, @@ -121,7 +121,7 @@ export class IotDpsResource { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -148,7 +148,7 @@ export class IotDpsResource { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -192,7 +192,7 @@ export class IotDpsResource { * @param callback The callback */ getOperationResult(operationId: string, resourceGroupName: string, provisioningServiceName: string, asyncinfo: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getOperationResult(operationId: string, resourceGroupName: string, provisioningServiceName: string, asyncinfo: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getOperationResult(operationId: string, resourceGroupName: string, provisioningServiceName: string, asyncinfo: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { operationId, @@ -227,7 +227,7 @@ export class IotDpsResource { * @param callback The callback */ listValidSkus(provisioningServiceName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listValidSkus(provisioningServiceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listValidSkus(provisioningServiceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { provisioningServiceName, @@ -261,7 +261,7 @@ export class IotDpsResource { * @param callback The callback */ checkProvisioningServiceNameAvailability(argumentsParameter: Models.OperationInputs, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkProvisioningServiceNameAvailability(argumentsParameter: Models.OperationInputs, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkProvisioningServiceNameAvailability(argumentsParameter: Models.OperationInputs, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { argumentsParameter, @@ -293,7 +293,7 @@ export class IotDpsResource { * @param callback The callback */ listKeys(provisioningServiceName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(provisioningServiceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(provisioningServiceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { provisioningServiceName, @@ -329,7 +329,7 @@ export class IotDpsResource { * @param callback The callback */ listKeysForKeyName(provisioningServiceName: string, keyName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeysForKeyName(provisioningServiceName: string, keyName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeysForKeyName(provisioningServiceName: string, keyName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { provisioningServiceName, @@ -425,7 +425,7 @@ export class IotDpsResource { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -453,7 +453,7 @@ export class IotDpsResource { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -482,7 +482,7 @@ export class IotDpsResource { * @param callback The callback */ listValidSkusNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listValidSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listValidSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -511,7 +511,7 @@ export class IotDpsResource { * @param callback The callback */ listKeysNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeysNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeysNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-deviceprovisioningservices/lib/operations/operations.ts b/packages/@azure/arm-deviceprovisioningservices/lib/operations/operations.ts index 3ea545a6f09f..a149deab0143 100644 --- a/packages/@azure/arm-deviceprovisioningservices/lib/operations/operations.ts +++ b/packages/@azure/arm-deviceprovisioningservices/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-deviceprovisioningservices/package.json b/packages/@azure/arm-deviceprovisioningservices/package.json index db98658a0e4e..dc7ebfc4facd 100644 --- a/packages/@azure/arm-deviceprovisioningservices/package.json +++ b/packages/@azure/arm-deviceprovisioningservices/package.json @@ -4,8 +4,8 @@ "description": "IotDpsClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-deviceprovisioningservices.js.map'\" -o ./dist/arm-deviceprovisioningservices.min.js ./dist/arm-deviceprovisioningservices.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-deviceprovisioningservices/rollup.config.js b/packages/@azure/arm-deviceprovisioningservices/rollup.config.js index dbf04d73b738..17c78b89da67 100644 --- a/packages/@azure/arm-deviceprovisioningservices/rollup.config.js +++ b/packages/@azure/arm-deviceprovisioningservices/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/iotDpsClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-deviceprovisioningservices.js", format: "umd", name: "Azure.ArmDeviceprovisioningservices", 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-deviceprovisioningservices/tsconfig.esm.json b/packages/@azure/arm-deviceprovisioningservices/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-deviceprovisioningservices/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-deviceprovisioningservices/tsconfig.json b/packages/@azure/arm-deviceprovisioningservices/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-deviceprovisioningservices/tsconfig.json +++ b/packages/@azure/arm-deviceprovisioningservices/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-deviceprovisioningservices/webpack.config.js b/packages/@azure/arm-deviceprovisioningservices/webpack.config.js deleted file mode 100644 index a0b85f94f61f..000000000000 --- a/packages/@azure/arm-deviceprovisioningservices/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/iotDpsClient.js', - devtool: 'source-map', - output: { - filename: 'iotDpsClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'iotDpsClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-devspaces/.npmignore b/packages/@azure/arm-devspaces/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-devspaces/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-devspaces/README.md b/packages/@azure/arm-devspaces/README.md index c1c9d8d0522d..cf62827f7d80 100644 --- a/packages/@azure/arm-devspaces/README.md +++ b/packages/@azure/arm-devspaces/README.md @@ -1,24 +1,34 @@ -# Azure DevSpacesManagementClient SDK for JavaScript +## Azure DevSpacesManagementClient SDK for JavaScript + This package contains an isomorphic SDK for DevSpacesManagementClient. -## 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-devspaces ``` +### How to use + +#### nodejs - Authentication, client creation and get controllers as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get controllers as an example written in TypeScript. +##### Sample code ```ts -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 { DevSpacesManagementClient, DevSpacesManagementModels, DevSpacesManagementMappers } from "@azure/arm-devspaces"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get controllers as an example written in JavaScript. +#### browser - Authentication, client creation and get controllers as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-devspaces 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-devspaces/lib/devSpacesManagementClient.ts b/packages/@azure/arm-devspaces/lib/devSpacesManagementClient.ts index 5efa9a7c9d8f..be116e003310 100644 --- a/packages/@azure/arm-devspaces/lib/devSpacesManagementClient.ts +++ b/packages/@azure/arm-devspaces/lib/devSpacesManagementClient.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-devspaces/lib/devSpacesManagementClientContext.ts b/packages/@azure/arm-devspaces/lib/devSpacesManagementClientContext.ts index 949e3a9c52b5..1369a6260a07 100644 --- a/packages/@azure/arm-devspaces/lib/devSpacesManagementClientContext.ts +++ b/packages/@azure/arm-devspaces/lib/devSpacesManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-devspaces"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class DevSpacesManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the DevSpacesManagementClient class. @@ -44,6 +37,11 @@ export class DevSpacesManagementClientContext extends msRestAzure.AzureServiceCl if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-06-01-preview'; @@ -54,7 +52,6 @@ export class DevSpacesManagementClientContext extends msRestAzure.AzureServiceCl this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-devspaces/lib/models/index.ts b/packages/@azure/arm-devspaces/lib/models/index.ts index 5d45284d557f..00f02d05de56 100644 --- a/packages/@azure/arm-devspaces/lib/models/index.ts +++ b/packages/@azure/arm-devspaces/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -356,39 +356,20 @@ export interface ResourceProviderOperationList extends Array"someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Succeeded', 'Failed', 'Canceled', 'Updating', 'Creating', 'Deleting', + * 'Deleted' * @readonly * @enum {string} */ -export enum ProvisioningState { - Succeeded = 'Succeeded', - Failed = 'Failed', - Canceled = 'Canceled', - Updating = 'Updating', - Creating = 'Creating', - Deleting = 'Deleting', - Deleted = 'Deleted', -} +export type ProvisioningState = 'Succeeded' | 'Failed' | 'Canceled' | 'Updating' | 'Creating' | 'Deleting' | 'Deleted'; /** * Defines values for SkuTier. * Possible values include: 'Standard' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuTier = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuTier { - Standard = 'Standard', -} +export type SkuTier = 'Standard'; /** * Contains response data for the getContainerHostMapping operation. diff --git a/packages/@azure/arm-devspaces/lib/models/mappers.ts b/packages/@azure/arm-devspaces/lib/models/mappers.ts index 1390a3c025d9..e1e7156e95ce 100644 --- a/packages/@azure/arm-devspaces/lib/models/mappers.ts +++ b/packages/@azure/arm-devspaces/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -250,11 +250,6 @@ export const ControllerConnectionDetails: msRest.CompositeMapper = { serializedName: "orchestratorSpecificConnectionDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "OrchestratorSpecificConnectionDetails", className: "OrchestratorSpecificConnectionDetails" } } diff --git a/packages/@azure/arm-devspaces/lib/models/parameters.ts b/packages/@azure/arm-devspaces/lib/models/parameters.ts index 914762199427..3ccc2a31c110 100644 --- a/packages/@azure/arm-devspaces/lib/models/parameters.ts +++ b/packages/@azure/arm-devspaces/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-devspaces/lib/operations/containerHostMappings.ts b/packages/@azure/arm-devspaces/lib/operations/containerHostMappings.ts index e5644f70809b..87261e09645c 100644 --- a/packages/@azure/arm-devspaces/lib/operations/containerHostMappings.ts +++ b/packages/@azure/arm-devspaces/lib/operations/containerHostMappings.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/containerHostMappingsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class ContainerHostMappings { * @param callback The callback */ getContainerHostMapping(containerHostMapping: Models.ContainerHostMapping, location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getContainerHostMapping(containerHostMapping: Models.ContainerHostMapping, location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getContainerHostMapping(containerHostMapping: Models.ContainerHostMapping, location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { containerHostMapping, diff --git a/packages/@azure/arm-devspaces/lib/operations/controllers.ts b/packages/@azure/arm-devspaces/lib/operations/controllers.ts index d5dd1c2b9402..50d5f3e2d213 100644 --- a/packages/@azure/arm-devspaces/lib/operations/controllers.ts +++ b/packages/@azure/arm-devspaces/lib/operations/controllers.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/controllersMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class Controllers { * @param callback The callback */ get(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -113,7 +113,7 @@ export class Controllers { * @param callback The callback */ update(resourceGroupName: string, name: string, controllerUpdateParameters: Models.ControllerUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, name: string, controllerUpdateParameters: Models.ControllerUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, name: string, controllerUpdateParameters: Models.ControllerUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -145,7 +145,7 @@ export class Controllers { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -171,7 +171,7 @@ export class Controllers { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -203,7 +203,7 @@ export class Controllers { * @param callback The callback */ listConnectionDetails(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConnectionDetails(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConnectionDetails(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -274,7 +274,7 @@ export class Controllers { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -303,7 +303,7 @@ export class Controllers { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devspaces/lib/operations/operations.ts b/packages/@azure/arm-devspaces/lib/operations/operations.ts index 3d2bf4d31682..768c9cb0ead3 100644 --- a/packages/@azure/arm-devspaces/lib/operations/operations.ts +++ b/packages/@azure/arm-devspaces/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"; @@ -43,7 +43,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -72,7 +72,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devspaces/package.json b/packages/@azure/arm-devspaces/package.json index 6b968d278f9d..10bd67b43a65 100644 --- a/packages/@azure/arm-devspaces/package.json +++ b/packages/@azure/arm-devspaces/package.json @@ -4,8 +4,8 @@ "description": "DevSpacesManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-devspaces.js.map'\" -o ./dist/arm-devspaces.min.js ./dist/arm-devspaces.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-devspaces/rollup.config.js b/packages/@azure/arm-devspaces/rollup.config.js index 49277d62924c..895e39184316 100644 --- a/packages/@azure/arm-devspaces/rollup.config.js +++ b/packages/@azure/arm-devspaces/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/devSpacesManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-devspaces.js", format: "umd", name: "Azure.ArmDevspaces", 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-devspaces/tsconfig.esm.json b/packages/@azure/arm-devspaces/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-devspaces/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-devspaces/tsconfig.json b/packages/@azure/arm-devspaces/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-devspaces/tsconfig.json +++ b/packages/@azure/arm-devspaces/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-devspaces/webpack.config.js b/packages/@azure/arm-devspaces/webpack.config.js deleted file mode 100644 index cdb360ab02ba..000000000000 --- a/packages/@azure/arm-devspaces/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/devSpacesManagementClient.js', - devtool: 'source-map', - output: { - filename: 'devSpacesManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'devSpacesManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-devtestlabs/.npmignore b/packages/@azure/arm-devtestlabs/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-devtestlabs/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-devtestlabs/README.md b/packages/@azure/arm-devtestlabs/README.md index 403d1d8e0f2a..efd2edaec8aa 100644 --- a/packages/@azure/arm-devtestlabs/README.md +++ b/packages/@azure/arm-devtestlabs/README.md @@ -1,24 +1,34 @@ -# Azure DevTestLabsClient SDK for JavaScript +## Azure DevTestLabsClient SDK for JavaScript + This package contains an isomorphic SDK for DevTestLabsClient. -## 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-devtestlabs ``` +### How to use + +#### nodejs - Authentication, client creation and list providerOperations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list providerOperations as an example written in TypeScript. +##### Sample code ```ts -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 { DevTestLabsClient, DevTestLabsModels, DevTestLabsMappers } from "@azure/arm-devtestlabs"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list providerOperations as an example written in JavaScript. +#### browser - Authentication, client creation and list providerOperations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-devtestlabs 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-devtestlabs/lib/devTestLabsClient.ts b/packages/@azure/arm-devtestlabs/lib/devTestLabsClient.ts index faa5adc60bce..3661410b1c1e 100644 --- a/packages/@azure/arm-devtestlabs/lib/devTestLabsClient.ts +++ b/packages/@azure/arm-devtestlabs/lib/devTestLabsClient.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-devtestlabs/lib/devTestLabsClientContext.ts b/packages/@azure/arm-devtestlabs/lib/devTestLabsClientContext.ts index b0c21d0d4507..bbc5e6aafbf1 100644 --- a/packages/@azure/arm-devtestlabs/lib/devTestLabsClientContext.ts +++ b/packages/@azure/arm-devtestlabs/lib/devTestLabsClientContext.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-devtestlabs"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class DevTestLabsClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -37,6 +37,11 @@ export class DevTestLabsClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-09-15'; @@ -47,7 +52,6 @@ export class DevTestLabsClientContext extends msRestAzure.AzureServiceClient { this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-devtestlabs/lib/models/index.ts b/packages/@azure/arm-devtestlabs/lib/models/index.ts index dc06546081d4..bcd07163be0c 100644 --- a/packages/@azure/arm-devtestlabs/lib/models/index.ts +++ b/packages/@azure/arm-devtestlabs/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -6123,422 +6123,188 @@ export interface VirtualNetworkList extends Array { /** * Defines values for EnableStatus. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EnableStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum EnableStatus { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type EnableStatus = 'Enabled' | 'Disabled'; /** * Defines values for SourceControlType. * Possible values include: 'VsoGit', 'GitHub' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SourceControlType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SourceControlType { - VsoGit = 'VsoGit', - GitHub = 'GitHub', -} +export type SourceControlType = 'VsoGit' | 'GitHub'; /** * Defines values for StorageType. * Possible values include: 'Standard', 'Premium' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: StorageType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum StorageType { - Standard = 'Standard', - Premium = 'Premium', -} +export type StorageType = 'Standard' | 'Premium'; /** * Defines values for CostThresholdStatus. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CostThresholdStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CostThresholdStatus { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type CostThresholdStatus = 'Enabled' | 'Disabled'; /** * Defines values for WindowsOsState. - * Possible values include: 'NonSysprepped', 'SysprepRequested', - * 'SysprepApplied' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: WindowsOsState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NonSysprepped', 'SysprepRequested', 'SysprepApplied' * @readonly * @enum {string} */ -export enum WindowsOsState { - NonSysprepped = 'NonSysprepped', - SysprepRequested = 'SysprepRequested', - SysprepApplied = 'SysprepApplied', -} +export type WindowsOsState = 'NonSysprepped' | 'SysprepRequested' | 'SysprepApplied'; /** * Defines values for LinuxOsState. - * Possible values include: 'NonDeprovisioned', 'DeprovisionRequested', - * 'DeprovisionApplied' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: LinuxOsState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NonDeprovisioned', 'DeprovisionRequested', 'DeprovisionApplied' * @readonly * @enum {string} */ -export enum LinuxOsState { - NonDeprovisioned = 'NonDeprovisioned', - DeprovisionRequested = 'DeprovisionRequested', - DeprovisionApplied = 'DeprovisionApplied', -} +export type LinuxOsState = 'NonDeprovisioned' | 'DeprovisionRequested' | 'DeprovisionApplied'; /** * Defines values for CustomImageOsType. * Possible values include: 'Windows', 'Linux', 'None' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CustomImageOsType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CustomImageOsType { - Windows = 'Windows', - Linux = 'Linux', - None = 'None', -} +export type CustomImageOsType = 'Windows' | 'Linux' | 'None'; /** * Defines values for HostCachingOptions. * Possible values include: 'None', 'ReadOnly', 'ReadWrite' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HostCachingOptions = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum HostCachingOptions { - None = 'None', - ReadOnly = 'ReadOnly', - ReadWrite = 'ReadWrite', -} +export type HostCachingOptions = 'None' | 'ReadOnly' | 'ReadWrite'; /** * Defines values for NotificationChannelEventType. * Possible values include: 'AutoShutdown', 'Cost' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NotificationChannelEventType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum NotificationChannelEventType { - AutoShutdown = 'AutoShutdown', - Cost = 'Cost', -} +export type NotificationChannelEventType = 'AutoShutdown' | 'Cost'; /** * Defines values for TransportProtocol. * Possible values include: 'Tcp', 'Udp' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TransportProtocol = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TransportProtocol { - Tcp = 'Tcp', - Udp = 'Udp', -} +export type TransportProtocol = 'Tcp' | 'Udp'; /** * Defines values for VirtualMachineCreationSource. * Possible values include: 'FromCustomImage', 'FromGalleryImage' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: VirtualMachineCreationSource = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum VirtualMachineCreationSource { - FromCustomImage = 'FromCustomImage', - FromGalleryImage = 'FromGalleryImage', -} +export type VirtualMachineCreationSource = 'FromCustomImage' | 'FromGalleryImage'; /** * Defines values for FileUploadOptions. * Possible values include: 'UploadFilesAndGenerateSasTokens', 'None' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FileUploadOptions = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FileUploadOptions { - UploadFilesAndGenerateSasTokens = 'UploadFilesAndGenerateSasTokens', - None = 'None', -} +export type FileUploadOptions = 'UploadFilesAndGenerateSasTokens' | 'None'; /** * Defines values for PremiumDataDisk. * Possible values include: 'Disabled', 'Enabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PremiumDataDisk = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PremiumDataDisk { - Disabled = 'Disabled', - Enabled = 'Enabled', -} +export type PremiumDataDisk = 'Disabled' | 'Enabled'; /** * Defines values for EnvironmentPermission. * Possible values include: 'Reader', 'Contributor' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EnvironmentPermission = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum EnvironmentPermission { - Reader = 'Reader', - Contributor = 'Contributor', -} +export type EnvironmentPermission = 'Reader' | 'Contributor'; /** * Defines values for TargetCostStatus. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TargetCostStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TargetCostStatus { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type TargetCostStatus = 'Enabled' | 'Disabled'; /** * Defines values for ReportingCycleType. * Possible values include: 'CalendarMonth', 'Custom' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReportingCycleType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ReportingCycleType { - CalendarMonth = 'CalendarMonth', - Custom = 'Custom', -} +export type ReportingCycleType = 'CalendarMonth' | 'Custom'; /** * Defines values for CostType. * Possible values include: 'Unavailable', 'Reported', 'Projected' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CostType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CostType { - Unavailable = 'Unavailable', - Reported = 'Reported', - Projected = 'Projected', -} +export type CostType = 'Unavailable' | 'Reported' | 'Projected'; /** * Defines values for HttpStatusCode. - * Possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', - * 'Accepted', 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', - * 'PartialContent', 'MultipleChoices', 'MovedPermanently', 'Redirect', - * 'SeeOther', 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect', - * 'BadRequest', 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', - * 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', - * 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', - * 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestUriTooLong', - * 'UnsupportedMediaType', 'RequestedRangeNotSatisfiable', 'ExpectationFailed', - * 'UpgradeRequired', 'InternalServerError', 'NotImplemented', 'BadGateway', + * Possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', 'Accepted', + * 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', 'PartialContent', 'MultipleChoices', + * 'MovedPermanently', 'Redirect', 'SeeOther', 'NotModified', 'UseProxy', 'Unused', + * 'TemporaryRedirect', 'BadRequest', 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', + * 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', 'RequestTimeout', + * 'Conflict', 'Gone', 'LengthRequired', 'PreconditionFailed', 'RequestEntityTooLarge', + * 'RequestUriTooLong', 'UnsupportedMediaType', 'RequestedRangeNotSatisfiable', + * 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', 'NotImplemented', 'BadGateway', * 'ServiceUnavailable', 'GatewayTimeout', 'HttpVersionNotSupported' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HttpStatusCode = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum HttpStatusCode { - Continue = 'Continue', - SwitchingProtocols = 'SwitchingProtocols', - OK = 'OK', - Created = 'Created', - Accepted = 'Accepted', - NonAuthoritativeInformation = 'NonAuthoritativeInformation', - NoContent = 'NoContent', - ResetContent = 'ResetContent', - PartialContent = 'PartialContent', - MultipleChoices = 'MultipleChoices', - MovedPermanently = 'MovedPermanently', - Redirect = 'Redirect', - SeeOther = 'SeeOther', - NotModified = 'NotModified', - UseProxy = 'UseProxy', - Unused = 'Unused', - TemporaryRedirect = 'TemporaryRedirect', - BadRequest = 'BadRequest', - Unauthorized = 'Unauthorized', - PaymentRequired = 'PaymentRequired', - Forbidden = 'Forbidden', - NotFound = 'NotFound', - MethodNotAllowed = 'MethodNotAllowed', - NotAcceptable = 'NotAcceptable', - ProxyAuthenticationRequired = 'ProxyAuthenticationRequired', - RequestTimeout = 'RequestTimeout', - Conflict = 'Conflict', - Gone = 'Gone', - LengthRequired = 'LengthRequired', - PreconditionFailed = 'PreconditionFailed', - RequestEntityTooLarge = 'RequestEntityTooLarge', - RequestUriTooLong = 'RequestUriTooLong', - UnsupportedMediaType = 'UnsupportedMediaType', - RequestedRangeNotSatisfiable = 'RequestedRangeNotSatisfiable', - ExpectationFailed = 'ExpectationFailed', - UpgradeRequired = 'UpgradeRequired', - InternalServerError = 'InternalServerError', - NotImplemented = 'NotImplemented', - BadGateway = 'BadGateway', - ServiceUnavailable = 'ServiceUnavailable', - GatewayTimeout = 'GatewayTimeout', - HttpVersionNotSupported = 'HttpVersionNotSupported', -} +export type HttpStatusCode = 'Continue' | 'SwitchingProtocols' | 'OK' | 'Created' | 'Accepted' | 'NonAuthoritativeInformation' | 'NoContent' | 'ResetContent' | 'PartialContent' | 'MultipleChoices' | 'MovedPermanently' | 'Redirect' | 'SeeOther' | 'NotModified' | 'UseProxy' | 'Unused' | 'TemporaryRedirect' | 'BadRequest' | 'Unauthorized' | 'PaymentRequired' | 'Forbidden' | 'NotFound' | 'MethodNotAllowed' | 'NotAcceptable' | 'ProxyAuthenticationRequired' | 'RequestTimeout' | 'Conflict' | 'Gone' | 'LengthRequired' | 'PreconditionFailed' | 'RequestEntityTooLarge' | 'RequestUriTooLong' | 'UnsupportedMediaType' | 'RequestedRangeNotSatisfiable' | 'ExpectationFailed' | 'UpgradeRequired' | 'InternalServerError' | 'NotImplemented' | 'BadGateway' | 'ServiceUnavailable' | 'GatewayTimeout' | 'HttpVersionNotSupported'; /** * Defines values for PolicyStatus. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PolicyStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PolicyStatus { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type PolicyStatus = 'Enabled' | 'Disabled'; /** * Defines values for PolicyFactName. - * Possible values include: 'UserOwnedLabVmCount', - * 'UserOwnedLabPremiumVmCount', 'LabVmCount', 'LabPremiumVmCount', - * 'LabVmSize', 'GalleryImage', 'UserOwnedLabVmCountInSubnet', 'LabTargetCost', - * 'EnvironmentTemplate', 'ScheduleEditPermission' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PolicyFactName = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'UserOwnedLabVmCount', 'UserOwnedLabPremiumVmCount', 'LabVmCount', + * 'LabPremiumVmCount', 'LabVmSize', 'GalleryImage', 'UserOwnedLabVmCountInSubnet', + * 'LabTargetCost', 'EnvironmentTemplate', 'ScheduleEditPermission' * @readonly * @enum {string} */ -export enum PolicyFactName { - UserOwnedLabVmCount = 'UserOwnedLabVmCount', - UserOwnedLabPremiumVmCount = 'UserOwnedLabPremiumVmCount', - LabVmCount = 'LabVmCount', - LabPremiumVmCount = 'LabPremiumVmCount', - LabVmSize = 'LabVmSize', - GalleryImage = 'GalleryImage', - UserOwnedLabVmCountInSubnet = 'UserOwnedLabVmCountInSubnet', - LabTargetCost = 'LabTargetCost', - EnvironmentTemplate = 'EnvironmentTemplate', - ScheduleEditPermission = 'ScheduleEditPermission', -} +export type PolicyFactName = 'UserOwnedLabVmCount' | 'UserOwnedLabPremiumVmCount' | 'LabVmCount' | 'LabPremiumVmCount' | 'LabVmSize' | 'GalleryImage' | 'UserOwnedLabVmCountInSubnet' | 'LabTargetCost' | 'EnvironmentTemplate' | 'ScheduleEditPermission'; /** * Defines values for PolicyEvaluatorType. * Possible values include: 'AllowedValuesPolicy', 'MaxValuePolicy' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PolicyEvaluatorType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PolicyEvaluatorType { - AllowedValuesPolicy = 'AllowedValuesPolicy', - MaxValuePolicy = 'MaxValuePolicy', -} +export type PolicyEvaluatorType = 'AllowedValuesPolicy' | 'MaxValuePolicy'; /** * Defines values for UsagePermissionType. * Possible values include: 'Default', 'Deny', 'Allow' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UsagePermissionType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum UsagePermissionType { - Default = 'Default', - Deny = 'Deny', - Allow = 'Allow', -} +export type UsagePermissionType = 'Default' | 'Deny' | 'Allow'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-devtestlabs/lib/models/mappers.ts b/packages/@azure/arm-devtestlabs/lib/models/mappers.ts index 173288f961bf..22c78348a7a5 100644 --- a/packages/@azure/arm-devtestlabs/lib/models/mappers.ts +++ b/packages/@azure/arm-devtestlabs/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-devtestlabs/lib/models/parameters.ts b/packages/@azure/arm-devtestlabs/lib/models/parameters.ts index 4d9dc9956d4e..3ba8b8e45ccc 100644 --- a/packages/@azure/arm-devtestlabs/lib/models/parameters.ts +++ b/packages/@azure/arm-devtestlabs/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-devtestlabs/lib/operations/armTemplates.ts b/packages/@azure/arm-devtestlabs/lib/operations/armTemplates.ts index fb8b2e69d877..321013ad7c50 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/armTemplates.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/armTemplates.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/armTemplatesMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ArmTemplates { * @param callback The callback */ list(resourceGroupName: string, labName: string, artifactSourceName: string, options: Models.ArmTemplatesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, artifactSourceName: string, options?: Models.ArmTemplatesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, artifactSourceName: string, options?: Models.ArmTemplatesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -89,7 +89,7 @@ export class ArmTemplates { * @param callback The callback */ get(resourceGroupName: string, labName: string, artifactSourceName: string, name: string, options: Models.ArmTemplatesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, artifactSourceName: string, name: string, options?: Models.ArmTemplatesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, artifactSourceName: string, name: string, options?: Models.ArmTemplatesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -120,7 +120,7 @@ export class ArmTemplates { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/artifactSources.ts b/packages/@azure/arm-devtestlabs/lib/operations/artifactSources.ts index 866fdbaf59b9..0820c40006db 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/artifactSources.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/artifactSources.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/artifactSourcesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class ArtifactSources { * @param callback The callback */ list(resourceGroupName: string, labName: string, options: Models.ArtifactSourcesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, options?: Models.ArtifactSourcesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, options?: Models.ArtifactSourcesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class ArtifactSources { * @param callback The callback */ get(resourceGroupName: string, labName: string, name: string, options: Models.ArtifactSourcesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, name: string, options?: Models.ArtifactSourcesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, name: string, options?: Models.ArtifactSourcesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class ArtifactSources { * @param callback The callback */ createOrUpdate(resourceGroupName: string, labName: string, name: string, artifactSource: Models.ArtifactSource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, labName: string, name: string, artifactSource: Models.ArtifactSource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, labName: string, name: string, artifactSource: Models.ArtifactSource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class ArtifactSources { * @param callback The callback */ deleteMethod(resourceGroupName: string, labName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -197,7 +197,7 @@ export class ArtifactSources { * @param callback The callback */ update(resourceGroupName: string, labName: string, name: string, artifactSource: Models.ArtifactSourceFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, name: string, artifactSource: Models.ArtifactSourceFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, name: string, artifactSource: Models.ArtifactSourceFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -228,7 +228,7 @@ export class ArtifactSources { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/artifacts.ts b/packages/@azure/arm-devtestlabs/lib/operations/artifacts.ts index bda29b2c22b4..95452d5acfee 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/artifacts.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/artifacts.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/artifactsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Artifacts { * @param callback The callback */ list(resourceGroupName: string, labName: string, artifactSourceName: string, options: Models.ArtifactsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, artifactSourceName: string, options?: Models.ArtifactsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, artifactSourceName: string, options?: Models.ArtifactsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -89,7 +89,7 @@ export class Artifacts { * @param callback The callback */ get(resourceGroupName: string, labName: string, artifactSourceName: string, name: string, options: Models.ArtifactsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, artifactSourceName: string, name: string, options?: Models.ArtifactsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, artifactSourceName: string, name: string, options?: Models.ArtifactsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -136,7 +136,7 @@ export class Artifacts { * @param callback The callback */ generateArmTemplate(resourceGroupName: string, labName: string, artifactSourceName: string, name: string, generateArmTemplateRequest: Models.GenerateArmTemplateRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - generateArmTemplate(resourceGroupName: string, labName: string, artifactSourceName: string, name: string, generateArmTemplateRequest: Models.GenerateArmTemplateRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + generateArmTemplate(resourceGroupName: string, labName: string, artifactSourceName: string, name: string, generateArmTemplateRequest: Models.GenerateArmTemplateRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -168,7 +168,7 @@ export class Artifacts { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/costs.ts b/packages/@azure/arm-devtestlabs/lib/operations/costs.ts index f58cd21441f1..16fcc5dab183 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/costs.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/costs.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/costsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Costs { * @param callback The callback */ get(resourceGroupName: string, labName: string, name: string, options: Models.CostsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, name: string, options?: Models.CostsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, name: string, options?: Models.CostsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -89,7 +89,7 @@ export class Costs { * @param callback The callback */ createOrUpdate(resourceGroupName: string, labName: string, name: string, labCost: Models.LabCost, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, labName: string, name: string, labCost: Models.LabCost, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, labName: string, name: string, labCost: Models.LabCost, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/customImages.ts b/packages/@azure/arm-devtestlabs/lib/operations/customImages.ts index 2cca0338cff5..4e20e6b45d3d 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/customImages.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/customImages.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/customImagesMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class CustomImages { * @param callback The callback */ list(resourceGroupName: string, labName: string, options: Models.CustomImagesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, options?: Models.CustomImagesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, options?: Models.CustomImagesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class CustomImages { * @param callback The callback */ get(resourceGroupName: string, labName: string, name: string, options: Models.CustomImagesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, name: string, options?: Models.CustomImagesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, name: string, options?: Models.CustomImagesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -149,7 +149,7 @@ export class CustomImages { * @param callback The callback */ update(resourceGroupName: string, labName: string, name: string, customImage: Models.CustomImageFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, name: string, customImage: Models.CustomImageFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, name: string, customImage: Models.CustomImageFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -222,7 +222,7 @@ export class CustomImages { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/disks.ts b/packages/@azure/arm-devtestlabs/lib/operations/disks.ts index 0fb3a741ba9a..ba32267a81d3 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/disks.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/disks.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/disksMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class Disks { * @param callback The callback */ list(resourceGroupName: string, labName: string, userName: string, options: Models.DisksListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, userName: string, options?: Models.DisksListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, userName: string, options?: Models.DisksListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class Disks { * @param callback The callback */ get(resourceGroupName: string, labName: string, userName: string, name: string, options: Models.DisksGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, userName: string, name: string, options?: Models.DisksGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, userName: string, name: string, options?: Models.DisksGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class Disks { * @param callback The callback */ update(resourceGroupName: string, labName: string, userName: string, name: string, disk: Models.DiskFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, userName: string, name: string, disk: Models.DiskFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, userName: string, name: string, disk: Models.DiskFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -322,7 +322,7 @@ export class Disks { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/environments.ts b/packages/@azure/arm-devtestlabs/lib/operations/environments.ts index de68c8979107..2da4b6827c16 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/environments.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/environments.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/environmentsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class Environments { * @param callback The callback */ list(resourceGroupName: string, labName: string, userName: string, options: Models.EnvironmentsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, userName: string, options?: Models.EnvironmentsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, userName: string, options?: Models.EnvironmentsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class Environments { * @param callback The callback */ get(resourceGroupName: string, labName: string, userName: string, name: string, options: Models.EnvironmentsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, userName: string, name: string, options?: Models.EnvironmentsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, userName: string, name: string, options?: Models.EnvironmentsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class Environments { * @param callback The callback */ update(resourceGroupName: string, labName: string, userName: string, name: string, dtlEnvironment: Models.DtlEnvironmentFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, userName: string, name: string, dtlEnvironment: Models.DtlEnvironmentFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, userName: string, name: string, dtlEnvironment: Models.DtlEnvironmentFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -240,7 +240,7 @@ export class Environments { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/formulas.ts b/packages/@azure/arm-devtestlabs/lib/operations/formulas.ts index 16989f3f6be2..cf109bc2d9ca 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/formulas.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/formulas.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/formulasMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Formulas { * @param callback The callback */ list(resourceGroupName: string, labName: string, options: Models.FormulasListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, options?: Models.FormulasListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, options?: Models.FormulasListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class Formulas { * @param callback The callback */ get(resourceGroupName: string, labName: string, name: string, options: Models.FormulasGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, name: string, options?: Models.FormulasGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, name: string, options?: Models.FormulasGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -133,7 +133,7 @@ export class Formulas { * @param callback The callback */ deleteMethod(resourceGroupName: string, labName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -172,7 +172,7 @@ export class Formulas { * @param callback The callback */ update(resourceGroupName: string, labName: string, name: string, formula: Models.FormulaFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, name: string, formula: Models.FormulaFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, name: string, formula: Models.FormulaFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -225,7 +225,7 @@ export class Formulas { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/galleryImages.ts b/packages/@azure/arm-devtestlabs/lib/operations/galleryImages.ts index 1008125b71b0..2e75c0446479 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/galleryImages.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/galleryImages.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/galleryImagesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class GalleryImages { * @param callback The callback */ list(resourceGroupName: string, labName: string, options: Models.GalleryImagesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, options?: Models.GalleryImagesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, options?: Models.GalleryImagesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -76,7 +76,7 @@ export class GalleryImages { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/globalSchedules.ts b/packages/@azure/arm-devtestlabs/lib/operations/globalSchedules.ts index 8b59cb7c7abf..0d21826053d2 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/globalSchedules.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/globalSchedules.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/globalSchedulesMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class GlobalSchedules { * @param callback The callback */ listBySubscription(options: Models.GlobalSchedulesListBySubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - listBySubscription(options?: Models.GlobalSchedulesListBySubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: Models.GlobalSchedulesListBySubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -69,7 +69,7 @@ export class GlobalSchedules { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.GlobalSchedulesListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.GlobalSchedulesListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.GlobalSchedulesListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -100,7 +100,7 @@ export class GlobalSchedules { * @param callback The callback */ get(resourceGroupName: string, name: string, options: Models.GlobalSchedulesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, name: string, options?: Models.GlobalSchedulesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, name: string, options?: Models.GlobalSchedulesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -135,7 +135,7 @@ export class GlobalSchedules { * @param callback The callback */ createOrUpdate(resourceGroupName: string, name: string, schedule: Models.Schedule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, name: string, schedule: Models.Schedule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, name: string, schedule: Models.Schedule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -168,7 +168,7 @@ export class GlobalSchedules { * @param callback The callback */ deleteMethod(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -203,7 +203,7 @@ export class GlobalSchedules { * @param callback The callback */ update(resourceGroupName: string, name: string, schedule: Models.ScheduleFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, name: string, schedule: Models.ScheduleFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, name: string, schedule: Models.ScheduleFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -296,7 +296,7 @@ export class GlobalSchedules { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -324,7 +324,7 @@ export class GlobalSchedules { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/labs.ts b/packages/@azure/arm-devtestlabs/lib/operations/labs.ts index 8492195fdcdd..f86dc41739aa 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/labs.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/labs.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/labsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class Labs { * @param callback The callback */ listBySubscription(options: Models.LabsListBySubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - listBySubscription(options?: Models.LabsListBySubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: Models.LabsListBySubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -69,7 +69,7 @@ export class Labs { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.LabsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.LabsListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.LabsListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -100,7 +100,7 @@ export class Labs { * @param callback The callback */ get(resourceGroupName: string, name: string, options: Models.LabsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, name: string, options?: Models.LabsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, name: string, options?: Models.LabsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -160,7 +160,7 @@ export class Labs { * @param callback The callback */ update(resourceGroupName: string, name: string, lab: Models.LabFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, name: string, lab: Models.LabFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, name: string, lab: Models.LabFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -236,7 +236,7 @@ export class Labs { * @param callback The callback */ generateUploadUri(resourceGroupName: string, name: string, generateUploadUriParameter: Models.GenerateUploadUriParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - generateUploadUri(resourceGroupName: string, name: string, generateUploadUriParameter: Models.GenerateUploadUriParameter, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + generateUploadUri(resourceGroupName: string, name: string, generateUploadUriParameter: Models.GenerateUploadUriParameter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -283,7 +283,7 @@ export class Labs { * @param callback The callback */ listVhds(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listVhds(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listVhds(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -431,7 +431,7 @@ export class Labs { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -459,7 +459,7 @@ export class Labs { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -487,7 +487,7 @@ export class Labs { * @param callback The callback */ listVhdsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listVhdsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listVhdsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/notificationChannels.ts b/packages/@azure/arm-devtestlabs/lib/operations/notificationChannels.ts index 2abd8a541f4d..9e83d4686894 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/notificationChannels.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/notificationChannels.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/notificationChannelsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class NotificationChannels { * @param callback The callback */ list(resourceGroupName: string, labName: string, options: Models.NotificationChannelsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, options?: Models.NotificationChannelsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, options?: Models.NotificationChannelsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class NotificationChannels { * @param callback The callback */ get(resourceGroupName: string, labName: string, name: string, options: Models.NotificationChannelsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, name: string, options?: Models.NotificationChannelsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, name: string, options?: Models.NotificationChannelsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class NotificationChannels { * @param callback The callback */ createOrUpdate(resourceGroupName: string, labName: string, name: string, notificationChannel: Models.NotificationChannel, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, labName: string, name: string, notificationChannel: Models.NotificationChannel, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, labName: string, name: string, notificationChannel: Models.NotificationChannel, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class NotificationChannels { * @param callback The callback */ deleteMethod(resourceGroupName: string, labName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -197,7 +197,7 @@ export class NotificationChannels { * @param callback The callback */ update(resourceGroupName: string, labName: string, name: string, notificationChannel: Models.NotificationChannelFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, name: string, notificationChannel: Models.NotificationChannelFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, name: string, notificationChannel: Models.NotificationChannelFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -237,7 +237,7 @@ export class NotificationChannels { * @param callback The callback */ notify(resourceGroupName: string, labName: string, name: string, notifyParameters: Models.NotifyParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - notify(resourceGroupName: string, labName: string, name: string, notifyParameters: Models.NotifyParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + notify(resourceGroupName: string, labName: string, name: string, notifyParameters: Models.NotifyParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -268,7 +268,7 @@ export class NotificationChannels { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/operations.ts b/packages/@azure/arm-devtestlabs/lib/operations/operations.ts index 6d919e0f8f86..e9516fa84bc3 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/operations.ts +++ b/packages/@azure/arm-devtestlabs/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"; @@ -47,7 +47,7 @@ export class Operations { * @param callback The callback */ get(locationName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(locationName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(locationName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { locationName, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/policies.ts b/packages/@azure/arm-devtestlabs/lib/operations/policies.ts index 741f169dc9cf..596ef83cabe7 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/policies.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/policies.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/policiesMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Policies { * @param callback The callback */ list(resourceGroupName: string, labName: string, policySetName: string, options: Models.PoliciesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, policySetName: string, options?: Models.PoliciesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, policySetName: string, options?: Models.PoliciesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -89,7 +89,7 @@ export class Policies { * @param callback The callback */ get(resourceGroupName: string, labName: string, policySetName: string, name: string, options: Models.PoliciesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, policySetName: string, name: string, options?: Models.PoliciesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, policySetName: string, name: string, options?: Models.PoliciesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -132,7 +132,7 @@ export class Policies { * @param callback The callback */ createOrUpdate(resourceGroupName: string, labName: string, policySetName: string, name: string, policy: Models.Policy, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, labName: string, policySetName: string, name: string, policy: Models.Policy, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, labName: string, policySetName: string, name: string, policy: Models.Policy, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -173,7 +173,7 @@ export class Policies { * @param callback The callback */ deleteMethod(resourceGroupName: string, labName: string, policySetName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, labName: string, policySetName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, labName: string, policySetName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -216,7 +216,7 @@ export class Policies { * @param callback The callback */ update(resourceGroupName: string, labName: string, policySetName: string, name: string, policy: Models.PolicyFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, policySetName: string, name: string, policy: Models.PolicyFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, policySetName: string, name: string, policy: Models.PolicyFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -248,7 +248,7 @@ export class Policies { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/policySets.ts b/packages/@azure/arm-devtestlabs/lib/operations/policySets.ts index 6f0f2099935f..c35da19a1264 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/policySets.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/policySets.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/policySetsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class PolicySets { * @param callback The callback */ evaluatePolicies(resourceGroupName: string, labName: string, name: string, evaluatePoliciesRequest: Models.EvaluatePoliciesRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - evaluatePolicies(resourceGroupName: string, labName: string, name: string, evaluatePoliciesRequest: Models.EvaluatePoliciesRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + evaluatePolicies(resourceGroupName: string, labName: string, name: string, evaluatePoliciesRequest: Models.EvaluatePoliciesRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/providerOperations.ts b/packages/@azure/arm-devtestlabs/lib/operations/providerOperations.ts index 341fdfef5292..163a0eadb7cc 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/providerOperations.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/providerOperations.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/providerOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class ProviderOperations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class ProviderOperations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/schedules.ts b/packages/@azure/arm-devtestlabs/lib/operations/schedules.ts index 20e72001f4d4..59afb9182540 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/schedules.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/schedules.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/schedulesMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Schedules { * @param callback The callback */ list(resourceGroupName: string, labName: string, options: Models.SchedulesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, options?: Models.SchedulesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, options?: Models.SchedulesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class Schedules { * @param callback The callback */ get(resourceGroupName: string, labName: string, name: string, options: Models.SchedulesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, name: string, options?: Models.SchedulesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, name: string, options?: Models.SchedulesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -122,7 +122,7 @@ export class Schedules { * @param callback The callback */ createOrUpdate(resourceGroupName: string, labName: string, name: string, schedule: Models.Schedule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, labName: string, name: string, schedule: Models.Schedule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, labName: string, name: string, schedule: Models.Schedule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -159,7 +159,7 @@ export class Schedules { * @param callback The callback */ deleteMethod(resourceGroupName: string, labName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -198,7 +198,7 @@ export class Schedules { * @param callback The callback */ update(resourceGroupName: string, labName: string, name: string, schedule: Models.ScheduleFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, name: string, schedule: Models.ScheduleFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, name: string, schedule: Models.ScheduleFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -248,7 +248,7 @@ export class Schedules { * @param callback The callback */ listApplicable(resourceGroupName: string, labName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listApplicable(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listApplicable(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -298,7 +298,7 @@ export class Schedules { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -326,7 +326,7 @@ export class Schedules { * @param callback The callback */ listApplicableNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listApplicableNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listApplicableNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/secrets.ts b/packages/@azure/arm-devtestlabs/lib/operations/secrets.ts index c6c6704b710c..2b3a91a3c14c 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/secrets.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/secrets.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/secretsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class Secrets { * @param callback The callback */ list(resourceGroupName: string, labName: string, userName: string, options: Models.SecretsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, userName: string, options?: Models.SecretsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, userName: string, options?: Models.SecretsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class Secrets { * @param callback The callback */ get(resourceGroupName: string, labName: string, userName: string, name: string, options: Models.SecretsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, userName: string, name: string, options?: Models.SecretsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, userName: string, name: string, options?: Models.SecretsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -145,7 +145,7 @@ export class Secrets { * @param callback The callback */ deleteMethod(resourceGroupName: string, labName: string, userName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, labName: string, userName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, labName: string, userName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -188,7 +188,7 @@ export class Secrets { * @param callback The callback */ update(resourceGroupName: string, labName: string, userName: string, name: string, secret: Models.SecretFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, userName: string, name: string, secret: Models.SecretFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, userName: string, name: string, secret: Models.SecretFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -244,7 +244,7 @@ export class Secrets { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/serviceFabricSchedules.ts b/packages/@azure/arm-devtestlabs/lib/operations/serviceFabricSchedules.ts index e19f6ee77b8f..5174bf0d28b4 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/serviceFabricSchedules.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/serviceFabricSchedules.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/serviceFabricSchedulesMappers"; import * as Parameters from "../models/parameters"; @@ -54,7 +54,7 @@ export class ServiceFabricSchedules { * @param callback The callback */ list(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, options: Models.ServiceFabricSchedulesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, options?: Models.ServiceFabricSchedulesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, options?: Models.ServiceFabricSchedulesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -97,7 +97,7 @@ export class ServiceFabricSchedules { * @param callback The callback */ get(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, options: Models.ServiceFabricSchedulesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, options?: Models.ServiceFabricSchedulesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, options?: Models.ServiceFabricSchedulesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -144,7 +144,7 @@ export class ServiceFabricSchedules { * @param callback The callback */ createOrUpdate(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, schedule: Models.Schedule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, schedule: Models.Schedule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, schedule: Models.Schedule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -189,7 +189,7 @@ export class ServiceFabricSchedules { * @param callback The callback */ deleteMethod(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -236,7 +236,7 @@ export class ServiceFabricSchedules { * @param callback The callback */ update(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, schedule: Models.ScheduleFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, schedule: Models.ScheduleFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, schedule: Models.ScheduleFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -308,7 +308,7 @@ export class ServiceFabricSchedules { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/serviceFabrics.ts b/packages/@azure/arm-devtestlabs/lib/operations/serviceFabrics.ts index 5e631c5a2c90..54257f84f509 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/serviceFabrics.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/serviceFabrics.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/serviceFabricsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class ServiceFabrics { * @param callback The callback */ list(resourceGroupName: string, labName: string, userName: string, options: Models.ServiceFabricsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, userName: string, options?: Models.ServiceFabricsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, userName: string, options?: Models.ServiceFabricsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class ServiceFabrics { * @param callback The callback */ get(resourceGroupName: string, labName: string, userName: string, name: string, options: Models.ServiceFabricsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, userName: string, name: string, options?: Models.ServiceFabricsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, userName: string, name: string, options?: Models.ServiceFabricsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class ServiceFabrics { * @param callback The callback */ update(resourceGroupName: string, labName: string, userName: string, name: string, serviceFabric: Models.ServiceFabricFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, userName: string, name: string, serviceFabric: Models.ServiceFabricFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, userName: string, name: string, serviceFabric: Models.ServiceFabricFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -203,7 +203,7 @@ export class ServiceFabrics { * @param callback The callback */ listApplicableSchedules(resourceGroupName: string, labName: string, userName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listApplicableSchedules(resourceGroupName: string, labName: string, userName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listApplicableSchedules(resourceGroupName: string, labName: string, userName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -352,7 +352,7 @@ export class ServiceFabrics { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/serviceRunners.ts b/packages/@azure/arm-devtestlabs/lib/operations/serviceRunners.ts index cadc1d1a716a..c4b933724cd7 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/serviceRunners.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/serviceRunners.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/serviceRunnersMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class ServiceRunners { * @param callback The callback */ list(resourceGroupName: string, labName: string, options: Models.ServiceRunnersListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, options?: Models.ServiceRunnersListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, options?: Models.ServiceRunnersListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class ServiceRunners { * @param callback The callback */ get(resourceGroupName: string, labName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class ServiceRunners { * @param callback The callback */ createOrUpdate(resourceGroupName: string, labName: string, name: string, serviceRunner: Models.ServiceRunner, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, labName: string, name: string, serviceRunner: Models.ServiceRunner, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, labName: string, name: string, serviceRunner: Models.ServiceRunner, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class ServiceRunners { * @param callback The callback */ deleteMethod(resourceGroupName: string, labName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -188,7 +188,7 @@ export class ServiceRunners { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/users.ts b/packages/@azure/arm-devtestlabs/lib/operations/users.ts index 755376b460fc..01a7d31f246d 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/users.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/users.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/usersMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Users { * @param callback The callback */ list(resourceGroupName: string, labName: string, options: Models.UsersListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, options?: Models.UsersListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, options?: Models.UsersListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class Users { * @param callback The callback */ get(resourceGroupName: string, labName: string, name: string, options: Models.UsersGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, name: string, options?: Models.UsersGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, name: string, options?: Models.UsersGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -149,7 +149,7 @@ export class Users { * @param callback The callback */ update(resourceGroupName: string, labName: string, name: string, user: Models.UserFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, name: string, user: Models.UserFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, name: string, user: Models.UserFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -222,7 +222,7 @@ export class Users { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/virtualMachineSchedules.ts b/packages/@azure/arm-devtestlabs/lib/operations/virtualMachineSchedules.ts index 0fa35f9db05d..460b610bf6f9 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/virtualMachineSchedules.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/virtualMachineSchedules.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/virtualMachineSchedulesMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class VirtualMachineSchedules { * @param callback The callback */ list(resourceGroupName: string, labName: string, virtualMachineName: string, options: Models.VirtualMachineSchedulesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, virtualMachineName: string, options?: Models.VirtualMachineSchedulesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, virtualMachineName: string, options?: Models.VirtualMachineSchedulesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class VirtualMachineSchedules { * @param callback The callback */ get(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, options: Models.VirtualMachineSchedulesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, options?: Models.VirtualMachineSchedulesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, options?: Models.VirtualMachineSchedulesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -133,7 +133,7 @@ export class VirtualMachineSchedules { * @param callback The callback */ createOrUpdate(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, schedule: Models.Schedule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, schedule: Models.Schedule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, schedule: Models.Schedule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -174,7 +174,7 @@ export class VirtualMachineSchedules { * @param callback The callback */ deleteMethod(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -217,7 +217,7 @@ export class VirtualMachineSchedules { * @param callback The callback */ update(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, schedule: Models.ScheduleFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, schedule: Models.ScheduleFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, schedule: Models.ScheduleFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -285,7 +285,7 @@ export class VirtualMachineSchedules { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/virtualMachines.ts b/packages/@azure/arm-devtestlabs/lib/operations/virtualMachines.ts index 11161662d18c..dbe0b61786d7 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/virtualMachines.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/virtualMachines.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/virtualMachinesMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class VirtualMachines { * @param callback The callback */ list(resourceGroupName: string, labName: string, options: Models.VirtualMachinesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, options?: Models.VirtualMachinesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, options?: Models.VirtualMachinesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class VirtualMachines { * @param callback The callback */ get(resourceGroupName: string, labName: string, name: string, options: Models.VirtualMachinesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, name: string, options?: Models.VirtualMachinesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, name: string, options?: Models.VirtualMachinesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -149,7 +149,7 @@ export class VirtualMachines { * @param callback The callback */ update(resourceGroupName: string, labName: string, name: string, labVirtualMachine: Models.LabVirtualMachineFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, name: string, labVirtualMachine: Models.LabVirtualMachineFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, name: string, labVirtualMachine: Models.LabVirtualMachineFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -243,7 +243,7 @@ export class VirtualMachines { * @param callback The callback */ getRdpFileContents(resourceGroupName: string, labName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getRdpFileContents(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getRdpFileContents(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -279,7 +279,7 @@ export class VirtualMachines { * @param callback The callback */ listApplicableSchedules(resourceGroupName: string, labName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listApplicableSchedules(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listApplicableSchedules(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -675,7 +675,7 @@ export class VirtualMachines { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/lib/operations/virtualNetworks.ts b/packages/@azure/arm-devtestlabs/lib/operations/virtualNetworks.ts index 1349e2b5789d..2529fd5ec8a0 100644 --- a/packages/@azure/arm-devtestlabs/lib/operations/virtualNetworks.ts +++ b/packages/@azure/arm-devtestlabs/lib/operations/virtualNetworks.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/virtualNetworksMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class VirtualNetworks { * @param callback The callback */ list(resourceGroupName: string, labName: string, options: Models.VirtualNetworksListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, options?: Models.VirtualNetworksListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, labName: string, options?: Models.VirtualNetworksListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class VirtualNetworks { * @param callback The callback */ get(resourceGroupName: string, labName: string, name: string, options: Models.VirtualNetworksGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, labName: string, name: string, options?: Models.VirtualNetworksGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, labName: string, name: string, options?: Models.VirtualNetworksGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -149,7 +149,7 @@ export class VirtualNetworks { * @param callback The callback */ update(resourceGroupName: string, labName: string, name: string, virtualNetwork: Models.VirtualNetworkFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, labName: string, name: string, virtualNetwork: Models.VirtualNetworkFragment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, labName: string, name: string, virtualNetwork: Models.VirtualNetworkFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -222,7 +222,7 @@ export class VirtualNetworks { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-devtestlabs/package.json b/packages/@azure/arm-devtestlabs/package.json index b1d1eb381dd6..2615d1421cda 100644 --- a/packages/@azure/arm-devtestlabs/package.json +++ b/packages/@azure/arm-devtestlabs/package.json @@ -4,8 +4,8 @@ "description": "DevTestLabsClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-devtestlabs/rollup.config.js b/packages/@azure/arm-devtestlabs/rollup.config.js index 975d80c9a788..eca4941cf262 100644 --- a/packages/@azure/arm-devtestlabs/rollup.config.js +++ b/packages/@azure/arm-devtestlabs/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/devTestLabsClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-devtestlabs.js", format: "umd", name: "Azure.ArmDevtestlabs", 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-devtestlabs/tsconfig.esm.json b/packages/@azure/arm-devtestlabs/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-devtestlabs/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-devtestlabs/tsconfig.json b/packages/@azure/arm-devtestlabs/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-devtestlabs/tsconfig.json +++ b/packages/@azure/arm-devtestlabs/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-devtestlabs/webpack.config.js b/packages/@azure/arm-devtestlabs/webpack.config.js deleted file mode 100644 index 333ec6b3724c..000000000000 --- a/packages/@azure/arm-devtestlabs/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/devTestLabsClient.js', - devtool: 'source-map', - output: { - filename: 'devTestLabsClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'devTestLabsClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-dns/.npmignore b/packages/@azure/arm-dns/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-dns/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-dns/README.md b/packages/@azure/arm-dns/README.md index 4c8ea6306a89..1dab928d1c09 100644 --- a/packages/@azure/arm-dns/README.md +++ b/packages/@azure/arm-dns/README.md @@ -1,24 +1,34 @@ -# Azure DnsManagementClient SDK for JavaScript +## Azure DnsManagementClient SDK for JavaScript + This package contains an isomorphic SDK for DnsManagementClient. -## 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-dns ``` +### How to use + +#### nodejs - Authentication, client creation and get recordSets as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get recordSets as an example written in TypeScript. +##### Sample code ```ts -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 { DnsManagementClient, DnsManagementModels, DnsManagementMappers } from "@azure/arm-dns"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -37,7 +47,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get recordSets as an example written in JavaScript. +#### browser - Authentication, client creation and get recordSets as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -46,11 +65,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-dns 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-dns/lib/dnsManagementClient.ts b/packages/@azure/arm-dns/lib/dnsManagementClient.ts index 0b83fca79b0d..c2142deb6643 100644 --- a/packages/@azure/arm-dns/lib/dnsManagementClient.ts +++ b/packages/@azure/arm-dns/lib/dnsManagementClient.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-dns/lib/dnsManagementClientContext.ts b/packages/@azure/arm-dns/lib/dnsManagementClientContext.ts index b6950bc1b6fe..dfba561a5d21 100644 --- a/packages/@azure/arm-dns/lib/dnsManagementClientContext.ts +++ b/packages/@azure/arm-dns/lib/dnsManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-dns"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class DnsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the DnsManagementClient class. @@ -45,6 +38,11 @@ export class DnsManagementClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-05-01'; @@ -55,7 +53,6 @@ export class DnsManagementClientContext extends msRestAzure.AzureServiceClient { this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-dns/lib/models/index.ts b/packages/@azure/arm-dns/lib/models/index.ts index 1a12d52ebb00..e98649e4fd69 100644 --- a/packages/@azure/arm-dns/lib/models/index.ts +++ b/packages/@azure/arm-dns/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -753,30 +753,15 @@ export interface ZoneListResult extends Array { * @readonly * @enum {string} */ -export enum ZoneType { - Public = 'Public', - Private = 'Private', -} +export type ZoneType = 'Public' | 'Private'; /** * Defines values for RecordType. - * Possible values include: 'A', 'AAAA', 'CAA', 'CNAME', 'MX', 'NS', 'PTR', - * 'SOA', 'SRV', 'TXT' + * Possible values include: 'A', 'AAAA', 'CAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @readonly * @enum {string} */ -export enum RecordType { - A = 'A', - AAAA = 'AAAA', - CAA = 'CAA', - CNAME = 'CNAME', - MX = 'MX', - NS = 'NS', - PTR = 'PTR', - SOA = 'SOA', - SRV = 'SRV', - TXT = 'TXT', -} +export type RecordType = 'A' | 'AAAA' | 'CAA' | 'CNAME' | 'MX' | 'NS' | 'PTR' | 'SOA' | 'SRV' | 'TXT'; /** * Contains response data for the update operation. diff --git a/packages/@azure/arm-dns/lib/models/mappers.ts b/packages/@azure/arm-dns/lib/models/mappers.ts index 5336fafad56e..64f08a071154 100644 --- a/packages/@azure/arm-dns/lib/models/mappers.ts +++ b/packages/@azure/arm-dns/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-dns/lib/models/parameters.ts b/packages/@azure/arm-dns/lib/models/parameters.ts index e350823f2d21..101638acd9bd 100644 --- a/packages/@azure/arm-dns/lib/models/parameters.ts +++ b/packages/@azure/arm-dns/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-dns/lib/operations/dnsResourceReferenceOperations.ts b/packages/@azure/arm-dns/lib/operations/dnsResourceReferenceOperations.ts index 8e23c50784ab..e315c3713111 100644 --- a/packages/@azure/arm-dns/lib/operations/dnsResourceReferenceOperations.ts +++ b/packages/@azure/arm-dns/lib/operations/dnsResourceReferenceOperations.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/dnsResourceReferenceOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class DnsResourceReferenceOperations { * @param callback The callback */ getByTargetResources(parameters: Models.DnsResourceReferenceRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getByTargetResources(parameters: Models.DnsResourceReferenceRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getByTargetResources(parameters: Models.DnsResourceReferenceRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, diff --git a/packages/@azure/arm-dns/lib/operations/recordSets.ts b/packages/@azure/arm-dns/lib/operations/recordSets.ts index b89664d58233..36ca178620ce 100644 --- a/packages/@azure/arm-dns/lib/operations/recordSets.ts +++ b/packages/@azure/arm-dns/lib/operations/recordSets.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/recordSetsMappers"; import * as Parameters from "../models/parameters"; @@ -59,7 +59,7 @@ export class RecordSets { * @param callback The callback */ update(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: Models.RecordType, parameters: Models.RecordSet, options: Models.RecordSetsUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: Models.RecordType, parameters: Models.RecordSet, options?: Models.RecordSetsUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: Models.RecordType, parameters: Models.RecordSet, options?: Models.RecordSetsUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -109,7 +109,7 @@ export class RecordSets { * @param callback The callback */ createOrUpdate(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: Models.RecordType, parameters: Models.RecordSet, options: Models.RecordSetsCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: Models.RecordType, parameters: Models.RecordSet, options?: Models.RecordSetsCreateOrUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: Models.RecordType, parameters: Models.RecordSet, options?: Models.RecordSetsCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -156,7 +156,7 @@ export class RecordSets { * @param callback The callback */ deleteMethod(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: Models.RecordType, options: Models.RecordSetsDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: Models.RecordType, options?: Models.RecordSetsDeleteMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: Models.RecordType, options?: Models.RecordSetsDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -199,7 +199,7 @@ export class RecordSets { * @param callback The callback */ get(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: Models.RecordType, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: Models.RecordType, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: Models.RecordType, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -239,7 +239,7 @@ export class RecordSets { * @param callback The callback */ listByType(resourceGroupName: string, zoneName: string, recordType: Models.RecordType, options: Models.RecordSetsListByTypeOptionalParams, callback: msRest.ServiceCallback): void; - listByType(resourceGroupName: string, zoneName: string, recordType: Models.RecordType, options?: Models.RecordSetsListByTypeOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByType(resourceGroupName: string, zoneName: string, recordType: Models.RecordType, options?: Models.RecordSetsListByTypeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -272,7 +272,7 @@ export class RecordSets { * @param callback The callback */ listByDnsZone(resourceGroupName: string, zoneName: string, options: Models.RecordSetsListByDnsZoneOptionalParams, callback: msRest.ServiceCallback): void; - listByDnsZone(resourceGroupName: string, zoneName: string, options?: Models.RecordSetsListByDnsZoneOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByDnsZone(resourceGroupName: string, zoneName: string, options?: Models.RecordSetsListByDnsZoneOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -304,7 +304,7 @@ export class RecordSets { * @param callback The callback */ listAllByDnsZone(resourceGroupName: string, zoneName: string, options: Models.RecordSetsListAllByDnsZoneOptionalParams, callback: msRest.ServiceCallback): void; - listAllByDnsZone(resourceGroupName: string, zoneName: string, options?: Models.RecordSetsListAllByDnsZoneOptionalParams, callback?: msRest.ServiceCallback): Promise { + listAllByDnsZone(resourceGroupName: string, zoneName: string, options?: Models.RecordSetsListAllByDnsZoneOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -333,7 +333,7 @@ export class RecordSets { * @param callback The callback */ listByTypeNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByTypeNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByTypeNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -361,7 +361,7 @@ export class RecordSets { * @param callback The callback */ listByDnsZoneNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDnsZoneNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDnsZoneNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -389,7 +389,7 @@ export class RecordSets { * @param callback The callback */ listAllByDnsZoneNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAllByDnsZoneNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAllByDnsZoneNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-dns/lib/operations/zones.ts b/packages/@azure/arm-dns/lib/operations/zones.ts index d7042a5a5f9f..950ecffd2349 100644 --- a/packages/@azure/arm-dns/lib/operations/zones.ts +++ b/packages/@azure/arm-dns/lib/operations/zones.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/zonesMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class Zones { * @param callback The callback */ createOrUpdate(resourceGroupName: string, zoneName: string, parameters: Models.Zone, options: Models.ZonesCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, zoneName: string, parameters: Models.Zone, options?: Models.ZonesCreateOrUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, zoneName: string, parameters: Models.Zone, options?: Models.ZonesCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -97,7 +97,7 @@ export class Zones { * @param callback The callback */ get(resourceGroupName: string, zoneName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, zoneName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, zoneName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -132,7 +132,7 @@ export class Zones { * @param callback The callback */ update(resourceGroupName: string, zoneName: string, parameters: Models.ZoneUpdate, options: Models.ZonesUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, zoneName: string, parameters: Models.ZoneUpdate, options?: Models.ZonesUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, zoneName: string, parameters: Models.ZoneUpdate, options?: Models.ZonesUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class Zones { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.ZonesListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.ZonesListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.ZonesListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -187,7 +187,7 @@ export class Zones { * @param callback The callback */ list(options: Models.ZonesListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.ZonesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.ZonesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -233,7 +233,7 @@ export class Zones { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -261,7 +261,7 @@ export class Zones { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-dns/package.json b/packages/@azure/arm-dns/package.json index 6a59ef39fbbc..a8025d02ba9e 100644 --- a/packages/@azure/arm-dns/package.json +++ b/packages/@azure/arm-dns/package.json @@ -4,8 +4,8 @@ "description": "DnsManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-dns.js.map'\" -o ./dist/arm-dns.min.js ./dist/arm-dns.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-dns/rollup.config.js b/packages/@azure/arm-dns/rollup.config.js index 7d8d91ecfd3e..53c2f5f5cf47 100644 --- a/packages/@azure/arm-dns/rollup.config.js +++ b/packages/@azure/arm-dns/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/dnsManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-dns.js", format: "umd", name: "Azure.ArmDns", 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-dns/tsconfig.json b/packages/@azure/arm-dns/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-dns/tsconfig.json +++ b/packages/@azure/arm-dns/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-domainservices/README.md b/packages/@azure/arm-domainservices/README.md index 123c9fbf0066..c3f4cfb92918 100644 --- a/packages/@azure/arm-domainservices/README.md +++ b/packages/@azure/arm-domainservices/README.md @@ -1,24 +1,34 @@ -# Azure DomainservicesManagementClient SDK for JavaScript +## Azure DomainservicesManagementClient SDK for JavaScript + This package contains an isomorphic SDK for DomainservicesManagementClient. -## 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-domainservices ``` +### How to use + +#### nodejs - Authentication, client creation and list domainServiceOperations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list domainServiceOperations as an example written in TypeScript. +##### Sample code ```ts -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 { DomainservicesManagementClient, DomainservicesManagementModels, DomainservicesManagementMappers } from "@azure/arm-domainservices"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list domainServiceOperations as an example written in JavaScript. +#### browser - Authentication, client creation and list domainServiceOperations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-domainservices 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-domainservices/lib/domainservicesManagementClient.ts b/packages/@azure/arm-domainservices/lib/domainservicesManagementClient.ts index 4097d3cee5ca..99e64b1dd67b 100644 --- a/packages/@azure/arm-domainservices/lib/domainservicesManagementClient.ts +++ b/packages/@azure/arm-domainservices/lib/domainservicesManagementClient.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-domainservices/lib/domainservicesManagementClientContext.ts b/packages/@azure/arm-domainservices/lib/domainservicesManagementClientContext.ts index 4cc39a6b92a9..83b1b9c3eecd 100644 --- a/packages/@azure/arm-domainservices/lib/domainservicesManagementClientContext.ts +++ b/packages/@azure/arm-domainservices/lib/domainservicesManagementClientContext.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-domainservices"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class DomainservicesManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/packages/@azure/arm-domainservices/lib/models/index.ts b/packages/@azure/arm-domainservices/lib/models/index.ts index 86c236b5453e..a2ae83f10b66 100644 --- a/packages/@azure/arm-domainservices/lib/models/index.ts +++ b/packages/@azure/arm-domainservices/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -427,127 +427,66 @@ export interface DomainServiceListResult extends Array { /** * Defines values for Ldaps. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Ldaps = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Ldaps { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type Ldaps = 'Enabled' | 'Disabled'; /** * Defines values for ExternalAccess. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ExternalAccess = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ExternalAccess { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type ExternalAccess = 'Enabled' | 'Disabled'; /** * Defines values for NotifyGlobalAdmins. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NotifyGlobalAdmins = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum NotifyGlobalAdmins { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type NotifyGlobalAdmins = 'Enabled' | 'Disabled'; /** * Defines values for NotifyDcAdmins. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NotifyDcAdmins = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum NotifyDcAdmins { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type NotifyDcAdmins = 'Enabled' | 'Disabled'; /** * Defines values for NtlmV1. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NtlmV1 = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum NtlmV1 { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type NtlmV1 = 'Enabled' | 'Disabled'; /** * Defines values for TlsV1. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TlsV1 = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TlsV1 { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type TlsV1 = 'Enabled' | 'Disabled'; /** * Defines values for SyncNtlmPasswords. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SyncNtlmPasswords = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SyncNtlmPasswords { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type SyncNtlmPasswords = 'Enabled' | 'Disabled'; /** * Defines values for FilteredSync. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FilteredSync = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FilteredSync { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type FilteredSync = 'Enabled' | 'Disabled'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-domainservices/lib/models/mappers.ts b/packages/@azure/arm-domainservices/lib/models/mappers.ts index 73235febacca..5f8b614e7804 100644 --- a/packages/@azure/arm-domainservices/lib/models/mappers.ts +++ b/packages/@azure/arm-domainservices/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-domainservices/lib/models/parameters.ts b/packages/@azure/arm-domainservices/lib/models/parameters.ts index c426bfe539ed..0b8765e628c5 100644 --- a/packages/@azure/arm-domainservices/lib/models/parameters.ts +++ b/packages/@azure/arm-domainservices/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-domainservices/lib/operations/domainServiceOperations.ts b/packages/@azure/arm-domainservices/lib/operations/domainServiceOperations.ts index 022f0748212e..fa8d0ef0e300 100644 --- a/packages/@azure/arm-domainservices/lib/operations/domainServiceOperations.ts +++ b/packages/@azure/arm-domainservices/lib/operations/domainServiceOperations.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/domainServiceOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class DomainServiceOperations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class DomainServiceOperations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-domainservices/lib/operations/domainServices.ts b/packages/@azure/arm-domainservices/lib/operations/domainServices.ts index 05b06ec41d46..8899f044b84e 100644 --- a/packages/@azure/arm-domainservices/lib/operations/domainServices.ts +++ b/packages/@azure/arm-domainservices/lib/operations/domainServices.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/domainServicesMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class DomainServices { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -76,7 +76,7 @@ export class DomainServices { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -128,7 +128,7 @@ export class DomainServices { * @param callback The callback */ get(resourceGroupName: string, domainServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, domainServiceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, domainServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -256,7 +256,7 @@ export class DomainServices { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -286,7 +286,7 @@ export class DomainServices { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-domainservices/package.json b/packages/@azure/arm-domainservices/package.json index 9fc611fb44b2..08d06529ad15 100644 --- a/packages/@azure/arm-domainservices/package.json +++ b/packages/@azure/arm-domainservices/package.json @@ -4,8 +4,8 @@ "description": "DomainservicesManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.457", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-domainservices/rollup.config.js b/packages/@azure/arm-domainservices/rollup.config.js index 17ca613d2acf..70ceaf439e29 100644 --- a/packages/@azure/arm-domainservices/rollup.config.js +++ b/packages/@azure/arm-domainservices/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/domainservicesManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-domainservices.js", format: "umd", name: "Azure.ArmDomainservices", 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-domainservices/tsconfig.json b/packages/@azure/arm-domainservices/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-domainservices/tsconfig.json +++ b/packages/@azure/arm-domainservices/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-eventgrid/.npmignore b/packages/@azure/arm-eventgrid/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-eventgrid/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-eventgrid/README.md b/packages/@azure/arm-eventgrid/README.md index 583a7a636b84..842f4b154697 100644 --- a/packages/@azure/arm-eventgrid/README.md +++ b/packages/@azure/arm-eventgrid/README.md @@ -1,24 +1,34 @@ -# Azure EventGridManagementClient SDK for JavaScript +## Azure EventGridManagementClient SDK for JavaScript + This package contains an isomorphic SDK for EventGridManagementClient. -## 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-eventgrid ``` +### How to use + +#### nodejs - Authentication, client creation and get domains as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get domains as an example written in TypeScript. +##### Sample code ```ts -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 { EventGridManagementClient, EventGridManagementModels, EventGridManagementMappers } from "@azure/arm-eventgrid"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get domains as an example written in JavaScript. +#### browser - Authentication, client creation and get domains as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-eventgrid 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-eventgrid/lib/eventGridManagementClient.ts b/packages/@azure/arm-eventgrid/lib/eventGridManagementClient.ts index 9e779f320171..62ae1023d48c 100644 --- a/packages/@azure/arm-eventgrid/lib/eventGridManagementClient.ts +++ b/packages/@azure/arm-eventgrid/lib/eventGridManagementClient.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-eventgrid/lib/eventGridManagementClientContext.ts b/packages/@azure/arm-eventgrid/lib/eventGridManagementClientContext.ts index f95daed171d8..36d249d7d75e 100644 --- a/packages/@azure/arm-eventgrid/lib/eventGridManagementClientContext.ts +++ b/packages/@azure/arm-eventgrid/lib/eventGridManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-eventgrid"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class EventGridManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the EventGridManagementClient class. @@ -45,6 +38,11 @@ export class EventGridManagementClientContext extends msRestAzure.AzureServiceCl if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-09-15-preview'; @@ -55,7 +53,6 @@ export class EventGridManagementClientContext extends msRestAzure.AzureServiceCl this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-eventgrid/lib/models/index.ts b/packages/@azure/arm-eventgrid/lib/models/index.ts index b56f4d55a3c6..7b9c0d0bdb99 100644 --- a/packages/@azure/arm-eventgrid/lib/models/index.ts +++ b/packages/@azure/arm-eventgrid/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1151,140 +1151,60 @@ export interface TopicTypesListResult extends Array { /** * Defines values for DomainProvisioningState. - * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', - * 'Canceled', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DomainProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed' * @readonly * @enum {string} */ -export enum DomainProvisioningState { - Creating = 'Creating', - Updating = 'Updating', - Deleting = 'Deleting', - Succeeded = 'Succeeded', - Canceled = 'Canceled', - Failed = 'Failed', -} +export type DomainProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Canceled' | 'Failed'; /** * Defines values for InputSchema. - * Possible values include: 'EventGridSchema', 'CustomEventSchema', - * 'CloudEventV01Schema' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: InputSchema = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'EventGridSchema', 'CustomEventSchema', 'CloudEventV01Schema' * @readonly * @enum {string} */ -export enum InputSchema { - EventGridSchema = 'EventGridSchema', - CustomEventSchema = 'CustomEventSchema', - CloudEventV01Schema = 'CloudEventV01Schema', -} +export type InputSchema = 'EventGridSchema' | 'CustomEventSchema' | 'CloudEventV01Schema'; /** * Defines values for EventSubscriptionProvisioningState. - * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', - * 'Canceled', 'Failed', 'AwaitingManualAction' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EventSubscriptionProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed', + * 'AwaitingManualAction' * @readonly * @enum {string} */ -export enum EventSubscriptionProvisioningState { - Creating = 'Creating', - Updating = 'Updating', - Deleting = 'Deleting', - Succeeded = 'Succeeded', - Canceled = 'Canceled', - Failed = 'Failed', - AwaitingManualAction = 'AwaitingManualAction', -} +export type EventSubscriptionProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Canceled' | 'Failed' | 'AwaitingManualAction'; /** * Defines values for EventDeliverySchema. - * Possible values include: 'EventGridSchema', 'CloudEventV01Schema', - * 'CustomInputSchema' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EventDeliverySchema = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'EventGridSchema', 'CloudEventV01Schema', 'CustomInputSchema' * @readonly * @enum {string} */ -export enum EventDeliverySchema { - EventGridSchema = 'EventGridSchema', - CloudEventV01Schema = 'CloudEventV01Schema', - CustomInputSchema = 'CustomInputSchema', -} +export type EventDeliverySchema = 'EventGridSchema' | 'CloudEventV01Schema' | 'CustomInputSchema'; /** * Defines values for TopicProvisioningState. - * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', - * 'Canceled', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TopicProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed' * @readonly * @enum {string} */ -export enum TopicProvisioningState { - Creating = 'Creating', - Updating = 'Updating', - Deleting = 'Deleting', - Succeeded = 'Succeeded', - Canceled = 'Canceled', - Failed = 'Failed', -} +export type TopicProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Canceled' | 'Failed'; /** * Defines values for ResourceRegionType. * Possible values include: 'RegionalResource', 'GlobalResource' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ResourceRegionType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ResourceRegionType { - RegionalResource = 'RegionalResource', - GlobalResource = 'GlobalResource', -} +export type ResourceRegionType = 'RegionalResource' | 'GlobalResource'; /** * Defines values for TopicTypeProvisioningState. - * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', - * 'Canceled', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TopicTypeProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed' * @readonly * @enum {string} */ -export enum TopicTypeProvisioningState { - Creating = 'Creating', - Updating = 'Updating', - Deleting = 'Deleting', - Succeeded = 'Succeeded', - Canceled = 'Canceled', - Failed = 'Failed', -} +export type TopicTypeProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Canceled' | 'Failed'; /** * Contains response data for the get operation. diff --git a/packages/@azure/arm-eventgrid/lib/models/mappers.ts b/packages/@azure/arm-eventgrid/lib/models/mappers.ts index c3cdaa7e132f..03369dae39de 100644 --- a/packages/@azure/arm-eventgrid/lib/models/mappers.ts +++ b/packages/@azure/arm-eventgrid/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -127,11 +127,6 @@ export const Domain: msRest.CompositeMapper = { serializedName: "properties.inputSchemaMapping", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "inputSchemaMappingType", - clientName: "inputSchemaMappingType" - }, - uberParent: "InputSchemaMapping", className: "InputSchemaMapping" } } @@ -303,11 +298,6 @@ export const EventSubscriptionFilter: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "operatorType", - clientName: "operatorType" - }, - uberParent: "AdvancedFilter", className: "AdvancedFilter" } } @@ -763,11 +753,6 @@ export const EventSubscription: msRest.CompositeMapper = { serializedName: "properties.destination", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "endpointType", - clientName: "endpointType" - }, - uberParent: "EventSubscriptionDestination", className: "EventSubscriptionDestination" } }, @@ -812,11 +797,6 @@ export const EventSubscription: msRest.CompositeMapper = { serializedName: "properties.deadLetterDestination", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "endpointType", - clientName: "endpointType" - }, - uberParent: "DeadLetterDestination", className: "DeadLetterDestination" } } @@ -834,11 +814,6 @@ export const EventSubscriptionUpdateParameters: msRest.CompositeMapper = { serializedName: "destination", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "endpointType", - clientName: "endpointType" - }, - uberParent: "EventSubscriptionDestination", className: "EventSubscriptionDestination" } }, @@ -883,11 +858,6 @@ export const EventSubscriptionUpdateParameters: msRest.CompositeMapper = { serializedName: "deadLetterDestination", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "endpointType", - clientName: "endpointType" - }, - uberParent: "DeadLetterDestination", className: "DeadLetterDestination" } } @@ -1105,11 +1075,6 @@ export const Topic: msRest.CompositeMapper = { serializedName: "properties.inputSchemaMapping", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "inputSchemaMappingType", - clientName: "inputSchemaMappingType" - }, - uberParent: "InputSchemaMapping", className: "InputSchemaMapping" } } diff --git a/packages/@azure/arm-eventgrid/lib/models/parameters.ts b/packages/@azure/arm-eventgrid/lib/models/parameters.ts index 1f7804fc0e5d..743bb232ee3b 100644 --- a/packages/@azure/arm-eventgrid/lib/models/parameters.ts +++ b/packages/@azure/arm-eventgrid/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-eventgrid/lib/operations/domainTopics.ts b/packages/@azure/arm-eventgrid/lib/operations/domainTopics.ts index eda043e7b457..2385dad1e05d 100644 --- a/packages/@azure/arm-eventgrid/lib/operations/domainTopics.ts +++ b/packages/@azure/arm-eventgrid/lib/operations/domainTopics.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/domainTopicsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class DomainTopics { * @param callback The callback */ get(resourceGroupName: string, domainName: string, topicName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, domainName: string, topicName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, domainName: string, topicName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class DomainTopics { * @param callback The callback */ listByDomain(resourceGroupName: string, domainName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDomain(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDomain(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-eventgrid/lib/operations/domains.ts b/packages/@azure/arm-eventgrid/lib/operations/domains.ts index 00290e8d0b06..90b848421b5f 100644 --- a/packages/@azure/arm-eventgrid/lib/operations/domains.ts +++ b/packages/@azure/arm-eventgrid/lib/operations/domains.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/domainsMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class Domains { * @param callback The callback */ get(resourceGroupName: string, domainName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -117,7 +117,7 @@ export class Domains { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -145,7 +145,7 @@ export class Domains { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -177,7 +177,7 @@ export class Domains { * @param callback The callback */ listSharedAccessKeys(resourceGroupName: string, domainName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSharedAccessKeys(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSharedAccessKeys(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -213,7 +213,7 @@ export class Domains { * @param callback The callback */ regenerateKey(resourceGroupName: string, domainName: string, regenerateKeyRequest: Models.DomainRegenerateKeyRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKey(resourceGroupName: string, domainName: string, regenerateKeyRequest: Models.DomainRegenerateKeyRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKey(resourceGroupName: string, domainName: string, regenerateKeyRequest: Models.DomainRegenerateKeyRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-eventgrid/lib/operations/eventSubscriptions.ts b/packages/@azure/arm-eventgrid/lib/operations/eventSubscriptions.ts index df2f0516af53..658f282c5e9f 100644 --- a/packages/@azure/arm-eventgrid/lib/operations/eventSubscriptions.ts +++ b/packages/@azure/arm-eventgrid/lib/operations/eventSubscriptions.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/eventSubscriptionsMappers"; import * as Parameters from "../models/parameters"; @@ -70,7 +70,7 @@ export class EventSubscriptions { * @param callback The callback */ get(scope: string, eventSubscriptionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(scope: string, eventSubscriptionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(scope: string, eventSubscriptionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { scope, @@ -190,7 +190,7 @@ export class EventSubscriptions { * @param callback The callback */ getFullUrl(scope: string, eventSubscriptionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getFullUrl(scope: string, eventSubscriptionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getFullUrl(scope: string, eventSubscriptionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { scope, @@ -217,7 +217,7 @@ export class EventSubscriptions { * @param callback The callback */ listGlobalBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listGlobalBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listGlobalBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -245,7 +245,7 @@ export class EventSubscriptions { * @param callback The callback */ listGlobalBySubscriptionForTopicType(topicTypeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listGlobalBySubscriptionForTopicType(topicTypeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listGlobalBySubscriptionForTopicType(topicTypeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { topicTypeName, @@ -274,7 +274,7 @@ export class EventSubscriptions { * @param callback The callback */ listGlobalByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listGlobalByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listGlobalByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -306,7 +306,7 @@ export class EventSubscriptions { * @param callback The callback */ listGlobalByResourceGroupForTopicType(resourceGroupName: string, topicTypeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listGlobalByResourceGroupForTopicType(resourceGroupName: string, topicTypeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listGlobalByResourceGroupForTopicType(resourceGroupName: string, topicTypeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -336,7 +336,7 @@ export class EventSubscriptions { * @param callback The callback */ listRegionalBySubscription(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRegionalBySubscription(location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRegionalBySubscription(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -369,7 +369,7 @@ export class EventSubscriptions { * @param callback The callback */ listRegionalByResourceGroup(resourceGroupName: string, location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRegionalByResourceGroup(resourceGroupName: string, location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRegionalByResourceGroup(resourceGroupName: string, location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -403,7 +403,7 @@ export class EventSubscriptions { * @param callback The callback */ listRegionalBySubscriptionForTopicType(location: string, topicTypeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRegionalBySubscriptionForTopicType(location: string, topicTypeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRegionalBySubscriptionForTopicType(location: string, topicTypeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -441,7 +441,7 @@ export class EventSubscriptions { * @param callback The callback */ listRegionalByResourceGroupForTopicType(resourceGroupName: string, location: string, topicTypeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRegionalByResourceGroupForTopicType(resourceGroupName: string, location: string, topicTypeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRegionalByResourceGroupForTopicType(resourceGroupName: string, location: string, topicTypeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -481,7 +481,7 @@ export class EventSubscriptions { * @param callback The callback */ listByResource(resourceGroupName: string, providerNamespace: string, resourceTypeName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResource(resourceGroupName: string, providerNamespace: string, resourceTypeName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResource(resourceGroupName: string, providerNamespace: string, resourceTypeName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -519,7 +519,7 @@ export class EventSubscriptions { * @param callback The callback */ listByDomainTopic(resourceGroupName: string, domainName: string, topicName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDomainTopic(resourceGroupName: string, domainName: string, topicName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDomainTopic(resourceGroupName: string, domainName: string, topicName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-eventgrid/lib/operations/operations.ts b/packages/@azure/arm-eventgrid/lib/operations/operations.ts index 432e902a32d0..e5eb867508ac 100644 --- a/packages/@azure/arm-eventgrid/lib/operations/operations.ts +++ b/packages/@azure/arm-eventgrid/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"; @@ -42,7 +42,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-eventgrid/lib/operations/topicTypes.ts b/packages/@azure/arm-eventgrid/lib/operations/topicTypes.ts index 87426efa5e35..4d28e80098ce 100644 --- a/packages/@azure/arm-eventgrid/lib/operations/topicTypes.ts +++ b/packages/@azure/arm-eventgrid/lib/operations/topicTypes.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/topicTypesMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class TopicTypes { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class TopicTypes { * @param callback The callback */ get(topicTypeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(topicTypeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(topicTypeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { topicTypeName, @@ -99,7 +99,7 @@ export class TopicTypes { * @param callback The callback */ listEventTypes(topicTypeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listEventTypes(topicTypeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listEventTypes(topicTypeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { topicTypeName, diff --git a/packages/@azure/arm-eventgrid/lib/operations/topics.ts b/packages/@azure/arm-eventgrid/lib/operations/topics.ts index c506d30f2cfa..1eca0e483530 100644 --- a/packages/@azure/arm-eventgrid/lib/operations/topics.ts +++ b/packages/@azure/arm-eventgrid/lib/operations/topics.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/topicsMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class Topics { * @param callback The callback */ get(resourceGroupName: string, topicName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, topicName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, topicName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -117,7 +117,7 @@ export class Topics { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -145,7 +145,7 @@ export class Topics { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -177,7 +177,7 @@ export class Topics { * @param callback The callback */ listSharedAccessKeys(resourceGroupName: string, topicName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSharedAccessKeys(resourceGroupName: string, topicName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSharedAccessKeys(resourceGroupName: string, topicName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -213,7 +213,7 @@ export class Topics { * @param callback The callback */ regenerateKey(resourceGroupName: string, topicName: string, regenerateKeyRequest: Models.TopicRegenerateKeyRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKey(resourceGroupName: string, topicName: string, regenerateKeyRequest: Models.TopicRegenerateKeyRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKey(resourceGroupName: string, topicName: string, regenerateKeyRequest: Models.TopicRegenerateKeyRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -253,7 +253,7 @@ export class Topics { * @param callback The callback */ listEventTypes(resourceGroupName: string, providerNamespace: string, resourceTypeName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listEventTypes(resourceGroupName: string, providerNamespace: string, resourceTypeName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listEventTypes(resourceGroupName: string, providerNamespace: string, resourceTypeName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-eventgrid/package.json b/packages/@azure/arm-eventgrid/package.json index 1f435e14e2fd..aee8b1d371a7 100644 --- a/packages/@azure/arm-eventgrid/package.json +++ b/packages/@azure/arm-eventgrid/package.json @@ -4,8 +4,8 @@ "description": "EventGridManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-eventgrid/rollup.config.js b/packages/@azure/arm-eventgrid/rollup.config.js index ffd31a980b45..5412277e3ddb 100644 --- a/packages/@azure/arm-eventgrid/rollup.config.js +++ b/packages/@azure/arm-eventgrid/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/eventGridManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-eventgrid.js", format: "umd", name: "Azure.ArmEventgrid", 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-eventgrid/tsconfig.esm.json b/packages/@azure/arm-eventgrid/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-eventgrid/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-eventgrid/tsconfig.json b/packages/@azure/arm-eventgrid/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-eventgrid/tsconfig.json +++ b/packages/@azure/arm-eventgrid/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-eventgrid/webpack.config.js b/packages/@azure/arm-eventgrid/webpack.config.js deleted file mode 100644 index 2559f0448574..000000000000 --- a/packages/@azure/arm-eventgrid/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/eventGridManagementClient.js', - devtool: 'source-map', - output: { - filename: 'eventGridManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'eventGridManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-eventhub/.npmignore b/packages/@azure/arm-eventhub/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-eventhub/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-eventhub/README.md b/packages/@azure/arm-eventhub/README.md index afb50ec49747..81150c926a73 100644 --- a/packages/@azure/arm-eventhub/README.md +++ b/packages/@azure/arm-eventhub/README.md @@ -1,24 +1,34 @@ -# Azure EventHubManagementClient SDK for JavaScript +## Azure EventHubManagementClient SDK for JavaScript + This package contains an isomorphic SDK for EventHubManagementClient. -## 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-eventhub ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { EventHubManagementClient, EventHubManagementModels, EventHubManagementMappers } from "@azure/arm-eventhub"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-eventhub 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-eventhub/lib/eventHubManagementClient.ts b/packages/@azure/arm-eventhub/lib/eventHubManagementClient.ts index 49c84e54b6d3..259d5c8b7d79 100644 --- a/packages/@azure/arm-eventhub/lib/eventHubManagementClient.ts +++ b/packages/@azure/arm-eventhub/lib/eventHubManagementClient.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-eventhub/lib/eventHubManagementClientContext.ts b/packages/@azure/arm-eventhub/lib/eventHubManagementClientContext.ts index 5a21a7100898..7685b7591d5a 100644 --- a/packages/@azure/arm-eventhub/lib/eventHubManagementClientContext.ts +++ b/packages/@azure/arm-eventhub/lib/eventHubManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-eventhub"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class EventHubManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the EventHubManagementClient class. @@ -45,6 +38,11 @@ export class EventHubManagementClientContext extends msRestAzure.AzureServiceCli if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-04-01'; @@ -55,7 +53,6 @@ export class EventHubManagementClientContext extends msRestAzure.AzureServiceCli this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-eventhub/lib/models/consumerGroupsMappers.ts b/packages/@azure/arm-eventhub/lib/models/consumerGroupsMappers.ts index 3ac407889003..2d26030b4af1 100644 --- a/packages/@azure/arm-eventhub/lib/models/consumerGroupsMappers.ts +++ b/packages/@azure/arm-eventhub/lib/models/consumerGroupsMappers.ts @@ -24,8 +24,6 @@ export { ArmDisasterRecovery, MessagingRegions, MessagingRegionsProperties, - MessagingPlan, - IpFilterRule, - VirtualNetworkRule + MessagingPlan } from "../models/mappers"; diff --git a/packages/@azure/arm-eventhub/lib/models/disasterRecoveryConfigsMappers.ts b/packages/@azure/arm-eventhub/lib/models/disasterRecoveryConfigsMappers.ts index 64ab5fa98d7c..1ebbdd53e313 100644 --- a/packages/@azure/arm-eventhub/lib/models/disasterRecoveryConfigsMappers.ts +++ b/packages/@azure/arm-eventhub/lib/models/disasterRecoveryConfigsMappers.ts @@ -28,8 +28,6 @@ export { ConsumerGroup, MessagingRegions, MessagingRegionsProperties, - MessagingPlan, - IpFilterRule, - VirtualNetworkRule + MessagingPlan } from "../models/mappers"; diff --git a/packages/@azure/arm-eventhub/lib/models/eventHubsMappers.ts b/packages/@azure/arm-eventhub/lib/models/eventHubsMappers.ts index 6f5a52873126..9045da7a9835 100644 --- a/packages/@azure/arm-eventhub/lib/models/eventHubsMappers.ts +++ b/packages/@azure/arm-eventhub/lib/models/eventHubsMappers.ts @@ -27,8 +27,6 @@ export { ArmDisasterRecovery, MessagingRegions, MessagingRegionsProperties, - MessagingPlan, - IpFilterRule, - VirtualNetworkRule + MessagingPlan } from "../models/mappers"; diff --git a/packages/@azure/arm-eventhub/lib/models/index.ts b/packages/@azure/arm-eventhub/lib/models/index.ts index 81ecea4de3fa..a98848bc66bc 100644 --- a/packages/@azure/arm-eventhub/lib/models/index.ts +++ b/packages/@azure/arm-eventhub/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -603,43 +603,6 @@ export interface MessagingPlan extends TrackedResource { readonly revision?: number; } -/** - * @interface - * An interface representing IpFilterRule. - * Single item in a List or Get IpFilterRules operation - * - * @extends Resource - */ -export interface IpFilterRule extends Resource { - /** - * @member {string} [ipMask] IP Mask - */ - ipMask?: string; - /** - * @member {IPAction} [action] The IP Filter Action. Possible values include: - * 'Accept', 'Reject' - */ - action?: IPAction; - /** - * @member {string} [filterName] IP Filter name - */ - filterName?: string; -} - -/** - * @interface - * An interface representing VirtualNetworkRule. - * Single item in a List or Get VirtualNetworkRules operation - * - * @extends Resource - */ -export interface VirtualNetworkRule extends Resource { - /** - * @member {string} [virtualNetworkSubnetId] ARM ID of Virtual Network Subnet - */ - virtualNetworkSubnetId?: string; -} - /** * @interface * An interface representing EventHubsListByNamespaceOptionalParams. @@ -745,36 +708,6 @@ export interface AuthorizationRuleListResult extends Array { nextLink?: string; } -/** - * @interface - * An interface representing the IpFilterRuleListResult. - * The response from the List namespace operation. - * - * @extends Array - */ -export interface IpFilterRuleListResult extends Array { - /** - * @member {string} [nextLink] Link to the next set of results. Not empty if - * Value contains an incomplete list of IpFilter Rules - */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the VirtualNetworkRuleListResult. - * The response from the List namespace operation. - * - * @extends Array - */ -export interface VirtualNetworkRuleListResult extends Array { - /** - * @member {string} [nextLink] Link to the next set of results. Not empty if - * Value contains an incomplete list of VirtualNetwork Rules - */ - nextLink?: string; -} - /** * @interface * An interface representing the ArmDisasterRecoveryListResult. @@ -842,49 +775,26 @@ export interface MessagingRegionsListResult extends Array { /** * Defines values for SkuName. * Possible values include: 'Basic', 'Standard' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuName = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuName { - Basic = 'Basic', - Standard = 'Standard', -} +export type SkuName = 'Basic' | 'Standard'; /** * Defines values for SkuTier. * Possible values include: 'Basic', 'Standard' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuTier = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuTier { - Basic = 'Basic', - Standard = 'Standard', -} +export type SkuTier = 'Basic' | 'Standard'; /** * Defines values for AccessRights. * Possible values include: 'Manage', 'Send', 'Listen' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AccessRights = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AccessRights { - Manage = 'Manage', - Send = 'Send', - Listen = 'Listen', -} +export type AccessRights = 'Manage' | 'Send' | 'Listen'; /** * Defines values for KeyType. @@ -892,29 +802,16 @@ export enum AccessRights { * @readonly * @enum {string} */ -export enum KeyType { - PrimaryKey = 'PrimaryKey', - SecondaryKey = 'SecondaryKey', -} +export type KeyType = 'PrimaryKey' | 'SecondaryKey'; /** * Defines values for EntityStatus. - * Possible values include: 'Active', 'Disabled', 'Restoring', 'SendDisabled', - * 'ReceiveDisabled', 'Creating', 'Deleting', 'Renaming', 'Unknown' + * Possible values include: 'Active', 'Disabled', 'Restoring', 'SendDisabled', 'ReceiveDisabled', + * 'Creating', 'Deleting', 'Renaming', 'Unknown' * @readonly * @enum {string} */ -export enum EntityStatus { - Active = 'Active', - Disabled = 'Disabled', - Restoring = 'Restoring', - SendDisabled = 'SendDisabled', - ReceiveDisabled = 'ReceiveDisabled', - Creating = 'Creating', - Deleting = 'Deleting', - Renaming = 'Renaming', - Unknown = 'Unknown', -} +export type EntityStatus = 'Active' | 'Disabled' | 'Restoring' | 'SendDisabled' | 'ReceiveDisabled' | 'Creating' | 'Deleting' | 'Renaming' | 'Unknown'; /** * Defines values for EncodingCaptureDescription. @@ -922,26 +819,16 @@ export enum EntityStatus { * @readonly * @enum {string} */ -export enum EncodingCaptureDescription { - Avro = 'Avro', - AvroDeflate = 'AvroDeflate', -} +export type EncodingCaptureDescription = 'Avro' | 'AvroDeflate'; /** * Defines values for UnavailableReason. - * Possible values include: 'None', 'InvalidName', 'SubscriptionIsDisabled', - * 'NameInUse', 'NameInLockdown', 'TooManyNamespaceInCurrentSubscription' + * Possible values include: 'None', 'InvalidName', 'SubscriptionIsDisabled', 'NameInUse', + * 'NameInLockdown', 'TooManyNamespaceInCurrentSubscription' * @readonly * @enum {string} */ -export enum UnavailableReason { - None = 'None', - InvalidName = 'InvalidName', - SubscriptionIsDisabled = 'SubscriptionIsDisabled', - NameInUse = 'NameInUse', - NameInLockdown = 'NameInLockdown', - TooManyNamespaceInCurrentSubscription = 'TooManyNamespaceInCurrentSubscription', -} +export type UnavailableReason = 'None' | 'InvalidName' | 'SubscriptionIsDisabled' | 'NameInUse' | 'NameInLockdown' | 'TooManyNamespaceInCurrentSubscription'; /** * Defines values for ProvisioningStateDR. @@ -949,11 +836,7 @@ export enum UnavailableReason { * @readonly * @enum {string} */ -export enum ProvisioningStateDR { - Accepted = 'Accepted', - Succeeded = 'Succeeded', - Failed = 'Failed', -} +export type ProvisioningStateDR = 'Accepted' | 'Succeeded' | 'Failed'; /** * Defines values for RoleDisasterRecovery. @@ -961,26 +844,7 @@ export enum ProvisioningStateDR { * @readonly * @enum {string} */ -export enum RoleDisasterRecovery { - Primary = 'Primary', - PrimaryNotReplicating = 'PrimaryNotReplicating', - Secondary = 'Secondary', -} - -/** - * Defines values for IPAction. - * Possible values include: 'Accept', 'Reject' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: IPAction = "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ -export enum IPAction { - Accept = 'Accept', - Reject = 'Reject', -} +export type RoleDisasterRecovery = 'Primary' | 'PrimaryNotReplicating' | 'Secondary'; /** * Contains response data for the list operation. @@ -1248,120 +1112,6 @@ export type NamespacesRegenerateKeysResponse = AccessKeys & { }; }; -/** - * Contains response data for the listIPFilterRules operation. - */ -export type NamespacesListIPFilterRulesResponse = IpFilterRuleListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IpFilterRuleListResult; - }; -}; - -/** - * Contains response data for the createOrUpdateIpFilterRule operation. - */ -export type NamespacesCreateOrUpdateIpFilterRuleResponse = IpFilterRule & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IpFilterRule; - }; -}; - -/** - * Contains response data for the getIpFilterRule operation. - */ -export type NamespacesGetIpFilterRuleResponse = IpFilterRule & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IpFilterRule; - }; -}; - -/** - * Contains response data for the listVirtualNetworkRules operation. - */ -export type NamespacesListVirtualNetworkRulesResponse = VirtualNetworkRuleListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: VirtualNetworkRuleListResult; - }; -}; - -/** - * Contains response data for the createOrUpdateVirtualNetworkRule operation. - */ -export type NamespacesCreateOrUpdateVirtualNetworkRuleResponse = VirtualNetworkRule & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: VirtualNetworkRule; - }; -}; - -/** - * Contains response data for the getVirtualNetworkRule operation. - */ -export type NamespacesGetVirtualNetworkRuleResponse = VirtualNetworkRule & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: VirtualNetworkRule; - }; -}; - /** * Contains response data for the beginCreateOrUpdate operation. */ @@ -1438,44 +1188,6 @@ export type NamespacesListAuthorizationRulesNextResponse = AuthorizationRuleList }; }; -/** - * Contains response data for the listIPFilterRulesNext operation. - */ -export type NamespacesListIPFilterRulesNextResponse = IpFilterRuleListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IpFilterRuleListResult; - }; -}; - -/** - * Contains response data for the listVirtualNetworkRulesNext operation. - */ -export type NamespacesListVirtualNetworkRulesNextResponse = VirtualNetworkRuleListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: VirtualNetworkRuleListResult; - }; -}; - /** * Contains response data for the checkNameAvailability operation. */ diff --git a/packages/@azure/arm-eventhub/lib/models/mappers.ts b/packages/@azure/arm-eventhub/lib/models/mappers.ts index c82e3e333d54..70b18eb73b1c 100644 --- a/packages/@azure/arm-eventhub/lib/models/mappers.ts +++ b/packages/@azure/arm-eventhub/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -753,52 +753,6 @@ export const MessagingPlan: msRest.CompositeMapper = { } }; -export const IpFilterRule: msRest.CompositeMapper = { - serializedName: "IpFilterRule", - type: { - name: "Composite", - className: "IpFilterRule", - modelProperties: { - ...Resource.type.modelProperties, - ipMask: { - serializedName: "properties.ipMask", - type: { - name: "String" - } - }, - action: { - serializedName: "properties.action", - type: { - name: "String" - } - }, - filterName: { - serializedName: "properties.filterName", - type: { - name: "String" - } - } - } - } -}; - -export const VirtualNetworkRule: msRest.CompositeMapper = { - serializedName: "VirtualNetworkRule", - type: { - name: "Composite", - className: "VirtualNetworkRule", - modelProperties: { - ...Resource.type.modelProperties, - virtualNetworkSubnetId: { - serializedName: "properties.virtualNetworkSubnetId", - type: { - name: "String" - } - } - } - } -}; - export const OperationListResult: msRest.CompositeMapper = { serializedName: "OperationListResult", type: { @@ -885,62 +839,6 @@ export const AuthorizationRuleListResult: msRest.CompositeMapper = { } }; -export const IpFilterRuleListResult: msRest.CompositeMapper = { - serializedName: "IpFilterRuleListResult", - type: { - name: "Composite", - className: "IpFilterRuleListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IpFilterRule" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const VirtualNetworkRuleListResult: msRest.CompositeMapper = { - serializedName: "VirtualNetworkRuleListResult", - type: { - name: "Composite", - className: "VirtualNetworkRuleListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualNetworkRule" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const ArmDisasterRecoveryListResult: msRest.CompositeMapper = { serializedName: "ArmDisasterRecoveryListResult", type: { diff --git a/packages/@azure/arm-eventhub/lib/models/namespacesMappers.ts b/packages/@azure/arm-eventhub/lib/models/namespacesMappers.ts index bdd06705b035..2d6d624854f6 100644 --- a/packages/@azure/arm-eventhub/lib/models/namespacesMappers.ts +++ b/packages/@azure/arm-eventhub/lib/models/namespacesMappers.ts @@ -23,10 +23,6 @@ export { AuthorizationRule, AccessKeys, RegenerateAccessKeyParameters, - IpFilterRuleListResult, - IpFilterRule, - VirtualNetworkRuleListResult, - VirtualNetworkRule, Eventhub, CaptureDescription, Destination, diff --git a/packages/@azure/arm-eventhub/lib/models/parameters.ts b/packages/@azure/arm-eventhub/lib/models/parameters.ts index 99bf3a0aa625..f3cc023b3e66 100644 --- a/packages/@azure/arm-eventhub/lib/models/parameters.ts +++ b/packages/@azure/arm-eventhub/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", @@ -84,19 +84,6 @@ export const eventHubName: msRest.OperationURLParameter = { } } }; -export const ipFilterRuleName: msRest.OperationURLParameter = { - parameterPath: "ipFilterRuleName", - mapper: { - required: true, - serializedName: "ipFilterRuleName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - } -}; export const namespaceName: msRest.OperationURLParameter = { parameterPath: "namespaceName", mapper: { @@ -192,16 +179,3 @@ export const top: msRest.OperationQueryParameter = { } } }; -export const virtualNetworkRuleName: msRest.OperationURLParameter = { - parameterPath: "virtualNetworkRuleName", - mapper: { - required: true, - serializedName: "virtualNetworkRuleName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - } -}; diff --git a/packages/@azure/arm-eventhub/lib/models/regionsMappers.ts b/packages/@azure/arm-eventhub/lib/models/regionsMappers.ts index e7ed9c564785..ed3a77d7faf2 100644 --- a/packages/@azure/arm-eventhub/lib/models/regionsMappers.ts +++ b/packages/@azure/arm-eventhub/lib/models/regionsMappers.ts @@ -24,8 +24,6 @@ export { Destination, ConsumerGroup, ArmDisasterRecovery, - MessagingPlan, - IpFilterRule, - VirtualNetworkRule + MessagingPlan } from "../models/mappers"; diff --git a/packages/@azure/arm-eventhub/lib/operations/consumerGroups.ts b/packages/@azure/arm-eventhub/lib/operations/consumerGroups.ts index 22108f568a83..fe20df49c3b8 100644 --- a/packages/@azure/arm-eventhub/lib/operations/consumerGroups.ts +++ b/packages/@azure/arm-eventhub/lib/operations/consumerGroups.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/consumerGroupsMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class ConsumerGroups { * @param callback The callback */ createOrUpdate(resourceGroupName: string, namespaceName: string, eventHubName: string, consumerGroupName: string, parameters: Models.ConsumerGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, namespaceName: string, eventHubName: string, consumerGroupName: string, parameters: Models.ConsumerGroup, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, namespaceName: string, eventHubName: string, consumerGroupName: string, parameters: Models.ConsumerGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -97,7 +97,7 @@ export class ConsumerGroups { * @param callback The callback */ deleteMethod(resourceGroupName: string, namespaceName: string, eventHubName: string, consumerGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, namespaceName: string, eventHubName: string, consumerGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, namespaceName: string, eventHubName: string, consumerGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -137,7 +137,7 @@ export class ConsumerGroups { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, eventHubName: string, consumerGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, eventHubName: string, consumerGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, eventHubName: string, consumerGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -175,7 +175,7 @@ export class ConsumerGroups { * @param callback The callback */ listByEventHub(resourceGroupName: string, namespaceName: string, eventHubName: string, options: Models.ConsumerGroupsListByEventHubOptionalParams, callback: msRest.ServiceCallback): void; - listByEventHub(resourceGroupName: string, namespaceName: string, eventHubName: string, options?: Models.ConsumerGroupsListByEventHubOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByEventHub(resourceGroupName: string, namespaceName: string, eventHubName: string, options?: Models.ConsumerGroupsListByEventHubOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -206,7 +206,7 @@ export class ConsumerGroups { * @param callback The callback */ listByEventHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByEventHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByEventHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-eventhub/lib/operations/disasterRecoveryConfigs.ts b/packages/@azure/arm-eventhub/lib/operations/disasterRecoveryConfigs.ts index 0e95ae49130c..0034c8278220 100644 --- a/packages/@azure/arm-eventhub/lib/operations/disasterRecoveryConfigs.ts +++ b/packages/@azure/arm-eventhub/lib/operations/disasterRecoveryConfigs.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/disasterRecoveryConfigsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ checkNameAvailability(resourceGroupName: string, namespaceName: string, parameters: Models.CheckNameAvailabilityParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(resourceGroupName: string, namespaceName: string, parameters: Models.CheckNameAvailabilityParameter, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(resourceGroupName: string, namespaceName: string, parameters: Models.CheckNameAvailabilityParameter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ list(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ createOrUpdate(resourceGroupName: string, namespaceName: string, alias: string, parameters: Models.ArmDisasterRecovery, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, namespaceName: string, alias: string, parameters: Models.ArmDisasterRecovery, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, namespaceName: string, alias: string, parameters: Models.ArmDisasterRecovery, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ deleteMethod(resourceGroupName: string, namespaceName: string, alias: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -194,7 +194,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, alias: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -231,7 +231,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ breakPairing(resourceGroupName: string, namespaceName: string, alias: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - breakPairing(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + breakPairing(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -267,7 +267,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ failOver(resourceGroupName: string, namespaceName: string, alias: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - failOver(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + failOver(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -303,7 +303,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ listAuthorizationRules(resourceGroupName: string, namespaceName: string, alias: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRules(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRules(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -342,7 +342,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ getAuthorizationRule(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAuthorizationRule(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAuthorizationRule(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -382,7 +382,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ listKeys(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -413,7 +413,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -441,7 +441,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ listAuthorizationRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-eventhub/lib/operations/eventHubs.ts b/packages/@azure/arm-eventhub/lib/operations/eventHubs.ts index eceb373f0dee..ffd4672511f1 100644 --- a/packages/@azure/arm-eventhub/lib/operations/eventHubs.ts +++ b/packages/@azure/arm-eventhub/lib/operations/eventHubs.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/eventHubsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class EventHubs { * @param callback The callback */ listByNamespace(resourceGroupName: string, namespaceName: string, options: Models.EventHubsListByNamespaceOptionalParams, callback: msRest.ServiceCallback): void; - listByNamespace(resourceGroupName: string, namespaceName: string, options?: Models.EventHubsListByNamespaceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByNamespace(resourceGroupName: string, namespaceName: string, options?: Models.EventHubsListByNamespaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class EventHubs { * @param callback The callback */ createOrUpdate(resourceGroupName: string, namespaceName: string, eventHubName: string, parameters: Models.Eventhub, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, namespaceName: string, eventHubName: string, parameters: Models.Eventhub, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, namespaceName: string, eventHubName: string, parameters: Models.Eventhub, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -122,7 +122,7 @@ export class EventHubs { * @param callback The callback */ deleteMethod(resourceGroupName: string, namespaceName: string, eventHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, namespaceName: string, eventHubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, namespaceName: string, eventHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class EventHubs { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, eventHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, eventHubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, eventHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -194,7 +194,7 @@ export class EventHubs { * @param callback The callback */ listAuthorizationRules(resourceGroupName: string, namespaceName: string, eventHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRules(resourceGroupName: string, namespaceName: string, eventHubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRules(resourceGroupName: string, namespaceName: string, eventHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -236,7 +236,7 @@ export class EventHubs { * @param callback The callback */ createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -277,7 +277,7 @@ export class EventHubs { * @param callback The callback */ getAuthorizationRule(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAuthorizationRule(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAuthorizationRule(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -317,7 +317,7 @@ export class EventHubs { * @param callback The callback */ deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -357,7 +357,7 @@ export class EventHubs { * @param callback The callback */ listKeys(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -403,7 +403,7 @@ export class EventHubs { * @param callback The callback */ regenerateKeys(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKeys(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKeys(resourceGroupName: string, namespaceName: string, eventHubName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -435,7 +435,7 @@ export class EventHubs { * @param callback The callback */ listByNamespaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByNamespaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByNamespaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -463,7 +463,7 @@ export class EventHubs { * @param callback The callback */ listAuthorizationRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-eventhub/lib/operations/namespaces.ts b/packages/@azure/arm-eventhub/lib/operations/namespaces.ts index 3652aa6756a5..a0deb092c75c 100644 --- a/packages/@azure/arm-eventhub/lib/operations/namespaces.ts +++ b/packages/@azure/arm-eventhub/lib/operations/namespaces.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/namespacesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Namespaces { * @param callback The callback */ checkNameAvailability(parameters: Models.CheckNameAvailabilityParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(parameters: Models.CheckNameAvailabilityParameter, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(parameters: Models.CheckNameAvailabilityParameter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -70,7 +70,7 @@ export class Namespaces { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -97,7 +97,7 @@ export class Namespaces { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -155,7 +155,7 @@ export class Namespaces { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -191,7 +191,7 @@ export class Namespaces { * @param callback The callback */ update(resourceGroupName: string, namespaceName: string, parameters: Models.EHNamespace, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, namespaceName: string, parameters: Models.EHNamespace, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, namespaceName: string, parameters: Models.EHNamespace, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -224,7 +224,7 @@ export class Namespaces { * @param callback The callback */ getMessagingPlan(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMessagingPlan(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMessagingPlan(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -256,7 +256,7 @@ export class Namespaces { * @param callback The callback */ listAuthorizationRules(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -294,7 +294,7 @@ export class Namespaces { * @param callback The callback */ createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -331,7 +331,7 @@ export class Namespaces { * @param callback The callback */ deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -367,7 +367,7 @@ export class Namespaces { * @param callback The callback */ getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -403,7 +403,7 @@ export class Namespaces { * @param callback The callback */ listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -442,7 +442,7 @@ export class Namespaces { * @param callback The callback */ regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -455,294 +455,6 @@ export class Namespaces { callback) as Promise; } - /** - * Gets a list of IP Filter rules for a Namespace. - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param [options] The optional parameters - * @returns Promise - */ - listIPFilterRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param callback The callback - */ - listIPFilterRules(resourceGroupName: string, namespaceName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param options The optional parameters - * @param callback The callback - */ - listIPFilterRules(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listIPFilterRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - options - }, - listIPFilterRulesOperationSpec, - callback) as Promise; - } - - /** - * Creates or updates an IpFilterRule for a Namespace. - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param parameters The Namespace IpFilterRule. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdateIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, parameters: Models.IpFilterRule, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param parameters The Namespace IpFilterRule. - * @param callback The callback - */ - createOrUpdateIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, parameters: Models.IpFilterRule, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param parameters The Namespace IpFilterRule. - * @param options The optional parameters - * @param callback The callback - */ - createOrUpdateIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, parameters: Models.IpFilterRule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, parameters: Models.IpFilterRule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - ipFilterRuleName, - parameters, - options - }, - createOrUpdateIpFilterRuleOperationSpec, - callback) as Promise; - } - - /** - * Deletes an IpFilterRule for a Namespace. - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param [options] The optional parameters - * @returns Promise - */ - deleteIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param callback The callback - */ - deleteIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param options The optional parameters - * @param callback The callback - */ - deleteIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - ipFilterRuleName, - options - }, - deleteIpFilterRuleOperationSpec, - callback); - } - - /** - * Gets an IpFilterRule for a Namespace by rule name. - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param [options] The optional parameters - * @returns Promise - */ - getIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param callback The callback - */ - getIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param options The optional parameters - * @param callback The callback - */ - getIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - ipFilterRuleName, - options - }, - getIpFilterRuleOperationSpec, - callback) as Promise; - } - - /** - * Gets a list of VirtualNetwork rules for a Namespace. - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param [options] The optional parameters - * @returns Promise - */ - listVirtualNetworkRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param callback The callback - */ - listVirtualNetworkRules(resourceGroupName: string, namespaceName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param options The optional parameters - * @param callback The callback - */ - listVirtualNetworkRules(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listVirtualNetworkRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - options - }, - listVirtualNetworkRulesOperationSpec, - callback) as Promise; - } - - /** - * Creates or updates an VirtualNetworkRule for a Namespace. - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param parameters The Namespace VirtualNetworkRule. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdateVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, parameters: Models.VirtualNetworkRule, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param parameters The Namespace VirtualNetworkRule. - * @param callback The callback - */ - createOrUpdateVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, parameters: Models.VirtualNetworkRule, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param parameters The Namespace VirtualNetworkRule. - * @param options The optional parameters - * @param callback The callback - */ - createOrUpdateVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, parameters: Models.VirtualNetworkRule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, parameters: Models.VirtualNetworkRule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - virtualNetworkRuleName, - parameters, - options - }, - createOrUpdateVirtualNetworkRuleOperationSpec, - callback) as Promise; - } - - /** - * Deletes an VirtualNetworkRule for a Namespace. - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param [options] The optional parameters - * @returns Promise - */ - deleteVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param callback The callback - */ - deleteVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param options The optional parameters - * @param callback The callback - */ - deleteVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - virtualNetworkRuleName, - options - }, - deleteVirtualNetworkRuleOperationSpec, - callback); - } - - /** - * Gets an VirtualNetworkRule for a Namespace by rule name. - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param [options] The optional parameters - * @returns Promise - */ - getVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param callback The callback - */ - getVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group within the azure subscription. - * @param namespaceName The Namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param options The optional parameters - * @param callback The callback - */ - getVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - virtualNetworkRuleName, - options - }, - getVirtualNetworkRuleOperationSpec, - callback) as Promise; - } - /** * Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. * This operation is idempotent. @@ -801,7 +513,7 @@ export class Namespaces { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -829,7 +541,7 @@ export class Namespaces { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -857,7 +569,7 @@ export class Namespaces { * @param callback The callback */ listAuthorizationRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -866,62 +578,6 @@ export class Namespaces { listAuthorizationRulesNextOperationSpec, callback) as Promise; } - - /** - * Gets a list of IP Filter rules for a Namespace. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listIPFilterRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listIPFilterRulesNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listIPFilterRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listIPFilterRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listIPFilterRulesNextOperationSpec, - callback) as Promise; - } - - /** - * Gets a list of VirtualNetwork rules for a Namespace. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listVirtualNetworkRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listVirtualNetworkRulesNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listVirtualNetworkRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listVirtualNetworkRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listVirtualNetworkRulesNextOperationSpec, - callback) as Promise; - } } // Operation Specifications @@ -1260,224 +916,6 @@ const regenerateKeysOperationSpec: msRest.OperationSpec = { serializer }; -const listIPFilterRulesOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/ipfilterrules", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IpFilterRuleListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const createOrUpdateIpFilterRuleOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/ipfilterrules/{ipFilterRuleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName, - Parameters.ipFilterRuleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.IpFilterRule, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.IpFilterRule - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const deleteIpFilterRuleOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/ipfilterrules/{ipFilterRuleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName, - Parameters.ipFilterRuleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const getIpFilterRuleOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/ipfilterrules/{ipFilterRuleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName, - Parameters.ipFilterRuleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IpFilterRule - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const listVirtualNetworkRulesOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/virtualnetworkrules", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.VirtualNetworkRuleListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const createOrUpdateVirtualNetworkRuleOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/virtualnetworkrules/{virtualNetworkRuleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName, - Parameters.virtualNetworkRuleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.VirtualNetworkRule, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.VirtualNetworkRule - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const deleteVirtualNetworkRuleOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/virtualnetworkrules/{virtualNetworkRuleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName, - Parameters.virtualNetworkRuleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const getVirtualNetworkRuleOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/virtualnetworkrules/{virtualNetworkRuleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName, - Parameters.virtualNetworkRuleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.VirtualNetworkRule - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}", @@ -1601,45 +1039,3 @@ const listAuthorizationRulesNextOperationSpec: msRest.OperationSpec = { }, serializer }; - -const listIPFilterRulesNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IpFilterRuleListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const listVirtualNetworkRulesNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.VirtualNetworkRuleListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; diff --git a/packages/@azure/arm-eventhub/lib/operations/operations.ts b/packages/@azure/arm-eventhub/lib/operations/operations.ts index e9eab738557f..6597c772dd23 100644 --- a/packages/@azure/arm-eventhub/lib/operations/operations.ts +++ b/packages/@azure/arm-eventhub/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-eventhub/lib/operations/regions.ts b/packages/@azure/arm-eventhub/lib/operations/regions.ts index 8b8edd528560..ef0fb7026bd9 100644 --- a/packages/@azure/arm-eventhub/lib/operations/regions.ts +++ b/packages/@azure/arm-eventhub/lib/operations/regions.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/regionsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class Regions { * @param callback The callback */ listBySku(sku: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySku(sku: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySku(sku: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { sku, @@ -72,7 +72,7 @@ export class Regions { * @param callback The callback */ listBySkuNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySkuNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySkuNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-eventhub/package.json b/packages/@azure/arm-eventhub/package.json index b15b5af72eaf..741fcea91655 100644 --- a/packages/@azure/arm-eventhub/package.json +++ b/packages/@azure/arm-eventhub/package.json @@ -4,8 +4,8 @@ "description": "EventHubManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-eventhub.js.map'\" -o ./dist/arm-eventhub.min.js ./dist/arm-eventhub.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-eventhub/rollup.config.js b/packages/@azure/arm-eventhub/rollup.config.js index 9a7d744d0aac..d807ecd55a44 100644 --- a/packages/@azure/arm-eventhub/rollup.config.js +++ b/packages/@azure/arm-eventhub/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/eventHubManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-eventhub.js", format: "umd", name: "Azure.ArmEventhub", 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-eventhub/tsconfig.json b/packages/@azure/arm-eventhub/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-eventhub/tsconfig.json +++ b/packages/@azure/arm-eventhub/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-features/.npmignore b/packages/@azure/arm-features/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-features/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-features/README.md b/packages/@azure/arm-features/README.md index eaff3c18c2a5..2c13273dc69e 100644 --- a/packages/@azure/arm-features/README.md +++ b/packages/@azure/arm-features/README.md @@ -1,24 +1,34 @@ -# Azure FeatureClient SDK for JavaScript +## Azure FeatureClient SDK for JavaScript + This package contains an isomorphic SDK for FeatureClient. -## 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-features ``` +### How to use + +#### nodejs - Authentication, client creation and listOperations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and listOperations as an example written in TypeScript. +##### Sample code ```ts -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 { FeatureClient, FeatureModels, FeatureMappers } from "@azure/arm-features"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and listOperations as an example written in JavaScript. +#### browser - Authentication, client creation and listOperations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-features 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-features/lib/featureClient.ts b/packages/@azure/arm-features/lib/featureClient.ts index 7cf4c543e808..0274b01bb026 100644 --- a/packages/@azure/arm-features/lib/featureClient.ts +++ b/packages/@azure/arm-features/lib/featureClient.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 Parameters from "./models/parameters"; @@ -46,7 +46,7 @@ class FeatureClient extends FeatureClientContext { * @param callback The callback */ listOperations(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOperations(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOperations(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -73,7 +73,7 @@ class FeatureClient extends FeatureClientContext { * @param callback The callback */ listOperationsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOperationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOperationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-features/lib/featureClientContext.ts b/packages/@azure/arm-features/lib/featureClientContext.ts index 537005bd02f9..4a3075d84a35 100644 --- a/packages/@azure/arm-features/lib/featureClientContext.ts +++ b/packages/@azure/arm-features/lib/featureClientContext.ts @@ -9,23 +9,16 @@ */ 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-features"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class FeatureClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the FeatureClient class. @@ -44,6 +37,11 @@ export class FeatureClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2015-12-01'; @@ -54,7 +52,6 @@ export class FeatureClientContext extends msRestAzure.AzureServiceClient { this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-features/lib/models/index.ts b/packages/@azure/arm-features/lib/models/index.ts index 3ae9bc4d840d..04d449028a0f 100644 --- a/packages/@azure/arm-features/lib/models/index.ts +++ b/packages/@azure/arm-features/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; diff --git a/packages/@azure/arm-features/lib/models/mappers.ts b/packages/@azure/arm-features/lib/models/mappers.ts index 454c334e20cc..35dbbfa8e87d 100644 --- a/packages/@azure/arm-features/lib/models/mappers.ts +++ b/packages/@azure/arm-features/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-features/lib/models/parameters.ts b/packages/@azure/arm-features/lib/models/parameters.ts index 53cc6570c4e7..439bb9ed6b84 100644 --- a/packages/@azure/arm-features/lib/models/parameters.ts +++ b/packages/@azure/arm-features/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-features/lib/operations/features.ts b/packages/@azure/arm-features/lib/operations/features.ts index ab1acfff4fc1..33c754666843 100644 --- a/packages/@azure/arm-features/lib/operations/features.ts +++ b/packages/@azure/arm-features/lib/operations/features.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/featuresMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class Features { * @param callback The callback */ listAll(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAll(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAll(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -69,7 +69,7 @@ export class Features { * @param callback The callback */ list(resourceProviderNamespace: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceProviderNamespace: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceProviderNamespace: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceProviderNamespace, @@ -100,7 +100,7 @@ export class Features { * @param callback The callback */ get(resourceProviderNamespace: string, featureName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceProviderNamespace: string, featureName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceProviderNamespace: string, featureName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceProviderNamespace, @@ -132,7 +132,7 @@ export class Features { * @param callback The callback */ register(resourceProviderNamespace: string, featureName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - register(resourceProviderNamespace: string, featureName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + register(resourceProviderNamespace: string, featureName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceProviderNamespace, @@ -161,7 +161,7 @@ export class Features { * @param callback The callback */ listAllNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -190,7 +190,7 @@ export class Features { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-features/package.json b/packages/@azure/arm-features/package.json index 1baa28a0dd0d..dc4f33844e93 100644 --- a/packages/@azure/arm-features/package.json +++ b/packages/@azure/arm-features/package.json @@ -4,8 +4,8 @@ "description": "FeatureClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-features.js.map'\" -o ./dist/arm-features.min.js ./dist/arm-features.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-features/rollup.config.js b/packages/@azure/arm-features/rollup.config.js index ea7d5bae5c13..f8a9fdfab57c 100644 --- a/packages/@azure/arm-features/rollup.config.js +++ b/packages/@azure/arm-features/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/featureClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-features.js", format: "umd", name: "Azure.ArmFeatures", 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-features/tsconfig.json b/packages/@azure/arm-features/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-features/tsconfig.json +++ b/packages/@azure/arm-features/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-frontdoor/.npmignore b/packages/@azure/arm-frontdoor/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-frontdoor/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-frontdoor/README.md b/packages/@azure/arm-frontdoor/README.md index 408f7e1c52eb..d373c61ea890 100644 --- a/packages/@azure/arm-frontdoor/README.md +++ b/packages/@azure/arm-frontdoor/README.md @@ -1,24 +1,34 @@ -# Azure FrontDoorManagementClient SDK for JavaScript +## Azure FrontDoorManagementClient SDK for JavaScript + This package contains an isomorphic SDK for FrontDoorManagementClient. -## 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-frontdoor ``` +### How to use + +#### nodejs - Authentication, client creation and list frontDoors as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list frontDoors as an example written in TypeScript. +##### Sample code ```ts -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 { FrontDoorManagementClient, FrontDoorManagementModels, FrontDoorManagementMappers } from "@azure/arm-frontdoor"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list frontDoors as an example written in JavaScript. +#### browser - Authentication, client creation and list frontDoors as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-frontdoor 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-frontdoor/lib/frontDoorManagementClient.ts b/packages/@azure/arm-frontdoor/lib/frontDoorManagementClient.ts index af1d374c34f1..940960200152 100644 --- a/packages/@azure/arm-frontdoor/lib/frontDoorManagementClient.ts +++ b/packages/@azure/arm-frontdoor/lib/frontDoorManagementClient.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 Parameters from "./models/parameters"; @@ -64,7 +64,7 @@ class FrontDoorManagementClient extends FrontDoorManagementClientContext { * @param callback The callback */ checkFrontDoorNameAvailability(checkFrontDoorNameAvailabilityInput: Models.CheckNameAvailabilityInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkFrontDoorNameAvailability(checkFrontDoorNameAvailabilityInput: Models.CheckNameAvailabilityInput, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkFrontDoorNameAvailability(checkFrontDoorNameAvailabilityInput: Models.CheckNameAvailabilityInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { checkFrontDoorNameAvailabilityInput, @@ -92,7 +92,7 @@ class FrontDoorManagementClient extends FrontDoorManagementClientContext { * @param callback The callback */ checkFrontDoorNameAvailabilityWithSubscription(checkFrontDoorNameAvailabilityInput: Models.CheckNameAvailabilityInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkFrontDoorNameAvailabilityWithSubscription(checkFrontDoorNameAvailabilityInput: Models.CheckNameAvailabilityInput, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkFrontDoorNameAvailabilityWithSubscription(checkFrontDoorNameAvailabilityInput: Models.CheckNameAvailabilityInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { checkFrontDoorNameAvailabilityInput, diff --git a/packages/@azure/arm-frontdoor/lib/frontDoorManagementClientContext.ts b/packages/@azure/arm-frontdoor/lib/frontDoorManagementClientContext.ts index 034680879605..ef6ce3d84bc5 100644 --- a/packages/@azure/arm-frontdoor/lib/frontDoorManagementClientContext.ts +++ b/packages/@azure/arm-frontdoor/lib/frontDoorManagementClientContext.ts @@ -9,22 +9,16 @@ */ 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-frontdoor"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class FrontDoorManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the FrontDoorManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -43,6 +37,11 @@ export class FrontDoorManagementClientContext extends msRestAzure.AzureServiceCl if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.acceptLanguage = 'en-US'; @@ -52,7 +51,6 @@ export class FrontDoorManagementClientContext extends msRestAzure.AzureServiceCl this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-frontdoor/lib/models/index.ts b/packages/@azure/arm-frontdoor/lib/models/index.ts index 2742a603edb3..a85d00052dbd 100644 --- a/packages/@azure/arm-frontdoor/lib/models/index.ts +++ b/packages/@azure/arm-frontdoor/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1321,217 +1321,103 @@ export interface WebApplicationFirewallPolicyListResult extends Array"someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' * @readonly * @enum {string} */ -export enum FrontDoorResourceState { - Creating = 'Creating', - Enabling = 'Enabling', - Enabled = 'Enabled', - Disabling = 'Disabling', - Disabled = 'Disabled', - Deleting = 'Deleting', -} +export type FrontDoorResourceState = 'Creating' | 'Enabling' | 'Enabled' | 'Disabling' | 'Disabled' | 'Deleting'; /** * Defines values for CustomHttpsProvisioningState. - * Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', - * 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CustomHttpsProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Failed' * @readonly * @enum {string} */ -export enum CustomHttpsProvisioningState { - Enabling = 'Enabling', - Enabled = 'Enabled', - Disabling = 'Disabling', - Disabled = 'Disabled', - Failed = 'Failed', -} +export type CustomHttpsProvisioningState = 'Enabling' | 'Enabled' | 'Disabling' | 'Disabled' | 'Failed'; /** * Defines values for CustomHttpsProvisioningSubstate. * Possible values include: 'SubmittingDomainControlValidationRequest', - * 'PendingDomainControlValidationREquestApproval', - * 'DomainControlValidationRequestApproved', - * 'DomainControlValidationRequestRejected', - * 'DomainControlValidationRequestTimedOut', 'IssuingCertificate', - * 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate', + * 'PendingDomainControlValidationREquestApproval', 'DomainControlValidationRequestApproved', + * 'DomainControlValidationRequestRejected', 'DomainControlValidationRequestTimedOut', + * 'IssuingCertificate', 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate', * 'CertificateDeleted' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CustomHttpsProvisioningSubstate = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CustomHttpsProvisioningSubstate { - SubmittingDomainControlValidationRequest = 'SubmittingDomainControlValidationRequest', - PendingDomainControlValidationREquestApproval = 'PendingDomainControlValidationREquestApproval', - DomainControlValidationRequestApproved = 'DomainControlValidationRequestApproved', - DomainControlValidationRequestRejected = 'DomainControlValidationRequestRejected', - DomainControlValidationRequestTimedOut = 'DomainControlValidationRequestTimedOut', - IssuingCertificate = 'IssuingCertificate', - DeployingCertificate = 'DeployingCertificate', - CertificateDeployed = 'CertificateDeployed', - DeletingCertificate = 'DeletingCertificate', - CertificateDeleted = 'CertificateDeleted', -} +export type CustomHttpsProvisioningSubstate = 'SubmittingDomainControlValidationRequest' | 'PendingDomainControlValidationREquestApproval' | 'DomainControlValidationRequestApproved' | 'DomainControlValidationRequestRejected' | 'DomainControlValidationRequestTimedOut' | 'IssuingCertificate' | 'DeployingCertificate' | 'CertificateDeployed' | 'DeletingCertificate' | 'CertificateDeleted'; /** * Defines values for FrontDoorCertificateSource. * Possible values include: 'AzureKeyVault', 'FrontDoor' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FrontDoorCertificateSource = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FrontDoorCertificateSource { - AzureKeyVault = 'AzureKeyVault', - FrontDoor = 'FrontDoor', -} +export type FrontDoorCertificateSource = 'AzureKeyVault' | 'FrontDoor'; /** * Defines values for FrontDoorTlsProtocolType. * Possible values include: 'ServerNameIndication' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FrontDoorTlsProtocolType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FrontDoorTlsProtocolType { - ServerNameIndication = 'ServerNameIndication', -} +export type FrontDoorTlsProtocolType = 'ServerNameIndication'; /** * Defines values for FrontDoorCertificateType. * Possible values include: 'Dedicated' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FrontDoorCertificateType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FrontDoorCertificateType { - Dedicated = 'Dedicated', -} +export type FrontDoorCertificateType = 'Dedicated'; /** * Defines values for FrontDoorEnabledState. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FrontDoorEnabledState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FrontDoorEnabledState { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type FrontDoorEnabledState = 'Enabled' | 'Disabled'; /** * Defines values for FrontDoorProtocol. * Possible values include: 'Http', 'Https' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FrontDoorProtocol = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FrontDoorProtocol { - Http = 'Http', - Https = 'Https', -} +export type FrontDoorProtocol = 'Http' | 'Https'; /** * Defines values for FrontDoorForwardingProtocol. * Possible values include: 'HttpOnly', 'HttpsOnly', 'MatchRequest' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FrontDoorForwardingProtocol = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FrontDoorForwardingProtocol { - HttpOnly = 'HttpOnly', - HttpsOnly = 'HttpsOnly', - MatchRequest = 'MatchRequest', -} +export type FrontDoorForwardingProtocol = 'HttpOnly' | 'HttpsOnly' | 'MatchRequest'; /** * Defines values for FrontDoorQuery. * Possible values include: 'StripNone', 'StripAll' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FrontDoorQuery = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FrontDoorQuery { - StripNone = 'StripNone', - StripAll = 'StripAll', -} +export type FrontDoorQuery = 'StripNone' | 'StripAll'; /** * Defines values for DynamicCompressionEnabled. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DynamicCompressionEnabled = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DynamicCompressionEnabled { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type DynamicCompressionEnabled = 'Enabled' | 'Disabled'; /** * Defines values for SessionAffinityEnabledState. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SessionAffinityEnabledState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SessionAffinityEnabledState { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type SessionAffinityEnabledState = 'Enabled' | 'Disabled'; /** * Defines values for ResourceType. @@ -1540,211 +1426,98 @@ export enum SessionAffinityEnabledState { * @readonly * @enum {string} */ -export enum ResourceType { - MicrosoftNetworkfrontDoors = 'Microsoft.Network/frontDoors', - MicrosoftNetworkfrontDoorsfrontendEndpoints = 'Microsoft.Network/frontDoors/frontendEndpoints', -} +export type ResourceType = 'Microsoft.Network/frontDoors' | 'Microsoft.Network/frontDoors/frontendEndpoints'; /** * Defines values for Availability. * Possible values include: 'Available', 'Unavailable' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Availability = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Availability { - Available = 'Available', - Unavailable = 'Unavailable', -} +export type Availability = 'Available' | 'Unavailable'; /** * Defines values for NetworkOperationStatus. * Possible values include: 'InProgress', 'Succeeded', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NetworkOperationStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum NetworkOperationStatus { - InProgress = 'InProgress', - Succeeded = 'Succeeded', - Failed = 'Failed', -} +export type NetworkOperationStatus = 'InProgress' | 'Succeeded' | 'Failed'; /** * Defines values for EnabledState. * Possible values include: 'Disabled', 'Enabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EnabledState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum EnabledState { - Disabled = 'Disabled', - Enabled = 'Enabled', -} +export type EnabledState = 'Disabled' | 'Enabled'; /** * Defines values for Mode. * Possible values include: 'Prevention', 'Detection' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Mode = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Mode { - Prevention = 'Prevention', - Detection = 'Detection', -} +export type Mode = 'Prevention' | 'Detection'; /** * Defines values for RuleType. * Possible values include: 'MatchRule', 'RateLimitRule' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RuleType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RuleType { - MatchRule = 'MatchRule', - RateLimitRule = 'RateLimitRule', -} +export type RuleType = 'MatchRule' | 'RateLimitRule'; /** * Defines values for MatchCondition. - * Possible values include: 'RemoteAddr', 'RequestMethod', 'QueryString', - * 'PostArgs', 'RequestUri', 'RequestHeader', 'RequestBody' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MatchCondition = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestUri', + * 'RequestHeader', 'RequestBody' * @readonly * @enum {string} */ -export enum MatchCondition { - RemoteAddr = 'RemoteAddr', - RequestMethod = 'RequestMethod', - QueryString = 'QueryString', - PostArgs = 'PostArgs', - RequestUri = 'RequestUri', - RequestHeader = 'RequestHeader', - RequestBody = 'RequestBody', -} +export type MatchCondition = 'RemoteAddr' | 'RequestMethod' | 'QueryString' | 'PostArgs' | 'RequestUri' | 'RequestHeader' | 'RequestBody'; /** * Defines values for Operator. - * Possible values include: 'Any', 'IPMatch', 'GeoMatch', 'Equal', 'Contains', - * 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', - * 'BeginsWith', 'EndsWith' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Operator = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Any', 'IPMatch', 'GeoMatch', 'Equal', 'Contains', 'LessThan', + * 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith' * @readonly * @enum {string} */ -export enum Operator { - Any = 'Any', - IPMatch = 'IPMatch', - GeoMatch = 'GeoMatch', - Equal = 'Equal', - Contains = 'Contains', - LessThan = 'LessThan', - GreaterThan = 'GreaterThan', - LessThanOrEqual = 'LessThanOrEqual', - GreaterThanOrEqual = 'GreaterThanOrEqual', - BeginsWith = 'BeginsWith', - EndsWith = 'EndsWith', -} +export type Operator = 'Any' | 'IPMatch' | 'GeoMatch' | 'Equal' | 'Contains' | 'LessThan' | 'GreaterThan' | 'LessThanOrEqual' | 'GreaterThanOrEqual' | 'BeginsWith' | 'EndsWith'; /** * Defines values for Action. * Possible values include: 'Allow', 'Block', 'Log' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Action = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Action { - Allow = 'Allow', - Block = 'Block', - Log = 'Log', -} +export type Action = 'Allow' | 'Block' | 'Log'; /** * Defines values for Transform. - * Possible values include: 'Lowercase', 'Uppercase', 'Trim', 'UrlDecode', - * 'UrlEncode', 'RemoveNulls', 'HtmlEntityDecode' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Transform = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Lowercase', 'Uppercase', 'Trim', 'UrlDecode', 'UrlEncode', + * 'RemoveNulls', 'HtmlEntityDecode' * @readonly * @enum {string} */ -export enum Transform { - Lowercase = 'Lowercase', - Uppercase = 'Uppercase', - Trim = 'Trim', - UrlDecode = 'UrlDecode', - UrlEncode = 'UrlEncode', - RemoveNulls = 'RemoveNulls', - HtmlEntityDecode = 'HtmlEntityDecode', -} +export type Transform = 'Lowercase' | 'Uppercase' | 'Trim' | 'UrlDecode' | 'UrlEncode' | 'RemoveNulls' | 'HtmlEntityDecode'; /** * Defines values for WebApplicationFirewallPolicy. - * Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', - * 'Disabled', 'Deleting' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: WebApplicationFirewallPolicy = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' * @readonly * @enum {string} */ -export enum WebApplicationFirewallPolicy { - Creating = 'Creating', - Enabling = 'Enabling', - Enabled = 'Enabled', - Disabling = 'Disabling', - Disabled = 'Disabled', - Deleting = 'Deleting', -} +export type WebApplicationFirewallPolicy = 'Creating' | 'Enabling' | 'Enabled' | 'Disabling' | 'Disabled' | 'Deleting'; /** * Defines values for RuleGroupOverride. * Possible values include: 'SqlInjection', 'XSS' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RuleGroupOverride = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RuleGroupOverride { - SqlInjection = 'SqlInjection', - XSS = 'XSS', -} +export type RuleGroupOverride = 'SqlInjection' | 'XSS'; /** * Contains response data for the checkFrontDoorNameAvailability operation. diff --git a/packages/@azure/arm-frontdoor/lib/models/mappers.ts b/packages/@azure/arm-frontdoor/lib/models/mappers.ts index 3ccc3e28c5e3..bf3f8f9f934e 100644 --- a/packages/@azure/arm-frontdoor/lib/models/mappers.ts +++ b/packages/@azure/arm-frontdoor/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -1453,11 +1453,6 @@ export const ManagedRuleSets: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "ruleSetType", - clientName: "ruleSetType" - }, - uberParent: "ManagedRuleSet", className: "ManagedRuleSet" } } diff --git a/packages/@azure/arm-frontdoor/lib/models/parameters.ts b/packages/@azure/arm-frontdoor/lib/models/parameters.ts index 5abd387dd131..4659c84bda06 100644 --- a/packages/@azure/arm-frontdoor/lib/models/parameters.ts +++ b/packages/@azure/arm-frontdoor/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-frontdoor/lib/operations/backendPools.ts b/packages/@azure/arm-frontdoor/lib/operations/backendPools.ts index 3b68d51aa86f..93c510c9c385 100644 --- a/packages/@azure/arm-frontdoor/lib/operations/backendPools.ts +++ b/packages/@azure/arm-frontdoor/lib/operations/backendPools.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/backendPoolsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class BackendPools { * @param callback The callback */ listByFrontDoor(resourceGroupName: string, frontDoorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFrontDoor(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByFrontDoor(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class BackendPools { * @param callback The callback */ get(resourceGroupName: string, frontDoorName: string, backendPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, frontDoorName: string, backendPoolName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, frontDoorName: string, backendPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -182,7 +182,7 @@ export class BackendPools { * @param callback The callback */ listByFrontDoorNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFrontDoorNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByFrontDoorNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-frontdoor/lib/operations/endpoints.ts b/packages/@azure/arm-frontdoor/lib/operations/endpoints.ts index 31e9105d73a3..8813aec41332 100644 --- a/packages/@azure/arm-frontdoor/lib/operations/endpoints.ts +++ b/packages/@azure/arm-frontdoor/lib/operations/endpoints.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/endpointsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-frontdoor/lib/operations/frontDoors.ts b/packages/@azure/arm-frontdoor/lib/operations/frontDoors.ts index fbdf677aeb91..09cbbdc01f4a 100644 --- a/packages/@azure/arm-frontdoor/lib/operations/frontDoors.ts +++ b/packages/@azure/arm-frontdoor/lib/operations/frontDoors.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/frontDoorsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class FrontDoors { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -69,7 +69,7 @@ export class FrontDoors { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -101,7 +101,7 @@ export class FrontDoors { * @param callback The callback */ get(resourceGroupName: string, frontDoorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class FrontDoors { * @param callback The callback */ validateCustomDomain(resourceGroupName: string, frontDoorName: string, customDomainProperties: Models.ValidateCustomDomainInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validateCustomDomain(resourceGroupName: string, frontDoorName: string, customDomainProperties: Models.ValidateCustomDomainInput, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + validateCustomDomain(resourceGroupName: string, frontDoorName: string, customDomainProperties: Models.ValidateCustomDomainInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -231,7 +231,7 @@ export class FrontDoors { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -259,7 +259,7 @@ export class FrontDoors { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-frontdoor/lib/operations/frontendEndpoints.ts b/packages/@azure/arm-frontdoor/lib/operations/frontendEndpoints.ts index 7b2b233b2fc8..4c175ea66604 100644 --- a/packages/@azure/arm-frontdoor/lib/operations/frontendEndpoints.ts +++ b/packages/@azure/arm-frontdoor/lib/operations/frontendEndpoints.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/frontendEndpointsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class FrontendEndpoints { * @param callback The callback */ listByFrontDoor(resourceGroupName: string, frontDoorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFrontDoor(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByFrontDoor(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class FrontendEndpoints { * @param callback The callback */ get(resourceGroupName: string, frontDoorName: string, frontendEndpointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, frontDoorName: string, frontendEndpointName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, frontDoorName: string, frontendEndpointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -251,7 +251,7 @@ export class FrontendEndpoints { * @param callback The callback */ listByFrontDoorNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFrontDoorNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByFrontDoorNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-frontdoor/lib/operations/healthProbeSettings.ts b/packages/@azure/arm-frontdoor/lib/operations/healthProbeSettings.ts index 3f26a33b4313..4707ef0a6bb5 100644 --- a/packages/@azure/arm-frontdoor/lib/operations/healthProbeSettings.ts +++ b/packages/@azure/arm-frontdoor/lib/operations/healthProbeSettings.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/healthProbeSettingsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class HealthProbeSettings { * @param callback The callback */ listByFrontDoor(resourceGroupName: string, frontDoorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFrontDoor(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByFrontDoor(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class HealthProbeSettings { * @param callback The callback */ get(resourceGroupName: string, frontDoorName: string, healthProbeSettingsName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, frontDoorName: string, healthProbeSettingsName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, frontDoorName: string, healthProbeSettingsName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -191,7 +191,7 @@ export class HealthProbeSettings { * @param callback The callback */ listByFrontDoorNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFrontDoorNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByFrontDoorNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-frontdoor/lib/operations/loadBalancingSettings.ts b/packages/@azure/arm-frontdoor/lib/operations/loadBalancingSettings.ts index 7f7c4bfc1d31..58afe67b9afc 100644 --- a/packages/@azure/arm-frontdoor/lib/operations/loadBalancingSettings.ts +++ b/packages/@azure/arm-frontdoor/lib/operations/loadBalancingSettings.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/loadBalancingSettingsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class LoadBalancingSettings { * @param callback The callback */ listByFrontDoor(resourceGroupName: string, frontDoorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFrontDoor(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByFrontDoor(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class LoadBalancingSettings { * @param callback The callback */ get(resourceGroupName: string, frontDoorName: string, loadBalancingSettingsName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, frontDoorName: string, loadBalancingSettingsName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, frontDoorName: string, loadBalancingSettingsName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -193,7 +193,7 @@ export class LoadBalancingSettings { * @param callback The callback */ listByFrontDoorNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFrontDoorNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByFrontDoorNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-frontdoor/lib/operations/policies.ts b/packages/@azure/arm-frontdoor/lib/operations/policies.ts index c826ef465d4c..de6db51d7dd9 100644 --- a/packages/@azure/arm-frontdoor/lib/operations/policies.ts +++ b/packages/@azure/arm-frontdoor/lib/operations/policies.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/policiesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Policies { * @param callback The callback */ list(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -76,7 +76,7 @@ export class Policies { * @param callback The callback */ get(resourceGroupName: string, policyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, policyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, policyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -111,7 +111,7 @@ export class Policies { * @param callback The callback */ createOrUpdate(resourceGroupName: string, policyName: string, parameters: Models.WebApplicationFirewallPolicy1, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, policyName: string, parameters: Models.WebApplicationFirewallPolicy1, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, policyName: string, parameters: Models.WebApplicationFirewallPolicy1, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -171,7 +171,7 @@ export class Policies { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-frontdoor/lib/operations/routingRules.ts b/packages/@azure/arm-frontdoor/lib/operations/routingRules.ts index 0b0a13045272..30a70a8b7ce6 100644 --- a/packages/@azure/arm-frontdoor/lib/operations/routingRules.ts +++ b/packages/@azure/arm-frontdoor/lib/operations/routingRules.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/routingRulesMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class RoutingRules { * @param callback The callback */ listByFrontDoor(resourceGroupName: string, frontDoorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFrontDoor(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByFrontDoor(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class RoutingRules { * @param callback The callback */ get(resourceGroupName: string, frontDoorName: string, routingRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, frontDoorName: string, routingRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, frontDoorName: string, routingRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -182,7 +182,7 @@ export class RoutingRules { * @param callback The callback */ listByFrontDoorNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFrontDoorNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByFrontDoorNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-frontdoor/package.json b/packages/@azure/arm-frontdoor/package.json index de63e5e60fc0..6cd111399535 100644 --- a/packages/@azure/arm-frontdoor/package.json +++ b/packages/@azure/arm-frontdoor/package.json @@ -4,8 +4,8 @@ "description": "FrontDoorManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-frontdoor.js.map'\" -o ./dist/arm-frontdoor.min.js ./dist/arm-frontdoor.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-frontdoor/rollup.config.js b/packages/@azure/arm-frontdoor/rollup.config.js index c0e3f9cb4320..a59cc6f58c72 100644 --- a/packages/@azure/arm-frontdoor/rollup.config.js +++ b/packages/@azure/arm-frontdoor/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/frontDoorManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-frontdoor.js", format: "umd", name: "Azure.ArmFrontdoor", 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-frontdoor/tsconfig.esm.json b/packages/@azure/arm-frontdoor/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-frontdoor/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-frontdoor/tsconfig.json b/packages/@azure/arm-frontdoor/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-frontdoor/tsconfig.json +++ b/packages/@azure/arm-frontdoor/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-frontdoor/webpack.config.js b/packages/@azure/arm-frontdoor/webpack.config.js deleted file mode 100644 index 85813d8381de..000000000000 --- a/packages/@azure/arm-frontdoor/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/frontDoorManagementClient.js', - devtool: 'source-map', - output: { - filename: 'frontDoorManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'frontDoorManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-hanaonazure/.npmignore b/packages/@azure/arm-hanaonazure/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-hanaonazure/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-hanaonazure/README.md b/packages/@azure/arm-hanaonazure/README.md index 86cd94890b28..b69df6cc8363 100644 --- a/packages/@azure/arm-hanaonazure/README.md +++ b/packages/@azure/arm-hanaonazure/README.md @@ -1,24 +1,34 @@ -# Azure HanaManagementClient SDK for JavaScript +## Azure HanaManagementClient SDK for JavaScript + This package contains an isomorphic SDK for HanaManagementClient. -## 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-hanaonazure ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { HanaManagementClient, HanaManagementModels, HanaManagementMappers } from "@azure/arm-hanaonazure"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-hanaonazure 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-hanaonazure/lib/hanaManagementClient.ts b/packages/@azure/arm-hanaonazure/lib/hanaManagementClient.ts index 0f6886e7c6eb..28c3c6a8d833 100644 --- a/packages/@azure/arm-hanaonazure/lib/hanaManagementClient.ts +++ b/packages/@azure/arm-hanaonazure/lib/hanaManagementClient.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-hanaonazure/lib/hanaManagementClientContext.ts b/packages/@azure/arm-hanaonazure/lib/hanaManagementClientContext.ts index 562674078e91..6506ab6335f4 100644 --- a/packages/@azure/arm-hanaonazure/lib/hanaManagementClientContext.ts +++ b/packages/@azure/arm-hanaonazure/lib/hanaManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-hanaonazure"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class HanaManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the HanaManagementClient class. @@ -45,6 +38,11 @@ export class HanaManagementClientContext extends msRestAzure.AzureServiceClient if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-11-03-preview'; @@ -55,7 +53,6 @@ export class HanaManagementClientContext extends msRestAzure.AzureServiceClient this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-hanaonazure/lib/models/index.ts b/packages/@azure/arm-hanaonazure/lib/models/index.ts index eeca028ffa55..31ea3c1487cc 100644 --- a/packages/@azure/arm-hanaonazure/lib/models/index.ts +++ b/packages/@azure/arm-hanaonazure/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -367,72 +367,27 @@ export interface HanaInstancesListResult extends Array { /** * Defines values for HanaHardwareTypeNamesEnum. * Possible values include: 'Cisco_UCS', 'HPE' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HanaHardwareTypeNamesEnum = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum HanaHardwareTypeNamesEnum { - CiscoUCS = 'Cisco_UCS', - HPE = 'HPE', -} +export type HanaHardwareTypeNamesEnum = 'Cisco_UCS' | 'HPE'; /** * Defines values for HanaInstanceSizeNamesEnum. - * Possible values include: 'S72m', 'S144m', 'S72', 'S144', 'S192', 'S192m', - * 'S192xm', 'S384', 'S384m', 'S384xm', 'S384xxm', 'S576m', 'S576xm', 'S768', - * 'S768m', 'S768xm', 'S960m' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HanaInstanceSizeNamesEnum = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'S72m', 'S144m', 'S72', 'S144', 'S192', 'S192m', 'S192xm', 'S384', + * 'S384m', 'S384xm', 'S384xxm', 'S576m', 'S576xm', 'S768', 'S768m', 'S768xm', 'S960m' * @readonly * @enum {string} */ -export enum HanaInstanceSizeNamesEnum { - S72m = 'S72m', - S144m = 'S144m', - S72 = 'S72', - S144 = 'S144', - S192 = 'S192', - S192m = 'S192m', - S192xm = 'S192xm', - S384 = 'S384', - S384m = 'S384m', - S384xm = 'S384xm', - S384xxm = 'S384xxm', - S576m = 'S576m', - S576xm = 'S576xm', - S768 = 'S768', - S768m = 'S768m', - S768xm = 'S768xm', - S960m = 'S960m', -} +export type HanaInstanceSizeNamesEnum = 'S72m' | 'S144m' | 'S72' | 'S144' | 'S192' | 'S192m' | 'S192xm' | 'S384' | 'S384m' | 'S384xm' | 'S384xxm' | 'S576m' | 'S576xm' | 'S768' | 'S768m' | 'S768xm' | 'S960m'; /** * Defines values for HanaInstancePowerStateEnum. - * Possible values include: 'starting', 'started', 'stopping', 'stopped', - * 'restarting', 'unknown' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HanaInstancePowerStateEnum = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'starting', 'started', 'stopping', 'stopped', 'restarting', 'unknown' * @readonly * @enum {string} */ -export enum HanaInstancePowerStateEnum { - Starting = 'starting', - Started = 'started', - Stopping = 'stopping', - Stopped = 'stopped', - Restarting = 'restarting', - Unknown = 'unknown', -} +export type HanaInstancePowerStateEnum = 'starting' | 'started' | 'stopping' | 'stopped' | 'restarting' | 'unknown'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-hanaonazure/lib/models/mappers.ts b/packages/@azure/arm-hanaonazure/lib/models/mappers.ts index e75317c9fff8..3bb1b6a63035 100644 --- a/packages/@azure/arm-hanaonazure/lib/models/mappers.ts +++ b/packages/@azure/arm-hanaonazure/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-hanaonazure/lib/models/parameters.ts b/packages/@azure/arm-hanaonazure/lib/models/parameters.ts index 0ef4dbb60925..99b4f44ffa5f 100644 --- a/packages/@azure/arm-hanaonazure/lib/models/parameters.ts +++ b/packages/@azure/arm-hanaonazure/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-hanaonazure/lib/operations/hanaInstances.ts b/packages/@azure/arm-hanaonazure/lib/operations/hanaInstances.ts index 03934de6daad..d8a95bcb46e6 100644 --- a/packages/@azure/arm-hanaonazure/lib/operations/hanaInstances.ts +++ b/packages/@azure/arm-hanaonazure/lib/operations/hanaInstances.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/hanaInstancesMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class HanaInstances { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -72,7 +72,7 @@ export class HanaInstances { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -105,7 +105,7 @@ export class HanaInstances { * @param callback The callback */ get(resourceGroupName: string, hanaInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, hanaInstanceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, hanaInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -137,7 +137,7 @@ export class HanaInstances { * @param callback The callback */ restart(resourceGroupName: string, hanaInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - restart(resourceGroupName: string, hanaInstanceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + restart(resourceGroupName: string, hanaInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -168,7 +168,7 @@ export class HanaInstances { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -198,7 +198,7 @@ export class HanaInstances { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-hanaonazure/lib/operations/operations.ts b/packages/@azure/arm-hanaonazure/lib/operations/operations.ts index d9971efbce70..6f9d3634099a 100644 --- a/packages/@azure/arm-hanaonazure/lib/operations/operations.ts +++ b/packages/@azure/arm-hanaonazure/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-hanaonazure/package.json b/packages/@azure/arm-hanaonazure/package.json index 2e62e1677ce7..fa5ca316d7b3 100644 --- a/packages/@azure/arm-hanaonazure/package.json +++ b/packages/@azure/arm-hanaonazure/package.json @@ -4,8 +4,8 @@ "description": "HanaManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-hanaonazure.js.map'\" -o ./dist/arm-hanaonazure.min.js ./dist/arm-hanaonazure.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-hanaonazure/rollup.config.js b/packages/@azure/arm-hanaonazure/rollup.config.js index 9d50b8717ec0..5e55897df412 100644 --- a/packages/@azure/arm-hanaonazure/rollup.config.js +++ b/packages/@azure/arm-hanaonazure/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/hanaManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-hanaonazure.js", format: "umd", name: "Azure.ArmHanaonazure", 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-hanaonazure/tsconfig.json b/packages/@azure/arm-hanaonazure/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-hanaonazure/tsconfig.json +++ b/packages/@azure/arm-hanaonazure/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-hdinsight/.npmignore b/packages/@azure/arm-hdinsight/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-hdinsight/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-hdinsight/README.md b/packages/@azure/arm-hdinsight/README.md index 079d55d64e38..50f5841b1fdb 100644 --- a/packages/@azure/arm-hdinsight/README.md +++ b/packages/@azure/arm-hdinsight/README.md @@ -1,24 +1,34 @@ -# Azure HDInsightManagementClient SDK for JavaScript +## Azure HDInsightManagementClient SDK for JavaScript + This package contains an isomorphic SDK for HDInsightManagementClient. -## 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-hdinsight ``` +### How to use + +#### nodejs - Authentication, client creation and get clusters as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get clusters as an example written in TypeScript. +##### Sample code ```ts -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 { HDInsightManagementClient, HDInsightManagementModels, HDInsightManagementMappers } from "@azure/arm-hdinsight"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get clusters as an example written in JavaScript. +#### browser - Authentication, client creation and get clusters as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-hdinsight 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-hdinsight/lib/hDInsightManagementClient.ts b/packages/@azure/arm-hdinsight/lib/hDInsightManagementClient.ts index 00666869a1ca..261804e01b82 100644 --- a/packages/@azure/arm-hdinsight/lib/hDInsightManagementClient.ts +++ b/packages/@azure/arm-hdinsight/lib/hDInsightManagementClient.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-hdinsight/lib/hDInsightManagementClientContext.ts b/packages/@azure/arm-hdinsight/lib/hDInsightManagementClientContext.ts index 1e8735107ed5..8f7f5e0266e1 100644 --- a/packages/@azure/arm-hdinsight/lib/hDInsightManagementClientContext.ts +++ b/packages/@azure/arm-hdinsight/lib/hDInsightManagementClientContext.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-hdinsight"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class HDInsightManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -38,6 +38,11 @@ export class HDInsightManagementClientContext extends msRestAzure.AzureServiceCl if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-06-01-preview'; @@ -48,7 +53,6 @@ export class HDInsightManagementClientContext extends msRestAzure.AzureServiceCl this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-hdinsight/lib/models/index.ts b/packages/@azure/arm-hdinsight/lib/models/index.ts index 2134515b5642..4368f6364304 100644 --- a/packages/@azure/arm-hdinsight/lib/models/index.ts +++ b/packages/@azure/arm-hdinsight/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -917,12 +917,6 @@ export interface ApplicationGetHttpsEndpoint { * @member {number} [publicPort] The public port to connect to. */ publicPort?: number; - /** - * @property Describes unknown properties. The value of an unknown property - * MUST be of type "string". Due to valid TS constraints we have modeled this - * as a union of `string | any`. - */ - [property: string]: string | any; } /** @@ -1011,11 +1005,6 @@ export interface ApplicationProperties { * the server.** */ readonly marketplaceIdentifier?: string; - /** - * @member {string} [additionalProperties] The additional properties for - * application. - */ - additionalProperties?: string; } /** @@ -1328,9 +1317,7 @@ export interface OperationListResult extends Array { * @readonly * @enum {string} */ -export enum DirectoryType { - ActiveDirectory = 'ActiveDirectory', -} +export type DirectoryType = 'ActiveDirectory'; /** * Defines values for OSType. @@ -1338,10 +1325,7 @@ export enum DirectoryType { * @readonly * @enum {string} */ -export enum OSType { - Windows = 'Windows', - Linux = 'Linux', -} +export type OSType = 'Windows' | 'Linux'; /** * Defines values for Tier. @@ -1349,39 +1333,24 @@ export enum OSType { * @readonly * @enum {string} */ -export enum Tier { - Standard = 'Standard', - Premium = 'Premium', -} +export type Tier = 'Standard' | 'Premium'; /** * Defines values for ResourceIdentityType. - * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, - * UserAssigned', 'None' + * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', + * 'None' * @readonly * @enum {string} */ -export enum ResourceIdentityType { - SystemAssigned = 'SystemAssigned', - UserAssigned = 'UserAssigned', - SystemAssignedUserAssigned = 'SystemAssigned, UserAssigned', - None = 'None', -} +export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; /** * Defines values for HDInsightClusterProvisioningState. - * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'Canceled', - * 'Deleting' + * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'Canceled', 'Deleting' * @readonly * @enum {string} */ -export enum HDInsightClusterProvisioningState { - InProgress = 'InProgress', - Failed = 'Failed', - Succeeded = 'Succeeded', - Canceled = 'Canceled', - Deleting = 'Deleting', -} +export type HDInsightClusterProvisioningState = 'InProgress' | 'Failed' | 'Succeeded' | 'Canceled' | 'Deleting'; /** * Defines values for AsyncOperationState. @@ -1389,11 +1358,7 @@ export enum HDInsightClusterProvisioningState { * @readonly * @enum {string} */ -export enum AsyncOperationState { - InProgress = 'InProgress', - Succeeded = 'Succeeded', - Failed = 'Failed', -} +export type AsyncOperationState = 'InProgress' | 'Succeeded' | 'Failed'; /** * Contains response data for the create operation. diff --git a/packages/@azure/arm-hdinsight/lib/models/mappers.ts b/packages/@azure/arm-hdinsight/lib/models/mappers.ts index 092970d6df6b..47ae60c58acc 100644 --- a/packages/@azure/arm-hdinsight/lib/models/mappers.ts +++ b/packages/@azure/arm-hdinsight/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -1284,11 +1284,6 @@ export const ApplicationGetHttpsEndpoint: msRest.CompositeMapper = { name: "Number" } } - }, - additionalProperties: { - type: { - name: "String" - } } } }; @@ -1365,12 +1360,7 @@ export const ApplicationProperties: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ApplicationGetHttpsEndpoint", - additionalProperties: { - type: { - name: "String" - } - } + className: "ApplicationGetHttpsEndpoint" } } } @@ -1432,12 +1422,6 @@ export const ApplicationProperties: msRest.CompositeMapper = { type: { name: "String" } - }, - additionalProperties: { - serializedName: "additionalProperties", - type: { - name: "String" - } } } } diff --git a/packages/@azure/arm-hdinsight/lib/models/parameters.ts b/packages/@azure/arm-hdinsight/lib/models/parameters.ts index 9bb3424a3f17..1a978b65fd61 100644 --- a/packages/@azure/arm-hdinsight/lib/models/parameters.ts +++ b/packages/@azure/arm-hdinsight/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-hdinsight/lib/operations/applications.ts b/packages/@azure/arm-hdinsight/lib/operations/applications.ts index ef2fe328b4f3..cc92b761228e 100644 --- a/packages/@azure/arm-hdinsight/lib/operations/applications.ts +++ b/packages/@azure/arm-hdinsight/lib/operations/applications.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/applicationsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Applications { * @param callback The callback */ listByCluster(resourceGroupName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByCluster(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByCluster(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class Applications { * @param callback The callback */ get(resourceGroupName: string, clusterName: string, applicationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, clusterName: string, applicationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, clusterName: string, applicationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -182,7 +182,7 @@ export class Applications { * @param callback The callback */ listByClusterNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByClusterNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByClusterNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-hdinsight/lib/operations/clusters.ts b/packages/@azure/arm-hdinsight/lib/operations/clusters.ts index 5dcb3dc7a09c..18be1124b986 100644 --- a/packages/@azure/arm-hdinsight/lib/operations/clusters.ts +++ b/packages/@azure/arm-hdinsight/lib/operations/clusters.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/clustersMappers"; import * as Parameters from "../models/parameters"; @@ -64,7 +64,7 @@ export class Clusters { * @param callback The callback */ update(resourceGroupName: string, clusterName: string, parameters: Models.ClusterPatchParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, clusterName: string, parameters: Models.ClusterPatchParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, clusterName: string, parameters: Models.ClusterPatchParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -109,7 +109,7 @@ export class Clusters { * @param callback The callback */ get(resourceGroupName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -138,7 +138,7 @@ export class Clusters { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -176,7 +176,7 @@ export class Clusters { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -294,7 +294,7 @@ export class Clusters { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -322,7 +322,7 @@ export class Clusters { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-hdinsight/lib/operations/configurations.ts b/packages/@azure/arm-hdinsight/lib/operations/configurations.ts index 3cd5b0c8888a..6b124037e8b2 100644 --- a/packages/@azure/arm-hdinsight/lib/operations/configurations.ts +++ b/packages/@azure/arm-hdinsight/lib/operations/configurations.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/configurationsMappers"; import * as Parameters from "../models/parameters"; @@ -65,7 +65,7 @@ export class Configurations { * @param callback The callback */ get(resourceGroupName: string, clusterName: string, configurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<{ [propertyName: string]: string }>): void; - get(resourceGroupName: string, clusterName: string, configurationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback<{ [propertyName: string]: string }>): Promise { + get(resourceGroupName: string, clusterName: string, configurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<{ [propertyName: string]: string }>, callback?: msRest.ServiceCallback<{ [propertyName: string]: string }>): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-hdinsight/lib/operations/extensions.ts b/packages/@azure/arm-hdinsight/lib/operations/extensions.ts index c48e7f27864b..db6fbf89c7f5 100644 --- a/packages/@azure/arm-hdinsight/lib/operations/extensions.ts +++ b/packages/@azure/arm-hdinsight/lib/operations/extensions.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/extensionsMappers"; import * as Parameters from "../models/parameters"; @@ -61,7 +61,7 @@ export class Extensions { * @param callback The callback */ getMonitoringStatus(resourceGroupName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMonitoringStatus(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMonitoringStatus(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -122,7 +122,7 @@ export class Extensions { * @param callback The callback */ get(resourceGroupName: string, clusterName: string, extensionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, clusterName: string, extensionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, clusterName: string, extensionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-hdinsight/lib/operations/locations.ts b/packages/@azure/arm-hdinsight/lib/operations/locations.ts index 6188754952d1..9baa0166ffad 100644 --- a/packages/@azure/arm-hdinsight/lib/operations/locations.ts +++ b/packages/@azure/arm-hdinsight/lib/operations/locations.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/locationsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class Locations { * @param callback The callback */ listUsages(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listUsages(location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listUsages(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, diff --git a/packages/@azure/arm-hdinsight/lib/operations/operations.ts b/packages/@azure/arm-hdinsight/lib/operations/operations.ts index 027333446006..60b063d2cf2b 100644 --- a/packages/@azure/arm-hdinsight/lib/operations/operations.ts +++ b/packages/@azure/arm-hdinsight/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-hdinsight/lib/operations/scriptActions.ts b/packages/@azure/arm-hdinsight/lib/operations/scriptActions.ts index ed225185897b..3c89285b93e1 100644 --- a/packages/@azure/arm-hdinsight/lib/operations/scriptActions.ts +++ b/packages/@azure/arm-hdinsight/lib/operations/scriptActions.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/scriptActionsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ScriptActions { * @param callback The callback */ deleteMethod(resourceGroupName: string, clusterName: string, scriptName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, clusterName: string, scriptName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, clusterName: string, scriptName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class ScriptActions { * @param callback The callback */ listByCluster(resourceGroupName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByCluster(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByCluster(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -118,7 +118,7 @@ export class ScriptActions { * @param callback The callback */ getExecutionDetail(resourceGroupName: string, clusterName: string, scriptExecutionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getExecutionDetail(resourceGroupName: string, clusterName: string, scriptExecutionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getExecutionDetail(resourceGroupName: string, clusterName: string, scriptExecutionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -148,7 +148,7 @@ export class ScriptActions { * @param callback The callback */ listByClusterNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByClusterNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByClusterNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-hdinsight/lib/operations/scriptExecutionHistory.ts b/packages/@azure/arm-hdinsight/lib/operations/scriptExecutionHistory.ts index 478a864e80dc..9ed8c7e8d1c9 100644 --- a/packages/@azure/arm-hdinsight/lib/operations/scriptExecutionHistory.ts +++ b/packages/@azure/arm-hdinsight/lib/operations/scriptExecutionHistory.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/scriptExecutionHistoryMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class ScriptExecutionHistory { * @param callback The callback */ listByCluster(resourceGroupName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByCluster(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByCluster(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class ScriptExecutionHistory { * @param callback The callback */ promote(resourceGroupName: string, clusterName: string, scriptExecutionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - promote(resourceGroupName: string, clusterName: string, scriptExecutionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + promote(resourceGroupName: string, clusterName: string, scriptExecutionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -112,7 +112,7 @@ export class ScriptExecutionHistory { * @param callback The callback */ listByClusterNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByClusterNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByClusterNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-hdinsight/package.json b/packages/@azure/arm-hdinsight/package.json index 41e3bb491b31..42b91aa832a6 100644 --- a/packages/@azure/arm-hdinsight/package.json +++ b/packages/@azure/arm-hdinsight/package.json @@ -4,8 +4,8 @@ "description": "HDInsightManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-hdinsight/rollup.config.js b/packages/@azure/arm-hdinsight/rollup.config.js index aed24ef7fd74..13a6aeb51a38 100644 --- a/packages/@azure/arm-hdinsight/rollup.config.js +++ b/packages/@azure/arm-hdinsight/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/hDInsightManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-hdinsight.js", format: "umd", name: "Azure.ArmHdinsight", 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-hdinsight/tsconfig.json b/packages/@azure/arm-hdinsight/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-hdinsight/tsconfig.json +++ b/packages/@azure/arm-hdinsight/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-iotcentral/.npmignore b/packages/@azure/arm-iotcentral/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-iotcentral/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-iotcentral/README.md b/packages/@azure/arm-iotcentral/README.md index e1bfe5b1bf03..cf7f8112cc8c 100644 --- a/packages/@azure/arm-iotcentral/README.md +++ b/packages/@azure/arm-iotcentral/README.md @@ -1,24 +1,34 @@ -# Azure IotCentralClient SDK for JavaScript +## Azure IotCentralClient SDK for JavaScript + This package contains an isomorphic SDK for IotCentralClient. -## 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-iotcentral ``` +### How to use + +#### nodejs - Authentication, client creation and get apps as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get apps as an example written in TypeScript. +##### Sample code ```ts -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 { IotCentralClient, IotCentralModels, IotCentralMappers } from "@azure/arm-iotcentral"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get apps as an example written in JavaScript. +#### browser - Authentication, client creation and get apps as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-iotcentral 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-iotcentral/lib/iotCentralClient.ts b/packages/@azure/arm-iotcentral/lib/iotCentralClient.ts index 30e090cf5b83..6a0d6dda5658 100644 --- a/packages/@azure/arm-iotcentral/lib/iotCentralClient.ts +++ b/packages/@azure/arm-iotcentral/lib/iotCentralClient.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-iotcentral/lib/iotCentralClientContext.ts b/packages/@azure/arm-iotcentral/lib/iotCentralClientContext.ts index 1fdc9cc0078a..5f37b9da45dd 100644 --- a/packages/@azure/arm-iotcentral/lib/iotCentralClientContext.ts +++ b/packages/@azure/arm-iotcentral/lib/iotCentralClientContext.ts @@ -9,23 +9,16 @@ */ 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-iotcentral"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class IotCentralClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the IotCentralClient class. @@ -44,6 +37,11 @@ export class IotCentralClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-09-01'; @@ -54,7 +52,6 @@ export class IotCentralClientContext extends msRestAzure.AzureServiceClient { this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-iotcentral/lib/models/index.ts b/packages/@azure/arm-iotcentral/lib/models/index.ts index 8d6a90f771b9..4430cc8c4dc4 100644 --- a/packages/@azure/arm-iotcentral/lib/models/index.ts +++ b/packages/@azure/arm-iotcentral/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -346,17 +346,10 @@ export interface OperationListResult extends Array { /** * Defines values for AppSku. * Possible values include: 'F1', 'S1' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AppSku = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AppSku { - F1 = 'F1', - S1 = 'S1', -} +export type AppSku = 'F1' | 'S1'; /** * Contains response data for the get operation. diff --git a/packages/@azure/arm-iotcentral/lib/models/mappers.ts b/packages/@azure/arm-iotcentral/lib/models/mappers.ts index 0ecf7acb81a6..18603c7057d8 100644 --- a/packages/@azure/arm-iotcentral/lib/models/mappers.ts +++ b/packages/@azure/arm-iotcentral/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-iotcentral/lib/models/parameters.ts b/packages/@azure/arm-iotcentral/lib/models/parameters.ts index 3dd33eebb6a9..52c2fc91f383 100644 --- a/packages/@azure/arm-iotcentral/lib/models/parameters.ts +++ b/packages/@azure/arm-iotcentral/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-iotcentral/lib/operations/apps.ts b/packages/@azure/arm-iotcentral/lib/operations/apps.ts index 28aa0fae5d71..c5d2ed7934eb 100644 --- a/packages/@azure/arm-iotcentral/lib/operations/apps.ts +++ b/packages/@azure/arm-iotcentral/lib/operations/apps.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/appsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class Apps { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -120,7 +120,7 @@ export class Apps { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -150,7 +150,7 @@ export class Apps { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -181,7 +181,7 @@ export class Apps { * @param callback The callback */ checkNameAvailability(operationInputs: Models.OperationInputs, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(operationInputs: Models.OperationInputs, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(operationInputs: Models.OperationInputs, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { operationInputs, @@ -212,7 +212,7 @@ export class Apps { * @param callback The callback */ checkSubdomainAvailability(operationInputs: Models.OperationInputs, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkSubdomainAvailability(operationInputs: Models.OperationInputs, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkSubdomainAvailability(operationInputs: Models.OperationInputs, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { operationInputs, @@ -303,7 +303,7 @@ export class Apps { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -331,7 +331,7 @@ export class Apps { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-iotcentral/lib/operations/operations.ts b/packages/@azure/arm-iotcentral/lib/operations/operations.ts index 060ea5ccc5aa..1aa32aa10bce 100644 --- a/packages/@azure/arm-iotcentral/lib/operations/operations.ts +++ b/packages/@azure/arm-iotcentral/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-iotcentral/package.json b/packages/@azure/arm-iotcentral/package.json index 42f2202c5693..81def521b9d3 100644 --- a/packages/@azure/arm-iotcentral/package.json +++ b/packages/@azure/arm-iotcentral/package.json @@ -4,8 +4,8 @@ "description": "IotCentralClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-iotcentral.js.map'\" -o ./dist/arm-iotcentral.min.js ./dist/arm-iotcentral.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-iotcentral/rollup.config.js b/packages/@azure/arm-iotcentral/rollup.config.js index 24eaac8ffb58..c2695e9d6fa1 100644 --- a/packages/@azure/arm-iotcentral/rollup.config.js +++ b/packages/@azure/arm-iotcentral/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/iotCentralClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-iotcentral.js", format: "umd", name: "Azure.ArmIotcentral", 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-iotcentral/tsconfig.esm.json b/packages/@azure/arm-iotcentral/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-iotcentral/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-iotcentral/tsconfig.json b/packages/@azure/arm-iotcentral/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-iotcentral/tsconfig.json +++ b/packages/@azure/arm-iotcentral/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-iotcentral/webpack.config.js b/packages/@azure/arm-iotcentral/webpack.config.js deleted file mode 100644 index ff172b5673b4..000000000000 --- a/packages/@azure/arm-iotcentral/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/iotCentralClient.js', - devtool: 'source-map', - output: { - filename: 'iotCentralClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'iotCentralClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-iothub/.npmignore b/packages/@azure/arm-iothub/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-iothub/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-iothub/README.md b/packages/@azure/arm-iothub/README.md index 11abc86f184a..7b46488b411b 100644 --- a/packages/@azure/arm-iothub/README.md +++ b/packages/@azure/arm-iothub/README.md @@ -1,24 +1,34 @@ -# Azure IotHubClient SDK for JavaScript +## Azure IotHubClient SDK for JavaScript + This package contains an isomorphic SDK for IotHubClient. -## 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-iothub ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { IotHubClient, IotHubModels, IotHubMappers } from "@azure/arm-iothub"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-iothub 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-iothub/lib/iotHubClient.ts b/packages/@azure/arm-iothub/lib/iotHubClient.ts index ce2ffb2e3a44..36360600b831 100644 --- a/packages/@azure/arm-iothub/lib/iotHubClient.ts +++ b/packages/@azure/arm-iothub/lib/iotHubClient.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-iothub/lib/iotHubClientContext.ts b/packages/@azure/arm-iothub/lib/iotHubClientContext.ts index 6809caeb616d..4e27860b04d5 100644 --- a/packages/@azure/arm-iothub/lib/iotHubClientContext.ts +++ b/packages/@azure/arm-iothub/lib/iotHubClientContext.ts @@ -9,23 +9,16 @@ */ 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-iothub"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class IotHubClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the IotHubClient class. @@ -44,6 +37,11 @@ export class IotHubClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-04-01'; @@ -54,7 +52,6 @@ export class IotHubClientContext extends msRestAzure.AzureServiceClient { this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-iothub/lib/models/index.ts b/packages/@azure/arm-iothub/lib/models/index.ts index 2feb644f09cb..e621acb66598 100644 --- a/packages/@azure/arm-iothub/lib/models/index.ts +++ b/packages/@azure/arm-iothub/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1861,34 +1861,16 @@ export interface SharedAccessSignatureAuthorizationRuleListResult extends Array< /** * Defines values for AccessRights. - * Possible values include: 'RegistryRead', 'RegistryWrite', 'ServiceConnect', - * 'DeviceConnect', 'RegistryRead, RegistryWrite', 'RegistryRead, - * ServiceConnect', 'RegistryRead, DeviceConnect', 'RegistryWrite, - * ServiceConnect', 'RegistryWrite, DeviceConnect', 'ServiceConnect, - * DeviceConnect', 'RegistryRead, RegistryWrite, ServiceConnect', - * 'RegistryRead, RegistryWrite, DeviceConnect', 'RegistryRead, ServiceConnect, - * DeviceConnect', 'RegistryWrite, ServiceConnect, DeviceConnect', - * 'RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect' + * Possible values include: 'RegistryRead', 'RegistryWrite', 'ServiceConnect', 'DeviceConnect', + * 'RegistryRead, RegistryWrite', 'RegistryRead, ServiceConnect', 'RegistryRead, DeviceConnect', + * 'RegistryWrite, ServiceConnect', 'RegistryWrite, DeviceConnect', 'ServiceConnect, + * DeviceConnect', 'RegistryRead, RegistryWrite, ServiceConnect', 'RegistryRead, RegistryWrite, + * DeviceConnect', 'RegistryRead, ServiceConnect, DeviceConnect', 'RegistryWrite, ServiceConnect, + * DeviceConnect', 'RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect' * @readonly * @enum {string} */ -export enum AccessRights { - RegistryRead = 'RegistryRead', - RegistryWrite = 'RegistryWrite', - ServiceConnect = 'ServiceConnect', - DeviceConnect = 'DeviceConnect', - RegistryReadRegistryWrite = 'RegistryRead, RegistryWrite', - RegistryReadServiceConnect = 'RegistryRead, ServiceConnect', - RegistryReadDeviceConnect = 'RegistryRead, DeviceConnect', - RegistryWriteServiceConnect = 'RegistryWrite, ServiceConnect', - RegistryWriteDeviceConnect = 'RegistryWrite, DeviceConnect', - ServiceConnectDeviceConnect = 'ServiceConnect, DeviceConnect', - RegistryReadRegistryWriteServiceConnect = 'RegistryRead, RegistryWrite, ServiceConnect', - RegistryReadRegistryWriteDeviceConnect = 'RegistryRead, RegistryWrite, DeviceConnect', - RegistryReadServiceConnectDeviceConnect = 'RegistryRead, ServiceConnect, DeviceConnect', - RegistryWriteServiceConnectDeviceConnect = 'RegistryWrite, ServiceConnect, DeviceConnect', - RegistryReadRegistryWriteServiceConnectDeviceConnect = 'RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect', -} +export type AccessRights = 'RegistryRead' | 'RegistryWrite' | 'ServiceConnect' | 'DeviceConnect' | 'RegistryRead, RegistryWrite' | 'RegistryRead, ServiceConnect' | 'RegistryRead, DeviceConnect' | 'RegistryWrite, ServiceConnect' | 'RegistryWrite, DeviceConnect' | 'ServiceConnect, DeviceConnect' | 'RegistryRead, RegistryWrite, ServiceConnect' | 'RegistryRead, RegistryWrite, DeviceConnect' | 'RegistryRead, ServiceConnect, DeviceConnect' | 'RegistryWrite, ServiceConnect, DeviceConnect' | 'RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect'; /** * Defines values for IpFilterActionType. @@ -1896,85 +1878,40 @@ export enum AccessRights { * @readonly * @enum {string} */ -export enum IpFilterActionType { - Accept = 'Accept', - Reject = 'Reject', -} +export type IpFilterActionType = 'Accept' | 'Reject'; /** * Defines values for RoutingSource. * Possible values include: 'Invalid', 'DeviceMessages', 'TwinChangeEvents', * 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RoutingSource = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RoutingSource { - Invalid = 'Invalid', - DeviceMessages = 'DeviceMessages', - TwinChangeEvents = 'TwinChangeEvents', - DeviceLifecycleEvents = 'DeviceLifecycleEvents', - DeviceJobLifecycleEvents = 'DeviceJobLifecycleEvents', -} +export type RoutingSource = 'Invalid' | 'DeviceMessages' | 'TwinChangeEvents' | 'DeviceLifecycleEvents' | 'DeviceJobLifecycleEvents'; /** * Defines values for OperationMonitoringLevel. - * Possible values include: 'None', 'Error', 'Information', 'Error, - * Information' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OperationMonitoringLevel = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'Error', 'Information', 'Error, Information' * @readonly * @enum {string} */ -export enum OperationMonitoringLevel { - None = 'None', - Error = 'Error', - Information = 'Information', - ErrorInformation = 'Error, Information', -} +export type OperationMonitoringLevel = 'None' | 'Error' | 'Information' | 'Error, Information'; /** * Defines values for Capabilities. * Possible values include: 'None', 'DeviceManagement' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Capabilities = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Capabilities { - None = 'None', - DeviceManagement = 'DeviceManagement', -} +export type Capabilities = 'None' | 'DeviceManagement'; /** * Defines values for IotHubSku. * Possible values include: 'F1', 'S1', 'S2', 'S3', 'B1', 'B2', 'B3' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: IotHubSku = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum IotHubSku { - F1 = 'F1', - S1 = 'S1', - S2 = 'S2', - S3 = 'S3', - B1 = 'B1', - B2 = 'B2', - B3 = 'B3', -} +export type IotHubSku = 'F1' | 'S1' | 'S2' | 'S3' | 'B1' | 'B2' | 'B3'; /** * Defines values for IotHubSkuTier. @@ -1982,71 +1919,33 @@ export enum IotHubSku { * @readonly * @enum {string} */ -export enum IotHubSkuTier { - Free = 'Free', - Standard = 'Standard', - Basic = 'Basic', -} +export type IotHubSkuTier = 'Free' | 'Standard' | 'Basic'; /** * Defines values for EndpointHealthStatus. * Possible values include: 'unknown', 'healthy', 'unhealthy', 'dead' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EndpointHealthStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum EndpointHealthStatus { - Unknown = 'unknown', - Healthy = 'healthy', - Unhealthy = 'unhealthy', - Dead = 'dead', -} +export type EndpointHealthStatus = 'unknown' | 'healthy' | 'unhealthy' | 'dead'; /** * Defines values for JobType. - * Possible values include: 'unknown', 'export', 'import', 'backup', - * 'readDeviceProperties', 'writeDeviceProperties', - * 'updateDeviceConfiguration', 'rebootDevice', 'factoryResetDevice', + * Possible values include: 'unknown', 'export', 'import', 'backup', 'readDeviceProperties', + * 'writeDeviceProperties', 'updateDeviceConfiguration', 'rebootDevice', 'factoryResetDevice', * 'firmwareUpdate' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: JobType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum JobType { - Unknown = 'unknown', - Export = 'export', - Import = 'import', - Backup = 'backup', - ReadDeviceProperties = 'readDeviceProperties', - WriteDeviceProperties = 'writeDeviceProperties', - UpdateDeviceConfiguration = 'updateDeviceConfiguration', - RebootDevice = 'rebootDevice', - FactoryResetDevice = 'factoryResetDevice', - FirmwareUpdate = 'firmwareUpdate', -} +export type JobType = 'unknown' | 'export' | 'import' | 'backup' | 'readDeviceProperties' | 'writeDeviceProperties' | 'updateDeviceConfiguration' | 'rebootDevice' | 'factoryResetDevice' | 'firmwareUpdate'; /** * Defines values for JobStatus. - * Possible values include: 'unknown', 'enqueued', 'running', 'completed', - * 'failed', 'cancelled' + * Possible values include: 'unknown', 'enqueued', 'running', 'completed', 'failed', 'cancelled' * @readonly * @enum {string} */ -export enum JobStatus { - Unknown = 'unknown', - Enqueued = 'enqueued', - Running = 'running', - Completed = 'completed', - Failed = 'failed', - Cancelled = 'cancelled', -} +export type JobStatus = 'unknown' | 'enqueued' | 'running' | 'completed' | 'failed' | 'cancelled'; /** * Defines values for IotHubScaleType. @@ -2054,11 +1953,7 @@ export enum JobStatus { * @readonly * @enum {string} */ -export enum IotHubScaleType { - Automatic = 'Automatic', - Manual = 'Manual', - None = 'None', -} +export type IotHubScaleType = 'Automatic' | 'Manual' | 'None'; /** * Defines values for IotHubNameUnavailabilityReason. @@ -2066,43 +1961,23 @@ export enum IotHubScaleType { * @readonly * @enum {string} */ -export enum IotHubNameUnavailabilityReason { - Invalid = 'Invalid', - AlreadyExists = 'AlreadyExists', -} +export type IotHubNameUnavailabilityReason = 'Invalid' | 'AlreadyExists'; /** * Defines values for TestResultStatus. * Possible values include: 'undefined', 'false', 'true' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TestResultStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TestResultStatus { - Undefined = 'undefined', - False = 'false', - True = 'true', -} +export type TestResultStatus = 'undefined' | 'false' | 'true'; /** * Defines values for RouteErrorSeverity. * Possible values include: 'error', 'warning' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RouteErrorSeverity = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RouteErrorSeverity { - Error = 'error', - Warning = 'warning', -} +export type RouteErrorSeverity = 'error' | 'warning'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-iothub/lib/models/mappers.ts b/packages/@azure/arm-iothub/lib/models/mappers.ts index a4484a54dd40..ffafd0911b12 100644 --- a/packages/@azure/arm-iothub/lib/models/mappers.ts +++ b/packages/@azure/arm-iothub/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-iothub/lib/models/parameters.ts b/packages/@azure/arm-iothub/lib/models/parameters.ts index 5a18d7ca810d..d31ab76d3439 100644 --- a/packages/@azure/arm-iothub/lib/models/parameters.ts +++ b/packages/@azure/arm-iothub/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-iothub/lib/operations/certificates.ts b/packages/@azure/arm-iothub/lib/operations/certificates.ts index 71bb34af49a2..c1d660fd08ef 100644 --- a/packages/@azure/arm-iothub/lib/operations/certificates.ts +++ b/packages/@azure/arm-iothub/lib/operations/certificates.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/certificatesMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Certificates { * @param callback The callback */ listByIotHub(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByIotHub(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByIotHub(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -84,7 +84,7 @@ export class Certificates { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class Certificates { * @param callback The callback */ createOrUpdate(resourceGroupName: string, resourceName: string, certificateName: string, options: Models.CertificatesCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, resourceName: string, certificateName: string, options?: Models.CertificatesCreateOrUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, resourceName: string, certificateName: string, options?: Models.CertificatesCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -161,7 +161,7 @@ export class Certificates { * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, certificateName: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, resourceName: string, certificateName: string, ifMatch: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, resourceName: string, certificateName: string, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -203,7 +203,7 @@ export class Certificates { * @param callback The callback */ generateVerificationCode(resourceGroupName: string, resourceName: string, certificateName: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - generateVerificationCode(resourceGroupName: string, resourceName: string, certificateName: string, ifMatch: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + generateVerificationCode(resourceGroupName: string, resourceName: string, certificateName: string, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -245,7 +245,7 @@ export class Certificates { * @param callback The callback */ verify(resourceGroupName: string, resourceName: string, certificateName: string, ifMatch: string, options: Models.CertificatesVerifyOptionalParams, callback: msRest.ServiceCallback): void; - verify(resourceGroupName: string, resourceName: string, certificateName: string, ifMatch: string, options?: Models.CertificatesVerifyOptionalParams, callback?: msRest.ServiceCallback): Promise { + verify(resourceGroupName: string, resourceName: string, certificateName: string, ifMatch: string, options?: Models.CertificatesVerifyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-iothub/lib/operations/iotHubResource.ts b/packages/@azure/arm-iothub/lib/operations/iotHubResource.ts index 113957b3a125..19266d2904fa 100644 --- a/packages/@azure/arm-iothub/lib/operations/iotHubResource.ts +++ b/packages/@azure/arm-iothub/lib/operations/iotHubResource.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/iotHubResourceMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class IotHubResource { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -118,7 +118,7 @@ export class IotHubResource { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -146,7 +146,7 @@ export class IotHubResource { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -178,7 +178,7 @@ export class IotHubResource { * @param callback The callback */ getStats(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getStats(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getStats(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -211,7 +211,7 @@ export class IotHubResource { * @param callback The callback */ getValidSkus(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getValidSkus(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getValidSkus(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -249,7 +249,7 @@ export class IotHubResource { * @param callback The callback */ listEventHubConsumerGroups(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listEventHubConsumerGroups(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listEventHubConsumerGroups(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -290,7 +290,7 @@ export class IotHubResource { * @param callback The callback */ getEventHubConsumerGroup(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getEventHubConsumerGroup(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getEventHubConsumerGroup(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -331,7 +331,7 @@ export class IotHubResource { * @param callback The callback */ createEventHubConsumerGroup(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createEventHubConsumerGroup(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createEventHubConsumerGroup(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -372,7 +372,7 @@ export class IotHubResource { * @param callback The callback */ deleteEventHubConsumerGroup(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteEventHubConsumerGroup(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteEventHubConsumerGroup(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -409,7 +409,7 @@ export class IotHubResource { * @param callback The callback */ listJobs(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listJobs(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listJobs(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -447,7 +447,7 @@ export class IotHubResource { * @param callback The callback */ getJob(resourceGroupName: string, resourceName: string, jobId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getJob(resourceGroupName: string, resourceName: string, jobId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getJob(resourceGroupName: string, resourceName: string, jobId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -481,7 +481,7 @@ export class IotHubResource { * @param callback The callback */ getQuotaMetrics(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getQuotaMetrics(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getQuotaMetrics(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -514,7 +514,7 @@ export class IotHubResource { * @param callback The callback */ getEndpointHealth(resourceGroupName: string, iotHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getEndpointHealth(resourceGroupName: string, iotHubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getEndpointHealth(resourceGroupName: string, iotHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -544,7 +544,7 @@ export class IotHubResource { * @param callback The callback */ checkNameAvailability(name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { name, @@ -579,7 +579,7 @@ export class IotHubResource { * @param callback The callback */ testAllRoutes(input: Models.TestAllRoutesInput, iotHubName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - testAllRoutes(input: Models.TestAllRoutesInput, iotHubName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + testAllRoutes(input: Models.TestAllRoutesInput, iotHubName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { input, @@ -616,7 +616,7 @@ export class IotHubResource { * @param callback The callback */ testRoute(input: Models.TestRouteInput, iotHubName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - testRoute(input: Models.TestRouteInput, iotHubName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + testRoute(input: Models.TestRouteInput, iotHubName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { input, @@ -652,7 +652,7 @@ export class IotHubResource { * @param callback The callback */ listKeys(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -690,7 +690,7 @@ export class IotHubResource { * @param callback The callback */ getKeysForKeyName(resourceGroupName: string, resourceName: string, keyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getKeysForKeyName(resourceGroupName: string, resourceName: string, keyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getKeysForKeyName(resourceGroupName: string, resourceName: string, keyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -731,7 +731,7 @@ export class IotHubResource { * @param callback The callback */ exportDevices(resourceGroupName: string, resourceName: string, exportDevicesParameters: Models.ExportDevicesRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - exportDevices(resourceGroupName: string, resourceName: string, exportDevicesParameters: Models.ExportDevicesRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + exportDevices(resourceGroupName: string, resourceName: string, exportDevicesParameters: Models.ExportDevicesRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -772,7 +772,7 @@ export class IotHubResource { * @param callback The callback */ importDevices(resourceGroupName: string, resourceName: string, importDevicesParameters: Models.ImportDevicesRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - importDevices(resourceGroupName: string, resourceName: string, importDevicesParameters: Models.ImportDevicesRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + importDevices(resourceGroupName: string, resourceName: string, importDevicesParameters: Models.ImportDevicesRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -864,7 +864,7 @@ export class IotHubResource { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -893,7 +893,7 @@ export class IotHubResource { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -922,7 +922,7 @@ export class IotHubResource { * @param callback The callback */ getValidSkusNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getValidSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getValidSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -953,7 +953,7 @@ export class IotHubResource { * @param callback The callback */ listEventHubConsumerGroupsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listEventHubConsumerGroupsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listEventHubConsumerGroupsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -984,7 +984,7 @@ export class IotHubResource { * @param callback The callback */ listJobsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listJobsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listJobsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1013,7 +1013,7 @@ export class IotHubResource { * @param callback The callback */ getQuotaMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getQuotaMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getQuotaMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1042,7 +1042,7 @@ export class IotHubResource { * @param callback The callback */ getEndpointHealthNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getEndpointHealthNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getEndpointHealthNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1073,7 +1073,7 @@ export class IotHubResource { * @param callback The callback */ listKeysNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeysNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeysNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-iothub/lib/operations/operations.ts b/packages/@azure/arm-iothub/lib/operations/operations.ts index d6ff1df63bfd..1c9480e71f7b 100644 --- a/packages/@azure/arm-iothub/lib/operations/operations.ts +++ b/packages/@azure/arm-iothub/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-iothub/lib/operations/resourceProviderCommon.ts b/packages/@azure/arm-iothub/lib/operations/resourceProviderCommon.ts index 8bc98bd72507..40d9058c47cd 100644 --- a/packages/@azure/arm-iothub/lib/operations/resourceProviderCommon.ts +++ b/packages/@azure/arm-iothub/lib/operations/resourceProviderCommon.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/resourceProviderCommonMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class ResourceProviderCommon { * @param callback The callback */ getSubscriptionQuota(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSubscriptionQuota(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSubscriptionQuota(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-iothub/package.json b/packages/@azure/arm-iothub/package.json index e090762cdfb3..7b0188da9fbc 100644 --- a/packages/@azure/arm-iothub/package.json +++ b/packages/@azure/arm-iothub/package.json @@ -4,8 +4,8 @@ "description": "IotHubClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-iothub.js.map'\" -o ./dist/arm-iothub.min.js ./dist/arm-iothub.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-iothub/rollup.config.js b/packages/@azure/arm-iothub/rollup.config.js index c9223d42abe9..0209b0ba1400 100644 --- a/packages/@azure/arm-iothub/rollup.config.js +++ b/packages/@azure/arm-iothub/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/iotHubClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-iothub.js", format: "umd", name: "Azure.ArmIothub", 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-iothub/tsconfig.esm.json b/packages/@azure/arm-iothub/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-iothub/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-iothub/tsconfig.json b/packages/@azure/arm-iothub/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-iothub/tsconfig.json +++ b/packages/@azure/arm-iothub/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-iothub/webpack.config.js b/packages/@azure/arm-iothub/webpack.config.js deleted file mode 100644 index 2e6ab4705e33..000000000000 --- a/packages/@azure/arm-iothub/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/iotHubClient.js', - devtool: 'source-map', - output: { - filename: 'iotHubClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'iotHubClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-iotspaces/.npmignore b/packages/@azure/arm-iotspaces/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-iotspaces/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-iotspaces/README.md b/packages/@azure/arm-iotspaces/README.md index 878c741f97fb..24d020824d3e 100644 --- a/packages/@azure/arm-iotspaces/README.md +++ b/packages/@azure/arm-iotspaces/README.md @@ -1,24 +1,34 @@ -# Azure IoTSpacesClient SDK for JavaScript +## Azure IoTSpacesClient SDK for JavaScript + This package contains an isomorphic SDK for IoTSpacesClient. -## 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-iotspaces ``` +### How to use + +#### nodejs - Authentication, client creation and get ioTSpaces as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get ioTSpaces as an example written in TypeScript. +##### Sample code ```ts -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 { IoTSpacesClient, IoTSpacesModels, IoTSpacesMappers } from "@azure/arm-iotspaces"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get ioTSpaces as an example written in JavaScript. +#### browser - Authentication, client creation and get ioTSpaces as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-iotspaces 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-iotspaces/lib/ioTSpacesClient.ts b/packages/@azure/arm-iotspaces/lib/ioTSpacesClient.ts index 23afc6a0384d..7528df619bbf 100644 --- a/packages/@azure/arm-iotspaces/lib/ioTSpacesClient.ts +++ b/packages/@azure/arm-iotspaces/lib/ioTSpacesClient.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-iotspaces/lib/ioTSpacesClientContext.ts b/packages/@azure/arm-iotspaces/lib/ioTSpacesClientContext.ts index fcfd09046281..ee7fd255ff8a 100644 --- a/packages/@azure/arm-iotspaces/lib/ioTSpacesClientContext.ts +++ b/packages/@azure/arm-iotspaces/lib/ioTSpacesClientContext.ts @@ -9,23 +9,16 @@ */ 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-iotspaces"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class IoTSpacesClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the IoTSpacesClient class. @@ -44,6 +37,11 @@ export class IoTSpacesClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-10-01-preview'; @@ -54,7 +52,6 @@ export class IoTSpacesClientContext extends msRestAzure.AzureServiceClient { this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-iotspaces/lib/models/index.ts b/packages/@azure/arm-iotspaces/lib/models/index.ts index 99cd83663675..ee6cdfc8d690 100644 --- a/packages/@azure/arm-iotspaces/lib/models/index.ts +++ b/packages/@azure/arm-iotspaces/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -331,41 +331,19 @@ export interface OperationListResult extends Array { /** * Defines values for ProvisioningState. - * Possible values include: 'Provisioning', 'Deleting', 'Succeeded', 'Failed', - * 'Canceled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Provisioning', 'Deleting', 'Succeeded', 'Failed', 'Canceled' * @readonly * @enum {string} */ -export enum ProvisioningState { - Provisioning = 'Provisioning', - Deleting = 'Deleting', - Succeeded = 'Succeeded', - Failed = 'Failed', - Canceled = 'Canceled', -} +export type ProvisioningState = 'Provisioning' | 'Deleting' | 'Succeeded' | 'Failed' | 'Canceled'; /** * Defines values for IoTSpacesSku. * Possible values include: 'F1', 'S1', 'S2', 'S3' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: IoTSpacesSku = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum IoTSpacesSku { - F1 = 'F1', - S1 = 'S1', - S2 = 'S2', - S3 = 'S3', -} +export type IoTSpacesSku = 'F1' | 'S1' | 'S2' | 'S3'; /** * Defines values for IoTSpacesNameUnavailabilityReason. @@ -373,10 +351,7 @@ export enum IoTSpacesSku { * @readonly * @enum {string} */ -export enum IoTSpacesNameUnavailabilityReason { - Invalid = 'Invalid', - AlreadyExists = 'AlreadyExists', -} +export type IoTSpacesNameUnavailabilityReason = 'Invalid' | 'AlreadyExists'; /** * Contains response data for the get operation. diff --git a/packages/@azure/arm-iotspaces/lib/models/mappers.ts b/packages/@azure/arm-iotspaces/lib/models/mappers.ts index 5a0a87164cd7..7b37f9c4e800 100644 --- a/packages/@azure/arm-iotspaces/lib/models/mappers.ts +++ b/packages/@azure/arm-iotspaces/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-iotspaces/lib/models/parameters.ts b/packages/@azure/arm-iotspaces/lib/models/parameters.ts index fc2ab9404e4a..83b2e3128eed 100644 --- a/packages/@azure/arm-iotspaces/lib/models/parameters.ts +++ b/packages/@azure/arm-iotspaces/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-iotspaces/lib/operations/ioTSpaces.ts b/packages/@azure/arm-iotspaces/lib/operations/ioTSpaces.ts index ee765c1010bb..a03b1bee6afb 100644 --- a/packages/@azure/arm-iotspaces/lib/operations/ioTSpaces.ts +++ b/packages/@azure/arm-iotspaces/lib/operations/ioTSpaces.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/ioTSpacesMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class IoTSpaces { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -114,7 +114,7 @@ export class IoTSpaces { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -141,7 +141,7 @@ export class IoTSpaces { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -172,7 +172,7 @@ export class IoTSpaces { * @param callback The callback */ checkNameAvailability(operationInputs: Models.OperationInputs, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(operationInputs: Models.OperationInputs, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(operationInputs: Models.OperationInputs, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { operationInputs, @@ -260,7 +260,7 @@ export class IoTSpaces { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -288,7 +288,7 @@ export class IoTSpaces { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-iotspaces/lib/operations/operations.ts b/packages/@azure/arm-iotspaces/lib/operations/operations.ts index 1d6e55e4b4bb..e00a15460035 100644 --- a/packages/@azure/arm-iotspaces/lib/operations/operations.ts +++ b/packages/@azure/arm-iotspaces/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-iotspaces/package.json b/packages/@azure/arm-iotspaces/package.json index dc618db26da6..2961948bfff8 100644 --- a/packages/@azure/arm-iotspaces/package.json +++ b/packages/@azure/arm-iotspaces/package.json @@ -4,8 +4,8 @@ "description": "IoTSpacesClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-iotspaces.js.map'\" -o ./dist/arm-iotspaces.min.js ./dist/arm-iotspaces.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-iotspaces/rollup.config.js b/packages/@azure/arm-iotspaces/rollup.config.js index 2eb8ec8540fa..6eba6b97b89c 100644 --- a/packages/@azure/arm-iotspaces/rollup.config.js +++ b/packages/@azure/arm-iotspaces/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/ioTSpacesClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-iotspaces.js", format: "umd", name: "Azure.ArmIotspaces", 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-iotspaces/tsconfig.esm.json b/packages/@azure/arm-iotspaces/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-iotspaces/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-iotspaces/tsconfig.json b/packages/@azure/arm-iotspaces/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-iotspaces/tsconfig.json +++ b/packages/@azure/arm-iotspaces/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-iotspaces/webpack.config.js b/packages/@azure/arm-iotspaces/webpack.config.js deleted file mode 100644 index f517a65582d5..000000000000 --- a/packages/@azure/arm-iotspaces/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/ioTSpacesClient.js', - devtool: 'source-map', - output: { - filename: 'ioTSpacesClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'ioTSpacesClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-keyvault/.npmignore b/packages/@azure/arm-keyvault/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-keyvault/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-keyvault/lib/keyVaultManagementClient.ts b/packages/@azure/arm-keyvault/lib/keyVaultManagementClient.ts index 6536973f399d..f0901b1beb26 100644 --- a/packages/@azure/arm-keyvault/lib/keyVaultManagementClient.ts +++ b/packages/@azure/arm-keyvault/lib/keyVaultManagementClient.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-keyvault/lib/keyVaultManagementClientContext.ts b/packages/@azure/arm-keyvault/lib/keyVaultManagementClientContext.ts index 6e96edb82970..da7d701b6734 100644 --- a/packages/@azure/arm-keyvault/lib/keyVaultManagementClientContext.ts +++ b/packages/@azure/arm-keyvault/lib/keyVaultManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-keyvault"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class KeyVaultManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the KeyVaultManagementClient class. @@ -45,6 +38,11 @@ export class KeyVaultManagementClientContext extends msRestAzure.AzureServiceCli if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-02-14'; @@ -55,7 +53,6 @@ export class KeyVaultManagementClientContext extends msRestAzure.AzureServiceCli this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-keyvault/lib/models/index.ts b/packages/@azure/arm-keyvault/lib/models/index.ts index 2fbcf109e81f..d0e8f333d28c 100644 --- a/packages/@azure/arm-keyvault/lib/models/index.ts +++ b/packages/@azure/arm-keyvault/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -765,127 +765,43 @@ export interface OperationListResult extends Array { * @readonly * @enum {string} */ -export enum SkuName { - Standard = 'standard', - Premium = 'premium', -} +export type SkuName = 'standard' | 'premium'; /** * Defines values for KeyPermissions. - * Possible values include: 'encrypt', 'decrypt', 'wrapKey', 'unwrapKey', - * 'sign', 'verify', 'get', 'list', 'create', 'update', 'import', 'delete', - * 'backup', 'restore', 'recover', 'purge' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: KeyPermissions = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'encrypt', 'decrypt', 'wrapKey', 'unwrapKey', 'sign', 'verify', 'get', + * 'list', 'create', 'update', 'import', 'delete', 'backup', 'restore', 'recover', 'purge' * @readonly * @enum {string} */ -export enum KeyPermissions { - Encrypt = 'encrypt', - Decrypt = 'decrypt', - WrapKey = 'wrapKey', - UnwrapKey = 'unwrapKey', - Sign = 'sign', - Verify = 'verify', - Get = 'get', - List = 'list', - Create = 'create', - Update = 'update', - Import = 'import', - Delete = 'delete', - Backup = 'backup', - Restore = 'restore', - Recover = 'recover', - Purge = 'purge', -} +export type KeyPermissions = 'encrypt' | 'decrypt' | 'wrapKey' | 'unwrapKey' | 'sign' | 'verify' | 'get' | 'list' | 'create' | 'update' | 'import' | 'delete' | 'backup' | 'restore' | 'recover' | 'purge'; /** * Defines values for SecretPermissions. - * Possible values include: 'get', 'list', 'set', 'delete', 'backup', - * 'restore', 'recover', 'purge' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SecretPermissions = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'get', 'list', 'set', 'delete', 'backup', 'restore', 'recover', 'purge' * @readonly * @enum {string} */ -export enum SecretPermissions { - Get = 'get', - List = 'list', - Set = 'set', - Delete = 'delete', - Backup = 'backup', - Restore = 'restore', - Recover = 'recover', - Purge = 'purge', -} +export type SecretPermissions = 'get' | 'list' | 'set' | 'delete' | 'backup' | 'restore' | 'recover' | 'purge'; /** * Defines values for CertificatePermissions. - * Possible values include: 'get', 'list', 'delete', 'create', 'import', - * 'update', 'managecontacts', 'getissuers', 'listissuers', 'setissuers', - * 'deleteissuers', 'manageissuers', 'recover', 'purge', 'backup', 'restore' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CertificatePermissions = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'get', 'list', 'delete', 'create', 'import', 'update', + * 'managecontacts', 'getissuers', 'listissuers', 'setissuers', 'deleteissuers', 'manageissuers', + * 'recover', 'purge', 'backup', 'restore' * @readonly * @enum {string} */ -export enum CertificatePermissions { - Get = 'get', - List = 'list', - Delete = 'delete', - Create = 'create', - Import = 'import', - Update = 'update', - Managecontacts = 'managecontacts', - Getissuers = 'getissuers', - Listissuers = 'listissuers', - Setissuers = 'setissuers', - Deleteissuers = 'deleteissuers', - Manageissuers = 'manageissuers', - Recover = 'recover', - Purge = 'purge', - Backup = 'backup', - Restore = 'restore', -} +export type CertificatePermissions = 'get' | 'list' | 'delete' | 'create' | 'import' | 'update' | 'managecontacts' | 'getissuers' | 'listissuers' | 'setissuers' | 'deleteissuers' | 'manageissuers' | 'recover' | 'purge' | 'backup' | 'restore'; /** * Defines values for StoragePermissions. - * Possible values include: 'get', 'list', 'delete', 'set', 'update', - * 'regeneratekey', 'recover', 'purge', 'backup', 'restore', 'setsas', - * 'listsas', 'getsas', 'deletesas' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: StoragePermissions = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'get', 'list', 'delete', 'set', 'update', 'regeneratekey', 'recover', + * 'purge', 'backup', 'restore', 'setsas', 'listsas', 'getsas', 'deletesas' * @readonly * @enum {string} */ -export enum StoragePermissions { - Get = 'get', - List = 'list', - Delete = 'delete', - Set = 'set', - Update = 'update', - Regeneratekey = 'regeneratekey', - Recover = 'recover', - Purge = 'purge', - Backup = 'backup', - Restore = 'restore', - Setsas = 'setsas', - Listsas = 'listsas', - Getsas = 'getsas', - Deletesas = 'deletesas', -} +export type StoragePermissions = 'get' | 'list' | 'delete' | 'set' | 'update' | 'regeneratekey' | 'recover' | 'purge' | 'backup' | 'restore' | 'setsas' | 'listsas' | 'getsas' | 'deletesas'; /** * Defines values for CreateMode. @@ -893,42 +809,23 @@ export enum StoragePermissions { * @readonly * @enum {string} */ -export enum CreateMode { - Recover = 'recover', - Default = 'default', -} +export type CreateMode = 'recover' | 'default'; /** * Defines values for NetworkRuleBypassOptions. * Possible values include: 'AzureServices', 'None' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NetworkRuleBypassOptions = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum NetworkRuleBypassOptions { - AzureServices = 'AzureServices', - None = 'None', -} +export type NetworkRuleBypassOptions = 'AzureServices' | 'None'; /** * Defines values for NetworkRuleAction. * Possible values include: 'Allow', 'Deny' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NetworkRuleAction = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum NetworkRuleAction { - Allow = 'Allow', - Deny = 'Deny', -} +export type NetworkRuleAction = 'Allow' | 'Deny'; /** * Defines values for Reason. @@ -936,10 +833,7 @@ export enum NetworkRuleAction { * @readonly * @enum {string} */ -export enum Reason { - AccountNameInvalid = 'AccountNameInvalid', - AlreadyExists = 'AlreadyExists', -} +export type Reason = 'AccountNameInvalid' | 'AlreadyExists'; /** * Defines values for AccessPolicyUpdateKind. @@ -947,11 +841,7 @@ export enum Reason { * @readonly * @enum {string} */ -export enum AccessPolicyUpdateKind { - Add = 'add', - Replace = 'replace', - Remove = 'remove', -} +export type AccessPolicyUpdateKind = 'add' | 'replace' | 'remove'; /** * Contains response data for the createOrUpdate operation. diff --git a/packages/@azure/arm-keyvault/lib/models/mappers.ts b/packages/@azure/arm-keyvault/lib/models/mappers.ts index 784253b02f10..710cdcb20447 100644 --- a/packages/@azure/arm-keyvault/lib/models/mappers.ts +++ b/packages/@azure/arm-keyvault/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-keyvault/lib/models/parameters.ts b/packages/@azure/arm-keyvault/lib/models/parameters.ts index 6e34add7aa9c..df134cdbf885 100644 --- a/packages/@azure/arm-keyvault/lib/models/parameters.ts +++ b/packages/@azure/arm-keyvault/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-keyvault/lib/operations/operations.ts b/packages/@azure/arm-keyvault/lib/operations/operations.ts index edf0a15cf477..56cd43eb33ca 100644 --- a/packages/@azure/arm-keyvault/lib/operations/operations.ts +++ b/packages/@azure/arm-keyvault/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-keyvault/lib/operations/vaults.ts b/packages/@azure/arm-keyvault/lib/operations/vaults.ts index 06ccb3217649..c6ee4218f7c4 100644 --- a/packages/@azure/arm-keyvault/lib/operations/vaults.ts +++ b/packages/@azure/arm-keyvault/lib/operations/vaults.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/vaultsMappers"; import * as Parameters from "../models/parameters"; @@ -64,7 +64,7 @@ export class Vaults { * @param callback The callback */ update(resourceGroupName: string, vaultName: string, parameters: Models.VaultPatchParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, vaultName: string, parameters: Models.VaultPatchParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, vaultName: string, parameters: Models.VaultPatchParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -97,7 +97,7 @@ export class Vaults { * @param callback The callback */ deleteMethod(resourceGroupName: string, vaultName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -129,7 +129,7 @@ export class Vaults { * @param callback The callback */ get(resourceGroupName: string, vaultName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -167,7 +167,7 @@ export class Vaults { * @param callback The callback */ updateAccessPolicy(resourceGroupName: string, vaultName: string, operationKind: Models.AccessPolicyUpdateKind, parameters: Models.VaultAccessPolicyParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateAccessPolicy(resourceGroupName: string, vaultName: string, operationKind: Models.AccessPolicyUpdateKind, parameters: Models.VaultAccessPolicyParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateAccessPolicy(resourceGroupName: string, vaultName: string, operationKind: Models.AccessPolicyUpdateKind, parameters: Models.VaultAccessPolicyParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -199,7 +199,7 @@ export class Vaults { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.VaultsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.VaultsListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.VaultsListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -224,7 +224,7 @@ export class Vaults { * @param callback The callback */ listBySubscription(options: Models.VaultsListBySubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - listBySubscription(options?: Models.VaultsListBySubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: Models.VaultsListBySubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -248,7 +248,7 @@ export class Vaults { * @param callback The callback */ listDeleted(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDeleted(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDeleted(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -278,7 +278,7 @@ export class Vaults { * @param callback The callback */ getDeleted(vaultName: string, location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDeleted(vaultName: string, location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDeleted(vaultName: string, location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -316,7 +316,7 @@ export class Vaults { * @param callback The callback */ list(options: Models.VaultsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.VaultsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.VaultsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -343,7 +343,7 @@ export class Vaults { * @param callback The callback */ checkNameAvailability(vaultName: Models.VaultCheckNameAvailabilityParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(vaultName: Models.VaultCheckNameAvailabilityParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(vaultName: Models.VaultCheckNameAvailabilityParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -410,7 +410,7 @@ export class Vaults { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -438,7 +438,7 @@ export class Vaults { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -466,7 +466,7 @@ export class Vaults { * @param callback The callback */ listDeletedNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDeletedNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDeletedNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -494,7 +494,7 @@ export class Vaults { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-keyvault/package.json b/packages/@azure/arm-keyvault/package.json index a1ed870aab8a..501f186e99d3 100644 --- a/packages/@azure/arm-keyvault/package.json +++ b/packages/@azure/arm-keyvault/package.json @@ -4,8 +4,8 @@ "description": "KeyVaultManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-keyvault.js.map'\" -o ./dist/arm-keyvault.min.js ./dist/arm-keyvault.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-keyvault/rollup.config.js b/packages/@azure/arm-keyvault/rollup.config.js index bdcae9ccfc01..d882e87bb7db 100644 --- a/packages/@azure/arm-keyvault/rollup.config.js +++ b/packages/@azure/arm-keyvault/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/keyVaultManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-keyvault.js", format: "umd", name: "Azure.ArmKeyvault", 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-keyvault/tsconfig.json b/packages/@azure/arm-keyvault/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-keyvault/tsconfig.json +++ b/packages/@azure/arm-keyvault/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-links/.npmignore b/packages/@azure/arm-links/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-links/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-links/README.md b/packages/@azure/arm-links/README.md index 8f19f384fbab..dab0b6e0d63a 100644 --- a/packages/@azure/arm-links/README.md +++ b/packages/@azure/arm-links/README.md @@ -1,24 +1,34 @@ -# Azure ManagementLinkClient SDK for JavaScript +## Azure ManagementLinkClient SDK for JavaScript + This package contains an isomorphic SDK for ManagementLinkClient. -## 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-links ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { ManagementLinkClient, ManagementLinkModels, ManagementLinkMappers } from "@azure/arm-links"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-links 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-links/lib/managementLinkClient.ts b/packages/@azure/arm-links/lib/managementLinkClient.ts index 79f1c4abde29..e501aa9f38a6 100644 --- a/packages/@azure/arm-links/lib/managementLinkClient.ts +++ b/packages/@azure/arm-links/lib/managementLinkClient.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-links/lib/managementLinkClientContext.ts b/packages/@azure/arm-links/lib/managementLinkClientContext.ts index 9e58ddcb9e10..939dc8cf74a1 100644 --- a/packages/@azure/arm-links/lib/managementLinkClientContext.ts +++ b/packages/@azure/arm-links/lib/managementLinkClientContext.ts @@ -9,23 +9,16 @@ */ 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-links"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class ManagementLinkClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the ManagementLinkClient class. @@ -44,6 +37,11 @@ export class ManagementLinkClientContext extends msRestAzure.AzureServiceClient if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2016-09-01'; @@ -54,7 +52,6 @@ export class ManagementLinkClientContext extends msRestAzure.AzureServiceClient this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-links/lib/models/index.ts b/packages/@azure/arm-links/lib/models/index.ts index 256854911106..4d2c9a774f1c 100644 --- a/packages/@azure/arm-links/lib/models/index.ts +++ b/packages/@azure/arm-links/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -213,9 +213,7 @@ export interface ResourceLinkResult extends Array { * @readonly * @enum {string} */ -export enum Filter { - AtScope = 'atScope()', -} +export type Filter = 'atScope()'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-links/lib/models/mappers.ts b/packages/@azure/arm-links/lib/models/mappers.ts index 4434c87988c8..9a0f575dbc9c 100644 --- a/packages/@azure/arm-links/lib/models/mappers.ts +++ b/packages/@azure/arm-links/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-links/lib/models/parameters.ts b/packages/@azure/arm-links/lib/models/parameters.ts index f58cf3193ad5..22fba7f0c925 100644 --- a/packages/@azure/arm-links/lib/models/parameters.ts +++ b/packages/@azure/arm-links/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-links/lib/operations/operations.ts b/packages/@azure/arm-links/lib/operations/operations.ts index a258f28eef8d..7085709950df 100644 --- a/packages/@azure/arm-links/lib/operations/operations.ts +++ b/packages/@azure/arm-links/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-links/lib/operations/resourceLinks.ts b/packages/@azure/arm-links/lib/operations/resourceLinks.ts index 1755e3ea269c..3cb445cba348 100644 --- a/packages/@azure/arm-links/lib/operations/resourceLinks.ts +++ b/packages/@azure/arm-links/lib/operations/resourceLinks.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/resourceLinksMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class ResourceLinks { * @param callback The callback */ deleteMethod(linkId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(linkId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(linkId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { linkId, @@ -93,7 +93,7 @@ export class ResourceLinks { * @param callback The callback */ createOrUpdate(linkId: string, parameters: Models.ResourceLink, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(linkId: string, parameters: Models.ResourceLink, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(linkId: string, parameters: Models.ResourceLink, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { linkId, @@ -125,7 +125,7 @@ export class ResourceLinks { * @param callback The callback */ get(linkId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(linkId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(linkId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { linkId, @@ -150,7 +150,7 @@ export class ResourceLinks { * @param callback The callback */ listAtSubscription(options: Models.ResourceLinksListAtSubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - listAtSubscription(options?: Models.ResourceLinksListAtSubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listAtSubscription(options?: Models.ResourceLinksListAtSubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -183,7 +183,7 @@ export class ResourceLinks { * @param callback The callback */ listAtSourceScope(scope: string, options: Models.ResourceLinksListAtSourceScopeOptionalParams, callback: msRest.ServiceCallback): void; - listAtSourceScope(scope: string, options?: Models.ResourceLinksListAtSourceScopeOptionalParams, callback?: msRest.ServiceCallback): Promise { + listAtSourceScope(scope: string, options?: Models.ResourceLinksListAtSourceScopeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { scope, @@ -211,7 +211,7 @@ export class ResourceLinks { * @param callback The callback */ listAtSubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAtSubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAtSubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -239,7 +239,7 @@ export class ResourceLinks { * @param callback The callback */ listAtSourceScopeNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAtSourceScopeNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAtSourceScopeNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-links/package.json b/packages/@azure/arm-links/package.json index 860de7ae6a8a..b459ae06ed77 100644 --- a/packages/@azure/arm-links/package.json +++ b/packages/@azure/arm-links/package.json @@ -4,8 +4,8 @@ "description": "ManagementLinkClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-links.js.map'\" -o ./dist/arm-links.min.js ./dist/arm-links.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-links/rollup.config.js b/packages/@azure/arm-links/rollup.config.js index 541e424ae6a8..3ec89855fe3d 100644 --- a/packages/@azure/arm-links/rollup.config.js +++ b/packages/@azure/arm-links/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/managementLinkClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-links.js", format: "umd", name: "Azure.ArmLinks", 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-links/tsconfig.json b/packages/@azure/arm-links/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-links/tsconfig.json +++ b/packages/@azure/arm-links/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-locks/.npmignore b/packages/@azure/arm-locks/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-locks/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-locks/README.md b/packages/@azure/arm-locks/README.md index 7c900f40f340..e1a22483cd1b 100644 --- a/packages/@azure/arm-locks/README.md +++ b/packages/@azure/arm-locks/README.md @@ -1,24 +1,34 @@ -# Azure ManagementLockClient SDK for JavaScript +## Azure ManagementLockClient SDK for JavaScript + This package contains an isomorphic SDK for ManagementLockClient. -## 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-locks ``` +### How to use + +#### nodejs - Authentication, client creation and list authorizationOperations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list authorizationOperations as an example written in TypeScript. +##### Sample code ```ts -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 { ManagementLockClient, ManagementLockModels, ManagementLockMappers } from "@azure/arm-locks"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list authorizationOperations as an example written in JavaScript. +#### browser - Authentication, client creation and list authorizationOperations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-locks 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-locks/lib/managementLockClient.ts b/packages/@azure/arm-locks/lib/managementLockClient.ts index 8b59d85a51c6..8f3ee196f5d8 100644 --- a/packages/@azure/arm-locks/lib/managementLockClient.ts +++ b/packages/@azure/arm-locks/lib/managementLockClient.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-locks/lib/managementLockClientContext.ts b/packages/@azure/arm-locks/lib/managementLockClientContext.ts index ffad4f345abb..fc62e0b49869 100644 --- a/packages/@azure/arm-locks/lib/managementLockClientContext.ts +++ b/packages/@azure/arm-locks/lib/managementLockClientContext.ts @@ -9,23 +9,16 @@ */ 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-locks"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class ManagementLockClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the ManagementLockClient class. @@ -44,6 +37,11 @@ export class ManagementLockClientContext extends msRestAzure.AzureServiceClient if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2016-09-01'; @@ -54,7 +52,6 @@ export class ManagementLockClientContext extends msRestAzure.AzureServiceClient this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-locks/lib/models/index.ts b/packages/@azure/arm-locks/lib/models/index.ts index 017c2d2d38c1..79ff75b4b957 100644 --- a/packages/@azure/arm-locks/lib/models/index.ts +++ b/packages/@azure/arm-locks/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -202,18 +202,10 @@ export interface ManagementLockListResult extends Array { /** * Defines values for LockLevel. * Possible values include: 'NotSpecified', 'CanNotDelete', 'ReadOnly' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: LockLevel = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum LockLevel { - NotSpecified = 'NotSpecified', - CanNotDelete = 'CanNotDelete', - ReadOnly = 'ReadOnly', -} +export type LockLevel = 'NotSpecified' | 'CanNotDelete' | 'ReadOnly'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-locks/lib/models/mappers.ts b/packages/@azure/arm-locks/lib/models/mappers.ts index de34243190f2..3ddcaac9c22a 100644 --- a/packages/@azure/arm-locks/lib/models/mappers.ts +++ b/packages/@azure/arm-locks/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-locks/lib/models/parameters.ts b/packages/@azure/arm-locks/lib/models/parameters.ts index 9ae25e1fa997..fe8e8e08a3b1 100644 --- a/packages/@azure/arm-locks/lib/models/parameters.ts +++ b/packages/@azure/arm-locks/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-locks/lib/operations/authorizationOperations.ts b/packages/@azure/arm-locks/lib/operations/authorizationOperations.ts index c4fc505fc4fc..29d0a0621e3b 100644 --- a/packages/@azure/arm-locks/lib/operations/authorizationOperations.ts +++ b/packages/@azure/arm-locks/lib/operations/authorizationOperations.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/authorizationOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class AuthorizationOperations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class AuthorizationOperations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-locks/lib/operations/managementLocks.ts b/packages/@azure/arm-locks/lib/operations/managementLocks.ts index f2839cb517a9..86e3046d5942 100644 --- a/packages/@azure/arm-locks/lib/operations/managementLocks.ts +++ b/packages/@azure/arm-locks/lib/operations/managementLocks.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/managementLocksMappers"; import * as Parameters from "../models/parameters"; @@ -57,7 +57,7 @@ export class ManagementLocks { * @param callback The callback */ createOrUpdateAtResourceGroupLevel(resourceGroupName: string, lockName: string, parameters: Models.ManagementLockObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAtResourceGroupLevel(resourceGroupName: string, lockName: string, parameters: Models.ManagementLockObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAtResourceGroupLevel(resourceGroupName: string, lockName: string, parameters: Models.ManagementLockObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -93,7 +93,7 @@ export class ManagementLocks { * @param callback The callback */ deleteAtResourceGroupLevel(resourceGroupName: string, lockName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAtResourceGroupLevel(resourceGroupName: string, lockName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAtResourceGroupLevel(resourceGroupName: string, lockName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -125,7 +125,7 @@ export class ManagementLocks { * @param callback The callback */ getAtResourceGroupLevel(resourceGroupName: string, lockName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAtResourceGroupLevel(resourceGroupName: string, lockName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAtResourceGroupLevel(resourceGroupName: string, lockName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -172,7 +172,7 @@ export class ManagementLocks { * @param callback The callback */ createOrUpdateByScope(scope: string, lockName: string, parameters: Models.ManagementLockObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateByScope(scope: string, lockName: string, parameters: Models.ManagementLockObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateByScope(scope: string, lockName: string, parameters: Models.ManagementLockObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { scope, @@ -205,7 +205,7 @@ export class ManagementLocks { * @param callback The callback */ deleteByScope(scope: string, lockName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteByScope(scope: string, lockName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteByScope(scope: string, lockName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { scope, @@ -237,7 +237,7 @@ export class ManagementLocks { * @param callback The callback */ getByScope(scope: string, lockName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getByScope(scope: string, lockName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getByScope(scope: string, lockName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { scope, @@ -292,7 +292,7 @@ export class ManagementLocks { * @param callback The callback */ createOrUpdateAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, parameters: Models.ManagementLockObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, parameters: Models.ManagementLockObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, parameters: Models.ManagementLockObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -350,7 +350,7 @@ export class ManagementLocks { * @param callback The callback */ deleteAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -398,7 +398,7 @@ export class ManagementLocks { * @param callback The callback */ getAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -441,7 +441,7 @@ export class ManagementLocks { * @param callback The callback */ createOrUpdateAtSubscriptionLevel(lockName: string, parameters: Models.ManagementLockObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAtSubscriptionLevel(lockName: string, parameters: Models.ManagementLockObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAtSubscriptionLevel(lockName: string, parameters: Models.ManagementLockObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { lockName, @@ -473,7 +473,7 @@ export class ManagementLocks { * @param callback The callback */ deleteAtSubscriptionLevel(lockName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAtSubscriptionLevel(lockName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAtSubscriptionLevel(lockName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { lockName, @@ -501,7 +501,7 @@ export class ManagementLocks { * @param callback The callback */ getAtSubscriptionLevel(lockName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAtSubscriptionLevel(lockName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAtSubscriptionLevel(lockName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { lockName, @@ -529,7 +529,7 @@ export class ManagementLocks { * @param callback The callback */ listAtResourceGroupLevel(resourceGroupName: string, options: Models.ManagementLocksListAtResourceGroupLevelOptionalParams, callback: msRest.ServiceCallback): void; - listAtResourceGroupLevel(resourceGroupName: string, options?: Models.ManagementLocksListAtResourceGroupLevelOptionalParams, callback?: msRest.ServiceCallback): Promise { + listAtResourceGroupLevel(resourceGroupName: string, options?: Models.ManagementLocksListAtResourceGroupLevelOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -572,7 +572,7 @@ export class ManagementLocks { * @param callback The callback */ listAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options: Models.ManagementLocksListAtResourceLevelOptionalParams, callback: msRest.ServiceCallback): void; - listAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options?: Models.ManagementLocksListAtResourceLevelOptionalParams, callback?: msRest.ServiceCallback): Promise { + listAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options?: Models.ManagementLocksListAtResourceLevelOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -601,7 +601,7 @@ export class ManagementLocks { * @param callback The callback */ listAtSubscriptionLevel(options: Models.ManagementLocksListAtSubscriptionLevelOptionalParams, callback: msRest.ServiceCallback): void; - listAtSubscriptionLevel(options?: Models.ManagementLocksListAtSubscriptionLevelOptionalParams, callback?: msRest.ServiceCallback): Promise { + listAtSubscriptionLevel(options?: Models.ManagementLocksListAtSubscriptionLevelOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -628,7 +628,7 @@ export class ManagementLocks { * @param callback The callback */ listAtResourceGroupLevelNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAtResourceGroupLevelNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAtResourceGroupLevelNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -656,7 +656,7 @@ export class ManagementLocks { * @param callback The callback */ listAtResourceLevelNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAtResourceLevelNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAtResourceLevelNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -684,7 +684,7 @@ export class ManagementLocks { * @param callback The callback */ listAtSubscriptionLevelNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAtSubscriptionLevelNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAtSubscriptionLevelNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-locks/package.json b/packages/@azure/arm-locks/package.json index a2d9084bd305..d7a183d1fa9c 100644 --- a/packages/@azure/arm-locks/package.json +++ b/packages/@azure/arm-locks/package.json @@ -4,8 +4,8 @@ "description": "ManagementLockClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-locks.js.map'\" -o ./dist/arm-locks.min.js ./dist/arm-locks.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-locks/rollup.config.js b/packages/@azure/arm-locks/rollup.config.js index 4d6a1316d83e..423411003203 100644 --- a/packages/@azure/arm-locks/rollup.config.js +++ b/packages/@azure/arm-locks/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/managementLockClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-locks.js", format: "umd", name: "Azure.ArmLocks", 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-locks/tsconfig.json b/packages/@azure/arm-locks/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-locks/tsconfig.json +++ b/packages/@azure/arm-locks/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-logic/.npmignore b/packages/@azure/arm-logic/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-logic/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-logic/README.md b/packages/@azure/arm-logic/README.md index fe6d7d817653..0b75f0dffa22 100644 --- a/packages/@azure/arm-logic/README.md +++ b/packages/@azure/arm-logic/README.md @@ -1,24 +1,34 @@ -# Azure LogicManagementClient SDK for JavaScript +## Azure LogicManagementClient SDK for JavaScript + This package contains an isomorphic SDK for LogicManagementClient. -## 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-logic ``` +### How to use + +#### nodejs - Authentication, client creation and listBySubscription workflows as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and listBySubscription workflows as an example written in TypeScript. +##### Sample code ```ts -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 { LogicManagementClient, LogicManagementModels, LogicManagementMappers } from "@azure/arm-logic"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and listBySubscription workflows as an example written in JavaScript. +#### browser - Authentication, client creation and listBySubscription workflows as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-logic 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-logic/lib/logicManagementClient.ts b/packages/@azure/arm-logic/lib/logicManagementClient.ts index 444b33711f03..ce6895db7d9d 100644 --- a/packages/@azure/arm-logic/lib/logicManagementClient.ts +++ b/packages/@azure/arm-logic/lib/logicManagementClient.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-logic/lib/logicManagementClientContext.ts b/packages/@azure/arm-logic/lib/logicManagementClientContext.ts index 2b94e030e819..b62589ee1b8f 100644 --- a/packages/@azure/arm-logic/lib/logicManagementClientContext.ts +++ b/packages/@azure/arm-logic/lib/logicManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-logic"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class LogicManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the LogicManagementClient class. @@ -44,6 +37,11 @@ export class LogicManagementClientContext extends msRestAzure.AzureServiceClient if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-07-01-preview'; @@ -54,7 +52,6 @@ export class LogicManagementClientContext extends msRestAzure.AzureServiceClient this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-logic/lib/models/index.ts b/packages/@azure/arm-logic/lib/models/index.ts index 92534a350501..9d36d6ee274b 100644 --- a/packages/@azure/arm-logic/lib/models/index.ts +++ b/packages/@azure/arm-logic/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -4636,308 +4636,125 @@ export interface OperationListResult extends Array { /** * Defines values for WorkflowProvisioningState. - * Possible values include: 'NotSpecified', 'Accepted', 'Running', 'Ready', - * 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', - * 'Succeeded', 'Moving', 'Updating', 'Registering', 'Registered', - * 'Unregistering', 'Unregistered', 'Completed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: WorkflowProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', 'Created', + * 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Moving', 'Updating', 'Registering', + * 'Registered', 'Unregistering', 'Unregistered', 'Completed' * @readonly * @enum {string} */ -export enum WorkflowProvisioningState { - NotSpecified = 'NotSpecified', - Accepted = 'Accepted', - Running = 'Running', - Ready = 'Ready', - Creating = 'Creating', - Created = 'Created', - Deleting = 'Deleting', - Deleted = 'Deleted', - Canceled = 'Canceled', - Failed = 'Failed', - Succeeded = 'Succeeded', - Moving = 'Moving', - Updating = 'Updating', - Registering = 'Registering', - Registered = 'Registered', - Unregistering = 'Unregistering', - Unregistered = 'Unregistered', - Completed = 'Completed', -} +export type WorkflowProvisioningState = 'NotSpecified' | 'Accepted' | 'Running' | 'Ready' | 'Creating' | 'Created' | 'Deleting' | 'Deleted' | 'Canceled' | 'Failed' | 'Succeeded' | 'Moving' | 'Updating' | 'Registering' | 'Registered' | 'Unregistering' | 'Unregistered' | 'Completed'; /** * Defines values for WorkflowState. - * Possible values include: 'NotSpecified', 'Completed', 'Enabled', 'Disabled', - * 'Deleted', 'Suspended' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: WorkflowState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', + * 'Suspended' * @readonly * @enum {string} */ -export enum WorkflowState { - NotSpecified = 'NotSpecified', - Completed = 'Completed', - Enabled = 'Enabled', - Disabled = 'Disabled', - Deleted = 'Deleted', - Suspended = 'Suspended', -} +export type WorkflowState = 'NotSpecified' | 'Completed' | 'Enabled' | 'Disabled' | 'Deleted' | 'Suspended'; /** * Defines values for SkuName. - * Possible values include: 'NotSpecified', 'Free', 'Shared', 'Basic', - * 'Standard', 'Premium' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuName = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'Free', 'Shared', 'Basic', 'Standard', 'Premium' * @readonly * @enum {string} */ -export enum SkuName { - NotSpecified = 'NotSpecified', - Free = 'Free', - Shared = 'Shared', - Basic = 'Basic', - Standard = 'Standard', - Premium = 'Premium', -} +export type SkuName = 'NotSpecified' | 'Free' | 'Shared' | 'Basic' | 'Standard' | 'Premium'; /** * Defines values for ParameterType. - * Possible values include: 'NotSpecified', 'String', 'SecureString', 'Int', - * 'Float', 'Bool', 'Array', 'Object', 'SecureObject' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ParameterType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'String', 'SecureString', 'Int', 'Float', 'Bool', + * 'Array', 'Object', 'SecureObject' * @readonly * @enum {string} */ -export enum ParameterType { - NotSpecified = 'NotSpecified', - String = 'String', - SecureString = 'SecureString', - Int = 'Int', - Float = 'Float', - Bool = 'Bool', - Array = 'Array', - Object = 'Object', - SecureObject = 'SecureObject', -} +export type ParameterType = 'NotSpecified' | 'String' | 'SecureString' | 'Int' | 'Float' | 'Bool' | 'Array' | 'Object' | 'SecureObject'; /** * Defines values for WorkflowTriggerProvisioningState. - * Possible values include: 'NotSpecified', 'Accepted', 'Running', 'Ready', - * 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', - * 'Succeeded', 'Moving', 'Updating', 'Registering', 'Registered', - * 'Unregistering', 'Unregistered', 'Completed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: WorkflowTriggerProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', 'Created', + * 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Moving', 'Updating', 'Registering', + * 'Registered', 'Unregistering', 'Unregistered', 'Completed' * @readonly * @enum {string} */ -export enum WorkflowTriggerProvisioningState { - NotSpecified = 'NotSpecified', - Accepted = 'Accepted', - Running = 'Running', - Ready = 'Ready', - Creating = 'Creating', - Created = 'Created', - Deleting = 'Deleting', - Deleted = 'Deleted', - Canceled = 'Canceled', - Failed = 'Failed', - Succeeded = 'Succeeded', - Moving = 'Moving', - Updating = 'Updating', - Registering = 'Registering', - Registered = 'Registered', - Unregistering = 'Unregistering', - Unregistered = 'Unregistered', - Completed = 'Completed', -} +export type WorkflowTriggerProvisioningState = 'NotSpecified' | 'Accepted' | 'Running' | 'Ready' | 'Creating' | 'Created' | 'Deleting' | 'Deleted' | 'Canceled' | 'Failed' | 'Succeeded' | 'Moving' | 'Updating' | 'Registering' | 'Registered' | 'Unregistering' | 'Unregistered' | 'Completed'; /** * Defines values for WorkflowStatus. - * Possible values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', - * 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', - * 'TimedOut', 'Aborted', 'Ignored' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: WorkflowStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', + * 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' * @readonly * @enum {string} */ -export enum WorkflowStatus { - NotSpecified = 'NotSpecified', - Paused = 'Paused', - Running = 'Running', - Waiting = 'Waiting', - Succeeded = 'Succeeded', - Skipped = 'Skipped', - Suspended = 'Suspended', - Cancelled = 'Cancelled', - Failed = 'Failed', - Faulted = 'Faulted', - TimedOut = 'TimedOut', - Aborted = 'Aborted', - Ignored = 'Ignored', -} +export type WorkflowStatus = 'NotSpecified' | 'Paused' | 'Running' | 'Waiting' | 'Succeeded' | 'Skipped' | 'Suspended' | 'Cancelled' | 'Failed' | 'Faulted' | 'TimedOut' | 'Aborted' | 'Ignored'; /** * Defines values for RecurrenceFrequency. - * Possible values include: 'NotSpecified', 'Second', 'Minute', 'Hour', 'Day', - * 'Week', 'Month', 'Year' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RecurrenceFrequency = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', + * 'Year' * @readonly * @enum {string} */ -export enum RecurrenceFrequency { - NotSpecified = 'NotSpecified', - Second = 'Second', - Minute = 'Minute', - Hour = 'Hour', - Day = 'Day', - Week = 'Week', - Month = 'Month', - Year = 'Year', -} +export type RecurrenceFrequency = 'NotSpecified' | 'Second' | 'Minute' | 'Hour' | 'Day' | 'Week' | 'Month' | 'Year'; /** * Defines values for DaysOfWeek. - * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', - * 'Thursday', 'Friday', 'Saturday' + * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + * 'Saturday' * @readonly * @enum {string} */ -export enum DaysOfWeek { - Sunday = 'Sunday', - Monday = 'Monday', - Tuesday = 'Tuesday', - Wednesday = 'Wednesday', - Thursday = 'Thursday', - Friday = 'Friday', - Saturday = 'Saturday', -} +export type DaysOfWeek = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'; /** * Defines values for DayOfWeek. - * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', - * 'Thursday', 'Friday', 'Saturday' + * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + * 'Saturday' * @readonly * @enum {string} */ -export enum DayOfWeek { - Sunday = 'Sunday', - Monday = 'Monday', - Tuesday = 'Tuesday', - Wednesday = 'Wednesday', - Thursday = 'Thursday', - Friday = 'Friday', - Saturday = 'Saturday', -} +export type DayOfWeek = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'; /** * Defines values for KeyType. * Possible values include: 'NotSpecified', 'Primary', 'Secondary' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: KeyType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum KeyType { - NotSpecified = 'NotSpecified', - Primary = 'Primary', - Secondary = 'Secondary', -} +export type KeyType = 'NotSpecified' | 'Primary' | 'Secondary'; /** * Defines values for IntegrationAccountSkuName. * Possible values include: 'NotSpecified', 'Free', 'Basic', 'Standard' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: IntegrationAccountSkuName = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum IntegrationAccountSkuName { - NotSpecified = 'NotSpecified', - Free = 'Free', - Basic = 'Basic', - Standard = 'Standard', -} +export type IntegrationAccountSkuName = 'NotSpecified' | 'Free' | 'Basic' | 'Standard'; /** * Defines values for SchemaType. * Possible values include: 'NotSpecified', 'Xml' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SchemaType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SchemaType { - NotSpecified = 'NotSpecified', - Xml = 'Xml', -} +export type SchemaType = 'NotSpecified' | 'Xml'; /** * Defines values for MapType. - * Possible values include: 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', - * 'Liquid' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MapType = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', 'Liquid' * @readonly * @enum {string} */ -export enum MapType { - NotSpecified = 'NotSpecified', - Xslt = 'Xslt', - Xslt20 = 'Xslt20', - Xslt30 = 'Xslt30', - Liquid = 'Liquid', -} +export type MapType = 'NotSpecified' | 'Xslt' | 'Xslt20' | 'Xslt30' | 'Liquid'; /** * Defines values for PartnerType. * Possible values include: 'NotSpecified', 'B2B' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PartnerType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PartnerType { - NotSpecified = 'NotSpecified', - B2B = 'B2B', -} +export type PartnerType = 'NotSpecified' | 'B2B'; /** * Defines values for AgreementType. @@ -4945,114 +4762,47 @@ export enum PartnerType { * @readonly * @enum {string} */ -export enum AgreementType { - NotSpecified = 'NotSpecified', - AS2 = 'AS2', - X12 = 'X12', - Edifact = 'Edifact', -} +export type AgreementType = 'NotSpecified' | 'AS2' | 'X12' | 'Edifact'; /** * Defines values for HashingAlgorithm. - * Possible values include: 'NotSpecified', 'None', 'MD5', 'SHA1', 'SHA2256', - * 'SHA2384', 'SHA2512' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HashingAlgorithm = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'None', 'MD5', 'SHA1', 'SHA2256', 'SHA2384', 'SHA2512' * @readonly * @enum {string} */ -export enum HashingAlgorithm { - NotSpecified = 'NotSpecified', - None = 'None', - MD5 = 'MD5', - SHA1 = 'SHA1', - SHA2256 = 'SHA2256', - SHA2384 = 'SHA2384', - SHA2512 = 'SHA2512', -} +export type HashingAlgorithm = 'NotSpecified' | 'None' | 'MD5' | 'SHA1' | 'SHA2256' | 'SHA2384' | 'SHA2512'; /** * Defines values for EncryptionAlgorithm. - * Possible values include: 'NotSpecified', 'None', 'DES3', 'RC2', 'AES128', - * 'AES192', 'AES256' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EncryptionAlgorithm = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'None', 'DES3', 'RC2', 'AES128', 'AES192', 'AES256' * @readonly * @enum {string} */ -export enum EncryptionAlgorithm { - NotSpecified = 'NotSpecified', - None = 'None', - DES3 = 'DES3', - RC2 = 'RC2', - AES128 = 'AES128', - AES192 = 'AES192', - AES256 = 'AES256', -} +export type EncryptionAlgorithm = 'NotSpecified' | 'None' | 'DES3' | 'RC2' | 'AES128' | 'AES192' | 'AES256'; /** * Defines values for SigningAlgorithm. - * Possible values include: 'NotSpecified', 'Default', 'SHA1', 'SHA2256', - * 'SHA2384', 'SHA2512' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SigningAlgorithm = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'Default', 'SHA1', 'SHA2256', 'SHA2384', 'SHA2512' * @readonly * @enum {string} */ -export enum SigningAlgorithm { - NotSpecified = 'NotSpecified', - Default = 'Default', - SHA1 = 'SHA1', - SHA2256 = 'SHA2256', - SHA2384 = 'SHA2384', - SHA2512 = 'SHA2512', -} +export type SigningAlgorithm = 'NotSpecified' | 'Default' | 'SHA1' | 'SHA2256' | 'SHA2384' | 'SHA2512'; /** * Defines values for TrailingSeparatorPolicy. - * Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', - * 'Mandatory' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TrailingSeparatorPolicy = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', 'Mandatory' * @readonly * @enum {string} */ -export enum TrailingSeparatorPolicy { - NotSpecified = 'NotSpecified', - NotAllowed = 'NotAllowed', - Optional = 'Optional', - Mandatory = 'Mandatory', -} +export type TrailingSeparatorPolicy = 'NotSpecified' | 'NotAllowed' | 'Optional' | 'Mandatory'; /** * Defines values for X12CharacterSet. * Possible values include: 'NotSpecified', 'Basic', 'Extended', 'UTF8' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: X12CharacterSet = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum X12CharacterSet { - NotSpecified = 'NotSpecified', - Basic = 'Basic', - Extended = 'Extended', - UTF8 = 'UTF8', -} +export type X12CharacterSet = 'NotSpecified' | 'Basic' | 'Extended' | 'UTF8'; /** * Defines values for SegmentTerminatorSuffix. @@ -5060,116 +4810,48 @@ export enum X12CharacterSet { * @readonly * @enum {string} */ -export enum SegmentTerminatorSuffix { - NotSpecified = 'NotSpecified', - None = 'None', - CR = 'CR', - LF = 'LF', - CRLF = 'CRLF', -} +export type SegmentTerminatorSuffix = 'NotSpecified' | 'None' | 'CR' | 'LF' | 'CRLF'; /** * Defines values for X12DateFormat. * Possible values include: 'NotSpecified', 'CCYYMMDD', 'YYMMDD' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: X12DateFormat = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum X12DateFormat { - NotSpecified = 'NotSpecified', - CCYYMMDD = 'CCYYMMDD', - YYMMDD = 'YYMMDD', -} +export type X12DateFormat = 'NotSpecified' | 'CCYYMMDD' | 'YYMMDD'; /** * Defines values for X12TimeFormat. - * Possible values include: 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', - * 'HHMMSSd' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: X12TimeFormat = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', 'HHMMSSd' * @readonly * @enum {string} */ -export enum X12TimeFormat { - NotSpecified = 'NotSpecified', - HHMM = 'HHMM', - HHMMSS = 'HHMMSS', - HHMMSSdd = 'HHMMSSdd', - HHMMSSd = 'HHMMSSd', -} +export type X12TimeFormat = 'NotSpecified' | 'HHMM' | 'HHMMSS' | 'HHMMSSdd' | 'HHMMSSd'; /** * Defines values for UsageIndicator. * Possible values include: 'NotSpecified', 'Test', 'Information', 'Production' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UsageIndicator = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum UsageIndicator { - NotSpecified = 'NotSpecified', - Test = 'Test', - Information = 'Information', - Production = 'Production', -} +export type UsageIndicator = 'NotSpecified' | 'Test' | 'Information' | 'Production'; /** * Defines values for MessageFilterType. * Possible values include: 'NotSpecified', 'Include', 'Exclude' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MessageFilterType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum MessageFilterType { - NotSpecified = 'NotSpecified', - Include = 'Include', - Exclude = 'Exclude', -} +export type MessageFilterType = 'NotSpecified' | 'Include' | 'Exclude'; /** * Defines values for EdifactCharacterSet. - * Possible values include: 'NotSpecified', 'UNOB', 'UNOA', 'UNOC', 'UNOD', - * 'UNOE', 'UNOF', 'UNOG', 'UNOH', 'UNOI', 'UNOJ', 'UNOK', 'UNOX', 'UNOY', - * 'KECA' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EdifactCharacterSet = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'UNOB', 'UNOA', 'UNOC', 'UNOD', 'UNOE', 'UNOF', 'UNOG', + * 'UNOH', 'UNOI', 'UNOJ', 'UNOK', 'UNOX', 'UNOY', 'KECA' * @readonly * @enum {string} */ -export enum EdifactCharacterSet { - NotSpecified = 'NotSpecified', - UNOB = 'UNOB', - UNOA = 'UNOA', - UNOC = 'UNOC', - UNOD = 'UNOD', - UNOE = 'UNOE', - UNOF = 'UNOF', - UNOG = 'UNOG', - UNOH = 'UNOH', - UNOI = 'UNOI', - UNOJ = 'UNOJ', - UNOK = 'UNOK', - UNOX = 'UNOX', - UNOY = 'UNOY', - KECA = 'KECA', -} +export type EdifactCharacterSet = 'NotSpecified' | 'UNOB' | 'UNOA' | 'UNOC' | 'UNOD' | 'UNOE' | 'UNOF' | 'UNOG' | 'UNOH' | 'UNOI' | 'UNOJ' | 'UNOK' | 'UNOX' | 'UNOY' | 'KECA'; /** * Defines values for EdifactDecimalIndicator. @@ -5177,79 +4859,35 @@ export enum EdifactCharacterSet { * @readonly * @enum {string} */ -export enum EdifactDecimalIndicator { - NotSpecified = 'NotSpecified', - Comma = 'Comma', - Decimal = 'Decimal', -} +export type EdifactDecimalIndicator = 'NotSpecified' | 'Comma' | 'Decimal'; /** * Defines values for TrackEventsOperationOptions. * Possible values include: 'None', 'DisableSourceInfoEnrich' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TrackEventsOperationOptions = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TrackEventsOperationOptions { - None = 'None', - DisableSourceInfoEnrich = 'DisableSourceInfoEnrich', -} +export type TrackEventsOperationOptions = 'None' | 'DisableSourceInfoEnrich'; /** * Defines values for EventLevel. - * Possible values include: 'LogAlways', 'Critical', 'Error', 'Warning', - * 'Informational', 'Verbose' + * Possible values include: 'LogAlways', 'Critical', 'Error', 'Warning', 'Informational', 'Verbose' * @readonly * @enum {string} */ -export enum EventLevel { - LogAlways = 'LogAlways', - Critical = 'Critical', - Error = 'Error', - Warning = 'Warning', - Informational = 'Informational', - Verbose = 'Verbose', -} +export type EventLevel = 'LogAlways' | 'Critical' | 'Error' | 'Warning' | 'Informational' | 'Verbose'; /** * Defines values for TrackingRecordType. - * Possible values include: 'NotSpecified', 'Custom', 'AS2Message', 'AS2MDN', - * 'X12Interchange', 'X12FunctionalGroup', 'X12TransactionSet', - * 'X12InterchangeAcknowledgment', 'X12FunctionalGroupAcknowledgment', - * 'X12TransactionSetAcknowledgment', 'EdifactInterchange', - * 'EdifactFunctionalGroup', 'EdifactTransactionSet', - * 'EdifactInterchangeAcknowledgment', 'EdifactFunctionalGroupAcknowledgment', - * 'EdifactTransactionSetAcknowledgment' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TrackingRecordType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotSpecified', 'Custom', 'AS2Message', 'AS2MDN', 'X12Interchange', + * 'X12FunctionalGroup', 'X12TransactionSet', 'X12InterchangeAcknowledgment', + * 'X12FunctionalGroupAcknowledgment', 'X12TransactionSetAcknowledgment', 'EdifactInterchange', + * 'EdifactFunctionalGroup', 'EdifactTransactionSet', 'EdifactInterchangeAcknowledgment', + * 'EdifactFunctionalGroupAcknowledgment', 'EdifactTransactionSetAcknowledgment' * @readonly * @enum {string} */ -export enum TrackingRecordType { - NotSpecified = 'NotSpecified', - Custom = 'Custom', - AS2Message = 'AS2Message', - AS2MDN = 'AS2MDN', - X12Interchange = 'X12Interchange', - X12FunctionalGroup = 'X12FunctionalGroup', - X12TransactionSet = 'X12TransactionSet', - X12InterchangeAcknowledgment = 'X12InterchangeAcknowledgment', - X12FunctionalGroupAcknowledgment = 'X12FunctionalGroupAcknowledgment', - X12TransactionSetAcknowledgment = 'X12TransactionSetAcknowledgment', - EdifactInterchange = 'EdifactInterchange', - EdifactFunctionalGroup = 'EdifactFunctionalGroup', - EdifactTransactionSet = 'EdifactTransactionSet', - EdifactInterchangeAcknowledgment = 'EdifactInterchangeAcknowledgment', - EdifactFunctionalGroupAcknowledgment = 'EdifactFunctionalGroupAcknowledgment', - EdifactTransactionSetAcknowledgment = 'EdifactTransactionSetAcknowledgment', -} +export type TrackingRecordType = 'NotSpecified' | 'Custom' | 'AS2Message' | 'AS2MDN' | 'X12Interchange' | 'X12FunctionalGroup' | 'X12TransactionSet' | 'X12InterchangeAcknowledgment' | 'X12FunctionalGroupAcknowledgment' | 'X12TransactionSetAcknowledgment' | 'EdifactInterchange' | 'EdifactFunctionalGroup' | 'EdifactTransactionSet' | 'EdifactInterchangeAcknowledgment' | 'EdifactFunctionalGroupAcknowledgment' | 'EdifactTransactionSetAcknowledgment'; /** * Contains response data for the listBySubscription operation. diff --git a/packages/@azure/arm-logic/lib/models/mappers.ts b/packages/@azure/arm-logic/lib/models/mappers.ts index 09a8cb88d923..c60958ac1162 100644 --- a/packages/@azure/arm-logic/lib/models/mappers.ts +++ b/packages/@azure/arm-logic/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-logic/lib/models/parameters.ts b/packages/@azure/arm-logic/lib/models/parameters.ts index 4b6a99022c5c..cdf939cd410c 100644 --- a/packages/@azure/arm-logic/lib/models/parameters.ts +++ b/packages/@azure/arm-logic/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-logic/lib/operations/integrationAccountAgreements.ts b/packages/@azure/arm-logic/lib/operations/integrationAccountAgreements.ts index a60ccb6d91c1..36da1800e26f 100644 --- a/packages/@azure/arm-logic/lib/operations/integrationAccountAgreements.ts +++ b/packages/@azure/arm-logic/lib/operations/integrationAccountAgreements.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/integrationAccountAgreementsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class IntegrationAccountAgreements { * @param callback The callback */ list(resourceGroupName: string, integrationAccountName: string, options: Models.IntegrationAccountAgreementsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountAgreementsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountAgreementsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class IntegrationAccountAgreements { * @param callback The callback */ get(resourceGroupName: string, integrationAccountName: string, agreementName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, integrationAccountName: string, agreementName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, integrationAccountName: string, agreementName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class IntegrationAccountAgreements { * @param callback The callback */ createOrUpdate(resourceGroupName: string, integrationAccountName: string, agreementName: string, agreement: Models.IntegrationAccountAgreement, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, integrationAccountName: string, agreementName: string, agreement: Models.IntegrationAccountAgreement, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, integrationAccountName: string, agreementName: string, agreement: Models.IntegrationAccountAgreement, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class IntegrationAccountAgreements { * @param callback The callback */ deleteMethod(resourceGroupName: string, integrationAccountName: string, agreementName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, integrationAccountName: string, agreementName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, integrationAccountName: string, agreementName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -197,7 +197,7 @@ export class IntegrationAccountAgreements { * @param callback The callback */ listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, agreementName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, agreementName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, agreementName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -228,7 +228,7 @@ export class IntegrationAccountAgreements { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-logic/lib/operations/integrationAccountAssemblies.ts b/packages/@azure/arm-logic/lib/operations/integrationAccountAssemblies.ts index 7f3d38156316..1fabdbf99098 100644 --- a/packages/@azure/arm-logic/lib/operations/integrationAccountAssemblies.ts +++ b/packages/@azure/arm-logic/lib/operations/integrationAccountAssemblies.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/integrationAccountAssembliesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class IntegrationAccountAssemblies { * @param callback The callback */ list(resourceGroupName: string, integrationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class IntegrationAccountAssemblies { * @param callback The callback */ get(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class IntegrationAccountAssemblies { * @param callback The callback */ createOrUpdate(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, assemblyArtifact: Models.AssemblyDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, assemblyArtifact: Models.AssemblyDefinition, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, assemblyArtifact: Models.AssemblyDefinition, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class IntegrationAccountAssemblies { * @param callback The callback */ deleteMethod(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -194,7 +194,7 @@ export class IntegrationAccountAssemblies { * @param callback The callback */ listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-logic/lib/operations/integrationAccountBatchConfigurations.ts b/packages/@azure/arm-logic/lib/operations/integrationAccountBatchConfigurations.ts index c10dec223bb7..492d52ef44aa 100644 --- a/packages/@azure/arm-logic/lib/operations/integrationAccountBatchConfigurations.ts +++ b/packages/@azure/arm-logic/lib/operations/integrationAccountBatchConfigurations.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/integrationAccountBatchConfigurationsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class IntegrationAccountBatchConfigurations { * @param callback The callback */ list(resourceGroupName: string, integrationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class IntegrationAccountBatchConfigurations { * @param callback The callback */ get(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class IntegrationAccountBatchConfigurations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, batchConfiguration: Models.BatchConfiguration, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, batchConfiguration: Models.BatchConfiguration, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, batchConfiguration: Models.BatchConfiguration, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class IntegrationAccountBatchConfigurations { * @param callback The callback */ deleteMethod(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-logic/lib/operations/integrationAccountCertificates.ts b/packages/@azure/arm-logic/lib/operations/integrationAccountCertificates.ts index 78eee9dcd639..c609806be8e2 100644 --- a/packages/@azure/arm-logic/lib/operations/integrationAccountCertificates.ts +++ b/packages/@azure/arm-logic/lib/operations/integrationAccountCertificates.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/integrationAccountCertificatesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class IntegrationAccountCertificates { * @param callback The callback */ list(resourceGroupName: string, integrationAccountName: string, options: Models.IntegrationAccountCertificatesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountCertificatesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountCertificatesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class IntegrationAccountCertificates { * @param callback The callback */ get(resourceGroupName: string, integrationAccountName: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, integrationAccountName: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, integrationAccountName: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class IntegrationAccountCertificates { * @param callback The callback */ createOrUpdate(resourceGroupName: string, integrationAccountName: string, certificateName: string, certificate: Models.IntegrationAccountCertificate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, integrationAccountName: string, certificateName: string, certificate: Models.IntegrationAccountCertificate, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, integrationAccountName: string, certificateName: string, certificate: Models.IntegrationAccountCertificate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class IntegrationAccountCertificates { * @param callback The callback */ deleteMethod(resourceGroupName: string, integrationAccountName: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, integrationAccountName: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, integrationAccountName: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -188,7 +188,7 @@ export class IntegrationAccountCertificates { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-logic/lib/operations/integrationAccountMaps.ts b/packages/@azure/arm-logic/lib/operations/integrationAccountMaps.ts index 0dd68a5ae393..2dce039eaee2 100644 --- a/packages/@azure/arm-logic/lib/operations/integrationAccountMaps.ts +++ b/packages/@azure/arm-logic/lib/operations/integrationAccountMaps.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/integrationAccountMapsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class IntegrationAccountMaps { * @param callback The callback */ list(resourceGroupName: string, integrationAccountName: string, options: Models.IntegrationAccountMapsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountMapsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountMapsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class IntegrationAccountMaps { * @param callback The callback */ get(resourceGroupName: string, integrationAccountName: string, mapName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, integrationAccountName: string, mapName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, integrationAccountName: string, mapName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class IntegrationAccountMaps { * @param callback The callback */ createOrUpdate(resourceGroupName: string, integrationAccountName: string, mapName: string, map: Models.IntegrationAccountMap, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, integrationAccountName: string, mapName: string, map: Models.IntegrationAccountMap, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, integrationAccountName: string, mapName: string, map: Models.IntegrationAccountMap, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class IntegrationAccountMaps { * @param callback The callback */ deleteMethod(resourceGroupName: string, integrationAccountName: string, mapName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, integrationAccountName: string, mapName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, integrationAccountName: string, mapName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -197,7 +197,7 @@ export class IntegrationAccountMaps { * @param callback The callback */ listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, mapName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, mapName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, mapName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -228,7 +228,7 @@ export class IntegrationAccountMaps { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-logic/lib/operations/integrationAccountPartners.ts b/packages/@azure/arm-logic/lib/operations/integrationAccountPartners.ts index c93f21afe671..b0008cfbbc58 100644 --- a/packages/@azure/arm-logic/lib/operations/integrationAccountPartners.ts +++ b/packages/@azure/arm-logic/lib/operations/integrationAccountPartners.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/integrationAccountPartnersMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class IntegrationAccountPartners { * @param callback The callback */ list(resourceGroupName: string, integrationAccountName: string, options: Models.IntegrationAccountPartnersListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountPartnersListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountPartnersListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class IntegrationAccountPartners { * @param callback The callback */ get(resourceGroupName: string, integrationAccountName: string, partnerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, integrationAccountName: string, partnerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, integrationAccountName: string, partnerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class IntegrationAccountPartners { * @param callback The callback */ createOrUpdate(resourceGroupName: string, integrationAccountName: string, partnerName: string, partner: Models.IntegrationAccountPartner, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, integrationAccountName: string, partnerName: string, partner: Models.IntegrationAccountPartner, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, integrationAccountName: string, partnerName: string, partner: Models.IntegrationAccountPartner, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class IntegrationAccountPartners { * @param callback The callback */ deleteMethod(resourceGroupName: string, integrationAccountName: string, partnerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, integrationAccountName: string, partnerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, integrationAccountName: string, partnerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -197,7 +197,7 @@ export class IntegrationAccountPartners { * @param callback The callback */ listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, partnerName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, partnerName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, partnerName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -228,7 +228,7 @@ export class IntegrationAccountPartners { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-logic/lib/operations/integrationAccountSchemas.ts b/packages/@azure/arm-logic/lib/operations/integrationAccountSchemas.ts index a03ff2c525a6..3e3ad4e08da5 100644 --- a/packages/@azure/arm-logic/lib/operations/integrationAccountSchemas.ts +++ b/packages/@azure/arm-logic/lib/operations/integrationAccountSchemas.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/integrationAccountSchemasMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class IntegrationAccountSchemas { * @param callback The callback */ list(resourceGroupName: string, integrationAccountName: string, options: Models.IntegrationAccountSchemasListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountSchemasListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountSchemasListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class IntegrationAccountSchemas { * @param callback The callback */ get(resourceGroupName: string, integrationAccountName: string, schemaName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, integrationAccountName: string, schemaName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, integrationAccountName: string, schemaName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class IntegrationAccountSchemas { * @param callback The callback */ createOrUpdate(resourceGroupName: string, integrationAccountName: string, schemaName: string, schema: Models.IntegrationAccountSchema, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, integrationAccountName: string, schemaName: string, schema: Models.IntegrationAccountSchema, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, integrationAccountName: string, schemaName: string, schema: Models.IntegrationAccountSchema, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class IntegrationAccountSchemas { * @param callback The callback */ deleteMethod(resourceGroupName: string, integrationAccountName: string, schemaName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, integrationAccountName: string, schemaName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, integrationAccountName: string, schemaName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -197,7 +197,7 @@ export class IntegrationAccountSchemas { * @param callback The callback */ listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, schemaName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, schemaName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, schemaName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -228,7 +228,7 @@ export class IntegrationAccountSchemas { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-logic/lib/operations/integrationAccountSessions.ts b/packages/@azure/arm-logic/lib/operations/integrationAccountSessions.ts index 5b6147d2027a..92ff734dffff 100644 --- a/packages/@azure/arm-logic/lib/operations/integrationAccountSessions.ts +++ b/packages/@azure/arm-logic/lib/operations/integrationAccountSessions.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/integrationAccountSessionsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class IntegrationAccountSessions { * @param callback The callback */ list(resourceGroupName: string, integrationAccountName: string, options: Models.IntegrationAccountSessionsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountSessionsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountSessionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class IntegrationAccountSessions { * @param callback The callback */ get(resourceGroupName: string, integrationAccountName: string, sessionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, integrationAccountName: string, sessionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, integrationAccountName: string, sessionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class IntegrationAccountSessions { * @param callback The callback */ createOrUpdate(resourceGroupName: string, integrationAccountName: string, sessionName: string, session: Models.IntegrationAccountSession, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, integrationAccountName: string, sessionName: string, session: Models.IntegrationAccountSession, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, integrationAccountName: string, sessionName: string, session: Models.IntegrationAccountSession, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class IntegrationAccountSessions { * @param callback The callback */ deleteMethod(resourceGroupName: string, integrationAccountName: string, sessionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, integrationAccountName: string, sessionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, integrationAccountName: string, sessionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -188,7 +188,7 @@ export class IntegrationAccountSessions { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-logic/lib/operations/integrationAccounts.ts b/packages/@azure/arm-logic/lib/operations/integrationAccounts.ts index 7043e154b9c4..027e7d3fb636 100644 --- a/packages/@azure/arm-logic/lib/operations/integrationAccounts.ts +++ b/packages/@azure/arm-logic/lib/operations/integrationAccounts.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/integrationAccountsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class IntegrationAccounts { * @param callback The callback */ listBySubscription(options: Models.IntegrationAccountsListBySubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - listBySubscription(options?: Models.IntegrationAccountsListBySubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: Models.IntegrationAccountsListBySubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class IntegrationAccounts { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.IntegrationAccountsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.IntegrationAccountsListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.IntegrationAccountsListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -99,7 +99,7 @@ export class IntegrationAccounts { * @param callback The callback */ get(resourceGroupName: string, integrationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -134,7 +134,7 @@ export class IntegrationAccounts { * @param callback The callback */ createOrUpdate(resourceGroupName: string, integrationAccountName: string, integrationAccount: Models.IntegrationAccount, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, integrationAccountName: string, integrationAccount: Models.IntegrationAccount, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, integrationAccountName: string, integrationAccount: Models.IntegrationAccount, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -170,7 +170,7 @@ export class IntegrationAccounts { * @param callback The callback */ update(resourceGroupName: string, integrationAccountName: string, integrationAccount: Models.IntegrationAccount, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, integrationAccountName: string, integrationAccount: Models.IntegrationAccount, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, integrationAccountName: string, integrationAccount: Models.IntegrationAccount, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -203,7 +203,7 @@ export class IntegrationAccounts { * @param callback The callback */ deleteMethod(resourceGroupName: string, integrationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -238,7 +238,7 @@ export class IntegrationAccounts { * @param callback The callback */ listCallbackUrl(resourceGroupName: string, integrationAccountName: string, parameters: Models.GetCallbackUrlParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCallbackUrl(resourceGroupName: string, integrationAccountName: string, parameters: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listCallbackUrl(resourceGroupName: string, integrationAccountName: string, parameters: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -274,7 +274,7 @@ export class IntegrationAccounts { * @param callback The callback */ listKeyVaultKeys(resourceGroupName: string, integrationAccountName: string, listKeyVaultKeysParameter: Models.ListKeyVaultKeysDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeyVaultKeys(resourceGroupName: string, integrationAccountName: string, listKeyVaultKeysParameter: Models.ListKeyVaultKeysDefinition, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeyVaultKeys(resourceGroupName: string, integrationAccountName: string, listKeyVaultKeysParameter: Models.ListKeyVaultKeysDefinition, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -310,7 +310,7 @@ export class IntegrationAccounts { * @param callback The callback */ logTrackingEvents(resourceGroupName: string, integrationAccountName: string, logTrackingEventsParameter: Models.TrackingEventsDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - logTrackingEvents(resourceGroupName: string, integrationAccountName: string, logTrackingEventsParameter: Models.TrackingEventsDefinition, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + logTrackingEvents(resourceGroupName: string, integrationAccountName: string, logTrackingEventsParameter: Models.TrackingEventsDefinition, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -346,7 +346,7 @@ export class IntegrationAccounts { * @param callback The callback */ regenerateAccessKey(resourceGroupName: string, integrationAccountName: string, regenerateAccessKeyParameter: Models.RegenerateActionParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateAccessKey(resourceGroupName: string, integrationAccountName: string, regenerateAccessKeyParameter: Models.RegenerateActionParameter, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateAccessKey(resourceGroupName: string, integrationAccountName: string, regenerateAccessKeyParameter: Models.RegenerateActionParameter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -376,7 +376,7 @@ export class IntegrationAccounts { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -404,7 +404,7 @@ export class IntegrationAccounts { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-logic/lib/operations/operations.ts b/packages/@azure/arm-logic/lib/operations/operations.ts index ab44f0ae895d..f9fe6f12ceb2 100644 --- a/packages/@azure/arm-logic/lib/operations/operations.ts +++ b/packages/@azure/arm-logic/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-logic/lib/operations/workflowRunActionRepetitions.ts b/packages/@azure/arm-logic/lib/operations/workflowRunActionRepetitions.ts index 52b830df397c..704d646fc81d 100644 --- a/packages/@azure/arm-logic/lib/operations/workflowRunActionRepetitions.ts +++ b/packages/@azure/arm-logic/lib/operations/workflowRunActionRepetitions.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/workflowRunActionRepetitionsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class WorkflowRunActionRepetitions { * @param callback The callback */ list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -96,7 +96,7 @@ export class WorkflowRunActionRepetitions { * @param callback The callback */ get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -140,7 +140,7 @@ export class WorkflowRunActionRepetitions { * @param callback The callback */ listExpressionTraces(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listExpressionTraces(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listExpressionTraces(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-logic/lib/operations/workflowRunActionScopeRepetitions.ts b/packages/@azure/arm-logic/lib/operations/workflowRunActionScopeRepetitions.ts index 69adc14afdd7..a68595404ee8 100644 --- a/packages/@azure/arm-logic/lib/operations/workflowRunActionScopeRepetitions.ts +++ b/packages/@azure/arm-logic/lib/operations/workflowRunActionScopeRepetitions.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/workflowRunActionScopeRepetitionsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class WorkflowRunActionScopeRepetitions { * @param callback The callback */ list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -96,7 +96,7 @@ export class WorkflowRunActionScopeRepetitions { * @param callback The callback */ get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-logic/lib/operations/workflowRunActions.ts b/packages/@azure/arm-logic/lib/operations/workflowRunActions.ts index 8857381c5511..4a00187c5ad4 100644 --- a/packages/@azure/arm-logic/lib/operations/workflowRunActions.ts +++ b/packages/@azure/arm-logic/lib/operations/workflowRunActions.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/workflowRunActionsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class WorkflowRunActions { * @param callback The callback */ list(resourceGroupName: string, workflowName: string, runName: string, options: Models.WorkflowRunActionsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, workflowName: string, runName: string, options?: Models.WorkflowRunActionsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, workflowName: string, runName: string, options?: Models.WorkflowRunActionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -89,7 +89,7 @@ export class WorkflowRunActions { * @param callback The callback */ get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -129,7 +129,7 @@ export class WorkflowRunActions { * @param callback The callback */ listExpressionTraces(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listExpressionTraces(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listExpressionTraces(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -160,7 +160,7 @@ export class WorkflowRunActions { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-logic/lib/operations/workflowRunOperations.ts b/packages/@azure/arm-logic/lib/operations/workflowRunOperations.ts index d89546fec104..15d2d4fd4f0a 100644 --- a/packages/@azure/arm-logic/lib/operations/workflowRunOperations.ts +++ b/packages/@azure/arm-logic/lib/operations/workflowRunOperations.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/workflowRunOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class WorkflowRunOperations { * @param callback The callback */ get(resourceGroupName: string, workflowName: string, runName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workflowName: string, runName: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workflowName: string, runName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-logic/lib/operations/workflowRuns.ts b/packages/@azure/arm-logic/lib/operations/workflowRuns.ts index 80833b7bf770..d09c44db39b5 100644 --- a/packages/@azure/arm-logic/lib/operations/workflowRuns.ts +++ b/packages/@azure/arm-logic/lib/operations/workflowRuns.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/workflowRunsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class WorkflowRuns { * @param callback The callback */ list(resourceGroupName: string, workflowName: string, options: Models.WorkflowRunsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, workflowName: string, options?: Models.WorkflowRunsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, workflowName: string, options?: Models.WorkflowRunsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class WorkflowRuns { * @param callback The callback */ get(resourceGroupName: string, workflowName: string, runName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workflowName: string, runName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workflowName: string, runName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -118,7 +118,7 @@ export class WorkflowRuns { * @param callback The callback */ cancel(resourceGroupName: string, workflowName: string, runName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - cancel(resourceGroupName: string, workflowName: string, runName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + cancel(resourceGroupName: string, workflowName: string, runName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -148,7 +148,7 @@ export class WorkflowRuns { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-logic/lib/operations/workflowTriggerHistories.ts b/packages/@azure/arm-logic/lib/operations/workflowTriggerHistories.ts index 0a508255abb6..48a550253c78 100644 --- a/packages/@azure/arm-logic/lib/operations/workflowTriggerHistories.ts +++ b/packages/@azure/arm-logic/lib/operations/workflowTriggerHistories.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/workflowTriggerHistoriesMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class WorkflowTriggerHistories { * @param callback The callback */ list(resourceGroupName: string, workflowName: string, triggerName: string, options: Models.WorkflowTriggerHistoriesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, workflowName: string, triggerName: string, options?: Models.WorkflowTriggerHistoriesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, workflowName: string, triggerName: string, options?: Models.WorkflowTriggerHistoriesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -92,7 +92,7 @@ export class WorkflowTriggerHistories { * @param callback The callback */ get(resourceGroupName: string, workflowName: string, triggerName: string, historyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workflowName: string, triggerName: string, historyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workflowName: string, triggerName: string, historyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -135,7 +135,7 @@ export class WorkflowTriggerHistories { * @param callback The callback */ resubmit(resourceGroupName: string, workflowName: string, triggerName: string, historyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - resubmit(resourceGroupName: string, workflowName: string, triggerName: string, historyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + resubmit(resourceGroupName: string, workflowName: string, triggerName: string, historyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -166,7 +166,7 @@ export class WorkflowTriggerHistories { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-logic/lib/operations/workflowTriggers.ts b/packages/@azure/arm-logic/lib/operations/workflowTriggers.ts index 4a6924e9ba66..7d5f04edb816 100644 --- a/packages/@azure/arm-logic/lib/operations/workflowTriggers.ts +++ b/packages/@azure/arm-logic/lib/operations/workflowTriggers.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/workflowTriggersMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class WorkflowTriggers { * @param callback The callback */ list(resourceGroupName: string, workflowName: string, options: Models.WorkflowTriggersListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, workflowName: string, options?: Models.WorkflowTriggersListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, workflowName: string, options?: Models.WorkflowTriggersListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class WorkflowTriggers { * @param callback The callback */ get(resourceGroupName: string, workflowName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -118,7 +118,7 @@ export class WorkflowTriggers { * @param callback The callback */ reset(resourceGroupName: string, workflowName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - reset(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + reset(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -154,7 +154,7 @@ export class WorkflowTriggers { * @param callback The callback */ run(resourceGroupName: string, workflowName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - run(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + run(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -190,7 +190,7 @@ export class WorkflowTriggers { * @param callback The callback */ getSchemaJson(resourceGroupName: string, workflowName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSchemaJson(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSchemaJson(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -229,7 +229,7 @@ export class WorkflowTriggers { * @param callback The callback */ setState(resourceGroupName: string, workflowName: string, triggerName: string, setStateParameter: Models.SetTriggerStateActionDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - setState(resourceGroupName: string, workflowName: string, triggerName: string, setStateParameter: Models.SetTriggerStateActionDefinition, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + setState(resourceGroupName: string, workflowName: string, triggerName: string, setStateParameter: Models.SetTriggerStateActionDefinition, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -266,7 +266,7 @@ export class WorkflowTriggers { * @param callback The callback */ listCallbackUrl(resourceGroupName: string, workflowName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCallbackUrl(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listCallbackUrl(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -296,7 +296,7 @@ export class WorkflowTriggers { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-logic/lib/operations/workflowVersionTriggers.ts b/packages/@azure/arm-logic/lib/operations/workflowVersionTriggers.ts index 58c1cedc7d48..696881374eeb 100644 --- a/packages/@azure/arm-logic/lib/operations/workflowVersionTriggers.ts +++ b/packages/@azure/arm-logic/lib/operations/workflowVersionTriggers.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/workflowVersionTriggersMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class WorkflowVersionTriggers { * @param callback The callback */ listCallbackUrl(resourceGroupName: string, workflowName: string, versionId: string, triggerName: string, options: Models.WorkflowVersionTriggersListCallbackUrlOptionalParams, callback: msRest.ServiceCallback): void; - listCallbackUrl(resourceGroupName: string, workflowName: string, versionId: string, triggerName: string, options?: Models.WorkflowVersionTriggersListCallbackUrlOptionalParams, callback?: msRest.ServiceCallback): Promise { + listCallbackUrl(resourceGroupName: string, workflowName: string, versionId: string, triggerName: string, options?: Models.WorkflowVersionTriggersListCallbackUrlOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-logic/lib/operations/workflowVersions.ts b/packages/@azure/arm-logic/lib/operations/workflowVersions.ts index c94a572c3a05..99c76ed69b07 100644 --- a/packages/@azure/arm-logic/lib/operations/workflowVersions.ts +++ b/packages/@azure/arm-logic/lib/operations/workflowVersions.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/workflowVersionsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class WorkflowVersions { * @param callback The callback */ list(resourceGroupName: string, workflowName: string, options: Models.WorkflowVersionsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, workflowName: string, options?: Models.WorkflowVersionsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, workflowName: string, options?: Models.WorkflowVersionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class WorkflowVersions { * @param callback The callback */ get(resourceGroupName: string, workflowName: string, versionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workflowName: string, versionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workflowName: string, versionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -112,7 +112,7 @@ export class WorkflowVersions { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-logic/lib/operations/workflows.ts b/packages/@azure/arm-logic/lib/operations/workflows.ts index 0ae02276344a..bbbc62fe5739 100644 --- a/packages/@azure/arm-logic/lib/operations/workflows.ts +++ b/packages/@azure/arm-logic/lib/operations/workflows.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/workflowsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class Workflows { * @param callback The callback */ listBySubscription(options: Models.WorkflowsListBySubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - listBySubscription(options?: Models.WorkflowsListBySubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: Models.WorkflowsListBySubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Workflows { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.WorkflowsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.WorkflowsListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.WorkflowsListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -99,7 +99,7 @@ export class Workflows { * @param callback The callback */ get(resourceGroupName: string, workflowName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -134,7 +134,7 @@ export class Workflows { * @param callback The callback */ createOrUpdate(resourceGroupName: string, workflowName: string, workflow: Models.Workflow, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, workflowName: string, workflow: Models.Workflow, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, workflowName: string, workflow: Models.Workflow, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -170,7 +170,7 @@ export class Workflows { * @param callback The callback */ update(resourceGroupName: string, workflowName: string, workflow: Models.Workflow, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, workflowName: string, workflow: Models.Workflow, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, workflowName: string, workflow: Models.Workflow, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -203,7 +203,7 @@ export class Workflows { * @param callback The callback */ deleteMethod(resourceGroupName: string, workflowName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -235,7 +235,7 @@ export class Workflows { * @param callback The callback */ disable(resourceGroupName: string, workflowName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - disable(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + disable(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -267,7 +267,7 @@ export class Workflows { * @param callback The callback */ enable(resourceGroupName: string, workflowName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - enable(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + enable(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -302,7 +302,7 @@ export class Workflows { * @param callback The callback */ generateUpgradedDefinition(resourceGroupName: string, workflowName: string, parameters: Models.GenerateUpgradedDefinitionParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - generateUpgradedDefinition(resourceGroupName: string, workflowName: string, parameters: Models.GenerateUpgradedDefinitionParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + generateUpgradedDefinition(resourceGroupName: string, workflowName: string, parameters: Models.GenerateUpgradedDefinitionParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -338,7 +338,7 @@ export class Workflows { * @param callback The callback */ listCallbackUrl(resourceGroupName: string, workflowName: string, listCallbackUrlParameter: Models.GetCallbackUrlParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCallbackUrl(resourceGroupName: string, workflowName: string, listCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listCallbackUrl(resourceGroupName: string, workflowName: string, listCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -371,7 +371,7 @@ export class Workflows { * @param callback The callback */ listSwagger(resourceGroupName: string, workflowName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSwagger(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSwagger(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -406,7 +406,7 @@ export class Workflows { * @param callback The callback */ move(resourceGroupName: string, workflowName: string, moveParameter: Models.Workflow, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - move(resourceGroupName: string, workflowName: string, moveParameter: Models.Workflow, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + move(resourceGroupName: string, workflowName: string, moveParameter: Models.Workflow, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -442,7 +442,7 @@ export class Workflows { * @param callback The callback */ regenerateAccessKey(resourceGroupName: string, workflowName: string, keyType: Models.RegenerateActionParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateAccessKey(resourceGroupName: string, workflowName: string, keyType: Models.RegenerateActionParameter, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateAccessKey(resourceGroupName: string, workflowName: string, keyType: Models.RegenerateActionParameter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -478,7 +478,7 @@ export class Workflows { * @param callback The callback */ validateByResourceGroup(resourceGroupName: string, workflowName: string, validate: Models.Workflow, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validateByResourceGroup(resourceGroupName: string, workflowName: string, validate: Models.Workflow, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + validateByResourceGroup(resourceGroupName: string, workflowName: string, validate: Models.Workflow, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -517,7 +517,7 @@ export class Workflows { * @param callback The callback */ validateByLocation(resourceGroupName: string, location: string, workflowName: string, workflow: Models.Workflow, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validateByLocation(resourceGroupName: string, location: string, workflowName: string, workflow: Models.Workflow, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + validateByLocation(resourceGroupName: string, location: string, workflowName: string, workflow: Models.Workflow, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -548,7 +548,7 @@ export class Workflows { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -576,7 +576,7 @@ export class Workflows { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-logic/package.json b/packages/@azure/arm-logic/package.json index 3e8ef6be9f11..1e7d6a78d84f 100644 --- a/packages/@azure/arm-logic/package.json +++ b/packages/@azure/arm-logic/package.json @@ -4,8 +4,8 @@ "description": "LogicManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-logic.js.map'\" -o ./dist/arm-logic.min.js ./dist/arm-logic.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-logic/rollup.config.js b/packages/@azure/arm-logic/rollup.config.js index abf0035d4891..6391785d443b 100644 --- a/packages/@azure/arm-logic/rollup.config.js +++ b/packages/@azure/arm-logic/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/logicManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-logic.js", format: "umd", name: "Azure.ArmLogic", 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-logic/tsconfig.json b/packages/@azure/arm-logic/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-logic/tsconfig.json +++ b/packages/@azure/arm-logic/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-machinelearningcompute/.npmignore b/packages/@azure/arm-machinelearningcompute/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-machinelearningcompute/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-machinelearningcompute/README.md b/packages/@azure/arm-machinelearningcompute/README.md index 085468efe476..d09c7a75c78c 100644 --- a/packages/@azure/arm-machinelearningcompute/README.md +++ b/packages/@azure/arm-machinelearningcompute/README.md @@ -1,24 +1,34 @@ -# Azure MachineLearningComputeManagementClient SDK for JavaScript +## Azure MachineLearningComputeManagementClient SDK for JavaScript + This package contains an isomorphic SDK for MachineLearningComputeManagementClient. -## 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-machinelearningcompute ``` +### How to use + +#### nodejs - Authentication, client creation and get operationalizationClusters as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get operationalizationClusters as an example written in TypeScript. +##### Sample code ```ts -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 { MachineLearningComputeManagementClient, MachineLearningComputeManagementModels, MachineLearningComputeManagementMappers } from "@azure/arm-machinelearningcompute"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get operationalizationClusters as an example written in JavaScript. +#### browser - Authentication, client creation and get operationalizationClusters as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-machinelearningcompute 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-machinelearningcompute/lib/machineLearningComputeManagementClient.ts b/packages/@azure/arm-machinelearningcompute/lib/machineLearningComputeManagementClient.ts index 75c304a5bb51..ca51d34664cd 100644 --- a/packages/@azure/arm-machinelearningcompute/lib/machineLearningComputeManagementClient.ts +++ b/packages/@azure/arm-machinelearningcompute/lib/machineLearningComputeManagementClient.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-machinelearningcompute/lib/machineLearningComputeManagementClientContext.ts b/packages/@azure/arm-machinelearningcompute/lib/machineLearningComputeManagementClientContext.ts index 919630675574..3178304dee74 100644 --- a/packages/@azure/arm-machinelearningcompute/lib/machineLearningComputeManagementClientContext.ts +++ b/packages/@azure/arm-machinelearningcompute/lib/machineLearningComputeManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-machinelearningcompute"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class MachineLearningComputeManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the MachineLearningComputeManagementClient class. @@ -44,6 +37,11 @@ export class MachineLearningComputeManagementClientContext extends msRestAzure.A if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-08-01-preview'; @@ -54,7 +52,6 @@ export class MachineLearningComputeManagementClientContext extends msRestAzure.A this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-machinelearningcompute/lib/models/index.ts b/packages/@azure/arm-machinelearningcompute/lib/models/index.ts index 3057ba0ac1cc..8ba25fb6bee6 100644 --- a/packages/@azure/arm-machinelearningcompute/lib/models/index.ts +++ b/packages/@azure/arm-machinelearningcompute/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -845,176 +845,68 @@ export interface PaginatedOperationalizationClustersList extends Array"someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', + * 'Canceled' * @readonly * @enum {string} */ -export enum OperationStatus { - Unknown = 'Unknown', - Updating = 'Updating', - Creating = 'Creating', - Deleting = 'Deleting', - Succeeded = 'Succeeded', - Failed = 'Failed', - Canceled = 'Canceled', -} +export type OperationStatus = 'Unknown' | 'Updating' | 'Creating' | 'Deleting' | 'Succeeded' | 'Failed' | 'Canceled'; /** * Defines values for ClusterType. * Possible values include: 'ACS', 'Local' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ClusterType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ClusterType { - ACS = 'ACS', - Local = 'Local', -} +export type ClusterType = 'ACS' | 'Local'; /** * Defines values for OrchestratorType. * Possible values include: 'Kubernetes', 'None' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OrchestratorType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OrchestratorType { - Kubernetes = 'Kubernetes', - None = 'None', -} +export type OrchestratorType = 'Kubernetes' | 'None'; /** * Defines values for SystemServiceType. * Possible values include: 'None', 'ScoringFrontEnd', 'BatchFrontEnd' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SystemServiceType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SystemServiceType { - None = 'None', - ScoringFrontEnd = 'ScoringFrontEnd', - BatchFrontEnd = 'BatchFrontEnd', -} +export type SystemServiceType = 'None' | 'ScoringFrontEnd' | 'BatchFrontEnd'; /** * Defines values for AgentVMSizeTypes. - * Possible values include: 'Standard_A0', 'Standard_A1', 'Standard_A2', - * 'Standard_A3', 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', - * 'Standard_A8', 'Standard_A9', 'Standard_A10', 'Standard_A11', 'Standard_D1', - * 'Standard_D2', 'Standard_D3', 'Standard_D4', 'Standard_D11', 'Standard_D12', - * 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', 'Standard_D2_v2', - * 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2', - * 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_G1', - * 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_DS1', - * 'Standard_DS2', 'Standard_DS3', 'Standard_DS4', 'Standard_DS11', - * 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', 'Standard_GS1', - * 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AgentVMSizeTypes = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3', + * 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9', + * 'Standard_A10', 'Standard_A11', 'Standard_D1', 'Standard_D2', 'Standard_D3', 'Standard_D4', + * 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', + * 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2', + * 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_G1', 'Standard_G2', + * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', + * 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', + * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5' * @readonly * @enum {string} */ -export enum AgentVMSizeTypes { - StandardA0 = 'Standard_A0', - StandardA1 = 'Standard_A1', - StandardA2 = 'Standard_A2', - StandardA3 = 'Standard_A3', - StandardA4 = 'Standard_A4', - StandardA5 = 'Standard_A5', - StandardA6 = 'Standard_A6', - StandardA7 = 'Standard_A7', - StandardA8 = 'Standard_A8', - StandardA9 = 'Standard_A9', - StandardA10 = 'Standard_A10', - StandardA11 = 'Standard_A11', - StandardD1 = 'Standard_D1', - StandardD2 = 'Standard_D2', - StandardD3 = 'Standard_D3', - StandardD4 = 'Standard_D4', - StandardD11 = 'Standard_D11', - StandardD12 = 'Standard_D12', - StandardD13 = 'Standard_D13', - StandardD14 = 'Standard_D14', - StandardD1V2 = 'Standard_D1_v2', - StandardD2V2 = 'Standard_D2_v2', - StandardD3V2 = 'Standard_D3_v2', - StandardD4V2 = 'Standard_D4_v2', - StandardD5V2 = 'Standard_D5_v2', - StandardD11V2 = 'Standard_D11_v2', - StandardD12V2 = 'Standard_D12_v2', - StandardD13V2 = 'Standard_D13_v2', - StandardD14V2 = 'Standard_D14_v2', - StandardG1 = 'Standard_G1', - StandardG2 = 'Standard_G2', - StandardG3 = 'Standard_G3', - StandardG4 = 'Standard_G4', - StandardG5 = 'Standard_G5', - StandardDS1 = 'Standard_DS1', - StandardDS2 = 'Standard_DS2', - StandardDS3 = 'Standard_DS3', - StandardDS4 = 'Standard_DS4', - StandardDS11 = 'Standard_DS11', - StandardDS12 = 'Standard_DS12', - StandardDS13 = 'Standard_DS13', - StandardDS14 = 'Standard_DS14', - StandardGS1 = 'Standard_GS1', - StandardGS2 = 'Standard_GS2', - StandardGS3 = 'Standard_GS3', - StandardGS4 = 'Standard_GS4', - StandardGS5 = 'Standard_GS5', -} +export type AgentVMSizeTypes = 'Standard_A0' | 'Standard_A1' | 'Standard_A2' | 'Standard_A3' | 'Standard_A4' | 'Standard_A5' | 'Standard_A6' | 'Standard_A7' | 'Standard_A8' | 'Standard_A9' | 'Standard_A10' | 'Standard_A11' | 'Standard_D1' | 'Standard_D2' | 'Standard_D3' | 'Standard_D4' | 'Standard_D11' | 'Standard_D12' | 'Standard_D13' | 'Standard_D14' | 'Standard_D1_v2' | 'Standard_D2_v2' | 'Standard_D3_v2' | 'Standard_D4_v2' | 'Standard_D5_v2' | 'Standard_D11_v2' | 'Standard_D12_v2' | 'Standard_D13_v2' | 'Standard_D14_v2' | 'Standard_G1' | 'Standard_G2' | 'Standard_G3' | 'Standard_G4' | 'Standard_G5' | 'Standard_DS1' | 'Standard_DS2' | 'Standard_DS3' | 'Standard_DS4' | 'Standard_DS11' | 'Standard_DS12' | 'Standard_DS13' | 'Standard_DS14' | 'Standard_GS1' | 'Standard_GS2' | 'Standard_GS3' | 'Standard_GS4' | 'Standard_GS5'; /** * Defines values for Status. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Status = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Status { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type Status = 'Enabled' | 'Disabled'; /** * Defines values for UpdatesAvailable. * Possible values include: 'Yes', 'No' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UpdatesAvailable = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum UpdatesAvailable { - Yes = 'Yes', - No = 'No', -} +export type UpdatesAvailable = 'Yes' | 'No'; /** * Contains response data for the createOrUpdate operation. diff --git a/packages/@azure/arm-machinelearningcompute/lib/models/mappers.ts b/packages/@azure/arm-machinelearningcompute/lib/models/mappers.ts index 0072ce9ab1a5..676a985900a7 100644 --- a/packages/@azure/arm-machinelearningcompute/lib/models/mappers.ts +++ b/packages/@azure/arm-machinelearningcompute/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-machinelearningcompute/lib/models/parameters.ts b/packages/@azure/arm-machinelearningcompute/lib/models/parameters.ts index c012f3e21971..e1baf4acc033 100644 --- a/packages/@azure/arm-machinelearningcompute/lib/models/parameters.ts +++ b/packages/@azure/arm-machinelearningcompute/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-machinelearningcompute/lib/operations/machineLearningCompute.ts b/packages/@azure/arm-machinelearningcompute/lib/operations/machineLearningCompute.ts index 63cefbc1370a..16d818163e16 100644 --- a/packages/@azure/arm-machinelearningcompute/lib/operations/machineLearningCompute.ts +++ b/packages/@azure/arm-machinelearningcompute/lib/operations/machineLearningCompute.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/machineLearningComputeMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class MachineLearningCompute { * @param callback The callback */ listAvailableOperations(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAvailableOperations(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAvailableOperations(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-machinelearningcompute/lib/operations/operationalizationClusters.ts b/packages/@azure/arm-machinelearningcompute/lib/operations/operationalizationClusters.ts index ea7947a63641..437a34e6f2e2 100644 --- a/packages/@azure/arm-machinelearningcompute/lib/operations/operationalizationClusters.ts +++ b/packages/@azure/arm-machinelearningcompute/lib/operations/operationalizationClusters.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/operationalizationClustersMappers"; import * as Parameters from "../models/parameters"; @@ -62,7 +62,7 @@ export class OperationalizationClusters { * @param callback The callback */ get(resourceGroupName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -98,7 +98,7 @@ export class OperationalizationClusters { * @param callback The callback */ update(resourceGroupName: string, clusterName: string, parameters: Models.OperationalizationClusterUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, clusterName: string, parameters: Models.OperationalizationClusterUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, clusterName: string, parameters: Models.OperationalizationClusterUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -144,7 +144,7 @@ export class OperationalizationClusters { * @param callback The callback */ listKeys(resourceGroupName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -176,7 +176,7 @@ export class OperationalizationClusters { * @param callback The callback */ checkSystemServicesUpdatesAvailable(resourceGroupName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkSystemServicesUpdatesAvailable(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkSystemServicesUpdatesAvailable(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -217,7 +217,7 @@ export class OperationalizationClusters { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.OperationalizationClustersListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.OperationalizationClustersListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.OperationalizationClustersListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -242,7 +242,7 @@ export class OperationalizationClusters { * @param callback The callback */ listBySubscriptionId(options: Models.OperationalizationClustersListBySubscriptionIdOptionalParams, callback: msRest.ServiceCallback): void; - listBySubscriptionId(options?: Models.OperationalizationClustersListBySubscriptionIdOptionalParams, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionId(options?: Models.OperationalizationClustersListBySubscriptionIdOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -325,7 +325,7 @@ export class OperationalizationClusters { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -353,7 +353,7 @@ export class OperationalizationClusters { * @param callback The callback */ listBySubscriptionIdNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionIdNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionIdNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-machinelearningcompute/package.json b/packages/@azure/arm-machinelearningcompute/package.json index 9484875927b7..0f6e0ac9da50 100644 --- a/packages/@azure/arm-machinelearningcompute/package.json +++ b/packages/@azure/arm-machinelearningcompute/package.json @@ -4,8 +4,8 @@ "description": "MachineLearningComputeManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-machinelearningcompute.js.map'\" -o ./dist/arm-machinelearningcompute.min.js ./dist/arm-machinelearningcompute.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-machinelearningcompute/rollup.config.js b/packages/@azure/arm-machinelearningcompute/rollup.config.js index 299ff02ee623..c9a7714129f6 100644 --- a/packages/@azure/arm-machinelearningcompute/rollup.config.js +++ b/packages/@azure/arm-machinelearningcompute/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/machineLearningComputeManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-machinelearningcompute.js", format: "umd", name: "Azure.ArmMachinelearningcompute", 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-machinelearningcompute/tsconfig.esm.json b/packages/@azure/arm-machinelearningcompute/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-machinelearningcompute/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-machinelearningcompute/tsconfig.json b/packages/@azure/arm-machinelearningcompute/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-machinelearningcompute/tsconfig.json +++ b/packages/@azure/arm-machinelearningcompute/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-machinelearningcompute/webpack.config.js b/packages/@azure/arm-machinelearningcompute/webpack.config.js deleted file mode 100644 index 1270481682c7..000000000000 --- a/packages/@azure/arm-machinelearningcompute/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/machineLearningComputeManagementClient.js', - devtool: 'source-map', - output: { - filename: 'machineLearningComputeManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'machineLearningComputeManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-machinelearningexperimentation/.npmignore b/packages/@azure/arm-machinelearningexperimentation/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-machinelearningexperimentation/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-machinelearningexperimentation/README.md b/packages/@azure/arm-machinelearningexperimentation/README.md index c568e2b4b3d0..307d71afd092 100644 --- a/packages/@azure/arm-machinelearningexperimentation/README.md +++ b/packages/@azure/arm-machinelearningexperimentation/README.md @@ -1,24 +1,34 @@ -# Azure MLTeamAccountManagementClient SDK for JavaScript +## Azure MLTeamAccountManagementClient SDK for JavaScript + This package contains an isomorphic SDK for MLTeamAccountManagementClient. -## 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-machinelearningexperimentation ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { MLTeamAccountManagementClient, MLTeamAccountManagementModels, MLTeamAccountManagementMappers } from "@azure/arm-machinelearningexperimentation"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-machinelearningexperimentation 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-machinelearningexperimentation/lib/mLTeamAccountManagementClient.ts b/packages/@azure/arm-machinelearningexperimentation/lib/mLTeamAccountManagementClient.ts index dcdb412b4d35..32fbbae3b408 100644 --- a/packages/@azure/arm-machinelearningexperimentation/lib/mLTeamAccountManagementClient.ts +++ b/packages/@azure/arm-machinelearningexperimentation/lib/mLTeamAccountManagementClient.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-machinelearningexperimentation/lib/mLTeamAccountManagementClientContext.ts b/packages/@azure/arm-machinelearningexperimentation/lib/mLTeamAccountManagementClientContext.ts index d0fa5dbc8b8e..8c047305aa14 100644 --- a/packages/@azure/arm-machinelearningexperimentation/lib/mLTeamAccountManagementClientContext.ts +++ b/packages/@azure/arm-machinelearningexperimentation/lib/mLTeamAccountManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-machinelearningexperimentation"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class MLTeamAccountManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the MLTeamAccountManagementClient class. @@ -44,6 +37,11 @@ export class MLTeamAccountManagementClientContext extends msRestAzure.AzureServi if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-05-01-preview'; @@ -54,7 +52,6 @@ export class MLTeamAccountManagementClientContext extends msRestAzure.AzureServi this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-machinelearningexperimentation/lib/models/index.ts b/packages/@azure/arm-machinelearningexperimentation/lib/models/index.ts index 4d62a51f6796..49624c045245 100644 --- a/packages/@azure/arm-machinelearningexperimentation/lib/models/index.ts +++ b/packages/@azure/arm-machinelearningexperimentation/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -460,18 +460,11 @@ export interface ProjectListResult extends Array { /** * Defines values for ProvisioningState. - * Possible values include: 'Creating', 'Succeeded', 'Updating', 'Deleting', - * 'Failed' + * Possible values include: 'Creating', 'Succeeded', 'Updating', 'Deleting', 'Failed' * @readonly * @enum {string} */ -export enum ProvisioningState { - Creating = 'Creating', - Succeeded = 'Succeeded', - Updating = 'Updating', - Deleting = 'Deleting', - Failed = 'Failed', -} +export type ProvisioningState = 'Creating' | 'Succeeded' | 'Updating' | 'Deleting' | 'Failed'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-machinelearningexperimentation/lib/models/mappers.ts b/packages/@azure/arm-machinelearningexperimentation/lib/models/mappers.ts index 279555125eb9..e52a5deaf6b0 100644 --- a/packages/@azure/arm-machinelearningexperimentation/lib/models/mappers.ts +++ b/packages/@azure/arm-machinelearningexperimentation/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-machinelearningexperimentation/lib/models/parameters.ts b/packages/@azure/arm-machinelearningexperimentation/lib/models/parameters.ts index 6347dc50cda9..903e905f772f 100644 --- a/packages/@azure/arm-machinelearningexperimentation/lib/models/parameters.ts +++ b/packages/@azure/arm-machinelearningexperimentation/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-machinelearningexperimentation/lib/operations/accounts.ts b/packages/@azure/arm-machinelearningexperimentation/lib/operations/accounts.ts index b45dcb18ef7e..c3d638cab03e 100644 --- a/packages/@azure/arm-machinelearningexperimentation/lib/operations/accounts.ts +++ b/packages/@azure/arm-machinelearningexperimentation/lib/operations/accounts.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/accountsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Accounts { * @param callback The callback */ get(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -88,7 +88,7 @@ export class Accounts { * @param callback The callback */ createOrUpdate(resourceGroupName: string, accountName: string, parameters: Models.Account, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, accountName: string, parameters: Models.Account, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, accountName: string, parameters: Models.Account, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -124,7 +124,7 @@ export class Accounts { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class Accounts { * @param callback The callback */ update(resourceGroupName: string, accountName: string, parameters: Models.AccountUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, parameters: Models.AccountUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, parameters: Models.AccountUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -195,7 +195,7 @@ export class Accounts { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -220,7 +220,7 @@ export class Accounts { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -247,7 +247,7 @@ export class Accounts { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -275,7 +275,7 @@ export class Accounts { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-machinelearningexperimentation/lib/operations/operations.ts b/packages/@azure/arm-machinelearningexperimentation/lib/operations/operations.ts index c20024432e42..dc476a7e605a 100644 --- a/packages/@azure/arm-machinelearningexperimentation/lib/operations/operations.ts +++ b/packages/@azure/arm-machinelearningexperimentation/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-machinelearningexperimentation/lib/operations/projects.ts b/packages/@azure/arm-machinelearningexperimentation/lib/operations/projects.ts index 6b68d3aeb964..866d0d07c5b4 100644 --- a/packages/@azure/arm-machinelearningexperimentation/lib/operations/projects.ts +++ b/packages/@azure/arm-machinelearningexperimentation/lib/operations/projects.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/projectsMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class Projects { * @param callback The callback */ get(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -102,7 +102,7 @@ export class Projects { * @param callback The callback */ createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.Project, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.Project, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.Project, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -146,7 +146,7 @@ export class Projects { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -192,7 +192,7 @@ export class Projects { * @param callback The callback */ update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.ProjectUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.ProjectUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.ProjectUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -233,7 +233,7 @@ export class Projects { * @param callback The callback */ listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { accountName, @@ -263,7 +263,7 @@ export class Projects { * @param callback The callback */ listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-machinelearningexperimentation/lib/operations/workspaces.ts b/packages/@azure/arm-machinelearningexperimentation/lib/operations/workspaces.ts index 24d59b7d6de1..2410c9674b77 100644 --- a/packages/@azure/arm-machinelearningexperimentation/lib/operations/workspaces.ts +++ b/packages/@azure/arm-machinelearningexperimentation/lib/operations/workspaces.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/workspacesMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class Workspaces { * @param callback The callback */ get(resourceGroupName: string, accountName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -95,7 +95,7 @@ export class Workspaces { * @param callback The callback */ createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Models.Workspace, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Models.Workspace, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Models.Workspace, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -135,7 +135,7 @@ export class Workspaces { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -177,7 +177,7 @@ export class Workspaces { * @param callback The callback */ update(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -214,7 +214,7 @@ export class Workspaces { * @param callback The callback */ listByAccounts(accountName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAccounts(accountName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAccounts(accountName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { accountName, @@ -243,7 +243,7 @@ export class Workspaces { * @param callback The callback */ listByAccountsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAccountsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAccountsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-machinelearningexperimentation/package.json b/packages/@azure/arm-machinelearningexperimentation/package.json index 424e6b0a03d8..b2240bb7ef7c 100644 --- a/packages/@azure/arm-machinelearningexperimentation/package.json +++ b/packages/@azure/arm-machinelearningexperimentation/package.json @@ -4,8 +4,8 @@ "description": "MLTeamAccountManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-machinelearningexperimentation.js.map'\" -o ./dist/arm-machinelearningexperimentation.min.js ./dist/arm-machinelearningexperimentation.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-machinelearningexperimentation/rollup.config.js b/packages/@azure/arm-machinelearningexperimentation/rollup.config.js index aa8e77e6e1b8..56c1614af7f6 100644 --- a/packages/@azure/arm-machinelearningexperimentation/rollup.config.js +++ b/packages/@azure/arm-machinelearningexperimentation/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/mLTeamAccountManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-machinelearningexperimentation.js", format: "umd", name: "Azure.ArmMachinelearningexperimentation", 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-machinelearningexperimentation/tsconfig.json b/packages/@azure/arm-machinelearningexperimentation/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-machinelearningexperimentation/tsconfig.json +++ b/packages/@azure/arm-machinelearningexperimentation/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-machinelearningservices/.npmignore b/packages/@azure/arm-machinelearningservices/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-machinelearningservices/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-machinelearningservices/README.md b/packages/@azure/arm-machinelearningservices/README.md index a43682a59823..cbd68f09b32a 100644 --- a/packages/@azure/arm-machinelearningservices/README.md +++ b/packages/@azure/arm-machinelearningservices/README.md @@ -1,24 +1,34 @@ -# Azure AzureMachineLearningWorkspaces SDK for JavaScript +## Azure AzureMachineLearningWorkspaces SDK for JavaScript + This package contains an isomorphic SDK for AzureMachineLearningWorkspaces. -## 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-machinelearningservices ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { AzureMachineLearningWorkspaces, AzureMachineLearningWorkspacesModels, AzureMachineLearningWorkspacesMappers } from "@azure/arm-machinelearningservices"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-machinelearningservices 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-machinelearningservices/lib/azureMachineLearningWorkspaces.ts b/packages/@azure/arm-machinelearningservices/lib/azureMachineLearningWorkspaces.ts index 5fca0e9d7187..e021f907b8b2 100644 --- a/packages/@azure/arm-machinelearningservices/lib/azureMachineLearningWorkspaces.ts +++ b/packages/@azure/arm-machinelearningservices/lib/azureMachineLearningWorkspaces.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-machinelearningservices/lib/azureMachineLearningWorkspacesContext.ts b/packages/@azure/arm-machinelearningservices/lib/azureMachineLearningWorkspacesContext.ts index 08cd553a8269..6b0d543270a9 100644 --- a/packages/@azure/arm-machinelearningservices/lib/azureMachineLearningWorkspacesContext.ts +++ b/packages/@azure/arm-machinelearningservices/lib/azureMachineLearningWorkspacesContext.ts @@ -9,23 +9,16 @@ */ 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-machinelearningservices"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class AzureMachineLearningWorkspacesContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the AzureMachineLearningWorkspaces class. @@ -44,6 +37,11 @@ export class AzureMachineLearningWorkspacesContext extends msRestAzure.AzureServ if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-03-01-preview'; @@ -54,7 +52,6 @@ export class AzureMachineLearningWorkspacesContext extends msRestAzure.AzureServ this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-machinelearningservices/lib/models/index.ts b/packages/@azure/arm-machinelearningservices/lib/models/index.ts index f7408030e2cc..a8edc6443acb 100644 --- a/packages/@azure/arm-machinelearningservices/lib/models/index.ts +++ b/packages/@azure/arm-machinelearningservices/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1131,25 +1131,12 @@ export interface PaginatedComputeResourcesList extends Array { /** * Defines values for ProvisioningState. - * Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', - * 'Succeeded', 'Failed', 'Canceled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', + * 'Canceled' * @readonly * @enum {string} */ -export enum ProvisioningState { - Unknown = 'Unknown', - Updating = 'Updating', - Creating = 'Creating', - Deleting = 'Deleting', - Succeeded = 'Succeeded', - Failed = 'Failed', - Canceled = 'Canceled', -} +export type ProvisioningState = 'Unknown' | 'Updating' | 'Creating' | 'Deleting' | 'Succeeded' | 'Failed' | 'Canceled'; /** * Defines values for ResourceIdentityType. @@ -1157,44 +1144,23 @@ export enum ProvisioningState { * @readonly * @enum {string} */ -export enum ResourceIdentityType { - SystemAssigned = 'SystemAssigned', -} +export type ResourceIdentityType = 'SystemAssigned'; /** * Defines values for ComputeType. - * Possible values include: 'AKS', 'BatchAI', 'DataFactory', 'VirtualMachine', - * 'HDInsight' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ComputeType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'AKS', 'BatchAI', 'DataFactory', 'VirtualMachine', 'HDInsight' * @readonly * @enum {string} */ -export enum ComputeType { - AKS = 'AKS', - BatchAI = 'BatchAI', - DataFactory = 'DataFactory', - VirtualMachine = 'VirtualMachine', - HDInsight = 'HDInsight', -} +export type ComputeType = 'AKS' | 'BatchAI' | 'DataFactory' | 'VirtualMachine' | 'HDInsight'; /** * Defines values for Status. * Possible values include: 'Disabled', 'Enabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Status = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Status { - Disabled = 'Disabled', - Enabled = 'Enabled', -} +export type Status = 'Disabled' | 'Enabled'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-machinelearningservices/lib/models/mappers.ts b/packages/@azure/arm-machinelearningservices/lib/models/mappers.ts index 2bdcb32e4133..d2610660d4e9 100644 --- a/packages/@azure/arm-machinelearningservices/lib/models/mappers.ts +++ b/packages/@azure/arm-machinelearningservices/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -534,11 +534,6 @@ export const ComputeResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType" - }, - uberParent: "Compute", className: "Compute" } } diff --git a/packages/@azure/arm-machinelearningservices/lib/models/parameters.ts b/packages/@azure/arm-machinelearningservices/lib/models/parameters.ts index 0a3ef03fa5db..52426ab7b3f4 100644 --- a/packages/@azure/arm-machinelearningservices/lib/models/parameters.ts +++ b/packages/@azure/arm-machinelearningservices/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-machinelearningservices/lib/operations/machineLearningCompute.ts b/packages/@azure/arm-machinelearningservices/lib/operations/machineLearningCompute.ts index 3df9dd59269c..340bad7fcf29 100644 --- a/packages/@azure/arm-machinelearningservices/lib/operations/machineLearningCompute.ts +++ b/packages/@azure/arm-machinelearningservices/lib/operations/machineLearningCompute.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/machineLearningComputeMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class MachineLearningCompute { * @param callback The callback */ listByWorkspace(resourceGroupName: string, workspaceName: string, options: Models.MachineLearningComputeListByWorkspaceOptionalParams, callback: msRest.ServiceCallback): void; - listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.MachineLearningComputeListByWorkspaceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.MachineLearningComputeListByWorkspaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -84,7 +84,7 @@ export class MachineLearningCompute { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, computeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, computeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, computeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class MachineLearningCompute { * @param callback The callback */ listKeys(resourceGroupName: string, workspaceName: string, computeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, workspaceName: string, computeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, workspaceName: string, computeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -256,7 +256,7 @@ export class MachineLearningCompute { * @param callback The callback */ listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-machinelearningservices/lib/operations/operations.ts b/packages/@azure/arm-machinelearningservices/lib/operations/operations.ts index 207e95d30d4a..8449f8983144 100644 --- a/packages/@azure/arm-machinelearningservices/lib/operations/operations.ts +++ b/packages/@azure/arm-machinelearningservices/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-machinelearningservices/lib/operations/workspaces.ts b/packages/@azure/arm-machinelearningservices/lib/operations/workspaces.ts index 0af583ac7e35..4f9cbb878a71 100644 --- a/packages/@azure/arm-machinelearningservices/lib/operations/workspaces.ts +++ b/packages/@azure/arm-machinelearningservices/lib/operations/workspaces.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/workspacesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Workspaces { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class Workspaces { * @param callback The callback */ createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.Workspace, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.Workspace, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.Workspace, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -115,7 +115,7 @@ export class Workspaces { * @param callback The callback */ deleteMethod(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -150,7 +150,7 @@ export class Workspaces { * @param callback The callback */ update(resourceGroupName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -180,7 +180,7 @@ export class Workspaces { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.WorkspacesListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.WorkspacesListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.WorkspacesListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -212,7 +212,7 @@ export class Workspaces { * @param callback The callback */ listKeys(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -245,7 +245,7 @@ export class Workspaces { * @param callback The callback */ resyncKeys(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - resyncKeys(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + resyncKeys(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -271,7 +271,7 @@ export class Workspaces { * @param callback The callback */ listBySubscription(options: Models.WorkspacesListBySubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - listBySubscription(options?: Models.WorkspacesListBySubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: Models.WorkspacesListBySubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -298,7 +298,7 @@ export class Workspaces { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -326,7 +326,7 @@ export class Workspaces { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-machinelearningservices/package.json b/packages/@azure/arm-machinelearningservices/package.json index 1d33d5458fc6..0a8a8fa63c4e 100644 --- a/packages/@azure/arm-machinelearningservices/package.json +++ b/packages/@azure/arm-machinelearningservices/package.json @@ -4,8 +4,8 @@ "description": "AzureMachineLearningWorkspaces Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-machinelearningservices.js.map'\" -o ./dist/arm-machinelearningservices.min.js ./dist/arm-machinelearningservices.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-machinelearningservices/rollup.config.js b/packages/@azure/arm-machinelearningservices/rollup.config.js index 115f0c63adac..8e10c7141784 100644 --- a/packages/@azure/arm-machinelearningservices/rollup.config.js +++ b/packages/@azure/arm-machinelearningservices/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/azureMachineLearningWorkspaces.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-machinelearningservices.js", format: "umd", name: "Azure.ArmMachinelearningservices", 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-machinelearningservices/tsconfig.esm.json b/packages/@azure/arm-machinelearningservices/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-machinelearningservices/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-machinelearningservices/tsconfig.json b/packages/@azure/arm-machinelearningservices/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-machinelearningservices/tsconfig.json +++ b/packages/@azure/arm-machinelearningservices/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-machinelearningservices/webpack.config.js b/packages/@azure/arm-machinelearningservices/webpack.config.js deleted file mode 100644 index cde45b128ae9..000000000000 --- a/packages/@azure/arm-machinelearningservices/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/azureMachineLearningWorkspaces.js', - devtool: 'source-map', - output: { - filename: 'azureMachineLearningWorkspacesBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'azureMachineLearningWorkspaces' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-managedapplications/.npmignore b/packages/@azure/arm-managedapplications/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-managedapplications/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-managedapplications/README.md b/packages/@azure/arm-managedapplications/README.md index 2bb1093df9ed..8a22f853cd1d 100644 --- a/packages/@azure/arm-managedapplications/README.md +++ b/packages/@azure/arm-managedapplications/README.md @@ -1,24 +1,34 @@ -# Azure ManagedApplicationClient SDK for JavaScript +## Azure ManagedApplicationClient SDK for JavaScript + This package contains an isomorphic SDK for ManagedApplicationClient. -## 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-managedapplications ``` +### How to use + +#### nodejs - Authentication, client creation and listOperations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and listOperations as an example written in TypeScript. +##### Sample code ```ts -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 { ManagedApplicationClient, ManagedApplicationModels, ManagedApplicationMappers } from "@azure/arm-managedapplications"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and listOperations as an example written in JavaScript. +#### browser - Authentication, client creation and listOperations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-managedapplications 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-managedapplications/lib/managedApplicationClient.ts b/packages/@azure/arm-managedapplications/lib/managedApplicationClient.ts index e803ffd8a89c..2897a8be4c98 100644 --- a/packages/@azure/arm-managedapplications/lib/managedApplicationClient.ts +++ b/packages/@azure/arm-managedapplications/lib/managedApplicationClient.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 Parameters from "./models/parameters"; @@ -48,7 +48,7 @@ class ManagedApplicationClient extends ManagedApplicationClientContext { * @param callback The callback */ listOperations(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOperations(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOperations(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -75,7 +75,7 @@ class ManagedApplicationClient extends ManagedApplicationClientContext { * @param callback The callback */ listOperationsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOperationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOperationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-managedapplications/lib/managedApplicationClientContext.ts b/packages/@azure/arm-managedapplications/lib/managedApplicationClientContext.ts index e5a07f051f8d..6d3b6f483091 100644 --- a/packages/@azure/arm-managedapplications/lib/managedApplicationClientContext.ts +++ b/packages/@azure/arm-managedapplications/lib/managedApplicationClientContext.ts @@ -9,23 +9,16 @@ */ 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-managedapplications"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class ManagedApplicationClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the ManagedApplicationClient class. @@ -44,6 +37,11 @@ export class ManagedApplicationClientContext extends msRestAzure.AzureServiceCli if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2016-09-01-preview'; @@ -54,7 +52,6 @@ export class ManagedApplicationClientContext extends msRestAzure.AzureServiceCli this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-managedapplications/lib/models/index.ts b/packages/@azure/arm-managedapplications/lib/models/index.ts index 63986cba835f..ff12cd0b8397 100644 --- a/packages/@azure/arm-managedapplications/lib/models/index.ts +++ b/packages/@azure/arm-managedapplications/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -535,30 +535,12 @@ export interface ApplianceDefinitionListResult extends Array"someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Accepted', 'Running', 'Ready', 'Creating', 'Created', 'Deleting', + * 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating' * @readonly * @enum {string} */ -export enum ProvisioningState { - Accepted = 'Accepted', - Running = 'Running', - Ready = 'Ready', - Creating = 'Creating', - Created = 'Created', - Deleting = 'Deleting', - Deleted = 'Deleted', - Canceled = 'Canceled', - Failed = 'Failed', - Succeeded = 'Succeeded', - Updating = 'Updating', -} +export type ProvisioningState = 'Accepted' | 'Running' | 'Ready' | 'Creating' | 'Created' | 'Deleting' | 'Deleted' | 'Canceled' | 'Failed' | 'Succeeded' | 'Updating'; /** * Defines values for ApplianceLockLevel. @@ -566,11 +548,7 @@ export enum ProvisioningState { * @readonly * @enum {string} */ -export enum ApplianceLockLevel { - CanNotDelete = 'CanNotDelete', - ReadOnly = 'ReadOnly', - None = 'None', -} +export type ApplianceLockLevel = 'CanNotDelete' | 'ReadOnly' | 'None'; /** * Defines values for ApplianceArtifactType. @@ -578,10 +556,7 @@ export enum ApplianceLockLevel { * @readonly * @enum {string} */ -export enum ApplianceArtifactType { - Template = 'Template', - Custom = 'Custom', -} +export type ApplianceArtifactType = 'Template' | 'Custom'; /** * Defines values for ResourceIdentityType. @@ -589,9 +564,7 @@ export enum ApplianceArtifactType { * @readonly * @enum {string} */ -export enum ResourceIdentityType { - SystemAssigned = 'SystemAssigned', -} +export type ResourceIdentityType = 'SystemAssigned'; /** * Contains response data for the listOperations operation. diff --git a/packages/@azure/arm-managedapplications/lib/models/mappers.ts b/packages/@azure/arm-managedapplications/lib/models/mappers.ts index 4ff607848751..9a6f25a55512 100644 --- a/packages/@azure/arm-managedapplications/lib/models/mappers.ts +++ b/packages/@azure/arm-managedapplications/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-managedapplications/lib/models/parameters.ts b/packages/@azure/arm-managedapplications/lib/models/parameters.ts index c5f44fd8c28e..571c4b265cc8 100644 --- a/packages/@azure/arm-managedapplications/lib/models/parameters.ts +++ b/packages/@azure/arm-managedapplications/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-managedapplications/lib/operations/applianceDefinitions.ts b/packages/@azure/arm-managedapplications/lib/operations/applianceDefinitions.ts index bf994fef1344..c8143c9644b7 100644 --- a/packages/@azure/arm-managedapplications/lib/operations/applianceDefinitions.ts +++ b/packages/@azure/arm-managedapplications/lib/operations/applianceDefinitions.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/applianceDefinitionsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class ApplianceDefinitions { * @param callback The callback */ get(resourceGroupName: string, applianceDefinitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, applianceDefinitionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, applianceDefinitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -102,7 +102,7 @@ export class ApplianceDefinitions { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -136,7 +136,7 @@ export class ApplianceDefinitions { * @param callback The callback */ getById(applianceDefinitionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getById(applianceDefinitionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getById(applianceDefinitionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applianceDefinitionId, @@ -267,7 +267,7 @@ export class ApplianceDefinitions { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-managedapplications/lib/operations/appliances.ts b/packages/@azure/arm-managedapplications/lib/operations/appliances.ts index 911d1f1b8ed8..0064b4426553 100644 --- a/packages/@azure/arm-managedapplications/lib/operations/appliances.ts +++ b/packages/@azure/arm-managedapplications/lib/operations/appliances.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/appliancesMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Appliances { * @param callback The callback */ get(resourceGroupName: string, applianceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, applianceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, applianceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -106,7 +106,7 @@ export class Appliances { * @param callback The callback */ update(resourceGroupName: string, applianceName: string, options: Models.AppliancesUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, applianceName: string, options?: Models.AppliancesUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, applianceName: string, options?: Models.AppliancesUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -135,7 +135,7 @@ export class Appliances { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -160,7 +160,7 @@ export class Appliances { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -193,7 +193,7 @@ export class Appliances { * @param callback The callback */ getById(applianceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getById(applianceId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getById(applianceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applianceId, @@ -255,7 +255,7 @@ export class Appliances { * @param callback The callback */ updateById(applianceId: string, options: Models.AppliancesUpdateByIdOptionalParams, callback: msRest.ServiceCallback): void; - updateById(applianceId: string, options?: Models.AppliancesUpdateByIdOptionalParams, callback?: msRest.ServiceCallback): Promise { + updateById(applianceId: string, options?: Models.AppliancesUpdateByIdOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applianceId, @@ -359,7 +359,7 @@ export class Appliances { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -387,7 +387,7 @@ export class Appliances { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-managedapplications/package.json b/packages/@azure/arm-managedapplications/package.json index c1ca4ac7d63a..1d8d2bf9f9d0 100644 --- a/packages/@azure/arm-managedapplications/package.json +++ b/packages/@azure/arm-managedapplications/package.json @@ -4,8 +4,8 @@ "description": "ManagedApplicationClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-managedapplications.js.map'\" -o ./dist/arm-managedapplications.min.js ./dist/arm-managedapplications.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-managedapplications/rollup.config.js b/packages/@azure/arm-managedapplications/rollup.config.js index d2598f4dde7e..fda900d60a0f 100644 --- a/packages/@azure/arm-managedapplications/rollup.config.js +++ b/packages/@azure/arm-managedapplications/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/managedApplicationClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-managedapplications.js", format: "umd", name: "Azure.ArmManagedapplications", 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-managedapplications/tsconfig.json b/packages/@azure/arm-managedapplications/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-managedapplications/tsconfig.json +++ b/packages/@azure/arm-managedapplications/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-managementgroups/.npmignore b/packages/@azure/arm-managementgroups/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-managementgroups/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-managementgroups/README.md b/packages/@azure/arm-managementgroups/README.md index 7c03c0e68fc1..c320c11a0e6c 100644 --- a/packages/@azure/arm-managementgroups/README.md +++ b/packages/@azure/arm-managementgroups/README.md @@ -1,24 +1,34 @@ -# Azure ManagementGroupsAPI SDK for JavaScript +## Azure ManagementGroupsAPI SDK for JavaScript + This package contains an isomorphic SDK for ManagementGroupsAPI. -## 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-managementgroups ``` +### How to use + +#### nodejs - Authentication, client creation and list managementGroups as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list managementGroups as an example written in TypeScript. +##### Sample code ```ts -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 { ManagementGroupsAPI, ManagementGroupsAPIModels, ManagementGroupsAPIMappers } from "@azure/arm-managementgroups"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list managementGroups as an example written in JavaScript. +#### browser - Authentication, client creation and list managementGroups as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-managementgroups 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-managementgroups/lib/managementGroupsAPI.ts b/packages/@azure/arm-managementgroups/lib/managementGroupsAPI.ts index f2142ce2c5bc..fb708d943018 100644 --- a/packages/@azure/arm-managementgroups/lib/managementGroupsAPI.ts +++ b/packages/@azure/arm-managementgroups/lib/managementGroupsAPI.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 Parameters from "./models/parameters"; @@ -54,7 +54,7 @@ class ManagementGroupsAPI extends ManagementGroupsAPIContext { * @param callback The callback */ checkNameAvailability(checkNameAvailabilityRequest: Models.CheckNameAvailabilityRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(checkNameAvailabilityRequest: Models.CheckNameAvailabilityRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(checkNameAvailabilityRequest: Models.CheckNameAvailabilityRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { checkNameAvailabilityRequest, @@ -79,7 +79,7 @@ class ManagementGroupsAPI extends ManagementGroupsAPIContext { * @param callback The callback */ startTenantBackfill(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - startTenantBackfill(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + startTenantBackfill(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -103,7 +103,7 @@ class ManagementGroupsAPI extends ManagementGroupsAPIContext { * @param callback The callback */ tenantBackfillStatus(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - tenantBackfillStatus(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + tenantBackfillStatus(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options diff --git a/packages/@azure/arm-managementgroups/lib/managementGroupsAPIContext.ts b/packages/@azure/arm-managementgroups/lib/managementGroupsAPIContext.ts index 59659b200a94..d50989717ea4 100644 --- a/packages/@azure/arm-managementgroups/lib/managementGroupsAPIContext.ts +++ b/packages/@azure/arm-managementgroups/lib/managementGroupsAPIContext.ts @@ -9,21 +9,15 @@ */ 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-managementgroups"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class ManagementGroupsAPIContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the ManagementGroupsAPI class. @@ -38,6 +32,11 @@ export class ManagementGroupsAPIContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-03-01-preview'; @@ -47,7 +46,6 @@ export class ManagementGroupsAPIContext extends msRestAzure.AzureServiceClient { this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-managementgroups/lib/models/index.ts b/packages/@azure/arm-managementgroups/lib/models/index.ts index 7643b1db9f94..882699ae9822 100644 --- a/packages/@azure/arm-managementgroups/lib/models/index.ts +++ b/packages/@azure/arm-managementgroups/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1080,26 +1080,16 @@ export interface EntityListResult extends Array { * @readonly * @enum {string} */ -export enum Reason { - Invalid = 'Invalid', - AlreadyExists = 'AlreadyExists', -} +export type Reason = 'Invalid' | 'AlreadyExists'; /** * Defines values for Status. - * Possible values include: 'NotStarted', 'NotStartedButGroupsExist', - * 'Started', 'Failed', 'Cancelled', 'Completed' + * Possible values include: 'NotStarted', 'NotStartedButGroupsExist', 'Started', 'Failed', + * 'Cancelled', 'Completed' * @readonly * @enum {string} */ -export enum Status { - NotStarted = 'NotStarted', - NotStartedButGroupsExist = 'NotStartedButGroupsExist', - Started = 'Started', - Failed = 'Failed', - Cancelled = 'Cancelled', - Completed = 'Completed', -} +export type Status = 'NotStarted' | 'NotStartedButGroupsExist' | 'Started' | 'Failed' | 'Cancelled' | 'Completed'; /** * Defines values for Type. @@ -1107,161 +1097,80 @@ export enum Status { * @readonly * @enum {string} */ -export enum Type { - ProvidersMicrosoftManagementmanagementGroups = '/providers/Microsoft.Management/managementGroups', -} +export type Type = '/providers/Microsoft.Management/managementGroups'; /** * Defines values for Type1. - * Possible values include: '/providers/Microsoft.Management/managementGroups', - * '/subscriptions' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Type1 = "someUnknownValueThatWillStillBeValid"; + * Possible values include: '/providers/Microsoft.Management/managementGroups', '/subscriptions' * @readonly * @enum {string} */ -export enum Type1 { - ProvidersMicrosoftManagementmanagementGroups = '/providers/Microsoft.Management/managementGroups', - Subscriptions = '/subscriptions', -} +export type Type1 = '/providers/Microsoft.Management/managementGroups' | '/subscriptions'; /** * Defines values for ProvisioningState. * Possible values include: 'Updating' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ProvisioningState { - Updating = 'Updating', -} +export type ProvisioningState = 'Updating'; /** * Defines values for Permissions. * Possible values include: 'noaccess', 'view', 'edit', 'delete' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Permissions = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Permissions { - Noaccess = 'noaccess', - View = 'view', - Edit = 'edit', - Delete = 'delete', -} +export type Permissions = 'noaccess' | 'view' | 'edit' | 'delete'; /** * Defines values for InheritedPermissions. * Possible values include: 'noaccess', 'view', 'edit', 'delete' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: InheritedPermissions = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum InheritedPermissions { - Noaccess = 'noaccess', - View = 'view', - Edit = 'edit', - Delete = 'delete', -} +export type InheritedPermissions = 'noaccess' | 'view' | 'edit' | 'delete'; /** * Defines values for Permissions1. * Possible values include: 'noaccess', 'view', 'edit', 'delete' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Permissions1 = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Permissions1 { - Noaccess = 'noaccess', - View = 'view', - Edit = 'edit', - Delete = 'delete', -} +export type Permissions1 = 'noaccess' | 'view' | 'edit' | 'delete'; /** * Defines values for Type2. - * Possible values include: '/providers/Microsoft.Management/managementGroups', - * '/subscriptions' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Type2 = "someUnknownValueThatWillStillBeValid"; + * Possible values include: '/providers/Microsoft.Management/managementGroups', '/subscriptions' * @readonly * @enum {string} */ -export enum Type2 { - ProvidersMicrosoftManagementmanagementGroups = '/providers/Microsoft.Management/managementGroups', - Subscriptions = '/subscriptions', -} +export type Type2 = '/providers/Microsoft.Management/managementGroups' | '/subscriptions'; /** * Defines values for Expand. * Possible values include: 'children' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Expand = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Expand { - Children = 'children', -} +export type Expand = 'children'; /** * Defines values for Search. - * Possible values include: 'AllowedParents', 'AllowedChildren', - * 'ParentAndFirstLevelChildren', 'ParentOnly', 'ChildrenOnly' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Search = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'AllowedParents', 'AllowedChildren', 'ParentAndFirstLevelChildren', + * 'ParentOnly', 'ChildrenOnly' * @readonly * @enum {string} */ -export enum Search { - AllowedParents = 'AllowedParents', - AllowedChildren = 'AllowedChildren', - ParentAndFirstLevelChildren = 'ParentAndFirstLevelChildren', - ParentOnly = 'ParentOnly', - ChildrenOnly = 'ChildrenOnly', -} +export type Search = 'AllowedParents' | 'AllowedChildren' | 'ParentAndFirstLevelChildren' | 'ParentOnly' | 'ChildrenOnly'; /** * Defines values for View. - * Possible values include: 'FullHierarchy', 'GroupsOnly', 'SubscriptionsOnly', - * 'Audit' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: View = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'FullHierarchy', 'GroupsOnly', 'SubscriptionsOnly', 'Audit' * @readonly * @enum {string} */ -export enum View { - FullHierarchy = 'FullHierarchy', - GroupsOnly = 'GroupsOnly', - SubscriptionsOnly = 'SubscriptionsOnly', - Audit = 'Audit', -} +export type View = 'FullHierarchy' | 'GroupsOnly' | 'SubscriptionsOnly' | 'Audit'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-managementgroups/lib/models/mappers.ts b/packages/@azure/arm-managementgroups/lib/models/mappers.ts index 9ed8936ce6dd..4526d490119f 100644 --- a/packages/@azure/arm-managementgroups/lib/models/mappers.ts +++ b/packages/@azure/arm-managementgroups/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-managementgroups/lib/models/parameters.ts b/packages/@azure/arm-managementgroups/lib/models/parameters.ts index 2effc176d1c7..c94a3fc9c620 100644 --- a/packages/@azure/arm-managementgroups/lib/models/parameters.ts +++ b/packages/@azure/arm-managementgroups/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-managementgroups/lib/operations/entities.ts b/packages/@azure/arm-managementgroups/lib/operations/entities.ts index 9f2a42f90548..c9f41620be8c 100644 --- a/packages/@azure/arm-managementgroups/lib/operations/entities.ts +++ b/packages/@azure/arm-managementgroups/lib/operations/entities.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/entitiesMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class Entities { * @param callback The callback */ list(options: Models.EntitiesListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.EntitiesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.EntitiesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Entities { * @param callback The callback */ listNext(nextPageLink: string, options: Models.EntitiesListNextOptionalParams, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: Models.EntitiesListNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: Models.EntitiesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-managementgroups/lib/operations/managementGroupSubscriptions.ts b/packages/@azure/arm-managementgroups/lib/operations/managementGroupSubscriptions.ts index 098ba9b801c3..bc93eaddafa2 100644 --- a/packages/@azure/arm-managementgroups/lib/operations/managementGroupSubscriptions.ts +++ b/packages/@azure/arm-managementgroups/lib/operations/managementGroupSubscriptions.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/managementGroupSubscriptionsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class ManagementGroupSubscriptions { * @param callback The callback */ create(groupId: string, subscriptionId: string, options: Models.ManagementGroupSubscriptionsCreateOptionalParams, callback: msRest.ServiceCallback): void; - create(groupId: string, subscriptionId: string, options?: Models.ManagementGroupSubscriptionsCreateOptionalParams, callback?: msRest.ServiceCallback): Promise { + create(groupId: string, subscriptionId: string, options?: Models.ManagementGroupSubscriptionsCreateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { groupId, @@ -79,7 +79,7 @@ export class ManagementGroupSubscriptions { * @param callback The callback */ deleteMethod(groupId: string, subscriptionId: string, options: Models.ManagementGroupSubscriptionsDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(groupId: string, subscriptionId: string, options?: Models.ManagementGroupSubscriptionsDeleteMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteMethod(groupId: string, subscriptionId: string, options?: Models.ManagementGroupSubscriptionsDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { groupId, diff --git a/packages/@azure/arm-managementgroups/lib/operations/managementGroups.ts b/packages/@azure/arm-managementgroups/lib/operations/managementGroups.ts index f3d58da35c6a..5184f89175ae 100644 --- a/packages/@azure/arm-managementgroups/lib/operations/managementGroups.ts +++ b/packages/@azure/arm-managementgroups/lib/operations/managementGroups.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/managementGroupsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class ManagementGroups { * @param callback The callback */ list(options: Models.ManagementGroupsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.ManagementGroupsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.ManagementGroupsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -69,7 +69,7 @@ export class ManagementGroups { * @param callback The callback */ get(groupId: string, options: Models.ManagementGroupsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(groupId: string, options?: Models.ManagementGroupsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(groupId: string, options?: Models.ManagementGroupsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { groupId, @@ -114,7 +114,7 @@ export class ManagementGroups { * @param callback The callback */ update(groupId: string, patchGroupRequest: Models.PatchManagementGroupRequest, options: Models.ManagementGroupsUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(groupId: string, patchGroupRequest: Models.PatchManagementGroupRequest, options?: Models.ManagementGroupsUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(groupId: string, patchGroupRequest: Models.PatchManagementGroupRequest, options?: Models.ManagementGroupsUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { groupId, @@ -190,7 +190,7 @@ export class ManagementGroups { * @param callback The callback */ listNext(nextPageLink: string, options: Models.ManagementGroupsListNextOptionalParams, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: Models.ManagementGroupsListNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: Models.ManagementGroupsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-managementgroups/lib/operations/operations.ts b/packages/@azure/arm-managementgroups/lib/operations/operations.ts index 8062e324f352..fd5186a3ccdb 100644 --- a/packages/@azure/arm-managementgroups/lib/operations/operations.ts +++ b/packages/@azure/arm-managementgroups/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-managementgroups/package.json b/packages/@azure/arm-managementgroups/package.json index a8dc5e3b3c29..f2022942bb7c 100644 --- a/packages/@azure/arm-managementgroups/package.json +++ b/packages/@azure/arm-managementgroups/package.json @@ -4,8 +4,8 @@ "description": "ManagementGroupsAPI Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-managementgroups.js.map'\" -o ./dist/arm-managementgroups.min.js ./dist/arm-managementgroups.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-managementgroups/rollup.config.js b/packages/@azure/arm-managementgroups/rollup.config.js index 2ce1f1856aba..66567ccb2196 100644 --- a/packages/@azure/arm-managementgroups/rollup.config.js +++ b/packages/@azure/arm-managementgroups/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/managementGroupsAPI.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-managementgroups.js", format: "umd", name: "Azure.ArmManagementgroups", 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-managementgroups/tsconfig.json b/packages/@azure/arm-managementgroups/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-managementgroups/tsconfig.json +++ b/packages/@azure/arm-managementgroups/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-managementpartner/.npmignore b/packages/@azure/arm-managementpartner/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-managementpartner/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-managementpartner/README.md b/packages/@azure/arm-managementpartner/README.md index 1fe9713ae737..3fb03b2e391b 100644 --- a/packages/@azure/arm-managementpartner/README.md +++ b/packages/@azure/arm-managementpartner/README.md @@ -1,24 +1,34 @@ -# Azure ACEProvisioningManagementPartnerAPI SDK for JavaScript +## Azure ACEProvisioningManagementPartnerAPI SDK for JavaScript + This package contains an isomorphic SDK for ACEProvisioningManagementPartnerAPI. -## 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-managementpartner ``` +### How to use + +#### nodejs - Authentication, client creation and get partner as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get partner as an example written in TypeScript. +##### Sample code ```ts -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 { ACEProvisioningManagementPartnerAPI, ACEProvisioningManagementPartnerAPIModels, ACEProvisioningManagementPartnerAPIMappers } from "@azure/arm-managementpartner"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -34,7 +44,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get partner as an example written in JavaScript. +#### browser - Authentication, client creation and get partner as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -43,11 +62,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-managementpartner 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-managementpartner/lib/aCEProvisioningManagementPartnerAPI.ts b/packages/@azure/arm-managementpartner/lib/aCEProvisioningManagementPartnerAPI.ts index 39bce7ea8efd..0fdeb8e0ae10 100644 --- a/packages/@azure/arm-managementpartner/lib/aCEProvisioningManagementPartnerAPI.ts +++ b/packages/@azure/arm-managementpartner/lib/aCEProvisioningManagementPartnerAPI.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-managementpartner/lib/aCEProvisioningManagementPartnerAPIContext.ts b/packages/@azure/arm-managementpartner/lib/aCEProvisioningManagementPartnerAPIContext.ts index 15956b318e4b..6f295935fd1d 100644 --- a/packages/@azure/arm-managementpartner/lib/aCEProvisioningManagementPartnerAPIContext.ts +++ b/packages/@azure/arm-managementpartner/lib/aCEProvisioningManagementPartnerAPIContext.ts @@ -9,21 +9,15 @@ */ 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-managementpartner"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class ACEProvisioningManagementPartnerAPIContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the ACEProvisioningManagementPartnerAPI class. @@ -38,6 +32,11 @@ export class ACEProvisioningManagementPartnerAPIContext extends msRestAzure.Azur if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-02-01'; @@ -47,7 +46,6 @@ export class ACEProvisioningManagementPartnerAPIContext extends msRestAzure.Azur this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-managementpartner/lib/models/index.ts b/packages/@azure/arm-managementpartner/lib/models/index.ts index 297dd1619047..4af5bdaceb3e 100644 --- a/packages/@azure/arm-managementpartner/lib/models/index.ts +++ b/packages/@azure/arm-managementpartner/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -190,33 +190,18 @@ export interface OperationList extends Array { /** * Defines values for State. * Possible values include: 'Active', 'Deleted' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: State = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum State { - Active = 'Active', - Deleted = 'Deleted', -} +export type State = 'Active' | 'Deleted'; /** * Defines values for Code. * Possible values include: 'NotFound', 'Conflict', 'BadRequest' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Code = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Code { - NotFound = 'NotFound', - Conflict = 'Conflict', - BadRequest = 'BadRequest', -} +export type Code = 'NotFound' | 'Conflict' | 'BadRequest'; /** * Contains response data for the get operation. diff --git a/packages/@azure/arm-managementpartner/lib/models/mappers.ts b/packages/@azure/arm-managementpartner/lib/models/mappers.ts index 4d8637b06d14..abdba22c5a52 100644 --- a/packages/@azure/arm-managementpartner/lib/models/mappers.ts +++ b/packages/@azure/arm-managementpartner/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-managementpartner/lib/models/parameters.ts b/packages/@azure/arm-managementpartner/lib/models/parameters.ts index 051da3bc37c1..6108e0ed6cb4 100644 --- a/packages/@azure/arm-managementpartner/lib/models/parameters.ts +++ b/packages/@azure/arm-managementpartner/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-managementpartner/lib/operations/operation.ts b/packages/@azure/arm-managementpartner/lib/operations/operation.ts index 3669c8b56b0b..5d00c81e4a8f 100644 --- a/packages/@azure/arm-managementpartner/lib/operations/operation.ts +++ b/packages/@azure/arm-managementpartner/lib/operations/operation.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/operationMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class Operation { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class Operation { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-managementpartner/lib/operations/partner.ts b/packages/@azure/arm-managementpartner/lib/operations/partner.ts index d4cd2bf87806..cb179faa6450 100644 --- a/packages/@azure/arm-managementpartner/lib/operations/partner.ts +++ b/packages/@azure/arm-managementpartner/lib/operations/partner.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/partnerMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Partner { * @param callback The callback */ get(partnerId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(partnerId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(partnerId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { partnerId, @@ -74,7 +74,7 @@ export class Partner { * @param callback The callback */ create(partnerId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(partnerId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(partnerId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { partnerId, @@ -103,7 +103,7 @@ export class Partner { * @param callback The callback */ update(partnerId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(partnerId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(partnerId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { partnerId, @@ -132,7 +132,7 @@ export class Partner { * @param callback The callback */ deleteMethod(partnerId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(partnerId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(partnerId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { partnerId, diff --git a/packages/@azure/arm-managementpartner/package.json b/packages/@azure/arm-managementpartner/package.json index 3fa5fdc5cc37..91e5ec5d9040 100644 --- a/packages/@azure/arm-managementpartner/package.json +++ b/packages/@azure/arm-managementpartner/package.json @@ -4,8 +4,8 @@ "description": "ACEProvisioningManagementPartnerAPI Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-managementpartner.js.map'\" -o ./dist/arm-managementpartner.min.js ./dist/arm-managementpartner.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-managementpartner/rollup.config.js b/packages/@azure/arm-managementpartner/rollup.config.js index 953e2c114661..f35592c8b48e 100644 --- a/packages/@azure/arm-managementpartner/rollup.config.js +++ b/packages/@azure/arm-managementpartner/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/aCEProvisioningManagementPartnerAPI.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-managementpartner.js", format: "umd", name: "Azure.ArmManagementpartner", 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-managementpartner/tsconfig.json b/packages/@azure/arm-managementpartner/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-managementpartner/tsconfig.json +++ b/packages/@azure/arm-managementpartner/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-maps/.npmignore b/packages/@azure/arm-maps/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-maps/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-maps/README.md b/packages/@azure/arm-maps/README.md index cb7246abe991..e270af579817 100644 --- a/packages/@azure/arm-maps/README.md +++ b/packages/@azure/arm-maps/README.md @@ -1,24 +1,34 @@ -# Azure MapsManagementClient SDK for JavaScript +## Azure MapsManagementClient SDK for JavaScript + This package contains an isomorphic SDK for MapsManagementClient. -## 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-maps ``` +### How to use + +#### nodejs - Authentication, client creation and get accounts as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get accounts as an example written in TypeScript. +##### Sample code ```ts -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 { MapsManagementClient, MapsManagementModels, MapsManagementMappers } from "@azure/arm-maps"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get accounts as an example written in JavaScript. +#### browser - Authentication, client creation and get accounts as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-maps 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-maps/lib/mapsManagementClient.ts b/packages/@azure/arm-maps/lib/mapsManagementClient.ts index d4aa47b330ee..067726ebb38c 100644 --- a/packages/@azure/arm-maps/lib/mapsManagementClient.ts +++ b/packages/@azure/arm-maps/lib/mapsManagementClient.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-maps/lib/mapsManagementClientContext.ts b/packages/@azure/arm-maps/lib/mapsManagementClientContext.ts index b82c4598418b..3e74ac3f6452 100644 --- a/packages/@azure/arm-maps/lib/mapsManagementClientContext.ts +++ b/packages/@azure/arm-maps/lib/mapsManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-maps"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class MapsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the MapsManagementClient class. @@ -45,6 +38,11 @@ export class MapsManagementClientContext extends msRestAzure.AzureServiceClient if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-05-01'; @@ -55,7 +53,6 @@ export class MapsManagementClientContext extends msRestAzure.AzureServiceClient this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-maps/lib/models/index.ts b/packages/@azure/arm-maps/lib/models/index.ts index adfe514c4373..96226ea82da0 100644 --- a/packages/@azure/arm-maps/lib/models/index.ts +++ b/packages/@azure/arm-maps/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -363,17 +363,10 @@ export interface MapsOperations extends Array { /** * Defines values for KeyType. * Possible values include: 'primary', 'secondary' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: KeyType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum KeyType { - Primary = 'primary', - Secondary = 'secondary', -} +export type KeyType = 'primary' | 'secondary'; /** * Contains response data for the createOrUpdate operation. diff --git a/packages/@azure/arm-maps/lib/models/mappers.ts b/packages/@azure/arm-maps/lib/models/mappers.ts index d61591bb0c23..906aaeab40a3 100644 --- a/packages/@azure/arm-maps/lib/models/mappers.ts +++ b/packages/@azure/arm-maps/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-maps/lib/models/parameters.ts b/packages/@azure/arm-maps/lib/models/parameters.ts index 01595f4ae71b..980bdc0c26ab 100644 --- a/packages/@azure/arm-maps/lib/models/parameters.ts +++ b/packages/@azure/arm-maps/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-maps/lib/operations/accounts.ts b/packages/@azure/arm-maps/lib/operations/accounts.ts index 32b95aa22f46..15614695bbd7 100644 --- a/packages/@azure/arm-maps/lib/operations/accounts.ts +++ b/packages/@azure/arm-maps/lib/operations/accounts.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/accountsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class Accounts { * @param callback The callback */ createOrUpdate(resourceGroupName: string, accountName: string, mapsAccountCreateParameters: Models.MapsAccountCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, accountName: string, mapsAccountCreateParameters: Models.MapsAccountCreateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, accountName: string, mapsAccountCreateParameters: Models.MapsAccountCreateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -88,7 +88,7 @@ export class Accounts { * @param callback The callback */ update(resourceGroupName: string, accountName: string, mapsAccountUpdateParameters: Models.MapsAccountUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, mapsAccountUpdateParameters: Models.MapsAccountUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, mapsAccountUpdateParameters: Models.MapsAccountUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class Accounts { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -153,7 +153,7 @@ export class Accounts { * @param callback The callback */ get(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -182,7 +182,7 @@ export class Accounts { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -207,7 +207,7 @@ export class Accounts { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -237,7 +237,7 @@ export class Accounts { * @param callback The callback */ move(resourceGroupName: string, moveRequest: Models.MapsAccountsMoveRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - move(resourceGroupName: string, moveRequest: Models.MapsAccountsMoveRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + move(resourceGroupName: string, moveRequest: Models.MapsAccountsMoveRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -271,7 +271,7 @@ export class Accounts { * @param callback The callback */ listKeys(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -307,7 +307,7 @@ export class Accounts { * @param callback The callback */ regenerateKeys(resourceGroupName: string, accountName: string, keySpecification: Models.MapsKeySpecification, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKeys(resourceGroupName: string, accountName: string, keySpecification: Models.MapsKeySpecification, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKeys(resourceGroupName: string, accountName: string, keySpecification: Models.MapsKeySpecification, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -334,7 +334,7 @@ export class Accounts { * @param callback The callback */ listOperations(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOperations(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOperations(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-maps/package.json b/packages/@azure/arm-maps/package.json index fe5c2f227128..cb5fc397ae86 100644 --- a/packages/@azure/arm-maps/package.json +++ b/packages/@azure/arm-maps/package.json @@ -4,8 +4,8 @@ "description": "MapsManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-maps.js.map'\" -o ./dist/arm-maps.min.js ./dist/arm-maps.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-maps/rollup.config.js b/packages/@azure/arm-maps/rollup.config.js index 7d0f9cf795ed..4ea68c8f828a 100644 --- a/packages/@azure/arm-maps/rollup.config.js +++ b/packages/@azure/arm-maps/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/mapsManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-maps.js", format: "umd", name: "Azure.ArmMaps", 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-maps/tsconfig.json b/packages/@azure/arm-maps/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-maps/tsconfig.json +++ b/packages/@azure/arm-maps/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-mariadb/.npmignore b/packages/@azure/arm-mariadb/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-mariadb/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-mariadb/README.md b/packages/@azure/arm-mariadb/README.md index 680481584ea9..977be7808486 100644 --- a/packages/@azure/arm-mariadb/README.md +++ b/packages/@azure/arm-mariadb/README.md @@ -1,24 +1,34 @@ -# Azure MariaDBManagementClient SDK for JavaScript +## Azure MariaDBManagementClient SDK for JavaScript + This package contains an isomorphic SDK for MariaDBManagementClient. -## 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-mariadb ``` +### How to use + +#### nodejs - Authentication, client creation and get servers as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get servers as an example written in TypeScript. +##### Sample code ```ts -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 { MariaDBManagementClient, MariaDBManagementModels, MariaDBManagementMappers } from "@azure/arm-mariadb"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get servers as an example written in JavaScript. +#### browser - Authentication, client creation and get servers as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-mariadb 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-mariadb/lib/mariaDBManagementClient.ts b/packages/@azure/arm-mariadb/lib/mariaDBManagementClient.ts index 45844af5cde6..060f4aaf6f60 100644 --- a/packages/@azure/arm-mariadb/lib/mariaDBManagementClient.ts +++ b/packages/@azure/arm-mariadb/lib/mariaDBManagementClient.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-mariadb/lib/mariaDBManagementClientContext.ts b/packages/@azure/arm-mariadb/lib/mariaDBManagementClientContext.ts index b40438230381..b26ad3652a63 100644 --- a/packages/@azure/arm-mariadb/lib/mariaDBManagementClientContext.ts +++ b/packages/@azure/arm-mariadb/lib/mariaDBManagementClientContext.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-mariadb"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class MariaDBManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -37,6 +37,11 @@ export class MariaDBManagementClientContext extends msRestAzure.AzureServiceClie if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-06-01-preview'; @@ -47,7 +52,6 @@ export class MariaDBManagementClientContext extends msRestAzure.AzureServiceClie this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-mariadb/lib/models/index.ts b/packages/@azure/arm-mariadb/lib/models/index.ts index 714262d6b2b2..6846ce21c3e1 100644 --- a/packages/@azure/arm-mariadb/lib/models/index.ts +++ b/packages/@azure/arm-mariadb/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -836,18 +836,10 @@ export interface PerformanceTierListResult extends Array"someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ServerVersion { - FiveFullStopSix = '5.6', - FiveFullStopSeven = '5.7', -} +export type ServerVersion = '5.6' | '5.7'; /** * Defines values for SslEnforcementEnum. @@ -855,96 +847,47 @@ export enum ServerVersion { * @readonly * @enum {string} */ -export enum SslEnforcementEnum { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type SslEnforcementEnum = 'Enabled' | 'Disabled'; /** * Defines values for ServerState. * Possible values include: 'Ready', 'Dropping', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServerState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ServerState { - Ready = 'Ready', - Dropping = 'Dropping', - Disabled = 'Disabled', -} +export type ServerState = 'Ready' | 'Dropping' | 'Disabled'; /** * Defines values for GeoRedundantBackup. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: GeoRedundantBackup = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum GeoRedundantBackup { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type GeoRedundantBackup = 'Enabled' | 'Disabled'; /** * Defines values for SkuTier. * Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuTier = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuTier { - Basic = 'Basic', - GeneralPurpose = 'GeneralPurpose', - MemoryOptimized = 'MemoryOptimized', -} +export type SkuTier = 'Basic' | 'GeneralPurpose' | 'MemoryOptimized'; /** * Defines values for VirtualNetworkRuleState. - * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', - * 'Unknown' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: VirtualNetworkRuleState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown' * @readonly * @enum {string} */ -export enum VirtualNetworkRuleState { - Initializing = 'Initializing', - InProgress = 'InProgress', - Ready = 'Ready', - Deleting = 'Deleting', - Unknown = 'Unknown', -} +export type VirtualNetworkRuleState = 'Initializing' | 'InProgress' | 'Ready' | 'Deleting' | 'Unknown'; /** * Defines values for OperationOrigin. * Possible values include: 'NotSpecified', 'user', 'system' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OperationOrigin = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OperationOrigin { - NotSpecified = 'NotSpecified', - User = 'user', - System = 'system', -} +export type OperationOrigin = 'NotSpecified' | 'user' | 'system'; /** * Defines values for ServerSecurityAlertPolicyState. @@ -952,10 +895,7 @@ export enum OperationOrigin { * @readonly * @enum {string} */ -export enum ServerSecurityAlertPolicyState { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type ServerSecurityAlertPolicyState = 'Enabled' | 'Disabled'; /** * Contains response data for the create operation. diff --git a/packages/@azure/arm-mariadb/lib/models/mappers.ts b/packages/@azure/arm-mariadb/lib/models/mappers.ts index 29957b97e97d..7306f886c1dc 100644 --- a/packages/@azure/arm-mariadb/lib/models/mappers.ts +++ b/packages/@azure/arm-mariadb/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -347,11 +347,6 @@ export const ServerForCreate: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "createMode", - clientName: "createMode" - }, - uberParent: "ServerPropertiesForCreate", className: "ServerPropertiesForCreate" } }, diff --git a/packages/@azure/arm-mariadb/lib/models/parameters.ts b/packages/@azure/arm-mariadb/lib/models/parameters.ts index 51e8cfb5905e..7dbc0227f6c5 100644 --- a/packages/@azure/arm-mariadb/lib/models/parameters.ts +++ b/packages/@azure/arm-mariadb/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-mariadb/lib/operations/checkNameAvailability.ts b/packages/@azure/arm-mariadb/lib/operations/checkNameAvailability.ts index 3b2722a54bd5..1b0938cf9601 100644 --- a/packages/@azure/arm-mariadb/lib/operations/checkNameAvailability.ts +++ b/packages/@azure/arm-mariadb/lib/operations/checkNameAvailability.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/checkNameAvailabilityMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class CheckNameAvailability { * @param callback The callback */ execute(nameAvailabilityRequest: Models.NameAvailabilityRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - execute(nameAvailabilityRequest: Models.NameAvailabilityRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + execute(nameAvailabilityRequest: Models.NameAvailabilityRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nameAvailabilityRequest, diff --git a/packages/@azure/arm-mariadb/lib/operations/configurations.ts b/packages/@azure/arm-mariadb/lib/operations/configurations.ts index ae3ae5e1f2e4..914801c0295b 100644 --- a/packages/@azure/arm-mariadb/lib/operations/configurations.ts +++ b/packages/@azure/arm-mariadb/lib/operations/configurations.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/configurationsMappers"; import * as Parameters from "../models/parameters"; @@ -69,7 +69,7 @@ export class Configurations { * @param callback The callback */ get(resourceGroupName: string, serverName: string, configurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, configurationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, configurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -105,7 +105,7 @@ export class Configurations { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-mariadb/lib/operations/databases.ts b/packages/@azure/arm-mariadb/lib/operations/databases.ts index c83b3856757f..3a6e5f71a0f1 100644 --- a/packages/@azure/arm-mariadb/lib/operations/databases.ts +++ b/packages/@azure/arm-mariadb/lib/operations/databases.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/databasesMappers"; import * as Parameters from "../models/parameters"; @@ -83,7 +83,7 @@ export class Databases { * @param callback The callback */ get(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -119,7 +119,7 @@ export class Databases { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-mariadb/lib/operations/firewallRules.ts b/packages/@azure/arm-mariadb/lib/operations/firewallRules.ts index 7cede7c33882..796a8285006c 100644 --- a/packages/@azure/arm-mariadb/lib/operations/firewallRules.ts +++ b/packages/@azure/arm-mariadb/lib/operations/firewallRules.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/firewallRulesMappers"; import * as Parameters from "../models/parameters"; @@ -83,7 +83,7 @@ export class FirewallRules { * @param callback The callback */ get(resourceGroupName: string, serverName: string, firewallRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -119,7 +119,7 @@ export class FirewallRules { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-mariadb/lib/operations/locationBasedPerformanceTier.ts b/packages/@azure/arm-mariadb/lib/operations/locationBasedPerformanceTier.ts index c5daba57110d..88f719633710 100644 --- a/packages/@azure/arm-mariadb/lib/operations/locationBasedPerformanceTier.ts +++ b/packages/@azure/arm-mariadb/lib/operations/locationBasedPerformanceTier.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/locationBasedPerformanceTierMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class LocationBasedPerformanceTier { * @param callback The callback */ list(locationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(locationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(locationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { locationName, diff --git a/packages/@azure/arm-mariadb/lib/operations/logFiles.ts b/packages/@azure/arm-mariadb/lib/operations/logFiles.ts index 5ebd5429b391..30687cbb0c89 100644 --- a/packages/@azure/arm-mariadb/lib/operations/logFiles.ts +++ b/packages/@azure/arm-mariadb/lib/operations/logFiles.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/logFilesMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class LogFiles { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-mariadb/lib/operations/operations.ts b/packages/@azure/arm-mariadb/lib/operations/operations.ts index 1424e0b0fde5..4dc11ec5bb9d 100644 --- a/packages/@azure/arm-mariadb/lib/operations/operations.ts +++ b/packages/@azure/arm-mariadb/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-mariadb/lib/operations/serverSecurityAlertPolicies.ts b/packages/@azure/arm-mariadb/lib/operations/serverSecurityAlertPolicies.ts index 9e1de18183c3..b6b4ce11d763 100644 --- a/packages/@azure/arm-mariadb/lib/operations/serverSecurityAlertPolicies.ts +++ b/packages/@azure/arm-mariadb/lib/operations/serverSecurityAlertPolicies.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/serverSecurityAlertPoliciesMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class ServerSecurityAlertPolicies { * @param callback The callback */ get(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-mariadb/lib/operations/servers.ts b/packages/@azure/arm-mariadb/lib/operations/servers.ts index c2c0d628a11d..c9e67d7b9e3c 100644 --- a/packages/@azure/arm-mariadb/lib/operations/servers.ts +++ b/packages/@azure/arm-mariadb/lib/operations/servers.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/serversMappers"; import * as Parameters from "../models/parameters"; @@ -94,7 +94,7 @@ export class Servers { * @param callback The callback */ get(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -126,7 +126,7 @@ export class Servers { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -151,7 +151,7 @@ export class Servers { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-mariadb/lib/operations/virtualNetworkRules.ts b/packages/@azure/arm-mariadb/lib/operations/virtualNetworkRules.ts index 6cc16f3a80e6..4b7d5b9332d1 100644 --- a/packages/@azure/arm-mariadb/lib/operations/virtualNetworkRules.ts +++ b/packages/@azure/arm-mariadb/lib/operations/virtualNetworkRules.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/virtualNetworkRulesMappers"; import * as Parameters from "../models/parameters"; @@ -54,7 +54,7 @@ export class VirtualNetworkRules { * @param callback The callback */ get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -119,7 +119,7 @@ export class VirtualNetworkRules { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -192,7 +192,7 @@ export class VirtualNetworkRules { * @param callback The callback */ listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mariadb/package.json b/packages/@azure/arm-mariadb/package.json index 63c0995065ec..9f0950130a00 100644 --- a/packages/@azure/arm-mariadb/package.json +++ b/packages/@azure/arm-mariadb/package.json @@ -4,8 +4,8 @@ "description": "MariaDBManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-mariadb/rollup.config.js b/packages/@azure/arm-mariadb/rollup.config.js index 6b2be55b926b..6461c6d950ef 100644 --- a/packages/@azure/arm-mariadb/rollup.config.js +++ b/packages/@azure/arm-mariadb/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/mariaDBManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-mariadb.js", format: "umd", name: "Azure.ArmMariadb", 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-mariadb/tsconfig.esm.json b/packages/@azure/arm-mariadb/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-mariadb/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-mariadb/tsconfig.json b/packages/@azure/arm-mariadb/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-mariadb/tsconfig.json +++ b/packages/@azure/arm-mariadb/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-mariadb/webpack.config.js b/packages/@azure/arm-mariadb/webpack.config.js deleted file mode 100644 index 044d11a46d94..000000000000 --- a/packages/@azure/arm-mariadb/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/mariaDBManagementClient.js', - devtool: 'source-map', - output: { - filename: 'mariaDBManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'mariaDBManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-marketplaceordering/.npmignore b/packages/@azure/arm-marketplaceordering/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-marketplaceordering/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-marketplaceordering/README.md b/packages/@azure/arm-marketplaceordering/README.md index ed1c02aecb7f..91e0e121f37b 100644 --- a/packages/@azure/arm-marketplaceordering/README.md +++ b/packages/@azure/arm-marketplaceordering/README.md @@ -1,24 +1,34 @@ -# Azure MarketplaceOrderingAgreements SDK for JavaScript +## Azure MarketplaceOrderingAgreements SDK for JavaScript + This package contains an isomorphic SDK for MarketplaceOrderingAgreements. -## 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-marketplaceordering ``` +### How to use + +#### nodejs - Authentication, client creation and get marketplaceAgreements as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get marketplaceAgreements as an example written in TypeScript. +##### Sample code ```ts -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 { MarketplaceOrderingAgreements, MarketplaceOrderingAgreementsModels, MarketplaceOrderingAgreementsMappers } from "@azure/arm-marketplaceordering"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -36,7 +46,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get marketplaceAgreements as an example written in JavaScript. +#### browser - Authentication, client creation and get marketplaceAgreements as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -45,11 +64,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-marketplaceordering 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-marketplaceordering/lib/marketplaceOrderingAgreements.ts b/packages/@azure/arm-marketplaceordering/lib/marketplaceOrderingAgreements.ts index 1723a28002cf..3c7a63b3770e 100644 --- a/packages/@azure/arm-marketplaceordering/lib/marketplaceOrderingAgreements.ts +++ b/packages/@azure/arm-marketplaceordering/lib/marketplaceOrderingAgreements.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-marketplaceordering/lib/marketplaceOrderingAgreementsContext.ts b/packages/@azure/arm-marketplaceordering/lib/marketplaceOrderingAgreementsContext.ts index c528888d7923..bc5b4be3acc1 100644 --- a/packages/@azure/arm-marketplaceordering/lib/marketplaceOrderingAgreementsContext.ts +++ b/packages/@azure/arm-marketplaceordering/lib/marketplaceOrderingAgreementsContext.ts @@ -9,23 +9,16 @@ */ 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-marketplaceordering"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class MarketplaceOrderingAgreementsContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the MarketplaceOrderingAgreements class. @@ -44,6 +37,11 @@ export class MarketplaceOrderingAgreementsContext extends msRestAzure.AzureServi if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2015-06-01'; @@ -54,7 +52,6 @@ export class MarketplaceOrderingAgreementsContext extends msRestAzure.AzureServi this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-marketplaceordering/lib/models/index.ts b/packages/@azure/arm-marketplaceordering/lib/models/index.ts index 5fedee9d4b50..6dcd20ca0a16 100644 --- a/packages/@azure/arm-marketplaceordering/lib/models/index.ts +++ b/packages/@azure/arm-marketplaceordering/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; diff --git a/packages/@azure/arm-marketplaceordering/lib/models/mappers.ts b/packages/@azure/arm-marketplaceordering/lib/models/mappers.ts index 60d740de0c6d..0ef4ad2da442 100644 --- a/packages/@azure/arm-marketplaceordering/lib/models/mappers.ts +++ b/packages/@azure/arm-marketplaceordering/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-marketplaceordering/lib/models/parameters.ts b/packages/@azure/arm-marketplaceordering/lib/models/parameters.ts index 35a62eb67210..2462ce8c76ff 100644 --- a/packages/@azure/arm-marketplaceordering/lib/models/parameters.ts +++ b/packages/@azure/arm-marketplaceordering/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-marketplaceordering/lib/operations/marketplaceAgreements.ts b/packages/@azure/arm-marketplaceordering/lib/operations/marketplaceAgreements.ts index 445671eca539..0759dda8293c 100644 --- a/packages/@azure/arm-marketplaceordering/lib/operations/marketplaceAgreements.ts +++ b/packages/@azure/arm-marketplaceordering/lib/operations/marketplaceAgreements.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/marketplaceAgreementsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class MarketplaceAgreements { * @param callback The callback */ get(publisherId: string, offerId: string, planId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(publisherId: string, offerId: string, planId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(publisherId: string, offerId: string, planId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { publisherId, @@ -89,7 +89,7 @@ export class MarketplaceAgreements { * @param callback The callback */ create(publisherId: string, offerId: string, planId: string, parameters: Models.AgreementTerms, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(publisherId: string, offerId: string, planId: string, parameters: Models.AgreementTerms, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(publisherId: string, offerId: string, planId: string, parameters: Models.AgreementTerms, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { publisherId, diff --git a/packages/@azure/arm-marketplaceordering/lib/operations/operations.ts b/packages/@azure/arm-marketplaceordering/lib/operations/operations.ts index aa2485ed1523..ddcbbe2cc097 100644 --- a/packages/@azure/arm-marketplaceordering/lib/operations/operations.ts +++ b/packages/@azure/arm-marketplaceordering/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-marketplaceordering/package.json b/packages/@azure/arm-marketplaceordering/package.json index 78ddfc7e56cf..65a0f506d1bc 100644 --- a/packages/@azure/arm-marketplaceordering/package.json +++ b/packages/@azure/arm-marketplaceordering/package.json @@ -4,8 +4,8 @@ "description": "MarketplaceOrderingAgreements Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-marketplaceordering.js.map'\" -o ./dist/arm-marketplaceordering.min.js ./dist/arm-marketplaceordering.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-marketplaceordering/rollup.config.js b/packages/@azure/arm-marketplaceordering/rollup.config.js index 601d29f3eccd..9f0a38d1b1c9 100644 --- a/packages/@azure/arm-marketplaceordering/rollup.config.js +++ b/packages/@azure/arm-marketplaceordering/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/marketplaceOrderingAgreements.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-marketplaceordering.js", format: "umd", name: "Azure.ArmMarketplaceordering", 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-marketplaceordering/tsconfig.esm.json b/packages/@azure/arm-marketplaceordering/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-marketplaceordering/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-marketplaceordering/tsconfig.json b/packages/@azure/arm-marketplaceordering/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-marketplaceordering/tsconfig.json +++ b/packages/@azure/arm-marketplaceordering/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-marketplaceordering/webpack.config.js b/packages/@azure/arm-marketplaceordering/webpack.config.js deleted file mode 100644 index c639a9495f77..000000000000 --- a/packages/@azure/arm-marketplaceordering/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/marketplaceOrderingAgreements.js', - devtool: 'source-map', - output: { - filename: 'marketplaceOrderingAgreementsBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'marketplaceOrderingAgreements' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-mediaservices/.npmignore b/packages/@azure/arm-mediaservices/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-mediaservices/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-mediaservices/README.md b/packages/@azure/arm-mediaservices/README.md index ece0ac7df441..cee73370e2bd 100644 --- a/packages/@azure/arm-mediaservices/README.md +++ b/packages/@azure/arm-mediaservices/README.md @@ -1,24 +1,34 @@ -# Azure AzureMediaServices SDK for JavaScript +## Azure AzureMediaServices SDK for JavaScript + This package contains an isomorphic SDK for AzureMediaServices. -## 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-mediaservices ``` +### How to use + +#### nodejs - Authentication, client creation and list accountFilters as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list accountFilters as an example written in TypeScript. +##### Sample code ```ts -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 { AzureMediaServices, AzureMediaServicesModels, AzureMediaServicesMappers } from "@azure/arm-mediaservices"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list accountFilters as an example written in JavaScript. +#### browser - Authentication, client creation and list accountFilters as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-mediaservices 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-mediaservices/lib/azureMediaServices.ts b/packages/@azure/arm-mediaservices/lib/azureMediaServices.ts index dbe0db4841bb..1a00cc2674c8 100644 --- a/packages/@azure/arm-mediaservices/lib/azureMediaServices.ts +++ b/packages/@azure/arm-mediaservices/lib/azureMediaServices.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-mediaservices/lib/azureMediaServicesContext.ts b/packages/@azure/arm-mediaservices/lib/azureMediaServicesContext.ts index 2c25cf2e8f7a..c56a7c60b843 100644 --- a/packages/@azure/arm-mediaservices/lib/azureMediaServicesContext.ts +++ b/packages/@azure/arm-mediaservices/lib/azureMediaServicesContext.ts @@ -9,23 +9,16 @@ */ 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-mediaservices"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class AzureMediaServicesContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the AzureMediaServices class. @@ -44,6 +37,11 @@ export class AzureMediaServicesContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-07-01'; @@ -54,7 +52,6 @@ export class AzureMediaServicesContext extends msRestAzure.AzureServiceClient { this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-mediaservices/lib/models/index.ts b/packages/@azure/arm-mediaservices/lib/models/index.ts index 3ffddc76baed..bfa577bbafc8 100644 --- a/packages/@azure/arm-mediaservices/lib/models/index.ts +++ b/packages/@azure/arm-mediaservices/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -4630,37 +4630,11 @@ export interface StreamingEndpointListResult extends Array { /** * Defines values for FilterTrackPropertyType. - * Possible values include: 'Unknown', 'Type', 'Name', 'Language', 'FourCC', - * 'Bitrate' + * Possible values include: 'Unknown', 'Type', 'Name', 'Language', 'FourCC', 'Bitrate' * @readonly * @enum {string} */ -export enum FilterTrackPropertyType { - /** - * The unknown track property type. - */ - Unknown = 'Unknown', - /** - * The type. - */ - Type = 'Type', - /** - * The name. - */ - Name = 'Name', - /** - * The language. - */ - Language = 'Language', - /** - * The fourCC. - */ - FourCC = 'FourCC', - /** - * The bitrate. - */ - Bitrate = 'Bitrate', -} +export type FilterTrackPropertyType = 'Unknown' | 'Type' | 'Name' | 'Language' | 'FourCC' | 'Bitrate'; /** * Defines values for FilterTrackPropertyCompareOperation. @@ -4668,16 +4642,7 @@ export enum FilterTrackPropertyType { * @readonly * @enum {string} */ -export enum FilterTrackPropertyCompareOperation { - /** - * The equal operation. - */ - Equal = 'Equal', - /** - * The not equal operation. - */ - NotEqual = 'NotEqual', -} +export type FilterTrackPropertyCompareOperation = 'Equal' | 'NotEqual'; /** * Defines values for MetricUnit. @@ -4685,20 +4650,7 @@ export enum FilterTrackPropertyCompareOperation { * @readonly * @enum {string} */ -export enum MetricUnit { - /** - * The number of bytes. - */ - Bytes = 'Bytes', - /** - * The count. - */ - Count = 'Count', - /** - * The number of milliseconds. - */ - Milliseconds = 'Milliseconds', -} +export type MetricUnit = 'Bytes' | 'Count' | 'Milliseconds'; /** * Defines values for MetricAggregationType. @@ -4706,20 +4658,7 @@ export enum MetricUnit { * @readonly * @enum {string} */ -export enum MetricAggregationType { - /** - * The average. - */ - Average = 'Average', - /** - * The count of a number of items, usually requests. - */ - Count = 'Count', - /** - * The sum. - */ - Total = 'Total', -} +export type MetricAggregationType = 'Average' | 'Count' | 'Total'; /** * Defines values for StorageAccountType. @@ -4727,16 +4666,7 @@ export enum MetricAggregationType { * @readonly * @enum {string} */ -export enum StorageAccountType { - /** - * The primary storage account for the Media Services account. - */ - Primary = 'Primary', - /** - * A secondary storage account for the Media Services account. - */ - Secondary = 'Secondary', -} +export type StorageAccountType = 'Primary' | 'Secondary'; /** * Defines values for AssetStorageEncryptionFormat. @@ -4744,17 +4674,7 @@ export enum StorageAccountType { * @readonly * @enum {string} */ -export enum AssetStorageEncryptionFormat { - /** - * The Asset does not use client-side storage encryption (this is the only - * allowed value for new Assets). - */ - None = 'None', - /** - * The Asset is encrypted with Media Services client-side encryption. - */ - MediaStorageClientEncryption = 'MediaStorageClientEncryption', -} +export type AssetStorageEncryptionFormat = 'None' | 'MediaStorageClientEncryption'; /** * Defines values for AssetContainerPermission. @@ -4762,50 +4682,15 @@ export enum AssetStorageEncryptionFormat { * @readonly * @enum {string} */ -export enum AssetContainerPermission { - /** - * The SAS URL will allow read access to the container. - */ - Read = 'Read', - /** - * The SAS URL will allow read and write access to the container. - */ - ReadWrite = 'ReadWrite', - /** - * The SAS URL will allow read, write and delete access to the container. - */ - ReadWriteDelete = 'ReadWriteDelete', -} +export type AssetContainerPermission = 'Read' | 'ReadWrite' | 'ReadWriteDelete'; /** * Defines values for ContentKeyPolicyPlayReadyUnknownOutputPassingOption. - * Possible values include: 'Unknown', 'NotAllowed', 'Allowed', - * 'AllowedWithVideoConstriction' + * Possible values include: 'Unknown', 'NotAllowed', 'Allowed', 'AllowedWithVideoConstriction' * @readonly * @enum {string} */ -export enum ContentKeyPolicyPlayReadyUnknownOutputPassingOption { - /** - * Represents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is - * unavailable in current API version. - */ - Unknown = 'Unknown', - /** - * Passing the video portion of protected content to an Unknown Output is not - * allowed. - */ - NotAllowed = 'NotAllowed', - /** - * Passing the video portion of protected content to an Unknown Output is - * allowed. - */ - Allowed = 'Allowed', - /** - * Passing the video portion of protected content to an Unknown Output is - * allowed but with constrained resolution. - */ - AllowedWithVideoConstriction = 'AllowedWithVideoConstriction', -} +export type ContentKeyPolicyPlayReadyUnknownOutputPassingOption = 'Unknown' | 'NotAllowed' | 'Allowed' | 'AllowedWithVideoConstriction'; /** * Defines values for ContentKeyPolicyPlayReadyLicenseType. @@ -4813,48 +4698,15 @@ export enum ContentKeyPolicyPlayReadyUnknownOutputPassingOption { * @readonly * @enum {string} */ -export enum ContentKeyPolicyPlayReadyLicenseType { - /** - * Represents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in - * current API version. - */ - Unknown = 'Unknown', - /** - * Non persistent license. - */ - NonPersistent = 'NonPersistent', - /** - * Persistent license. Allows offline playback. - */ - Persistent = 'Persistent', -} +export type ContentKeyPolicyPlayReadyLicenseType = 'Unknown' | 'NonPersistent' | 'Persistent'; /** * Defines values for ContentKeyPolicyPlayReadyContentType. - * Possible values include: 'Unknown', 'Unspecified', 'UltraVioletDownload', - * 'UltraVioletStreaming' + * Possible values include: 'Unknown', 'Unspecified', 'UltraVioletDownload', 'UltraVioletStreaming' * @readonly * @enum {string} */ -export enum ContentKeyPolicyPlayReadyContentType { - /** - * Represents a ContentKeyPolicyPlayReadyContentType that is unavailable in - * current API version. - */ - Unknown = 'Unknown', - /** - * Unspecified content type. - */ - Unspecified = 'Unspecified', - /** - * Ultraviolet download content type. - */ - UltraVioletDownload = 'UltraVioletDownload', - /** - * Ultraviolet streaming content type. - */ - UltraVioletStreaming = 'UltraVioletStreaming', -} +export type ContentKeyPolicyPlayReadyContentType = 'Unknown' | 'Unspecified' | 'UltraVioletDownload' | 'UltraVioletStreaming'; /** * Defines values for ContentKeyPolicyRestrictionTokenType. @@ -4862,49 +4714,15 @@ export enum ContentKeyPolicyPlayReadyContentType { * @readonly * @enum {string} */ -export enum ContentKeyPolicyRestrictionTokenType { - /** - * Represents a ContentKeyPolicyRestrictionTokenType that is unavailable in - * current API version. - */ - Unknown = 'Unknown', - /** - * Simple Web Token. - */ - Swt = 'Swt', - /** - * JSON Web Token. - */ - Jwt = 'Jwt', -} +export type ContentKeyPolicyRestrictionTokenType = 'Unknown' | 'Swt' | 'Jwt'; /** * Defines values for ContentKeyPolicyFairPlayRentalAndLeaseKeyType. - * Possible values include: 'Unknown', 'Undefined', 'PersistentUnlimited', - * 'PersistentLimited' + * Possible values include: 'Unknown', 'Undefined', 'PersistentUnlimited', 'PersistentLimited' * @readonly * @enum {string} */ -export enum ContentKeyPolicyFairPlayRentalAndLeaseKeyType { - /** - * Represents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is - * unavailable in current API version. - */ - Unknown = 'Unknown', - /** - * Key duration is not specified. - */ - Undefined = 'Undefined', - /** - * Content key can be persisted with an unlimited duration - */ - PersistentUnlimited = 'PersistentUnlimited', - /** - * Content key can be persisted and the valid duration is limited by the - * Rental Duration value - */ - PersistentLimited = 'PersistentLimited', -} +export type ContentKeyPolicyFairPlayRentalAndLeaseKeyType = 'Unknown' | 'Undefined' | 'PersistentUnlimited' | 'PersistentLimited'; /** * Defines values for AacAudioProfile. @@ -4912,21 +4730,7 @@ export enum ContentKeyPolicyFairPlayRentalAndLeaseKeyType { * @readonly * @enum {string} */ -export enum AacAudioProfile { - /** - * Specifies that the output audio is to be encoded into AAC Low Complexity - * profile (AAC-LC). - */ - AacLc = 'AacLc', - /** - * Specifies that the output audio is to be encoded into HE-AAC v1 profile. - */ - HeAacV1 = 'HeAacV1', - /** - * Specifies that the output audio is to be encoded into HE-AAC v2 profile. - */ - HeAacV2 = 'HeAacV2', -} +export type AacAudioProfile = 'AacLc' | 'HeAacV1' | 'HeAacV2'; /** * Defines values for StretchMode. @@ -4934,30 +4738,7 @@ export enum AacAudioProfile { * @readonly * @enum {string} */ -export enum StretchMode { - /** - * Strictly respect the output resolution without considering the pixel - * aspect ratio or display aspect ratio of the input video. - */ - None = 'None', - /** - * Override the output resolution, and change it to match the display aspect - * ratio of the input, without padding. For example, if the input is - * 1920x1080 and the encoding preset asks for 1280x1280, then the value in - * the preset is overridden, and the output will be at 1280x720, which - * maintains the input aspect ratio of 16:9. - */ - AutoSize = 'AutoSize', - /** - * Pad the output (with either letterbox or pillar box) to honor the output - * resolution, while ensuring that the active video region in the output has - * the same aspect ratio as the input. For example, if the input is 1920x1080 - * and the encoding preset asks for 1280x1280, then the output will be at - * 1280x1280, which contains an inner rectangle of 1280x720 at aspect ratio - * of 16:9, and pillar box regions 280 pixels wide at the left and right. - */ - AutoFit = 'AutoFit', -} +export type StretchMode = 'None' | 'AutoSize' | 'AutoFit'; /** * Defines values for DeinterlaceParity. @@ -4965,20 +4746,7 @@ export enum StretchMode { * @readonly * @enum {string} */ -export enum DeinterlaceParity { - /** - * Automatically detect the order of fields - */ - Auto = 'Auto', - /** - * Apply top field first processing of input video. - */ - TopFieldFirst = 'TopFieldFirst', - /** - * Apply bottom field first processing of input video. - */ - BottomFieldFirst = 'BottomFieldFirst', -} +export type DeinterlaceParity = 'Auto' | 'TopFieldFirst' | 'BottomFieldFirst'; /** * Defines values for DeinterlaceMode. @@ -4986,87 +4754,23 @@ export enum DeinterlaceParity { * @readonly * @enum {string} */ -export enum DeinterlaceMode { - /** - * Disables de-interlacing of the source video. - */ - Off = 'Off', - /** - * Apply automatic pixel adaptive de-interlacing on each frame in the input - * video. - */ - AutoPixelAdaptive = 'AutoPixelAdaptive', -} +export type DeinterlaceMode = 'Off' | 'AutoPixelAdaptive'; /** * Defines values for Rotation. - * Possible values include: 'Auto', 'None', 'Rotate0', 'Rotate90', 'Rotate180', - * 'Rotate270' + * Possible values include: 'Auto', 'None', 'Rotate0', 'Rotate90', 'Rotate180', 'Rotate270' * @readonly * @enum {string} */ -export enum Rotation { - /** - * Automatically detect and rotate as needed. - */ - Auto = 'Auto', - /** - * Do not rotate the video. If the output format supports it, any metadata - * about rotation is kept intact. - */ - None = 'None', - /** - * Do not rotate the video but remove any metadata about the rotation. - */ - Rotate0 = 'Rotate0', - /** - * Rotate 90 degrees clockwise. - */ - Rotate90 = 'Rotate90', - /** - * Rotate 180 degrees clockwise. - */ - Rotate180 = 'Rotate180', - /** - * Rotate 270 degrees clockwise. - */ - Rotate270 = 'Rotate270', -} +export type Rotation = 'Auto' | 'None' | 'Rotate0' | 'Rotate90' | 'Rotate180' | 'Rotate270'; /** * Defines values for H264VideoProfile. - * Possible values include: 'Auto', 'Baseline', 'Main', 'High', 'High422', - * 'High444' + * Possible values include: 'Auto', 'Baseline', 'Main', 'High', 'High422', 'High444' * @readonly * @enum {string} */ -export enum H264VideoProfile { - /** - * Tells the encoder to automatically determine the appropriate H.264 - * profile. - */ - Auto = 'Auto', - /** - * Baseline profile - */ - Baseline = 'Baseline', - /** - * Main profile - */ - Main = 'Main', - /** - * High profile. - */ - High = 'High', - /** - * High 4:2:2 profile. - */ - High422 = 'High422', - /** - * High 4:4:4 predictive profile. - */ - High444 = 'High444', -} +export type H264VideoProfile = 'Auto' | 'Baseline' | 'Main' | 'High' | 'High422' | 'High444'; /** * Defines values for EntropyMode. @@ -5074,16 +4778,7 @@ export enum H264VideoProfile { * @readonly * @enum {string} */ -export enum EntropyMode { - /** - * Context Adaptive Binary Arithmetic Coder (CABAC) entropy encoding. - */ - Cabac = 'Cabac', - /** - * Context Adaptive Variable Length Coder (CAVLC) entropy encoding. - */ - Cavlc = 'Cavlc', -} +export type EntropyMode = 'Cabac' | 'Cavlc'; /** * Defines values for H264Complexity. @@ -5091,111 +4786,25 @@ export enum EntropyMode { * @readonly * @enum {string} */ -export enum H264Complexity { - /** - * Tells the encoder to use settings that are optimized for faster encoding. - * Quality is sacrificed to decrease encoding time. - */ - Speed = 'Speed', - /** - * Tells the encoder to use settings that achieve a balance between speed and - * quality. - */ - Balanced = 'Balanced', - /** - * Tells the encoder to use settings that are optimized to produce higher - * quality output at the expense of slower overall encode time. - */ - Quality = 'Quality', -} +export type H264Complexity = 'Speed' | 'Balanced' | 'Quality'; /** * Defines values for EncoderNamedPreset. * Possible values include: 'H264SingleBitrateSD', 'H264SingleBitrate720p', * 'H264SingleBitrate1080p', 'AdaptiveStreaming', 'AACGoodQualityAudio', - * 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p', - * 'H264MultipleBitrateSD' + * 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p', 'H264MultipleBitrateSD' * @readonly * @enum {string} */ -export enum EncoderNamedPreset { - /** - * Produces an MP4 file where the video is encoded with H.264 codec at 2200 - * kbps and a picture height of 480 pixels, and the stereo audio is encoded - * with AAC-LC codec at 64 kbps. - */ - H264SingleBitrateSD = 'H264SingleBitrateSD', - /** - * Produces an MP4 file where the video is encoded with H.264 codec at 4500 - * kbps and a picture height of 720 pixels, and the stereo audio is encoded - * with AAC-LC codec at 64 kbps. - */ - H264SingleBitrate720p = 'H264SingleBitrate720p', - /** - * Produces an MP4 file where the video is encoded with H.264 codec at 6750 - * kbps and a picture height of 1080 pixels, and the stereo audio is encoded - * with AAC-LC codec at 64 kbps. - */ - H264SingleBitrate1080p = 'H264SingleBitrate1080p', - /** - * Produces a set of GOP aligned MP4 files with H.264 video and stereo AAC - * audio. Auto-generates a bitrate ladder based on the input resolution and - * bitrate. The auto-generated preset will never exceed the input resolution - * and bitrate. For example, if the input is 720p at 3 Mbps, output will - * remain 720p at best, and will start at rates lower than 3 Mbps. The output - * will will have video and audio in separate MP4 files, which is optimal for - * adaptive streaming. - */ - AdaptiveStreaming = 'AdaptiveStreaming', - /** - * Produces a single MP4 file containing only stereo audio encoded at 192 - * kbps. - */ - AACGoodQualityAudio = 'AACGoodQualityAudio', - /** - * Produces a set of 8 GOP-aligned MP4 files, ranging from 6000 kbps to 400 - * kbps, and stereo AAC audio. Resolution starts at 1080p and goes down to - * 360p. - */ - H264MultipleBitrate1080p = 'H264MultipleBitrate1080p', - /** - * Produces a set of 6 GOP-aligned MP4 files, ranging from 3400 kbps to 400 - * kbps, and stereo AAC audio. Resolution starts at 720p and goes down to - * 360p. - */ - H264MultipleBitrate720p = 'H264MultipleBitrate720p', - /** - * Produces a set of 5 GOP-aligned MP4 files, ranging from 1600kbps to 400 - * kbps, and stereo AAC audio. Resolution starts at 480p and goes down to - * 360p. - */ - H264MultipleBitrateSD = 'H264MultipleBitrateSD', -} +export type EncoderNamedPreset = 'H264SingleBitrateSD' | 'H264SingleBitrate720p' | 'H264SingleBitrate1080p' | 'AdaptiveStreaming' | 'AACGoodQualityAudio' | 'H264MultipleBitrate1080p' | 'H264MultipleBitrate720p' | 'H264MultipleBitrateSD'; /** * Defines values for InsightsType. - * Possible values include: 'AudioInsightsOnly', 'VideoInsightsOnly', - * 'AllInsights' + * Possible values include: 'AudioInsightsOnly', 'VideoInsightsOnly', 'AllInsights' * @readonly * @enum {string} */ -export enum InsightsType { - /** - * Generate audio only insights. Ignore video even if present. Fails if no - * audio is present. - */ - AudioInsightsOnly = 'AudioInsightsOnly', - /** - * Generate video only insights. Ignore audio if present. Fails if no video - * is present. - */ - VideoInsightsOnly = 'VideoInsightsOnly', - /** - * Generate both audio and video insights. Fails if either audio or video - * Insights fail. - */ - AllInsights = 'AllInsights', -} +export type InsightsType = 'AudioInsightsOnly' | 'VideoInsightsOnly' | 'AllInsights'; /** * Defines values for OnErrorType. @@ -5203,18 +4812,7 @@ export enum InsightsType { * @readonly * @enum {string} */ -export enum OnErrorType { - /** - * Tells the service that if this TransformOutput fails, then any other - * incomplete TransformOutputs can be stopped. - */ - StopProcessingJob = 'StopProcessingJob', - /** - * Tells the service that if this TransformOutput fails, then allow any other - * TransformOutput to continue. - */ - ContinueJob = 'ContinueJob', -} +export type OnErrorType = 'StopProcessingJob' | 'ContinueJob'; /** * Defines values for Priority. @@ -5222,110 +4820,25 @@ export enum OnErrorType { * @readonly * @enum {string} */ -export enum Priority { - /** - * Used for TransformOutputs that can be generated after Normal and High - * priority TransformOutputs. - */ - Low = 'Low', - /** - * Used for TransformOutputs that can be generated at Normal priority. - */ - Normal = 'Normal', - /** - * Used for TransformOutputs that should take precedence over others. - */ - High = 'High', -} +export type Priority = 'Low' | 'Normal' | 'High'; /** * Defines values for JobErrorCode. - * Possible values include: 'ServiceError', 'ServiceTransientError', - * 'DownloadNotAccessible', 'DownloadTransientError', 'UploadNotAccessible', - * 'UploadTransientError', 'ConfigurationUnsupported', 'ContentMalformed', - * 'ContentUnsupported' + * Possible values include: 'ServiceError', 'ServiceTransientError', 'DownloadNotAccessible', + * 'DownloadTransientError', 'UploadNotAccessible', 'UploadTransientError', + * 'ConfigurationUnsupported', 'ContentMalformed', 'ContentUnsupported' * @readonly * @enum {string} */ -export enum JobErrorCode { - /** - * Fatal service error, please contact support. - */ - ServiceError = 'ServiceError', - /** - * Transient error, please retry, if retry is unsuccessful, please contact - * support. - */ - ServiceTransientError = 'ServiceTransientError', - /** - * While trying to download the input files, the files were not accessible, - * please check the availability of the source. - */ - DownloadNotAccessible = 'DownloadNotAccessible', - /** - * While trying to download the input files, there was an issue during - * transfer (storage service, network errors), see details and check your - * source. - */ - DownloadTransientError = 'DownloadTransientError', - /** - * While trying to upload the output files, the destination was not - * reachable, please check the availability of the destination. - */ - UploadNotAccessible = 'UploadNotAccessible', - /** - * While trying to upload the output files, there was an issue during - * transfer (storage service, network errors), see details and check your - * destination. - */ - UploadTransientError = 'UploadTransientError', - /** - * There was a problem with the combination of input files and the - * configuration settings applied, fix the configuration settings and retry - * with the same input, or change input to match the configuration. - */ - ConfigurationUnsupported = 'ConfigurationUnsupported', - /** - * There was a problem with the input content (for example: zero byte files, - * or corrupt/non-decodable files), check the input files. - */ - ContentMalformed = 'ContentMalformed', - /** - * There was a problem with the format of the input (not valid media file, or - * an unsupported file/codec), check the validity of the input files. - */ - ContentUnsupported = 'ContentUnsupported', -} +export type JobErrorCode = 'ServiceError' | 'ServiceTransientError' | 'DownloadNotAccessible' | 'DownloadTransientError' | 'UploadNotAccessible' | 'UploadTransientError' | 'ConfigurationUnsupported' | 'ContentMalformed' | 'ContentUnsupported'; /** * Defines values for JobErrorCategory. - * Possible values include: 'Service', 'Download', 'Upload', 'Configuration', - * 'Content' + * Possible values include: 'Service', 'Download', 'Upload', 'Configuration', 'Content' * @readonly * @enum {string} */ -export enum JobErrorCategory { - /** - * The error is service related. - */ - Service = 'Service', - /** - * The error is download related. - */ - Download = 'Download', - /** - * The error is upload related. - */ - Upload = 'Upload', - /** - * The error is configuration related. - */ - Configuration = 'Configuration', - /** - * The error is related to data in the input files. - */ - Content = 'Content', -} +export type JobErrorCategory = 'Service' | 'Download' | 'Upload' | 'Configuration' | 'Content'; /** * Defines values for JobRetry. @@ -5333,59 +4846,16 @@ export enum JobErrorCategory { * @readonly * @enum {string} */ -export enum JobRetry { - /** - * Issue needs to be investigated and then the job resubmitted with - * corrections or retried once the underlying issue has been corrected. - */ - DoNotRetry = 'DoNotRetry', - /** - * Issue may be resolved after waiting for a period of time and resubmitting - * the same Job. - */ - MayRetry = 'MayRetry', -} +export type JobRetry = 'DoNotRetry' | 'MayRetry'; /** * Defines values for JobState. - * Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', - * 'Processing', 'Queued', 'Scheduled' + * Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', + * 'Scheduled' * @readonly * @enum {string} */ -export enum JobState { - /** - * The job was canceled. This is a final state for the job. - */ - Canceled = 'Canceled', - /** - * The job is in the process of being canceled. This is a transient state for - * the job. - */ - Canceling = 'Canceling', - /** - * The job has encountered an error. This is a final state for the job. - */ - Error = 'Error', - /** - * The job is finished. This is a final state for the job. - */ - Finished = 'Finished', - /** - * The job is processing. This is a transient state for the job. - */ - Processing = 'Processing', - /** - * The job is in a queued state, waiting for resources to become available. - * This is a transient state. - */ - Queued = 'Queued', - /** - * The job is being scheduled to run on an available resource. This is a - * transient state, between queued and processing states. - */ - Scheduled = 'Scheduled', -} +export type JobState = 'Canceled' | 'Canceling' | 'Error' | 'Finished' | 'Processing' | 'Queued' | 'Scheduled'; /** * Defines values for TrackPropertyType. @@ -5393,16 +4863,7 @@ export enum JobState { * @readonly * @enum {string} */ -export enum TrackPropertyType { - /** - * Unknown track property - */ - Unknown = 'Unknown', - /** - * Track FourCC - */ - FourCC = 'FourCC', -} +export type TrackPropertyType = 'Unknown' | 'FourCC'; /** * Defines values for TrackPropertyCompareOperation. @@ -5410,38 +4871,15 @@ export enum TrackPropertyType { * @readonly * @enum {string} */ -export enum TrackPropertyCompareOperation { - /** - * Unknown track property compare operation - */ - Unknown = 'Unknown', - /** - * Equal operation - */ - Equal = 'Equal', -} +export type TrackPropertyCompareOperation = 'Unknown' | 'Equal'; /** * Defines values for StreamingLocatorContentKeyType. - * Possible values include: 'CommonEncryptionCenc', 'CommonEncryptionCbcs', - * 'EnvelopeEncryption' + * Possible values include: 'CommonEncryptionCenc', 'CommonEncryptionCbcs', 'EnvelopeEncryption' * @readonly * @enum {string} */ -export enum StreamingLocatorContentKeyType { - /** - * Common Encryption using CENC - */ - CommonEncryptionCenc = 'CommonEncryptionCenc', - /** - * Common Encryption using CBCS - */ - CommonEncryptionCbcs = 'CommonEncryptionCbcs', - /** - * Envelope Encryption - */ - EnvelopeEncryption = 'EnvelopeEncryption', -} +export type StreamingLocatorContentKeyType = 'CommonEncryptionCenc' | 'CommonEncryptionCbcs' | 'EnvelopeEncryption'; /** * Defines values for StreamingPolicyStreamingProtocol. @@ -5449,50 +4887,16 @@ export enum StreamingLocatorContentKeyType { * @readonly * @enum {string} */ -export enum StreamingPolicyStreamingProtocol { - /** - * HLS protocol - */ - Hls = 'Hls', - /** - * DASH protocol - */ - Dash = 'Dash', - /** - * SmoothStreaming protocol - */ - SmoothStreaming = 'SmoothStreaming', - /** - * Download protocol - */ - Download = 'Download', -} +export type StreamingPolicyStreamingProtocol = 'Hls' | 'Dash' | 'SmoothStreaming' | 'Download'; /** * Defines values for EncryptionScheme. - * Possible values include: 'NoEncryption', 'EnvelopeEncryption', - * 'CommonEncryptionCenc', 'CommonEncryptionCbcs' + * Possible values include: 'NoEncryption', 'EnvelopeEncryption', 'CommonEncryptionCenc', + * 'CommonEncryptionCbcs' * @readonly * @enum {string} */ -export enum EncryptionScheme { - /** - * NoEncryption scheme - */ - NoEncryption = 'NoEncryption', - /** - * EnvelopeEncryption scheme - */ - EnvelopeEncryption = 'EnvelopeEncryption', - /** - * CommonEncryptionCenc scheme - */ - CommonEncryptionCenc = 'CommonEncryptionCenc', - /** - * CommonEncryptionCbcs scheme - */ - CommonEncryptionCbcs = 'CommonEncryptionCbcs', -} +export type EncryptionScheme = 'NoEncryption' | 'EnvelopeEncryption' | 'CommonEncryptionCenc' | 'CommonEncryptionCbcs'; /** * Defines values for LiveOutputResourceState. @@ -5500,11 +4904,7 @@ export enum EncryptionScheme { * @readonly * @enum {string} */ -export enum LiveOutputResourceState { - Creating = 'Creating', - Running = 'Running', - Deleting = 'Deleting', -} +export type LiveOutputResourceState = 'Creating' | 'Running' | 'Deleting'; /** * Defines values for LiveEventInputProtocol. @@ -5512,10 +4912,7 @@ export enum LiveOutputResourceState { * @readonly * @enum {string} */ -export enum LiveEventInputProtocol { - FragmentedMP4 = 'FragmentedMP4', - RTMP = 'RTMP', -} +export type LiveEventInputProtocol = 'FragmentedMP4' | 'RTMP'; /** * Defines values for LiveEventEncodingType. @@ -5523,25 +4920,15 @@ export enum LiveEventInputProtocol { * @readonly * @enum {string} */ -export enum LiveEventEncodingType { - None = 'None', - Basic = 'Basic', -} +export type LiveEventEncodingType = 'None' | 'Basic'; /** * Defines values for LiveEventResourceState. - * Possible values include: 'Stopped', 'Starting', 'Running', 'Stopping', - * 'Deleting' + * Possible values include: 'Stopped', 'Starting', 'Running', 'Stopping', 'Deleting' * @readonly * @enum {string} */ -export enum LiveEventResourceState { - Stopped = 'Stopped', - Starting = 'Starting', - Running = 'Running', - Stopping = 'Stopping', - Deleting = 'Deleting', -} +export type LiveEventResourceState = 'Stopped' | 'Starting' | 'Running' | 'Stopping' | 'Deleting'; /** * Defines values for StreamOptionsFlag. @@ -5549,26 +4936,15 @@ export enum LiveEventResourceState { * @readonly * @enum {string} */ -export enum StreamOptionsFlag { - Default = 'Default', - LowLatency = 'LowLatency', -} +export type StreamOptionsFlag = 'Default' | 'LowLatency'; /** * Defines values for StreamingEndpointResourceState. - * Possible values include: 'Stopped', 'Starting', 'Running', 'Stopping', - * 'Deleting', 'Scaling' + * Possible values include: 'Stopped', 'Starting', 'Running', 'Stopping', 'Deleting', 'Scaling' * @readonly * @enum {string} */ -export enum StreamingEndpointResourceState { - Stopped = 'Stopped', - Starting = 'Starting', - Running = 'Running', - Stopping = 'Stopping', - Deleting = 'Deleting', - Scaling = 'Scaling', -} +export type StreamingEndpointResourceState = 'Stopped' | 'Starting' | 'Running' | 'Stopping' | 'Deleting' | 'Scaling'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-mediaservices/lib/models/mappers.ts b/packages/@azure/arm-mediaservices/lib/models/mappers.ts index 46700329cd40..2a7fd1370d66 100644 --- a/packages/@azure/arm-mediaservices/lib/models/mappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -1290,11 +1290,6 @@ export const ContentKeyPolicyPlayReadyLicense: msRest.CompositeMapper = { serializedName: "contentKeyLocation", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "ContentKeyPolicyPlayReadyContentKeyLocation", className: "ContentKeyPolicyPlayReadyContentKeyLocation" } }, @@ -1502,11 +1497,6 @@ export const ContentKeyPolicyTokenRestriction: msRest.CompositeMapper = { serializedName: "primaryVerificationKey", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "ContentKeyPolicyRestrictionTokenKey", className: "ContentKeyPolicyRestrictionTokenKey" } }, @@ -1517,11 +1507,6 @@ export const ContentKeyPolicyTokenRestriction: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "ContentKeyPolicyRestrictionTokenKey", className: "ContentKeyPolicyRestrictionTokenKey" } } @@ -1718,11 +1703,6 @@ export const ContentKeyPolicyOption: msRest.CompositeMapper = { serializedName: "configuration", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "ContentKeyPolicyConfiguration", className: "ContentKeyPolicyConfiguration" } }, @@ -1731,11 +1711,6 @@ export const ContentKeyPolicyOption: msRest.CompositeMapper = { serializedName: "restriction", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "ContentKeyPolicyRestriction", className: "ContentKeyPolicyRestriction" } } @@ -2305,11 +2280,6 @@ export const Filters: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "Overlay", className: "Overlay" } } @@ -2496,8 +2466,6 @@ export const H264Video: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: Layer.type.polymorphicDiscriminator, - uberParent: "Layer", className: "H264Layer" } } @@ -2542,8 +2510,6 @@ export const JpgImage: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: Layer.type.polymorphicDiscriminator, - uberParent: "Layer", className: "JpgLayer" } } @@ -2641,8 +2607,6 @@ export const PngImage: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: Layer.type.polymorphicDiscriminator, - uberParent: "Layer", className: "PngLayer" } } @@ -2705,11 +2669,6 @@ export const StandardEncoderPreset: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "Codec", className: "Codec" } } @@ -2722,11 +2681,6 @@ export const StandardEncoderPreset: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "Format", className: "Format" } } @@ -2838,11 +2792,6 @@ export const TransformOutput: msRest.CompositeMapper = { serializedName: "preset", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "Preset", className: "Preset" } } @@ -2964,11 +2913,6 @@ export const JobInputs: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "JobInput", className: "JobInput" } } @@ -3241,11 +3185,6 @@ export const Job: msRest.CompositeMapper = { serializedName: "properties.input", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "JobInput", className: "JobInput" } }, @@ -3265,11 +3204,6 @@ export const Job: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "JobOutput", className: "JobOutput" } } diff --git a/packages/@azure/arm-mediaservices/lib/models/parameters.ts b/packages/@azure/arm-mediaservices/lib/models/parameters.ts index 3967e03686b6..8aa45c17e36a 100644 --- a/packages/@azure/arm-mediaservices/lib/models/parameters.ts +++ b/packages/@azure/arm-mediaservices/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-mediaservices/lib/operations/accountFilters.ts b/packages/@azure/arm-mediaservices/lib/operations/accountFilters.ts index 4c6df521bcaf..f5ccd55c9f9d 100644 --- a/packages/@azure/arm-mediaservices/lib/operations/accountFilters.ts +++ b/packages/@azure/arm-mediaservices/lib/operations/accountFilters.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/accountFiltersMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class AccountFilters { * @param callback The callback */ list(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -84,7 +84,7 @@ export class AccountFilters { * @param callback The callback */ get(resourceGroupName: string, accountName: string, filterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, filterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, filterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -124,7 +124,7 @@ export class AccountFilters { * @param callback The callback */ createOrUpdate(resourceGroupName: string, accountName: string, filterName: string, parameters: Models.AccountFilter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, accountName: string, filterName: string, parameters: Models.AccountFilter, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, accountName: string, filterName: string, parameters: Models.AccountFilter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class AccountFilters { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, filterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, filterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, filterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -202,7 +202,7 @@ export class AccountFilters { * @param callback The callback */ update(resourceGroupName: string, accountName: string, filterName: string, parameters: Models.AccountFilter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, filterName: string, parameters: Models.AccountFilter, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, filterName: string, parameters: Models.AccountFilter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -234,7 +234,7 @@ export class AccountFilters { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mediaservices/lib/operations/assetFilters.ts b/packages/@azure/arm-mediaservices/lib/operations/assetFilters.ts index ae9fe871f5f2..0f4b6a92b60a 100644 --- a/packages/@azure/arm-mediaservices/lib/operations/assetFilters.ts +++ b/packages/@azure/arm-mediaservices/lib/operations/assetFilters.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/assetFiltersMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class AssetFilters { * @param callback The callback */ list(resourceGroupName: string, accountName: string, assetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, accountName: string, assetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, accountName: string, assetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -91,7 +91,7 @@ export class AssetFilters { * @param callback The callback */ get(resourceGroupName: string, accountName: string, assetName: string, filterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, assetName: string, filterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, assetName: string, filterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -135,7 +135,7 @@ export class AssetFilters { * @param callback The callback */ createOrUpdate(resourceGroupName: string, accountName: string, assetName: string, filterName: string, parameters: Models.AssetFilter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, accountName: string, assetName: string, filterName: string, parameters: Models.AssetFilter, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, accountName: string, assetName: string, filterName: string, parameters: Models.AssetFilter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -177,7 +177,7 @@ export class AssetFilters { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, assetName: string, filterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, assetName: string, filterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, assetName: string, filterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -221,7 +221,7 @@ export class AssetFilters { * @param callback The callback */ update(resourceGroupName: string, accountName: string, assetName: string, filterName: string, parameters: Models.AssetFilter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, assetName: string, filterName: string, parameters: Models.AssetFilter, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, assetName: string, filterName: string, parameters: Models.AssetFilter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -254,7 +254,7 @@ export class AssetFilters { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mediaservices/lib/operations/assets.ts b/packages/@azure/arm-mediaservices/lib/operations/assets.ts index b3cbb864adcd..0de2d62d4c7e 100644 --- a/packages/@azure/arm-mediaservices/lib/operations/assets.ts +++ b/packages/@azure/arm-mediaservices/lib/operations/assets.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/assetsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Assets { * @param callback The callback */ list(resourceGroupName: string, accountName: string, options: Models.AssetsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, accountName: string, options?: Models.AssetsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, accountName: string, options?: Models.AssetsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -84,7 +84,7 @@ export class Assets { * @param callback The callback */ get(resourceGroupName: string, accountName: string, assetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, assetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, assetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -124,7 +124,7 @@ export class Assets { * @param callback The callback */ createOrUpdate(resourceGroupName: string, accountName: string, assetName: string, parameters: Models.Asset, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, accountName: string, assetName: string, parameters: Models.Asset, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, accountName: string, assetName: string, parameters: Models.Asset, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class Assets { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, assetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, assetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, assetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -202,7 +202,7 @@ export class Assets { * @param callback The callback */ update(resourceGroupName: string, accountName: string, assetName: string, parameters: Models.Asset, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, assetName: string, parameters: Models.Asset, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, assetName: string, parameters: Models.Asset, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -244,7 +244,7 @@ export class Assets { * @param callback The callback */ listContainerSas(resourceGroupName: string, accountName: string, assetName: string, parameters: Models.ListContainerSasInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listContainerSas(resourceGroupName: string, accountName: string, assetName: string, parameters: Models.ListContainerSasInput, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listContainerSas(resourceGroupName: string, accountName: string, assetName: string, parameters: Models.ListContainerSasInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -283,7 +283,7 @@ export class Assets { * @param callback The callback */ getEncryptionKey(resourceGroupName: string, accountName: string, assetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getEncryptionKey(resourceGroupName: string, accountName: string, assetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getEncryptionKey(resourceGroupName: string, accountName: string, assetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -320,7 +320,7 @@ export class Assets { * @param callback The callback */ listStreamingLocators(resourceGroupName: string, accountName: string, assetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listStreamingLocators(resourceGroupName: string, accountName: string, assetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listStreamingLocators(resourceGroupName: string, accountName: string, assetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -351,7 +351,7 @@ export class Assets { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mediaservices/lib/operations/contentKeyPolicies.ts b/packages/@azure/arm-mediaservices/lib/operations/contentKeyPolicies.ts index 416732ab7b80..0dca3126d27a 100644 --- a/packages/@azure/arm-mediaservices/lib/operations/contentKeyPolicies.ts +++ b/packages/@azure/arm-mediaservices/lib/operations/contentKeyPolicies.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/contentKeyPoliciesMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class ContentKeyPolicies { * @param callback The callback */ list(resourceGroupName: string, accountName: string, options: Models.ContentKeyPoliciesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, accountName: string, options?: Models.ContentKeyPoliciesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, accountName: string, options?: Models.ContentKeyPoliciesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -84,7 +84,7 @@ export class ContentKeyPolicies { * @param callback The callback */ get(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -124,7 +124,7 @@ export class ContentKeyPolicies { * @param callback The callback */ createOrUpdate(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, parameters: Models.ContentKeyPolicy, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, parameters: Models.ContentKeyPolicy, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, parameters: Models.ContentKeyPolicy, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class ContentKeyPolicies { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -202,7 +202,7 @@ export class ContentKeyPolicies { * @param callback The callback */ update(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, parameters: Models.ContentKeyPolicy, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, parameters: Models.ContentKeyPolicy, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, parameters: Models.ContentKeyPolicy, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -240,7 +240,7 @@ export class ContentKeyPolicies { * @param callback The callback */ getPolicyPropertiesWithSecrets(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPolicyPropertiesWithSecrets(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPolicyPropertiesWithSecrets(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -271,7 +271,7 @@ export class ContentKeyPolicies { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mediaservices/lib/operations/jobs.ts b/packages/@azure/arm-mediaservices/lib/operations/jobs.ts index de39cffa75b5..14614615ff78 100644 --- a/packages/@azure/arm-mediaservices/lib/operations/jobs.ts +++ b/packages/@azure/arm-mediaservices/lib/operations/jobs.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/jobsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class Jobs { * @param callback The callback */ list(resourceGroupName: string, accountName: string, transformName: string, options: Models.JobsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, accountName: string, transformName: string, options?: Models.JobsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, accountName: string, transformName: string, options?: Models.JobsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -91,7 +91,7 @@ export class Jobs { * @param callback The callback */ get(resourceGroupName: string, accountName: string, transformName: string, jobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, transformName: string, jobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, transformName: string, jobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -135,7 +135,7 @@ export class Jobs { * @param callback The callback */ create(resourceGroupName: string, accountName: string, transformName: string, jobName: string, parameters: Models.Job, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, accountName: string, transformName: string, jobName: string, parameters: Models.Job, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, accountName: string, transformName: string, jobName: string, parameters: Models.Job, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -177,7 +177,7 @@ export class Jobs { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, transformName: string, jobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, transformName: string, jobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, transformName: string, jobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -221,7 +221,7 @@ export class Jobs { * @param callback The callback */ update(resourceGroupName: string, accountName: string, transformName: string, jobName: string, parameters: Models.Job, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, transformName: string, jobName: string, parameters: Models.Job, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, transformName: string, jobName: string, parameters: Models.Job, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -263,7 +263,7 @@ export class Jobs { * @param callback The callback */ cancelJob(resourceGroupName: string, accountName: string, transformName: string, jobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - cancelJob(resourceGroupName: string, accountName: string, transformName: string, jobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + cancelJob(resourceGroupName: string, accountName: string, transformName: string, jobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -295,7 +295,7 @@ export class Jobs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mediaservices/lib/operations/liveEvents.ts b/packages/@azure/arm-mediaservices/lib/operations/liveEvents.ts index 7613d26338de..c06e63ea4dae 100644 --- a/packages/@azure/arm-mediaservices/lib/operations/liveEvents.ts +++ b/packages/@azure/arm-mediaservices/lib/operations/liveEvents.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/liveEventsMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class LiveEvents { * @param callback The callback */ list(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class LiveEvents { * @param callback The callback */ get(resourceGroupName: string, accountName: string, liveEventName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, liveEventName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, liveEventName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -333,7 +333,7 @@ export class LiveEvents { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mediaservices/lib/operations/liveOutputs.ts b/packages/@azure/arm-mediaservices/lib/operations/liveOutputs.ts index aa56b9eb8117..2dec4c75f9fe 100644 --- a/packages/@azure/arm-mediaservices/lib/operations/liveOutputs.ts +++ b/packages/@azure/arm-mediaservices/lib/operations/liveOutputs.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/liveOutputsMappers"; import * as Parameters from "../models/parameters"; @@ -52,7 +52,7 @@ export class LiveOutputs { * @param callback The callback */ list(resourceGroupName: string, accountName: string, liveEventName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, accountName: string, liveEventName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, accountName: string, liveEventName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -92,7 +92,7 @@ export class LiveOutputs { * @param callback The callback */ get(resourceGroupName: string, accountName: string, liveEventName: string, liveOutputName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, liveEventName: string, liveOutputName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, liveEventName: string, liveOutputName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -203,7 +203,7 @@ export class LiveOutputs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mediaservices/lib/operations/locations.ts b/packages/@azure/arm-mediaservices/lib/operations/locations.ts index 845b2f0e7dcc..ee17d6ba2f2c 100644 --- a/packages/@azure/arm-mediaservices/lib/operations/locations.ts +++ b/packages/@azure/arm-mediaservices/lib/operations/locations.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/locationsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Locations { * @param callback The callback */ checkNameAvailability(locationName: string, parameters: Models.CheckNameAvailabilityInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(locationName: string, parameters: Models.CheckNameAvailabilityInput, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(locationName: string, parameters: Models.CheckNameAvailabilityInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { locationName, diff --git a/packages/@azure/arm-mediaservices/lib/operations/mediaservices.ts b/packages/@azure/arm-mediaservices/lib/operations/mediaservices.ts index ad858acb2a5c..7cc6495c02ac 100644 --- a/packages/@azure/arm-mediaservices/lib/operations/mediaservices.ts +++ b/packages/@azure/arm-mediaservices/lib/operations/mediaservices.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/mediaservicesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Mediaservices { * @param callback The callback */ list(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -77,7 +77,7 @@ export class Mediaservices { * @param callback The callback */ get(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -113,7 +113,7 @@ export class Mediaservices { * @param callback The callback */ createOrUpdate(resourceGroupName: string, accountName: string, parameters: Models.MediaService, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, accountName: string, parameters: Models.MediaService, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, accountName: string, parameters: Models.MediaService, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -147,7 +147,7 @@ export class Mediaservices { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -183,7 +183,7 @@ export class Mediaservices { * @param callback The callback */ update(resourceGroupName: string, accountName: string, parameters: Models.MediaService, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, parameters: Models.MediaService, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, parameters: Models.MediaService, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -221,7 +221,7 @@ export class Mediaservices { * @param callback The callback */ syncStorageKeys(resourceGroupName: string, accountName: string, parameters: Models.SyncStorageKeysInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - syncStorageKeys(resourceGroupName: string, accountName: string, parameters: Models.SyncStorageKeysInput, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + syncStorageKeys(resourceGroupName: string, accountName: string, parameters: Models.SyncStorageKeysInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -249,7 +249,7 @@ export class Mediaservices { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -277,7 +277,7 @@ export class Mediaservices { * @param callback The callback */ getBySubscription(accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getBySubscription(accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getBySubscription(accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { accountName, @@ -306,7 +306,7 @@ export class Mediaservices { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -335,7 +335,7 @@ export class Mediaservices { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mediaservices/lib/operations/operations.ts b/packages/@azure/arm-mediaservices/lib/operations/operations.ts index 5ad90ab8d46c..8b5ee4c6fecd 100644 --- a/packages/@azure/arm-mediaservices/lib/operations/operations.ts +++ b/packages/@azure/arm-mediaservices/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"; @@ -42,7 +42,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mediaservices/lib/operations/streamingEndpoints.ts b/packages/@azure/arm-mediaservices/lib/operations/streamingEndpoints.ts index 02dcc48bd033..51a00cbba68c 100644 --- a/packages/@azure/arm-mediaservices/lib/operations/streamingEndpoints.ts +++ b/packages/@azure/arm-mediaservices/lib/operations/streamingEndpoints.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/streamingEndpointsMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class StreamingEndpoints { * @param callback The callback */ list(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class StreamingEndpoints { * @param callback The callback */ get(resourceGroupName: string, accountName: string, streamingEndpointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -335,7 +335,7 @@ export class StreamingEndpoints { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mediaservices/lib/operations/streamingLocators.ts b/packages/@azure/arm-mediaservices/lib/operations/streamingLocators.ts index 3f1f740a8abf..41ade18824cd 100644 --- a/packages/@azure/arm-mediaservices/lib/operations/streamingLocators.ts +++ b/packages/@azure/arm-mediaservices/lib/operations/streamingLocators.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/streamingLocatorsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class StreamingLocators { * @param callback The callback */ list(resourceGroupName: string, accountName: string, options: Models.StreamingLocatorsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, accountName: string, options?: Models.StreamingLocatorsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, accountName: string, options?: Models.StreamingLocatorsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -84,7 +84,7 @@ export class StreamingLocators { * @param callback The callback */ get(resourceGroupName: string, accountName: string, streamingLocatorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, streamingLocatorName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, streamingLocatorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -124,7 +124,7 @@ export class StreamingLocators { * @param callback The callback */ create(resourceGroupName: string, accountName: string, streamingLocatorName: string, parameters: Models.StreamingLocator, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, accountName: string, streamingLocatorName: string, parameters: Models.StreamingLocator, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, accountName: string, streamingLocatorName: string, parameters: Models.StreamingLocator, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class StreamingLocators { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, streamingLocatorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, streamingLocatorName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, streamingLocatorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -199,7 +199,7 @@ export class StreamingLocators { * @param callback The callback */ listContentKeys(resourceGroupName: string, accountName: string, streamingLocatorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listContentKeys(resourceGroupName: string, accountName: string, streamingLocatorName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listContentKeys(resourceGroupName: string, accountName: string, streamingLocatorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -236,7 +236,7 @@ export class StreamingLocators { * @param callback The callback */ listPaths(resourceGroupName: string, accountName: string, streamingLocatorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPaths(resourceGroupName: string, accountName: string, streamingLocatorName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPaths(resourceGroupName: string, accountName: string, streamingLocatorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -267,7 +267,7 @@ export class StreamingLocators { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mediaservices/lib/operations/streamingPolicies.ts b/packages/@azure/arm-mediaservices/lib/operations/streamingPolicies.ts index 0792a4e12cc9..c36bd009e7cb 100644 --- a/packages/@azure/arm-mediaservices/lib/operations/streamingPolicies.ts +++ b/packages/@azure/arm-mediaservices/lib/operations/streamingPolicies.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/streamingPoliciesMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class StreamingPolicies { * @param callback The callback */ list(resourceGroupName: string, accountName: string, options: Models.StreamingPoliciesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, accountName: string, options?: Models.StreamingPoliciesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, accountName: string, options?: Models.StreamingPoliciesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -84,7 +84,7 @@ export class StreamingPolicies { * @param callback The callback */ get(resourceGroupName: string, accountName: string, streamingPolicyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, streamingPolicyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, streamingPolicyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -124,7 +124,7 @@ export class StreamingPolicies { * @param callback The callback */ create(resourceGroupName: string, accountName: string, streamingPolicyName: string, parameters: Models.StreamingPolicy, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, accountName: string, streamingPolicyName: string, parameters: Models.StreamingPolicy, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, accountName: string, streamingPolicyName: string, parameters: Models.StreamingPolicy, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class StreamingPolicies { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, streamingPolicyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, streamingPolicyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, streamingPolicyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -193,7 +193,7 @@ export class StreamingPolicies { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mediaservices/lib/operations/transforms.ts b/packages/@azure/arm-mediaservices/lib/operations/transforms.ts index 188cd033b1eb..58f3b5f1016e 100644 --- a/packages/@azure/arm-mediaservices/lib/operations/transforms.ts +++ b/packages/@azure/arm-mediaservices/lib/operations/transforms.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/transformsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Transforms { * @param callback The callback */ list(resourceGroupName: string, accountName: string, options: Models.TransformsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, accountName: string, options?: Models.TransformsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, accountName: string, options?: Models.TransformsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -84,7 +84,7 @@ export class Transforms { * @param callback The callback */ get(resourceGroupName: string, accountName: string, transformName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, transformName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, transformName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -124,7 +124,7 @@ export class Transforms { * @param callback The callback */ createOrUpdate(resourceGroupName: string, accountName: string, transformName: string, parameters: Models.Transform, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, accountName: string, transformName: string, parameters: Models.Transform, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, accountName: string, transformName: string, parameters: Models.Transform, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class Transforms { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, transformName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, transformName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, transformName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -202,7 +202,7 @@ export class Transforms { * @param callback The callback */ update(resourceGroupName: string, accountName: string, transformName: string, parameters: Models.Transform, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, transformName: string, parameters: Models.Transform, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, transformName: string, parameters: Models.Transform, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -234,7 +234,7 @@ export class Transforms { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mediaservices/package.json b/packages/@azure/arm-mediaservices/package.json index 1e6087cbafa5..7ed750d11871 100644 --- a/packages/@azure/arm-mediaservices/package.json +++ b/packages/@azure/arm-mediaservices/package.json @@ -4,8 +4,8 @@ "description": "AzureMediaServices Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-mediaservices.js.map'\" -o ./dist/arm-mediaservices.min.js ./dist/arm-mediaservices.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-mediaservices/rollup.config.js b/packages/@azure/arm-mediaservices/rollup.config.js index 8edd49957724..7836a9b55843 100644 --- a/packages/@azure/arm-mediaservices/rollup.config.js +++ b/packages/@azure/arm-mediaservices/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/azureMediaServices.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-mediaservices.js", format: "umd", name: "Azure.ArmMediaservices", 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-mediaservices/tsconfig.esm.json b/packages/@azure/arm-mediaservices/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-mediaservices/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-mediaservices/tsconfig.json b/packages/@azure/arm-mediaservices/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-mediaservices/tsconfig.json +++ b/packages/@azure/arm-mediaservices/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-mediaservices/webpack.config.js b/packages/@azure/arm-mediaservices/webpack.config.js deleted file mode 100644 index 62291f9bac68..000000000000 --- a/packages/@azure/arm-mediaservices/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/azureMediaServices.js', - devtool: 'source-map', - output: { - filename: 'azureMediaServicesBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'azureMediaServices' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-migrate/.npmignore b/packages/@azure/arm-migrate/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-migrate/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-migrate/README.md b/packages/@azure/arm-migrate/README.md index 720e33e4a1bb..1410bc5f17c7 100644 --- a/packages/@azure/arm-migrate/README.md +++ b/packages/@azure/arm-migrate/README.md @@ -1,24 +1,34 @@ -# Azure AzureMigrate SDK for JavaScript +## Azure AzureMigrate SDK for JavaScript + This package contains an isomorphic SDK for AzureMigrate. -## 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-migrate ``` +### How to use + +#### nodejs - Authentication, client creation and get assessmentOptions as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get assessmentOptions as an example written in TypeScript. +##### Sample code ```ts -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 { AzureMigrate, AzureMigrateModels, AzureMigrateMappers } from "@azure/arm-migrate"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -34,7 +44,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get assessmentOptions as an example written in JavaScript. +#### browser - Authentication, client creation and get assessmentOptions as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -43,11 +62,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-migrate 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-migrate/lib/azureMigrate.ts b/packages/@azure/arm-migrate/lib/azureMigrate.ts index 2ce93f23ec53..48e178cca807 100644 --- a/packages/@azure/arm-migrate/lib/azureMigrate.ts +++ b/packages/@azure/arm-migrate/lib/azureMigrate.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-migrate/lib/azureMigrateContext.ts b/packages/@azure/arm-migrate/lib/azureMigrateContext.ts index 2caf4b339ea5..72bc3b910a84 100644 --- a/packages/@azure/arm-migrate/lib/azureMigrateContext.ts +++ b/packages/@azure/arm-migrate/lib/azureMigrateContext.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-migrate"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class AzureMigrateContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -37,6 +37,11 @@ export class AzureMigrateContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-02-02'; @@ -46,7 +51,6 @@ export class AzureMigrateContext extends msRestAzure.AzureServiceClient { this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-migrate/lib/models/index.ts b/packages/@azure/arm-migrate/lib/models/index.ts index 77456c0ca7b3..d99928f20305 100644 --- a/packages/@azure/arm-migrate/lib/models/index.ts +++ b/packages/@azure/arm-migrate/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1725,658 +1725,220 @@ export interface OperationResultList extends Array { /** * Defines values for DiscoveryStatus. * Possible values include: 'Unknown', 'NotStarted', 'InProgress', 'Completed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DiscoveryStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DiscoveryStatus { - Unknown = 'Unknown', - NotStarted = 'NotStarted', - InProgress = 'InProgress', - Completed = 'Completed', -} +export type DiscoveryStatus = 'Unknown' | 'NotStarted' | 'InProgress' | 'Completed'; /** * Defines values for ProvisioningState. - * Possible values include: 'Accepted', 'Creating', 'Deleting', 'Failed', - * 'Moving', 'Succeeded' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Accepted', 'Creating', 'Deleting', 'Failed', 'Moving', 'Succeeded' * @readonly * @enum {string} */ -export enum ProvisioningState { - Accepted = 'Accepted', - Creating = 'Creating', - Deleting = 'Deleting', - Failed = 'Failed', - Moving = 'Moving', - Succeeded = 'Succeeded', -} +export type ProvisioningState = 'Accepted' | 'Creating' | 'Deleting' | 'Failed' | 'Moving' | 'Succeeded'; /** * Defines values for AzureLocation. - * Possible values include: 'Unknown', 'EastAsia', 'SoutheastAsia', - * 'AustraliaEast', 'AustraliaSoutheast', 'BrazilSouth', 'CanadaCentral', - * 'CanadaEast', 'WestEurope', 'NorthEurope', 'CentralIndia', 'SouthIndia', - * 'WestIndia', 'JapanEast', 'JapanWest', 'KoreaCentral', 'KoreaSouth', - * 'UkWest', 'UkSouth', 'NorthCentralUs', 'EastUs', 'WestUs2', - * 'SouthCentralUs', 'CentralUs', 'EastUs2', 'WestUs', 'WestCentralUs', - * 'GermanyCentral', 'GermanyNortheast', 'ChinaNorth', 'ChinaEast' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AzureLocation = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'EastAsia', 'SoutheastAsia', 'AustraliaEast', + * 'AustraliaSoutheast', 'BrazilSouth', 'CanadaCentral', 'CanadaEast', 'WestEurope', 'NorthEurope', + * 'CentralIndia', 'SouthIndia', 'WestIndia', 'JapanEast', 'JapanWest', 'KoreaCentral', + * 'KoreaSouth', 'UkWest', 'UkSouth', 'NorthCentralUs', 'EastUs', 'WestUs2', 'SouthCentralUs', + * 'CentralUs', 'EastUs2', 'WestUs', 'WestCentralUs', 'GermanyCentral', 'GermanyNortheast', + * 'ChinaNorth', 'ChinaEast' * @readonly * @enum {string} */ -export enum AzureLocation { - Unknown = 'Unknown', - EastAsia = 'EastAsia', - SoutheastAsia = 'SoutheastAsia', - AustraliaEast = 'AustraliaEast', - AustraliaSoutheast = 'AustraliaSoutheast', - BrazilSouth = 'BrazilSouth', - CanadaCentral = 'CanadaCentral', - CanadaEast = 'CanadaEast', - WestEurope = 'WestEurope', - NorthEurope = 'NorthEurope', - CentralIndia = 'CentralIndia', - SouthIndia = 'SouthIndia', - WestIndia = 'WestIndia', - JapanEast = 'JapanEast', - JapanWest = 'JapanWest', - KoreaCentral = 'KoreaCentral', - KoreaSouth = 'KoreaSouth', - UkWest = 'UkWest', - UkSouth = 'UkSouth', - NorthCentralUs = 'NorthCentralUs', - EastUs = 'EastUs', - WestUs2 = 'WestUs2', - SouthCentralUs = 'SouthCentralUs', - CentralUs = 'CentralUs', - EastUs2 = 'EastUs2', - WestUs = 'WestUs', - WestCentralUs = 'WestCentralUs', - GermanyCentral = 'GermanyCentral', - GermanyNortheast = 'GermanyNortheast', - ChinaNorth = 'ChinaNorth', - ChinaEast = 'ChinaEast', -} +export type AzureLocation = 'Unknown' | 'EastAsia' | 'SoutheastAsia' | 'AustraliaEast' | 'AustraliaSoutheast' | 'BrazilSouth' | 'CanadaCentral' | 'CanadaEast' | 'WestEurope' | 'NorthEurope' | 'CentralIndia' | 'SouthIndia' | 'WestIndia' | 'JapanEast' | 'JapanWest' | 'KoreaCentral' | 'KoreaSouth' | 'UkWest' | 'UkSouth' | 'NorthCentralUs' | 'EastUs' | 'WestUs2' | 'SouthCentralUs' | 'CentralUs' | 'EastUs2' | 'WestUs' | 'WestCentralUs' | 'GermanyCentral' | 'GermanyNortheast' | 'ChinaNorth' | 'ChinaEast'; /** * Defines values for AzureOfferCode. - * Possible values include: 'Unknown', 'MSAZR0003P', 'MSAZR0044P', - * 'MSAZR0059P', 'MSAZR0060P', 'MSAZR0062P', 'MSAZR0063P', 'MSAZR0064P', - * 'MSAZR0029P', 'MSAZR0022P', 'MSAZR0023P', 'MSAZR0148P', 'MSAZR0025P', - * 'MSAZR0036P', 'MSAZR0120P', 'MSAZR0121P', 'MSAZR0122P', 'MSAZR0123P', - * 'MSAZR0124P', 'MSAZR0125P', 'MSAZR0126P', 'MSAZR0127P', 'MSAZR0128P', - * 'MSAZR0129P', 'MSAZR0130P', 'MSAZR0111P', 'MSAZR0144P', 'MSAZR0149P', - * 'MSMCAZR0044P', 'MSMCAZR0059P', 'MSMCAZR0060P', 'MSMCAZR0063P', - * 'MSMCAZR0120P', 'MSMCAZR0121P', 'MSMCAZR0125P', 'MSMCAZR0128P', - * 'MSAZRDE0003P', 'MSAZRDE0044P' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AzureOfferCode = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'MSAZR0003P', 'MSAZR0044P', 'MSAZR0059P', 'MSAZR0060P', + * 'MSAZR0062P', 'MSAZR0063P', 'MSAZR0064P', 'MSAZR0029P', 'MSAZR0022P', 'MSAZR0023P', + * 'MSAZR0148P', 'MSAZR0025P', 'MSAZR0036P', 'MSAZR0120P', 'MSAZR0121P', 'MSAZR0122P', + * 'MSAZR0123P', 'MSAZR0124P', 'MSAZR0125P', 'MSAZR0126P', 'MSAZR0127P', 'MSAZR0128P', + * 'MSAZR0129P', 'MSAZR0130P', 'MSAZR0111P', 'MSAZR0144P', 'MSAZR0149P', 'MSMCAZR0044P', + * 'MSMCAZR0059P', 'MSMCAZR0060P', 'MSMCAZR0063P', 'MSMCAZR0120P', 'MSMCAZR0121P', 'MSMCAZR0125P', + * 'MSMCAZR0128P', 'MSAZRDE0003P', 'MSAZRDE0044P' * @readonly * @enum {string} */ -export enum AzureOfferCode { - Unknown = 'Unknown', - MSAZR0003P = 'MSAZR0003P', - MSAZR0044P = 'MSAZR0044P', - MSAZR0059P = 'MSAZR0059P', - MSAZR0060P = 'MSAZR0060P', - MSAZR0062P = 'MSAZR0062P', - MSAZR0063P = 'MSAZR0063P', - MSAZR0064P = 'MSAZR0064P', - MSAZR0029P = 'MSAZR0029P', - MSAZR0022P = 'MSAZR0022P', - MSAZR0023P = 'MSAZR0023P', - MSAZR0148P = 'MSAZR0148P', - MSAZR0025P = 'MSAZR0025P', - MSAZR0036P = 'MSAZR0036P', - MSAZR0120P = 'MSAZR0120P', - MSAZR0121P = 'MSAZR0121P', - MSAZR0122P = 'MSAZR0122P', - MSAZR0123P = 'MSAZR0123P', - MSAZR0124P = 'MSAZR0124P', - MSAZR0125P = 'MSAZR0125P', - MSAZR0126P = 'MSAZR0126P', - MSAZR0127P = 'MSAZR0127P', - MSAZR0128P = 'MSAZR0128P', - MSAZR0129P = 'MSAZR0129P', - MSAZR0130P = 'MSAZR0130P', - MSAZR0111P = 'MSAZR0111P', - MSAZR0144P = 'MSAZR0144P', - MSAZR0149P = 'MSAZR0149P', - MSMCAZR0044P = 'MSMCAZR0044P', - MSMCAZR0059P = 'MSMCAZR0059P', - MSMCAZR0060P = 'MSMCAZR0060P', - MSMCAZR0063P = 'MSMCAZR0063P', - MSMCAZR0120P = 'MSMCAZR0120P', - MSMCAZR0121P = 'MSMCAZR0121P', - MSMCAZR0125P = 'MSMCAZR0125P', - MSMCAZR0128P = 'MSMCAZR0128P', - MSAZRDE0003P = 'MSAZRDE0003P', - MSAZRDE0044P = 'MSAZRDE0044P', -} +export type AzureOfferCode = 'Unknown' | 'MSAZR0003P' | 'MSAZR0044P' | 'MSAZR0059P' | 'MSAZR0060P' | 'MSAZR0062P' | 'MSAZR0063P' | 'MSAZR0064P' | 'MSAZR0029P' | 'MSAZR0022P' | 'MSAZR0023P' | 'MSAZR0148P' | 'MSAZR0025P' | 'MSAZR0036P' | 'MSAZR0120P' | 'MSAZR0121P' | 'MSAZR0122P' | 'MSAZR0123P' | 'MSAZR0124P' | 'MSAZR0125P' | 'MSAZR0126P' | 'MSAZR0127P' | 'MSAZR0128P' | 'MSAZR0129P' | 'MSAZR0130P' | 'MSAZR0111P' | 'MSAZR0144P' | 'MSAZR0149P' | 'MSMCAZR0044P' | 'MSMCAZR0059P' | 'MSMCAZR0060P' | 'MSMCAZR0063P' | 'MSMCAZR0120P' | 'MSMCAZR0121P' | 'MSMCAZR0125P' | 'MSMCAZR0128P' | 'MSAZRDE0003P' | 'MSAZRDE0044P'; /** * Defines values for AzurePricingTier. * Possible values include: 'Standard', 'Basic' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AzurePricingTier = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AzurePricingTier { - Standard = 'Standard', - Basic = 'Basic', -} +export type AzurePricingTier = 'Standard' | 'Basic'; /** * Defines values for AzureStorageRedundancy. - * Possible values include: 'Unknown', 'LocallyRedundant', 'ZoneRedundant', - * 'GeoRedundant', 'ReadAccessGeoRedundant' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AzureStorageRedundancy = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'LocallyRedundant', 'ZoneRedundant', 'GeoRedundant', + * 'ReadAccessGeoRedundant' * @readonly * @enum {string} */ -export enum AzureStorageRedundancy { - Unknown = 'Unknown', - LocallyRedundant = 'LocallyRedundant', - ZoneRedundant = 'ZoneRedundant', - GeoRedundant = 'GeoRedundant', - ReadAccessGeoRedundant = 'ReadAccessGeoRedundant', -} +export type AzureStorageRedundancy = 'Unknown' | 'LocallyRedundant' | 'ZoneRedundant' | 'GeoRedundant' | 'ReadAccessGeoRedundant'; /** * Defines values for Percentile. - * Possible values include: 'Percentile50', 'Percentile90', 'Percentile95', - * 'Percentile99' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Percentile = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Percentile50', 'Percentile90', 'Percentile95', 'Percentile99' * @readonly * @enum {string} */ -export enum Percentile { - Percentile50 = 'Percentile50', - Percentile90 = 'Percentile90', - Percentile95 = 'Percentile95', - Percentile99 = 'Percentile99', -} +export type Percentile = 'Percentile50' | 'Percentile90' | 'Percentile95' | 'Percentile99'; /** * Defines values for TimeRange. * Possible values include: 'Day', 'Week', 'Month' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TimeRange = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TimeRange { - Day = 'Day', - Week = 'Week', - Month = 'Month', -} +export type TimeRange = 'Day' | 'Week' | 'Month'; /** * Defines values for AssessmentStage. * Possible values include: 'InProgress', 'UnderReview', 'Approved' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AssessmentStage = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AssessmentStage { - InProgress = 'InProgress', - UnderReview = 'UnderReview', - Approved = 'Approved', -} +export type AssessmentStage = 'InProgress' | 'UnderReview' | 'Approved'; /** * Defines values for Currency. - * Possible values include: 'Unknown', 'USD', 'DKK', 'CAD', 'IDR', 'JPY', - * 'KRW', 'NZD', 'NOK', 'RUB', 'SAR', 'ZAR', 'SEK', 'TRY', 'GBP', 'MXN', 'MYR', - * 'INR', 'HKD', 'BRL', 'TWD', 'EUR', 'CHF', 'ARS', 'AUD', 'CNY' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Currency = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'USD', 'DKK', 'CAD', 'IDR', 'JPY', 'KRW', 'NZD', 'NOK', + * 'RUB', 'SAR', 'ZAR', 'SEK', 'TRY', 'GBP', 'MXN', 'MYR', 'INR', 'HKD', 'BRL', 'TWD', 'EUR', + * 'CHF', 'ARS', 'AUD', 'CNY' * @readonly * @enum {string} */ -export enum Currency { - Unknown = 'Unknown', - USD = 'USD', - DKK = 'DKK', - CAD = 'CAD', - IDR = 'IDR', - JPY = 'JPY', - KRW = 'KRW', - NZD = 'NZD', - NOK = 'NOK', - RUB = 'RUB', - SAR = 'SAR', - ZAR = 'ZAR', - SEK = 'SEK', - TRY = 'TRY', - GBP = 'GBP', - MXN = 'MXN', - MYR = 'MYR', - INR = 'INR', - HKD = 'HKD', - BRL = 'BRL', - TWD = 'TWD', - EUR = 'EUR', - CHF = 'CHF', - ARS = 'ARS', - AUD = 'AUD', - CNY = 'CNY', -} +export type Currency = 'Unknown' | 'USD' | 'DKK' | 'CAD' | 'IDR' | 'JPY' | 'KRW' | 'NZD' | 'NOK' | 'RUB' | 'SAR' | 'ZAR' | 'SEK' | 'TRY' | 'GBP' | 'MXN' | 'MYR' | 'INR' | 'HKD' | 'BRL' | 'TWD' | 'EUR' | 'CHF' | 'ARS' | 'AUD' | 'CNY'; /** * Defines values for AzureHybridUseBenefit. * Possible values include: 'Unknown', 'Yes', 'No' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AzureHybridUseBenefit = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AzureHybridUseBenefit { - Unknown = 'Unknown', - Yes = 'Yes', - No = 'No', -} +export type AzureHybridUseBenefit = 'Unknown' | 'Yes' | 'No'; /** * Defines values for AssessmentSizingCriterion. * Possible values include: 'PerformanceBased', 'AsOnPremises' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AssessmentSizingCriterion = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AssessmentSizingCriterion { - PerformanceBased = 'PerformanceBased', - AsOnPremises = 'AsOnPremises', -} +export type AssessmentSizingCriterion = 'PerformanceBased' | 'AsOnPremises'; /** * Defines values for AssessmentStatus. - * Possible values include: 'Created', 'Updated', 'Running', 'Completed', - * 'Invalid' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AssessmentStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Created', 'Updated', 'Running', 'Completed', 'Invalid' * @readonly * @enum {string} */ -export enum AssessmentStatus { - Created = 'Created', - Updated = 'Updated', - Running = 'Running', - Completed = 'Completed', - Invalid = 'Invalid', -} +export type AssessmentStatus = 'Created' | 'Updated' | 'Running' | 'Completed' | 'Invalid'; /** * Defines values for MachineBootType. * Possible values include: 'Unknown', 'EFI', 'BIOS' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MachineBootType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum MachineBootType { - Unknown = 'Unknown', - EFI = 'EFI', - BIOS = 'BIOS', -} +export type MachineBootType = 'Unknown' | 'EFI' | 'BIOS'; /** * Defines values for AzureDiskType. * Possible values include: 'Unknown', 'Standard', 'Premium' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AzureDiskType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AzureDiskType { - Unknown = 'Unknown', - Standard = 'Standard', - Premium = 'Premium', -} +export type AzureDiskType = 'Unknown' | 'Standard' | 'Premium'; /** * Defines values for AzureDiskSize. - * Possible values include: 'Unknown', 'Standard_S4', 'Standard_S6', - * 'Standard_S10', 'Standard_S20', 'Standard_S30', 'Standard_S40', - * 'Standard_S50', 'Premium_P4', 'Premium_P6', 'Premium_P10', 'Premium_P20', - * 'Premium_P30', 'Premium_P40', 'Premium_P50' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AzureDiskSize = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'Standard_S4', 'Standard_S6', 'Standard_S10', + * 'Standard_S20', 'Standard_S30', 'Standard_S40', 'Standard_S50', 'Premium_P4', 'Premium_P6', + * 'Premium_P10', 'Premium_P20', 'Premium_P30', 'Premium_P40', 'Premium_P50' * @readonly * @enum {string} */ -export enum AzureDiskSize { - Unknown = 'Unknown', - StandardS4 = 'Standard_S4', - StandardS6 = 'Standard_S6', - StandardS10 = 'Standard_S10', - StandardS20 = 'Standard_S20', - StandardS30 = 'Standard_S30', - StandardS40 = 'Standard_S40', - StandardS50 = 'Standard_S50', - PremiumP4 = 'Premium_P4', - PremiumP6 = 'Premium_P6', - PremiumP10 = 'Premium_P10', - PremiumP20 = 'Premium_P20', - PremiumP30 = 'Premium_P30', - PremiumP40 = 'Premium_P40', - PremiumP50 = 'Premium_P50', -} +export type AzureDiskSize = 'Unknown' | 'Standard_S4' | 'Standard_S6' | 'Standard_S10' | 'Standard_S20' | 'Standard_S30' | 'Standard_S40' | 'Standard_S50' | 'Premium_P4' | 'Premium_P6' | 'Premium_P10' | 'Premium_P20' | 'Premium_P30' | 'Premium_P40' | 'Premium_P50'; /** * Defines values for CloudSuitability. - * Possible values include: 'Unknown', 'NotSuitable', 'Suitable', - * 'ConditionallySuitable', 'ReadinessUnknown' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CloudSuitability = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'NotSuitable', 'Suitable', 'ConditionallySuitable', + * 'ReadinessUnknown' * @readonly * @enum {string} */ -export enum CloudSuitability { - Unknown = 'Unknown', - NotSuitable = 'NotSuitable', - Suitable = 'Suitable', - ConditionallySuitable = 'ConditionallySuitable', - ReadinessUnknown = 'ReadinessUnknown', -} +export type CloudSuitability = 'Unknown' | 'NotSuitable' | 'Suitable' | 'ConditionallySuitable' | 'ReadinessUnknown'; /** * Defines values for AzureDiskSuitabilityExplanation. - * Possible values include: 'Unknown', 'NotApplicable', - * 'DiskSizeGreaterThanSupported', 'NoSuitableDiskSizeForIops', - * 'NoSuitableDiskSizeForThroughput', 'NoDiskSizeFoundInSelectedLocation', - * 'NoDiskSizeFoundForSelectedRedundancy', + * Possible values include: 'Unknown', 'NotApplicable', 'DiskSizeGreaterThanSupported', + * 'NoSuitableDiskSizeForIops', 'NoSuitableDiskSizeForThroughput', + * 'NoDiskSizeFoundInSelectedLocation', 'NoDiskSizeFoundForSelectedRedundancy', * 'InternalErrorOccurredForDiskEvaluation' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AzureDiskSuitabilityExplanation = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AzureDiskSuitabilityExplanation { - Unknown = 'Unknown', - NotApplicable = 'NotApplicable', - DiskSizeGreaterThanSupported = 'DiskSizeGreaterThanSupported', - NoSuitableDiskSizeForIops = 'NoSuitableDiskSizeForIops', - NoSuitableDiskSizeForThroughput = 'NoSuitableDiskSizeForThroughput', - NoDiskSizeFoundInSelectedLocation = 'NoDiskSizeFoundInSelectedLocation', - NoDiskSizeFoundForSelectedRedundancy = 'NoDiskSizeFoundForSelectedRedundancy', - InternalErrorOccurredForDiskEvaluation = 'InternalErrorOccurredForDiskEvaluation', -} +export type AzureDiskSuitabilityExplanation = 'Unknown' | 'NotApplicable' | 'DiskSizeGreaterThanSupported' | 'NoSuitableDiskSizeForIops' | 'NoSuitableDiskSizeForThroughput' | 'NoDiskSizeFoundInSelectedLocation' | 'NoDiskSizeFoundForSelectedRedundancy' | 'InternalErrorOccurredForDiskEvaluation'; /** * Defines values for AzureNetworkAdapterSuitabilityExplanation. * Possible values include: 'Unknown', 'NotApplicable', 'InternalErrorOccured' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AzureNetworkAdapterSuitabilityExplanation = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AzureNetworkAdapterSuitabilityExplanation { - Unknown = 'Unknown', - NotApplicable = 'NotApplicable', - InternalErrorOccured = 'InternalErrorOccured', -} +export type AzureNetworkAdapterSuitabilityExplanation = 'Unknown' | 'NotApplicable' | 'InternalErrorOccured'; /** * Defines values for AzureVmSize. - * Possible values include: 'Unknown', 'Basic_A0', 'Basic_A1', 'Basic_A2', - * 'Basic_A3', 'Basic_A4', 'Standard_A0', 'Standard_A1', 'Standard_A2', - * 'Standard_A3', 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', - * 'Standard_A8', 'Standard_A9', 'Standard_A10', 'Standard_A11', - * 'Standard_A1_v2', 'Standard_A2_v2', 'Standard_A4_v2', 'Standard_A8_v2', - * 'Standard_A2m_v2', 'Standard_A4m_v2', 'Standard_A8m_v2', 'Standard_D1', - * 'Standard_D2', 'Standard_D3', 'Standard_D4', 'Standard_D11', 'Standard_D12', - * 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', 'Standard_D2_v2', - * 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2', - * 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_D15_v2', - * 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', 'Standard_DS4', - * 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', - * 'Standard_DS1_v2', 'Standard_DS2_v2', 'Standard_DS3_v2', 'Standard_DS4_v2', - * 'Standard_DS5_v2', 'Standard_DS11_v2', 'Standard_DS12_v2', - * 'Standard_DS13_v2', 'Standard_DS14_v2', 'Standard_DS15_v2', 'Standard_F1', - * 'Standard_F2', 'Standard_F4', 'Standard_F8', 'Standard_F16', 'Standard_F1s', - * 'Standard_F2s', 'Standard_F4s', 'Standard_F8s', 'Standard_F16s', - * 'Standard_G1', 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5', - * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', - * 'Standard_GS5', 'Standard_H8', 'Standard_H16', 'Standard_H8m', - * 'Standard_H16m', 'Standard_H16r', 'Standard_H16mr', 'Standard_L4s', - * 'Standard_L8s', 'Standard_L16s', 'Standard_L32s' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AzureVmSize = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'Basic_A0', 'Basic_A1', 'Basic_A2', 'Basic_A3', 'Basic_A4', + * 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3', 'Standard_A4', 'Standard_A5', + * 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9', 'Standard_A10', 'Standard_A11', + * 'Standard_A1_v2', 'Standard_A2_v2', 'Standard_A4_v2', 'Standard_A8_v2', 'Standard_A2m_v2', + * 'Standard_A4m_v2', 'Standard_A8m_v2', 'Standard_D1', 'Standard_D2', 'Standard_D3', + * 'Standard_D4', 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', + * 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2', + * 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_D15_v2', 'Standard_DS1', + * 'Standard_DS2', 'Standard_DS3', 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', + * 'Standard_DS13', 'Standard_DS14', 'Standard_DS1_v2', 'Standard_DS2_v2', 'Standard_DS3_v2', + * 'Standard_DS4_v2', 'Standard_DS5_v2', 'Standard_DS11_v2', 'Standard_DS12_v2', + * 'Standard_DS13_v2', 'Standard_DS14_v2', 'Standard_DS15_v2', 'Standard_F1', 'Standard_F2', + * 'Standard_F4', 'Standard_F8', 'Standard_F16', 'Standard_F1s', 'Standard_F2s', 'Standard_F4s', + * 'Standard_F8s', 'Standard_F16s', 'Standard_G1', 'Standard_G2', 'Standard_G3', 'Standard_G4', + * 'Standard_G5', 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5', + * 'Standard_H8', 'Standard_H16', 'Standard_H8m', 'Standard_H16m', 'Standard_H16r', + * 'Standard_H16mr', 'Standard_L4s', 'Standard_L8s', 'Standard_L16s', 'Standard_L32s' * @readonly * @enum {string} */ -export enum AzureVmSize { - Unknown = 'Unknown', - BasicA0 = 'Basic_A0', - BasicA1 = 'Basic_A1', - BasicA2 = 'Basic_A2', - BasicA3 = 'Basic_A3', - BasicA4 = 'Basic_A4', - StandardA0 = 'Standard_A0', - StandardA1 = 'Standard_A1', - StandardA2 = 'Standard_A2', - StandardA3 = 'Standard_A3', - StandardA4 = 'Standard_A4', - StandardA5 = 'Standard_A5', - StandardA6 = 'Standard_A6', - StandardA7 = 'Standard_A7', - StandardA8 = 'Standard_A8', - StandardA9 = 'Standard_A9', - StandardA10 = 'Standard_A10', - StandardA11 = 'Standard_A11', - StandardA1V2 = 'Standard_A1_v2', - StandardA2V2 = 'Standard_A2_v2', - StandardA4V2 = 'Standard_A4_v2', - StandardA8V2 = 'Standard_A8_v2', - StandardA2mV2 = 'Standard_A2m_v2', - StandardA4mV2 = 'Standard_A4m_v2', - StandardA8mV2 = 'Standard_A8m_v2', - StandardD1 = 'Standard_D1', - StandardD2 = 'Standard_D2', - StandardD3 = 'Standard_D3', - StandardD4 = 'Standard_D4', - StandardD11 = 'Standard_D11', - StandardD12 = 'Standard_D12', - StandardD13 = 'Standard_D13', - StandardD14 = 'Standard_D14', - StandardD1V2 = 'Standard_D1_v2', - StandardD2V2 = 'Standard_D2_v2', - StandardD3V2 = 'Standard_D3_v2', - StandardD4V2 = 'Standard_D4_v2', - StandardD5V2 = 'Standard_D5_v2', - StandardD11V2 = 'Standard_D11_v2', - StandardD12V2 = 'Standard_D12_v2', - StandardD13V2 = 'Standard_D13_v2', - StandardD14V2 = 'Standard_D14_v2', - StandardD15V2 = 'Standard_D15_v2', - StandardDS1 = 'Standard_DS1', - StandardDS2 = 'Standard_DS2', - StandardDS3 = 'Standard_DS3', - StandardDS4 = 'Standard_DS4', - StandardDS11 = 'Standard_DS11', - StandardDS12 = 'Standard_DS12', - StandardDS13 = 'Standard_DS13', - StandardDS14 = 'Standard_DS14', - StandardDS1V2 = 'Standard_DS1_v2', - StandardDS2V2 = 'Standard_DS2_v2', - StandardDS3V2 = 'Standard_DS3_v2', - StandardDS4V2 = 'Standard_DS4_v2', - StandardDS5V2 = 'Standard_DS5_v2', - StandardDS11V2 = 'Standard_DS11_v2', - StandardDS12V2 = 'Standard_DS12_v2', - StandardDS13V2 = 'Standard_DS13_v2', - StandardDS14V2 = 'Standard_DS14_v2', - StandardDS15V2 = 'Standard_DS15_v2', - StandardF1 = 'Standard_F1', - StandardF2 = 'Standard_F2', - StandardF4 = 'Standard_F4', - StandardF8 = 'Standard_F8', - StandardF16 = 'Standard_F16', - StandardF1s = 'Standard_F1s', - StandardF2s = 'Standard_F2s', - StandardF4s = 'Standard_F4s', - StandardF8s = 'Standard_F8s', - StandardF16s = 'Standard_F16s', - StandardG1 = 'Standard_G1', - StandardG2 = 'Standard_G2', - StandardG3 = 'Standard_G3', - StandardG4 = 'Standard_G4', - StandardG5 = 'Standard_G5', - StandardGS1 = 'Standard_GS1', - StandardGS2 = 'Standard_GS2', - StandardGS3 = 'Standard_GS3', - StandardGS4 = 'Standard_GS4', - StandardGS5 = 'Standard_GS5', - StandardH8 = 'Standard_H8', - StandardH16 = 'Standard_H16', - StandardH8m = 'Standard_H8m', - StandardH16m = 'Standard_H16m', - StandardH16r = 'Standard_H16r', - StandardH16mr = 'Standard_H16mr', - StandardL4s = 'Standard_L4s', - StandardL8s = 'Standard_L8s', - StandardL16s = 'Standard_L16s', - StandardL32s = 'Standard_L32s', -} +export type AzureVmSize = 'Unknown' | 'Basic_A0' | 'Basic_A1' | 'Basic_A2' | 'Basic_A3' | 'Basic_A4' | 'Standard_A0' | 'Standard_A1' | 'Standard_A2' | 'Standard_A3' | 'Standard_A4' | 'Standard_A5' | 'Standard_A6' | 'Standard_A7' | 'Standard_A8' | 'Standard_A9' | 'Standard_A10' | 'Standard_A11' | 'Standard_A1_v2' | 'Standard_A2_v2' | 'Standard_A4_v2' | 'Standard_A8_v2' | 'Standard_A2m_v2' | 'Standard_A4m_v2' | 'Standard_A8m_v2' | 'Standard_D1' | 'Standard_D2' | 'Standard_D3' | 'Standard_D4' | 'Standard_D11' | 'Standard_D12' | 'Standard_D13' | 'Standard_D14' | 'Standard_D1_v2' | 'Standard_D2_v2' | 'Standard_D3_v2' | 'Standard_D4_v2' | 'Standard_D5_v2' | 'Standard_D11_v2' | 'Standard_D12_v2' | 'Standard_D13_v2' | 'Standard_D14_v2' | 'Standard_D15_v2' | 'Standard_DS1' | 'Standard_DS2' | 'Standard_DS3' | 'Standard_DS4' | 'Standard_DS11' | 'Standard_DS12' | 'Standard_DS13' | 'Standard_DS14' | 'Standard_DS1_v2' | 'Standard_DS2_v2' | 'Standard_DS3_v2' | 'Standard_DS4_v2' | 'Standard_DS5_v2' | 'Standard_DS11_v2' | 'Standard_DS12_v2' | 'Standard_DS13_v2' | 'Standard_DS14_v2' | 'Standard_DS15_v2' | 'Standard_F1' | 'Standard_F2' | 'Standard_F4' | 'Standard_F8' | 'Standard_F16' | 'Standard_F1s' | 'Standard_F2s' | 'Standard_F4s' | 'Standard_F8s' | 'Standard_F16s' | 'Standard_G1' | 'Standard_G2' | 'Standard_G3' | 'Standard_G4' | 'Standard_G5' | 'Standard_GS1' | 'Standard_GS2' | 'Standard_GS3' | 'Standard_GS4' | 'Standard_GS5' | 'Standard_H8' | 'Standard_H16' | 'Standard_H8m' | 'Standard_H16m' | 'Standard_H16r' | 'Standard_H16mr' | 'Standard_L4s' | 'Standard_L8s' | 'Standard_L16s' | 'Standard_L32s'; /** * Defines values for AzureVmSuitabilityExplanation. * Possible values include: 'Unknown', 'NotApplicable', - * 'GuestOperatingSystemArchitectureNotSupported', - * 'GuestOperatingSystemNotSupported', 'BootTypeNotSupported', - * 'MoreDisksThanSupported', 'NoSuitableVmSizeFound', + * 'GuestOperatingSystemArchitectureNotSupported', 'GuestOperatingSystemNotSupported', + * 'BootTypeNotSupported', 'MoreDisksThanSupported', 'NoSuitableVmSizeFound', * 'OneOrMoreDisksNotSuitable', 'OneOrMoreAdaptersNotSuitable', - * 'InternalErrorOccuredDuringComputeEvaluation', - * 'InternalErrorOccuredDuringStorageEvaluation', - * 'InternalErrorOccuredDuringNetworkEvaluation', - * 'NoVmSizeSupportsStoragePerformance', 'NoVmSizeSupportsNetworkPerformance', - * 'NoVmSizeForSelectedPricingTier', 'NoVmSizeForSelectedAzureLocation', - * 'CheckRedHatLinuxVersion', 'CheckOpenSuseLinuxVersion', - * 'CheckWindowsServer2008R2Version', 'CheckCentOsVersion', - * 'CheckDebianLinuxVersion', 'CheckSuseLinuxVersion', - * 'CheckOracleLinuxVersion', 'CheckUbuntuLinuxVersion', + * 'InternalErrorOccuredDuringComputeEvaluation', 'InternalErrorOccuredDuringStorageEvaluation', + * 'InternalErrorOccuredDuringNetworkEvaluation', 'NoVmSizeSupportsStoragePerformance', + * 'NoVmSizeSupportsNetworkPerformance', 'NoVmSizeForSelectedPricingTier', + * 'NoVmSizeForSelectedAzureLocation', 'CheckRedHatLinuxVersion', 'CheckOpenSuseLinuxVersion', + * 'CheckWindowsServer2008R2Version', 'CheckCentOsVersion', 'CheckDebianLinuxVersion', + * 'CheckSuseLinuxVersion', 'CheckOracleLinuxVersion', 'CheckUbuntuLinuxVersion', * 'CheckCoreOsLinuxVersion', 'WindowsServerVersionConditionallySupported', - * 'NoGuestOperatingSystemConditionallySupported', - * 'WindowsClientVersionsConditionallySupported', 'BootTypeUnknown', - * 'GuestOperatingSystemUnknown', 'WindowsServerVersionsSupportedWithCaveat', - * 'WindowsOSNoLongerUnderMSSupport', - * 'EndorsedWithConditionsLinuxDistributions', 'UnendorsedLinuxDistributions', - * 'NoVmSizeForStandardPricingTier', 'NoVmSizeForBasicPricingTier' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AzureVmSuitabilityExplanation = - * "someUnknownValueThatWillStillBeValid"; + * 'NoGuestOperatingSystemConditionallySupported', 'WindowsClientVersionsConditionallySupported', + * 'BootTypeUnknown', 'GuestOperatingSystemUnknown', 'WindowsServerVersionsSupportedWithCaveat', + * 'WindowsOSNoLongerUnderMSSupport', 'EndorsedWithConditionsLinuxDistributions', + * 'UnendorsedLinuxDistributions', 'NoVmSizeForStandardPricingTier', 'NoVmSizeForBasicPricingTier' * @readonly * @enum {string} */ -export enum AzureVmSuitabilityExplanation { - Unknown = 'Unknown', - NotApplicable = 'NotApplicable', - GuestOperatingSystemArchitectureNotSupported = 'GuestOperatingSystemArchitectureNotSupported', - GuestOperatingSystemNotSupported = 'GuestOperatingSystemNotSupported', - BootTypeNotSupported = 'BootTypeNotSupported', - MoreDisksThanSupported = 'MoreDisksThanSupported', - NoSuitableVmSizeFound = 'NoSuitableVmSizeFound', - OneOrMoreDisksNotSuitable = 'OneOrMoreDisksNotSuitable', - OneOrMoreAdaptersNotSuitable = 'OneOrMoreAdaptersNotSuitable', - InternalErrorOccuredDuringComputeEvaluation = 'InternalErrorOccuredDuringComputeEvaluation', - InternalErrorOccuredDuringStorageEvaluation = 'InternalErrorOccuredDuringStorageEvaluation', - InternalErrorOccuredDuringNetworkEvaluation = 'InternalErrorOccuredDuringNetworkEvaluation', - NoVmSizeSupportsStoragePerformance = 'NoVmSizeSupportsStoragePerformance', - NoVmSizeSupportsNetworkPerformance = 'NoVmSizeSupportsNetworkPerformance', - NoVmSizeForSelectedPricingTier = 'NoVmSizeForSelectedPricingTier', - NoVmSizeForSelectedAzureLocation = 'NoVmSizeForSelectedAzureLocation', - CheckRedHatLinuxVersion = 'CheckRedHatLinuxVersion', - CheckOpenSuseLinuxVersion = 'CheckOpenSuseLinuxVersion', - CheckWindowsServer2008R2Version = 'CheckWindowsServer2008R2Version', - CheckCentOsVersion = 'CheckCentOsVersion', - CheckDebianLinuxVersion = 'CheckDebianLinuxVersion', - CheckSuseLinuxVersion = 'CheckSuseLinuxVersion', - CheckOracleLinuxVersion = 'CheckOracleLinuxVersion', - CheckUbuntuLinuxVersion = 'CheckUbuntuLinuxVersion', - CheckCoreOsLinuxVersion = 'CheckCoreOsLinuxVersion', - WindowsServerVersionConditionallySupported = 'WindowsServerVersionConditionallySupported', - NoGuestOperatingSystemConditionallySupported = 'NoGuestOperatingSystemConditionallySupported', - WindowsClientVersionsConditionallySupported = 'WindowsClientVersionsConditionallySupported', - BootTypeUnknown = 'BootTypeUnknown', - GuestOperatingSystemUnknown = 'GuestOperatingSystemUnknown', - WindowsServerVersionsSupportedWithCaveat = 'WindowsServerVersionsSupportedWithCaveat', - WindowsOSNoLongerUnderMSSupport = 'WindowsOSNoLongerUnderMSSupport', - EndorsedWithConditionsLinuxDistributions = 'EndorsedWithConditionsLinuxDistributions', - UnendorsedLinuxDistributions = 'UnendorsedLinuxDistributions', - NoVmSizeForStandardPricingTier = 'NoVmSizeForStandardPricingTier', - NoVmSizeForBasicPricingTier = 'NoVmSizeForBasicPricingTier', -} +export type AzureVmSuitabilityExplanation = 'Unknown' | 'NotApplicable' | 'GuestOperatingSystemArchitectureNotSupported' | 'GuestOperatingSystemNotSupported' | 'BootTypeNotSupported' | 'MoreDisksThanSupported' | 'NoSuitableVmSizeFound' | 'OneOrMoreDisksNotSuitable' | 'OneOrMoreAdaptersNotSuitable' | 'InternalErrorOccuredDuringComputeEvaluation' | 'InternalErrorOccuredDuringStorageEvaluation' | 'InternalErrorOccuredDuringNetworkEvaluation' | 'NoVmSizeSupportsStoragePerformance' | 'NoVmSizeSupportsNetworkPerformance' | 'NoVmSizeForSelectedPricingTier' | 'NoVmSizeForSelectedAzureLocation' | 'CheckRedHatLinuxVersion' | 'CheckOpenSuseLinuxVersion' | 'CheckWindowsServer2008R2Version' | 'CheckCentOsVersion' | 'CheckDebianLinuxVersion' | 'CheckSuseLinuxVersion' | 'CheckOracleLinuxVersion' | 'CheckUbuntuLinuxVersion' | 'CheckCoreOsLinuxVersion' | 'WindowsServerVersionConditionallySupported' | 'NoGuestOperatingSystemConditionallySupported' | 'WindowsClientVersionsConditionallySupported' | 'BootTypeUnknown' | 'GuestOperatingSystemUnknown' | 'WindowsServerVersionsSupportedWithCaveat' | 'WindowsOSNoLongerUnderMSSupport' | 'EndorsedWithConditionsLinuxDistributions' | 'UnendorsedLinuxDistributions' | 'NoVmSizeForStandardPricingTier' | 'NoVmSizeForBasicPricingTier'; /** * Defines values for NameAvailabilityReason. @@ -2384,11 +1946,7 @@ export enum AzureVmSuitabilityExplanation { * @readonly * @enum {string} */ -export enum NameAvailabilityReason { - Available = 'Available', - Invalid = 'Invalid', - AlreadyExists = 'AlreadyExists', -} +export type NameAvailabilityReason = 'Available' | 'Invalid' | 'AlreadyExists'; /** * Contains response data for the checkNameAvailability operation. diff --git a/packages/@azure/arm-migrate/lib/models/mappers.ts b/packages/@azure/arm-migrate/lib/models/mappers.ts index 4a9f81fd568d..8c7c268ffbb9 100644 --- a/packages/@azure/arm-migrate/lib/models/mappers.ts +++ b/packages/@azure/arm-migrate/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-migrate/lib/models/parameters.ts b/packages/@azure/arm-migrate/lib/models/parameters.ts index 4bfcee488eae..619bf688f870 100644 --- a/packages/@azure/arm-migrate/lib/models/parameters.ts +++ b/packages/@azure/arm-migrate/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-migrate/lib/operations/assessedMachines.ts b/packages/@azure/arm-migrate/lib/operations/assessedMachines.ts index a5147cd94588..505c9c19c2fa 100644 --- a/packages/@azure/arm-migrate/lib/operations/assessedMachines.ts +++ b/packages/@azure/arm-migrate/lib/operations/assessedMachines.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/assessedMachinesMappers"; import * as Parameters from "../models/parameters"; @@ -60,7 +60,7 @@ export class AssessedMachines { * @param callback The callback */ listByAssessment(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAssessment(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAssessment(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -108,7 +108,7 @@ export class AssessedMachines { * @param callback The callback */ get(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, assessedMachineName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, assessedMachineName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, assessedMachineName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-migrate/lib/operations/assessmentOptions.ts b/packages/@azure/arm-migrate/lib/operations/assessmentOptions.ts index cf62ca717e42..763193a07fcf 100644 --- a/packages/@azure/arm-migrate/lib/operations/assessmentOptions.ts +++ b/packages/@azure/arm-migrate/lib/operations/assessmentOptions.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/assessmentOptionsMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class AssessmentOptions { * @param callback The callback */ get(locationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(locationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(locationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { locationName, diff --git a/packages/@azure/arm-migrate/lib/operations/assessments.ts b/packages/@azure/arm-migrate/lib/operations/assessments.ts index 48c242c85371..839f1b3d5677 100644 --- a/packages/@azure/arm-migrate/lib/operations/assessments.ts +++ b/packages/@azure/arm-migrate/lib/operations/assessments.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/assessmentsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class Assessments { * @param callback The callback */ listByGroup(resourceGroupName: string, projectName: string, groupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByGroup(resourceGroupName: string, projectName: string, groupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByGroup(resourceGroupName: string, projectName: string, groupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -89,7 +89,7 @@ export class Assessments { * @param callback The callback */ listByProject(resourceGroupName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByProject(resourceGroupName: string, projectName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByProject(resourceGroupName: string, projectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -129,7 +129,7 @@ export class Assessments { * @param callback The callback */ get(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -181,7 +181,7 @@ export class Assessments { * @param callback The callback */ create(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options: Models.AssessmentsCreateOptionalParams, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options?: Models.AssessmentsCreateOptionalParams, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options?: Models.AssessmentsCreateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -226,7 +226,7 @@ export class Assessments { * @param callback The callback */ deleteMethod(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -267,7 +267,7 @@ export class Assessments { * @param callback The callback */ getReportDownloadUrl(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getReportDownloadUrl(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getReportDownloadUrl(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-migrate/lib/operations/groups.ts b/packages/@azure/arm-migrate/lib/operations/groups.ts index 9696aab32d76..2991d0648132 100644 --- a/packages/@azure/arm-migrate/lib/operations/groups.ts +++ b/packages/@azure/arm-migrate/lib/operations/groups.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/groupsMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class Groups { * @param callback The callback */ listByProject(resourceGroupName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByProject(resourceGroupName: string, projectName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByProject(resourceGroupName: string, projectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class Groups { * @param callback The callback */ get(resourceGroupName: string, projectName: string, groupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, projectName: string, groupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, projectName: string, groupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -131,7 +131,7 @@ export class Groups { * @param callback The callback */ create(resourceGroupName: string, projectName: string, groupName: string, options: Models.GroupsCreateOptionalParams, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, projectName: string, groupName: string, options?: Models.GroupsCreateOptionalParams, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, projectName: string, groupName: string, options?: Models.GroupsCreateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -172,7 +172,7 @@ export class Groups { * @param callback The callback */ deleteMethod(resourceGroupName: string, projectName: string, groupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, projectName: string, groupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, projectName: string, groupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-migrate/lib/operations/location.ts b/packages/@azure/arm-migrate/lib/operations/location.ts index ea8807665c62..16e5e0b3c27e 100644 --- a/packages/@azure/arm-migrate/lib/operations/location.ts +++ b/packages/@azure/arm-migrate/lib/operations/location.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/locationMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Location { * @param callback The callback */ checkNameAvailability(locationName: string, parameters: Models.CheckNameAvailabilityParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(locationName: string, parameters: Models.CheckNameAvailabilityParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(locationName: string, parameters: Models.CheckNameAvailabilityParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { locationName, diff --git a/packages/@azure/arm-migrate/lib/operations/machines.ts b/packages/@azure/arm-migrate/lib/operations/machines.ts index 7671485e9a43..bc4a42f22626 100644 --- a/packages/@azure/arm-migrate/lib/operations/machines.ts +++ b/packages/@azure/arm-migrate/lib/operations/machines.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/machinesMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class Machines { * @param callback The callback */ listByProject(resourceGroupName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByProject(resourceGroupName: string, projectName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByProject(resourceGroupName: string, projectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class Machines { * @param callback The callback */ get(resourceGroupName: string, projectName: string, machineName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, projectName: string, machineName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, projectName: string, machineName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-migrate/lib/operations/operations.ts b/packages/@azure/arm-migrate/lib/operations/operations.ts index 154df781d3f0..225b0aa45391 100644 --- a/packages/@azure/arm-migrate/lib/operations/operations.ts +++ b/packages/@azure/arm-migrate/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"; @@ -42,7 +42,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-migrate/lib/operations/projects.ts b/packages/@azure/arm-migrate/lib/operations/projects.ts index 0e0ba5e53182..1f9b4eabb1b4 100644 --- a/packages/@azure/arm-migrate/lib/operations/projects.ts +++ b/packages/@azure/arm-migrate/lib/operations/projects.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/projectsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class Projects { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class Projects { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -102,7 +102,7 @@ export class Projects { * @param callback The callback */ get(resourceGroupName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, projectName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, projectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -135,7 +135,7 @@ export class Projects { * @param callback The callback */ create(resourceGroupName: string, projectName: string, options: Models.ProjectsCreateOptionalParams, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, projectName: string, options?: Models.ProjectsCreateOptionalParams, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, projectName: string, options?: Models.ProjectsCreateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -169,7 +169,7 @@ export class Projects { * @param callback The callback */ update(resourceGroupName: string, projectName: string, options: Models.ProjectsUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, projectName: string, options?: Models.ProjectsUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, projectName: string, options?: Models.ProjectsUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -202,7 +202,7 @@ export class Projects { * @param callback The callback */ deleteMethod(resourceGroupName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, projectName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, projectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -235,7 +235,7 @@ export class Projects { * @param callback The callback */ getKeys(resourceGroupName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getKeys(resourceGroupName: string, projectName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getKeys(resourceGroupName: string, projectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-migrate/package.json b/packages/@azure/arm-migrate/package.json index 5672fee51b46..caac0691f76f 100644 --- a/packages/@azure/arm-migrate/package.json +++ b/packages/@azure/arm-migrate/package.json @@ -4,8 +4,8 @@ "description": "AzureMigrate Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-migrate/rollup.config.js b/packages/@azure/arm-migrate/rollup.config.js index 986e4c4a2270..e7a076f80d75 100644 --- a/packages/@azure/arm-migrate/rollup.config.js +++ b/packages/@azure/arm-migrate/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/azureMigrate.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-migrate.js", format: "umd", name: "Azure.ArmMigrate", 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-migrate/tsconfig.json b/packages/@azure/arm-migrate/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-migrate/tsconfig.json +++ b/packages/@azure/arm-migrate/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-monitor/.npmignore b/packages/@azure/arm-monitor/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-monitor/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-monitor/README.md b/packages/@azure/arm-monitor/README.md index cefb7526c1df..aa0df7909916 100644 --- a/packages/@azure/arm-monitor/README.md +++ b/packages/@azure/arm-monitor/README.md @@ -1,24 +1,34 @@ -# Azure MonitorManagementClient SDK for JavaScript +## Azure MonitorManagementClient SDK for JavaScript + This package contains an isomorphic SDK for MonitorManagementClient. -## 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-monitor ``` +### How to use + +#### nodejs - Authentication, client creation and listByResourceGroup autoscaleSettings as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and listByResourceGroup autoscaleSettings as an example written in TypeScript. +##### Sample code ```ts -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 { MonitorManagementClient, MonitorManagementModels, MonitorManagementMappers } from "@azure/arm-monitor"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -34,7 +44,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and listByResourceGroup autoscaleSettings as an example written in JavaScript. +#### browser - Authentication, client creation and listByResourceGroup autoscaleSettings as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -43,11 +62,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-monitor 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-monitor/lib/models/index.ts b/packages/@azure/arm-monitor/lib/models/index.ts index 95bab139e222..b0ece4296e60 100644 --- a/packages/@azure/arm-monitor/lib/models/index.ts +++ b/packages/@azure/arm-monitor/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -3546,44 +3546,24 @@ export interface MetricNamespaceCollection extends Array { * @readonly * @enum {string} */ -export enum MetricStatisticType { - Average = 'Average', - Min = 'Min', - Max = 'Max', - Sum = 'Sum', -} +export type MetricStatisticType = 'Average' | 'Min' | 'Max' | 'Sum'; /** * Defines values for TimeAggregationType. - * Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Count', - * 'Last' + * Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Count', 'Last' * @readonly * @enum {string} */ -export enum TimeAggregationType { - Average = 'Average', - Minimum = 'Minimum', - Maximum = 'Maximum', - Total = 'Total', - Count = 'Count', - Last = 'Last', -} +export type TimeAggregationType = 'Average' | 'Minimum' | 'Maximum' | 'Total' | 'Count' | 'Last'; /** * Defines values for ComparisonOperationType. - * Possible values include: 'Equals', 'NotEquals', 'GreaterThan', - * 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual' + * Possible values include: 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', + * 'LessThanOrEqual' * @readonly * @enum {string} */ -export enum ComparisonOperationType { - Equals = 'Equals', - NotEquals = 'NotEquals', - GreaterThan = 'GreaterThan', - GreaterThanOrEqual = 'GreaterThanOrEqual', - LessThan = 'LessThan', - LessThanOrEqual = 'LessThanOrEqual', -} +export type ComparisonOperationType = 'Equals' | 'NotEquals' | 'GreaterThan' | 'GreaterThanOrEqual' | 'LessThan' | 'LessThanOrEqual'; /** * Defines values for ScaleDirection. @@ -3591,11 +3571,7 @@ export enum ComparisonOperationType { * @readonly * @enum {string} */ -export enum ScaleDirection { - None = 'None', - Increase = 'Increase', - Decrease = 'Decrease', -} +export type ScaleDirection = 'None' | 'Increase' | 'Decrease'; /** * Defines values for ScaleType. @@ -3603,43 +3579,23 @@ export enum ScaleDirection { * @readonly * @enum {string} */ -export enum ScaleType { - ChangeCount = 'ChangeCount', - PercentChangeCount = 'PercentChangeCount', - ExactCount = 'ExactCount', -} +export type ScaleType = 'ChangeCount' | 'PercentChangeCount' | 'ExactCount'; /** * Defines values for RecurrenceFrequency. - * Possible values include: 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', - * 'Month', 'Year' + * Possible values include: 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year' * @readonly * @enum {string} */ -export enum RecurrenceFrequency { - None = 'None', - Second = 'Second', - Minute = 'Minute', - Hour = 'Hour', - Day = 'Day', - Week = 'Week', - Month = 'Month', - Year = 'Year', -} +export type RecurrenceFrequency = 'None' | 'Second' | 'Minute' | 'Hour' | 'Day' | 'Week' | 'Month' | 'Year'; /** * Defines values for ConditionOperator. - * Possible values include: 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', - * 'LessThanOrEqual' + * Possible values include: 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual' * @readonly * @enum {string} */ -export enum ConditionOperator { - GreaterThan = 'GreaterThan', - GreaterThanOrEqual = 'GreaterThanOrEqual', - LessThan = 'LessThan', - LessThanOrEqual = 'LessThanOrEqual', -} +export type ConditionOperator = 'GreaterThan' | 'GreaterThanOrEqual' | 'LessThan' | 'LessThanOrEqual'; /** * Defines values for TimeAggregationOperator. @@ -3647,13 +3603,7 @@ export enum ConditionOperator { * @readonly * @enum {string} */ -export enum TimeAggregationOperator { - Average = 'Average', - Minimum = 'Minimum', - Maximum = 'Maximum', - Total = 'Total', - Last = 'Last', -} +export type TimeAggregationOperator = 'Average' | 'Minimum' | 'Maximum' | 'Total' | 'Last'; /** * Defines values for CategoryType. @@ -3661,10 +3611,7 @@ export enum TimeAggregationOperator { * @readonly * @enum {string} */ -export enum CategoryType { - Metrics = 'Metrics', - Logs = 'Logs', -} +export type CategoryType = 'Metrics' | 'Logs'; /** * Defines values for ReceiverStatus. @@ -3672,61 +3619,32 @@ export enum CategoryType { * @readonly * @enum {string} */ -export enum ReceiverStatus { - NotSpecified = 'NotSpecified', - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type ReceiverStatus = 'NotSpecified' | 'Enabled' | 'Disabled'; /** * Defines values for EventLevel. - * Possible values include: 'Critical', 'Error', 'Warning', 'Informational', - * 'Verbose' + * Possible values include: 'Critical', 'Error', 'Warning', 'Informational', 'Verbose' * @readonly * @enum {string} */ -export enum EventLevel { - Critical = 'Critical', - Error = 'Error', - Warning = 'Warning', - Informational = 'Informational', - Verbose = 'Verbose', -} +export type EventLevel = 'Critical' | 'Error' | 'Warning' | 'Informational' | 'Verbose'; /** * Defines values for Unit. - * Possible values include: 'Count', 'Bytes', 'Seconds', 'CountPerSecond', - * 'BytesPerSecond', 'Percent', 'MilliSeconds', 'ByteSeconds', 'Unspecified' + * Possible values include: 'Count', 'Bytes', 'Seconds', 'CountPerSecond', 'BytesPerSecond', + * 'Percent', 'MilliSeconds', 'ByteSeconds', 'Unspecified' * @readonly * @enum {string} */ -export enum Unit { - Count = 'Count', - Bytes = 'Bytes', - Seconds = 'Seconds', - CountPerSecond = 'CountPerSecond', - BytesPerSecond = 'BytesPerSecond', - Percent = 'Percent', - MilliSeconds = 'MilliSeconds', - ByteSeconds = 'ByteSeconds', - Unspecified = 'Unspecified', -} +export type Unit = 'Count' | 'Bytes' | 'Seconds' | 'CountPerSecond' | 'BytesPerSecond' | 'Percent' | 'MilliSeconds' | 'ByteSeconds' | 'Unspecified'; /** * Defines values for AggregationType. - * Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', - * 'Total' + * Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total' * @readonly * @enum {string} */ -export enum AggregationType { - None = 'None', - Average = 'Average', - Count = 'Count', - Minimum = 'Minimum', - Maximum = 'Maximum', - Total = 'Total', -} +export type AggregationType = 'None' | 'Average' | 'Count' | 'Minimum' | 'Maximum' | 'Total'; /** * Defines values for Sensitivity. @@ -3734,110 +3652,55 @@ export enum AggregationType { * @readonly * @enum {string} */ -export enum Sensitivity { - Low = 'Low', - Medium = 'Medium', - High = 'High', -} +export type Sensitivity = 'Low' | 'Medium' | 'High'; /** * Defines values for Enabled. * Possible values include: 'true', 'false' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Enabled = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Enabled { - True = 'true', - False = 'false', -} +export type Enabled = 'true' | 'false'; /** * Defines values for ProvisioningState. * Possible values include: 'Succeeded', 'Deploying', 'Canceled', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ProvisioningState { - Succeeded = 'Succeeded', - Deploying = 'Deploying', - Canceled = 'Canceled', - Failed = 'Failed', -} +export type ProvisioningState = 'Succeeded' | 'Deploying' | 'Canceled' | 'Failed'; /** * Defines values for QueryType. * Possible values include: 'ResultCount' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: QueryType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum QueryType { - ResultCount = 'ResultCount', -} +export type QueryType = 'ResultCount'; /** * Defines values for ConditionalOperator. * Possible values include: 'GreaterThan', 'LessThan', 'Equal' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ConditionalOperator = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ConditionalOperator { - GreaterThan = 'GreaterThan', - LessThan = 'LessThan', - Equal = 'Equal', -} +export type ConditionalOperator = 'GreaterThan' | 'LessThan' | 'Equal'; /** * Defines values for MetricTriggerType. * Possible values include: 'Consecutive', 'Total' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MetricTriggerType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum MetricTriggerType { - Consecutive = 'Consecutive', - Total = 'Total', -} +export type MetricTriggerType = 'Consecutive' | 'Total'; /** * Defines values for AlertSeverity. * Possible values include: '0', '1', '2', '3', '4' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AlertSeverity = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AlertSeverity { - Zero = '0', - One = '1', - Two = '2', - Three = '3', - Four = '4', -} +export type AlertSeverity = '0' | '1' | '2' | '3' | '4'; /** * Defines values for ResultType. @@ -3845,10 +3708,7 @@ export enum AlertSeverity { * @readonly * @enum {string} */ -export enum ResultType { - Data = 'Data', - Metadata = 'Metadata', -} +export type ResultType = 'Data' | 'Metadata'; /** * Contains response data for the listByResourceGroup operation. diff --git a/packages/@azure/arm-monitor/lib/models/mappers.ts b/packages/@azure/arm-monitor/lib/models/mappers.ts index ce345c4239d3..e7b3f4382861 100644 --- a/packages/@azure/arm-monitor/lib/models/mappers.ts +++ b/packages/@azure/arm-monitor/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -839,11 +839,6 @@ export const RuleCondition: msRest.CompositeMapper = { serializedName: "dataSource", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "odata.type", - clientName: "odatatype" - }, - uberParent: "RuleDataSource", className: "RuleDataSource" } }, @@ -1210,11 +1205,6 @@ export const AlertRuleResource: msRest.CompositeMapper = { serializedName: "properties.condition", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "odata.type", - clientName: "odatatype" - }, - uberParent: "RuleCondition", className: "RuleCondition" } }, @@ -1225,11 +1215,6 @@ export const AlertRuleResource: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "odata.type", - clientName: "odatatype" - }, - uberParent: "RuleAction", className: "RuleAction" } } @@ -1288,11 +1273,6 @@ export const AlertRuleResourcePatch: msRest.CompositeMapper = { serializedName: "properties.condition", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "odata.type", - clientName: "odatatype" - }, - uberParent: "RuleCondition", className: "RuleCondition" } }, @@ -1303,11 +1283,6 @@ export const AlertRuleResourcePatch: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "odata.type", - clientName: "odatatype" - }, - uberParent: "RuleAction", className: "RuleAction" } } @@ -3430,11 +3405,6 @@ export const MetricAlertResource: msRest.CompositeMapper = { serializedName: "properties.criteria", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "odata.type", - clientName: "odatatype" - }, - uberParent: "MetricAlertCriteria", className: "MetricAlertCriteria", additionalProperties: { type: { @@ -3552,11 +3522,6 @@ export const MetricAlertResourcePatch: msRest.CompositeMapper = { serializedName: "properties.criteria", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "odata.type", - clientName: "odatatype" - }, - uberParent: "MetricAlertCriteria", className: "MetricAlertCriteria", additionalProperties: { type: { @@ -3830,8 +3795,6 @@ export const MetricAlertSingleResourceMultipleMetricCriteria: msRest.CompositeMa element: { type: { name: "Composite", - polymorphicDiscriminator: MultiMetricCriteria.type.polymorphicDiscriminator, - uberParent: "MultiMetricCriteria", className: "MetricCriteria", additionalProperties: MultiMetricCriteria.type.additionalProperties } @@ -3859,11 +3822,6 @@ export const MetricAlertMultipleResourceMultipleMetricCriteria: msRest.Composite element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "criterionType", - clientName: "criterionType" - }, - uberParent: "MultiMetricCriteria", className: "MultiMetricCriteria", additionalProperties: { type: { @@ -4018,11 +3976,6 @@ export const LogSearchRuleResource: msRest.CompositeMapper = { serializedName: "properties.action", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "odata.type", - clientName: "odatatype" - }, - uberParent: "Action", className: "Action" } } diff --git a/packages/@azure/arm-monitor/lib/models/parameters.ts b/packages/@azure/arm-monitor/lib/models/parameters.ts index c87d05523625..5ef95f30f0cf 100644 --- a/packages/@azure/arm-monitor/lib/models/parameters.ts +++ b/packages/@azure/arm-monitor/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-monitor/lib/monitorManagementClient.ts b/packages/@azure/arm-monitor/lib/monitorManagementClient.ts index bb19131e29d4..e43e7ec70640 100644 --- a/packages/@azure/arm-monitor/lib/monitorManagementClient.ts +++ b/packages/@azure/arm-monitor/lib/monitorManagementClient.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-monitor/lib/monitorManagementClientContext.ts b/packages/@azure/arm-monitor/lib/monitorManagementClientContext.ts index 085b171a8556..0d616b0c98e0 100644 --- a/packages/@azure/arm-monitor/lib/monitorManagementClientContext.ts +++ b/packages/@azure/arm-monitor/lib/monitorManagementClientContext.ts @@ -9,22 +9,16 @@ */ 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-monitor"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class MonitorManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the MonitorManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -42,6 +36,11 @@ export class MonitorManagementClientContext extends msRestAzure.AzureServiceClie if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.acceptLanguage = 'en-US'; @@ -51,7 +50,6 @@ export class MonitorManagementClientContext extends msRestAzure.AzureServiceClie this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-monitor/lib/operations/actionGroups.ts b/packages/@azure/arm-monitor/lib/operations/actionGroups.ts index abd31414598c..f0d61a682139 100644 --- a/packages/@azure/arm-monitor/lib/operations/actionGroups.ts +++ b/packages/@azure/arm-monitor/lib/operations/actionGroups.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/actionGroupsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ActionGroups { * @param callback The callback */ createOrUpdate(resourceGroupName: string, actionGroupName: string, actionGroup: Models.ActionGroupResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, actionGroupName: string, actionGroup: Models.ActionGroupResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, actionGroupName: string, actionGroup: Models.ActionGroupResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class ActionGroups { * @param callback The callback */ get(resourceGroupName: string, actionGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, actionGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, actionGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -115,7 +115,7 @@ export class ActionGroups { * @param callback The callback */ deleteMethod(resourceGroupName: string, actionGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, actionGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, actionGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -150,7 +150,7 @@ export class ActionGroups { * @param callback The callback */ update(resourceGroupName: string, actionGroupName: string, actionGroupPatch: Models.ActionGroupPatchBody, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, actionGroupName: string, actionGroupPatch: Models.ActionGroupPatchBody, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, actionGroupName: string, actionGroupPatch: Models.ActionGroupPatchBody, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -177,7 +177,7 @@ export class ActionGroups { * @param callback The callback */ listBySubscriptionId(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionId(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionId(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -204,7 +204,7 @@ export class ActionGroups { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -239,7 +239,7 @@ export class ActionGroups { * @param callback The callback */ enableReceiver(resourceGroupName: string, actionGroupName: string, receiverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - enableReceiver(resourceGroupName: string, actionGroupName: string, receiverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + enableReceiver(resourceGroupName: string, actionGroupName: string, receiverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-monitor/lib/operations/activityLogAlerts.ts b/packages/@azure/arm-monitor/lib/operations/activityLogAlerts.ts index 20a462378883..257a6277a91e 100644 --- a/packages/@azure/arm-monitor/lib/operations/activityLogAlerts.ts +++ b/packages/@azure/arm-monitor/lib/operations/activityLogAlerts.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/activityLogAlertsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ActivityLogAlerts { * @param callback The callback */ createOrUpdate(resourceGroupName: string, activityLogAlertName: string, activityLogAlert: Models.ActivityLogAlertResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, activityLogAlertName: string, activityLogAlert: Models.ActivityLogAlertResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, activityLogAlertName: string, activityLogAlert: Models.ActivityLogAlertResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class ActivityLogAlerts { * @param callback The callback */ get(resourceGroupName: string, activityLogAlertName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, activityLogAlertName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, activityLogAlertName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -115,7 +115,7 @@ export class ActivityLogAlerts { * @param callback The callback */ deleteMethod(resourceGroupName: string, activityLogAlertName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, activityLogAlertName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, activityLogAlertName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -151,7 +151,7 @@ export class ActivityLogAlerts { * @param callback The callback */ update(resourceGroupName: string, activityLogAlertName: string, activityLogAlertPatch: Models.ActivityLogAlertPatchBody, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, activityLogAlertName: string, activityLogAlertPatch: Models.ActivityLogAlertPatchBody, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, activityLogAlertName: string, activityLogAlertPatch: Models.ActivityLogAlertPatchBody, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -178,7 +178,7 @@ export class ActivityLogAlerts { * @param callback The callback */ listBySubscriptionId(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionId(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionId(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -205,7 +205,7 @@ export class ActivityLogAlerts { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-monitor/lib/operations/activityLogs.ts b/packages/@azure/arm-monitor/lib/operations/activityLogs.ts index 7b9993fa16b6..9bda4449cc43 100644 --- a/packages/@azure/arm-monitor/lib/operations/activityLogs.ts +++ b/packages/@azure/arm-monitor/lib/operations/activityLogs.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/activityLogsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class ActivityLogs { * @param callback The callback */ list(options: Models.ActivityLogsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.ActivityLogsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.ActivityLogsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class ActivityLogs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-monitor/lib/operations/alertRuleIncidents.ts b/packages/@azure/arm-monitor/lib/operations/alertRuleIncidents.ts index b8dc34e7caf5..77453e3b2b0f 100644 --- a/packages/@azure/arm-monitor/lib/operations/alertRuleIncidents.ts +++ b/packages/@azure/arm-monitor/lib/operations/alertRuleIncidents.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/alertRuleIncidentsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class AlertRuleIncidents { * @param callback The callback */ get(resourceGroupName: string, ruleName: string, incidentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, ruleName: string, incidentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, ruleName: string, incidentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class AlertRuleIncidents { * @param callback The callback */ listByAlertRule(resourceGroupName: string, ruleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAlertRule(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAlertRule(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-monitor/lib/operations/alertRules.ts b/packages/@azure/arm-monitor/lib/operations/alertRules.ts index 82a0c689ec7e..79429b70aaf1 100644 --- a/packages/@azure/arm-monitor/lib/operations/alertRules.ts +++ b/packages/@azure/arm-monitor/lib/operations/alertRules.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/alertRulesMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class AlertRules { * @param callback The callback */ createOrUpdate(resourceGroupName: string, ruleName: string, parameters: Models.AlertRuleResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, ruleName: string, parameters: Models.AlertRuleResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, ruleName: string, parameters: Models.AlertRuleResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class AlertRules { * @param callback The callback */ deleteMethod(resourceGroupName: string, ruleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -115,7 +115,7 @@ export class AlertRules { * @param callback The callback */ get(resourceGroupName: string, ruleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -150,7 +150,7 @@ export class AlertRules { * @param callback The callback */ update(resourceGroupName: string, ruleName: string, alertRulesResource: Models.AlertRuleResourcePatch, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, ruleName: string, alertRulesResource: Models.AlertRuleResourcePatch, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, ruleName: string, alertRulesResource: Models.AlertRuleResourcePatch, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -180,7 +180,7 @@ export class AlertRules { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -205,7 +205,7 @@ export class AlertRules { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-monitor/lib/operations/autoscaleSettings.ts b/packages/@azure/arm-monitor/lib/operations/autoscaleSettings.ts index bc12e80647aa..fa3828276d8e 100644 --- a/packages/@azure/arm-monitor/lib/operations/autoscaleSettings.ts +++ b/packages/@azure/arm-monitor/lib/operations/autoscaleSettings.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/autoscaleSettingsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class AutoscaleSettings { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -78,7 +78,7 @@ export class AutoscaleSettings { * @param callback The callback */ createOrUpdate(resourceGroupName: string, autoscaleSettingName: string, parameters: Models.AutoscaleSettingResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, autoscaleSettingName: string, parameters: Models.AutoscaleSettingResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, autoscaleSettingName: string, parameters: Models.AutoscaleSettingResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -111,7 +111,7 @@ export class AutoscaleSettings { * @param callback The callback */ deleteMethod(resourceGroupName: string, autoscaleSettingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, autoscaleSettingName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, autoscaleSettingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -143,7 +143,7 @@ export class AutoscaleSettings { * @param callback The callback */ get(resourceGroupName: string, autoscaleSettingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, autoscaleSettingName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, autoscaleSettingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -179,7 +179,7 @@ export class AutoscaleSettings { * @param callback The callback */ update(resourceGroupName: string, autoscaleSettingName: string, autoscaleSettingResource: Models.AutoscaleSettingResourcePatch, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, autoscaleSettingName: string, autoscaleSettingResource: Models.AutoscaleSettingResourcePatch, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, autoscaleSettingName: string, autoscaleSettingResource: Models.AutoscaleSettingResourcePatch, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -206,7 +206,7 @@ export class AutoscaleSettings { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -233,7 +233,7 @@ export class AutoscaleSettings { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -261,7 +261,7 @@ export class AutoscaleSettings { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-monitor/lib/operations/diagnosticSettingsCategoryOperations.ts b/packages/@azure/arm-monitor/lib/operations/diagnosticSettingsCategoryOperations.ts index 259df0a9e323..696518269cd8 100644 --- a/packages/@azure/arm-monitor/lib/operations/diagnosticSettingsCategoryOperations.ts +++ b/packages/@azure/arm-monitor/lib/operations/diagnosticSettingsCategoryOperations.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/diagnosticSettingsCategoryOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class DiagnosticSettingsCategoryOperations { * @param callback The callback */ get(resourceUri: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceUri: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceUri: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, @@ -76,7 +76,7 @@ export class DiagnosticSettingsCategoryOperations { * @param callback The callback */ list(resourceUri: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceUri: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceUri: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, diff --git a/packages/@azure/arm-monitor/lib/operations/diagnosticSettingsOperations.ts b/packages/@azure/arm-monitor/lib/operations/diagnosticSettingsOperations.ts index 54d9d2cc22f8..8153aa322d65 100644 --- a/packages/@azure/arm-monitor/lib/operations/diagnosticSettingsOperations.ts +++ b/packages/@azure/arm-monitor/lib/operations/diagnosticSettingsOperations.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/diagnosticSettingsOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class DiagnosticSettingsOperations { * @param callback The callback */ get(resourceUri: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceUri: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceUri: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, @@ -82,7 +82,7 @@ export class DiagnosticSettingsOperations { * @param callback The callback */ createOrUpdate(resourceUri: string, parameters: Models.DiagnosticSettingsResource, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceUri: string, parameters: Models.DiagnosticSettingsResource, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceUri: string, parameters: Models.DiagnosticSettingsResource, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, @@ -115,7 +115,7 @@ export class DiagnosticSettingsOperations { * @param callback The callback */ deleteMethod(resourceUri: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceUri: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceUri: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, @@ -144,7 +144,7 @@ export class DiagnosticSettingsOperations { * @param callback The callback */ list(resourceUri: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceUri: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceUri: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, diff --git a/packages/@azure/arm-monitor/lib/operations/eventCategories.ts b/packages/@azure/arm-monitor/lib/operations/eventCategories.ts index f99d73977575..67bd8f4311b4 100644 --- a/packages/@azure/arm-monitor/lib/operations/eventCategories.ts +++ b/packages/@azure/arm-monitor/lib/operations/eventCategories.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/eventCategoriesMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class EventCategories { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-monitor/lib/operations/logProfiles.ts b/packages/@azure/arm-monitor/lib/operations/logProfiles.ts index 95cf1099515a..1ae52e5613b7 100644 --- a/packages/@azure/arm-monitor/lib/operations/logProfiles.ts +++ b/packages/@azure/arm-monitor/lib/operations/logProfiles.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/logProfilesMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class LogProfiles { * @param callback The callback */ deleteMethod(logProfileName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(logProfileName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(logProfileName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { logProfileName, @@ -72,7 +72,7 @@ export class LogProfiles { * @param callback The callback */ get(logProfileName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(logProfileName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(logProfileName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { logProfileName, @@ -103,7 +103,7 @@ export class LogProfiles { * @param callback The callback */ createOrUpdate(logProfileName: string, parameters: Models.LogProfileResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(logProfileName: string, parameters: Models.LogProfileResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(logProfileName: string, parameters: Models.LogProfileResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { logProfileName, @@ -135,7 +135,7 @@ export class LogProfiles { * @param callback The callback */ update(logProfileName: string, logProfilesResource: Models.LogProfileResourcePatch, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(logProfileName: string, logProfilesResource: Models.LogProfileResourcePatch, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(logProfileName: string, logProfilesResource: Models.LogProfileResourcePatch, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { logProfileName, @@ -161,7 +161,7 @@ export class LogProfiles { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-monitor/lib/operations/metricAlerts.ts b/packages/@azure/arm-monitor/lib/operations/metricAlerts.ts index d484e189a5f6..1c3a4c9573f8 100644 --- a/packages/@azure/arm-monitor/lib/operations/metricAlerts.ts +++ b/packages/@azure/arm-monitor/lib/operations/metricAlerts.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/metricAlertsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class MetricAlerts { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class MetricAlerts { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -99,7 +99,7 @@ export class MetricAlerts { * @param callback The callback */ get(resourceGroupName: string, ruleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -134,7 +134,7 @@ export class MetricAlerts { * @param callback The callback */ createOrUpdate(resourceGroupName: string, ruleName: string, parameters: Models.MetricAlertResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, ruleName: string, parameters: Models.MetricAlertResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, ruleName: string, parameters: Models.MetricAlertResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -170,7 +170,7 @@ export class MetricAlerts { * @param callback The callback */ update(resourceGroupName: string, ruleName: string, parameters: Models.MetricAlertResourcePatch, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, ruleName: string, parameters: Models.MetricAlertResourcePatch, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, ruleName: string, parameters: Models.MetricAlertResourcePatch, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -203,7 +203,7 @@ export class MetricAlerts { * @param callback The callback */ deleteMethod(resourceGroupName: string, ruleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-monitor/lib/operations/metricAlertsStatus.ts b/packages/@azure/arm-monitor/lib/operations/metricAlertsStatus.ts index 185df606e0e7..6eb83cdd009a 100644 --- a/packages/@azure/arm-monitor/lib/operations/metricAlertsStatus.ts +++ b/packages/@azure/arm-monitor/lib/operations/metricAlertsStatus.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/metricAlertsStatusMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class MetricAlertsStatus { * @param callback The callback */ list(resourceGroupName: string, ruleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class MetricAlertsStatus { * @param callback The callback */ listByName(resourceGroupName: string, ruleName: string, statusName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByName(resourceGroupName: string, ruleName: string, statusName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByName(resourceGroupName: string, ruleName: string, statusName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-monitor/lib/operations/metricBaseline.ts b/packages/@azure/arm-monitor/lib/operations/metricBaseline.ts index d1c0bc536bef..0cd73b9d1c3e 100644 --- a/packages/@azure/arm-monitor/lib/operations/metricBaseline.ts +++ b/packages/@azure/arm-monitor/lib/operations/metricBaseline.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/metricBaselineMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class MetricBaseline { * @param callback The callback */ get(resourceUri: string, metricName: string, options: Models.MetricBaselineGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceUri: string, metricName: string, options?: Models.MetricBaselineGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceUri: string, metricName: string, options?: Models.MetricBaselineGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, @@ -100,7 +100,7 @@ export class MetricBaseline { * @param callback The callback */ calculateBaseline(resourceUri: string, timeSeriesInformation: Models.TimeSeriesInformation, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - calculateBaseline(resourceUri: string, timeSeriesInformation: Models.TimeSeriesInformation, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + calculateBaseline(resourceUri: string, timeSeriesInformation: Models.TimeSeriesInformation, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, diff --git a/packages/@azure/arm-monitor/lib/operations/metricDefinitions.ts b/packages/@azure/arm-monitor/lib/operations/metricDefinitions.ts index 2ef5d4aa0b95..23a9932d767b 100644 --- a/packages/@azure/arm-monitor/lib/operations/metricDefinitions.ts +++ b/packages/@azure/arm-monitor/lib/operations/metricDefinitions.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/metricDefinitionsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class MetricDefinitions { * @param callback The callback */ list(resourceUri: string, options: Models.MetricDefinitionsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceUri: string, options?: Models.MetricDefinitionsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceUri: string, options?: Models.MetricDefinitionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, diff --git a/packages/@azure/arm-monitor/lib/operations/metricNamespaces.ts b/packages/@azure/arm-monitor/lib/operations/metricNamespaces.ts index 26d22b214748..7c9bb71069fe 100644 --- a/packages/@azure/arm-monitor/lib/operations/metricNamespaces.ts +++ b/packages/@azure/arm-monitor/lib/operations/metricNamespaces.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/metricNamespacesMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class MetricNamespaces { * @param callback The callback */ list(resourceUri: string, options: Models.MetricNamespacesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceUri: string, options?: Models.MetricNamespacesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceUri: string, options?: Models.MetricNamespacesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, diff --git a/packages/@azure/arm-monitor/lib/operations/metrics.ts b/packages/@azure/arm-monitor/lib/operations/metrics.ts index 904878dee0db..0a6f29b9680e 100644 --- a/packages/@azure/arm-monitor/lib/operations/metrics.ts +++ b/packages/@azure/arm-monitor/lib/operations/metrics.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/metricsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class Metrics { * @param callback The callback */ list(resourceUri: string, options: Models.MetricsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceUri: string, options?: Models.MetricsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceUri: string, options?: Models.MetricsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, diff --git a/packages/@azure/arm-monitor/lib/operations/operations.ts b/packages/@azure/arm-monitor/lib/operations/operations.ts index 57b510165eab..a6faf8a59a89 100644 --- a/packages/@azure/arm-monitor/lib/operations/operations.ts +++ b/packages/@azure/arm-monitor/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-monitor/lib/operations/scheduledQueryRules.ts b/packages/@azure/arm-monitor/lib/operations/scheduledQueryRules.ts index 0457f2661111..5acc255f18d7 100644 --- a/packages/@azure/arm-monitor/lib/operations/scheduledQueryRules.ts +++ b/packages/@azure/arm-monitor/lib/operations/scheduledQueryRules.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/scheduledQueryRulesMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ScheduledQueryRules { * @param callback The callback */ createOrUpdate(resourceGroupName: string, ruleName: string, parameters: Models.LogSearchRuleResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, ruleName: string, parameters: Models.LogSearchRuleResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, ruleName: string, parameters: Models.LogSearchRuleResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class ScheduledQueryRules { * @param callback The callback */ get(resourceGroupName: string, ruleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -118,7 +118,7 @@ export class ScheduledQueryRules { * @param callback The callback */ update(resourceGroupName: string, ruleName: string, parameters: Models.LogSearchRuleResourcePatch, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, ruleName: string, parameters: Models.LogSearchRuleResourcePatch, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, ruleName: string, parameters: Models.LogSearchRuleResourcePatch, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -151,7 +151,7 @@ export class ScheduledQueryRules { * @param callback The callback */ deleteMethod(resourceGroupName: string, ruleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, ruleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -177,7 +177,7 @@ export class ScheduledQueryRules { * @param callback The callback */ listBySubscription(options: Models.ScheduledQueryRulesListBySubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - listBySubscription(options?: Models.ScheduledQueryRulesListBySubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: Models.ScheduledQueryRulesListBySubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -204,7 +204,7 @@ export class ScheduledQueryRules { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.ScheduledQueryRulesListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.ScheduledQueryRulesListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.ScheduledQueryRulesListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-monitor/lib/operations/tenantActivityLogs.ts b/packages/@azure/arm-monitor/lib/operations/tenantActivityLogs.ts index 14a03d6e20f7..30986812843b 100644 --- a/packages/@azure/arm-monitor/lib/operations/tenantActivityLogs.ts +++ b/packages/@azure/arm-monitor/lib/operations/tenantActivityLogs.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/tenantActivityLogsMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class TenantActivityLogs { * @param callback The callback */ list(options: Models.TenantActivityLogsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.TenantActivityLogsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.TenantActivityLogsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -76,7 +76,7 @@ export class TenantActivityLogs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-monitor/package.json b/packages/@azure/arm-monitor/package.json index 2a400e5d7575..fad916557df9 100644 --- a/packages/@azure/arm-monitor/package.json +++ b/packages/@azure/arm-monitor/package.json @@ -4,8 +4,8 @@ "description": "MonitorManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-monitor.js.map'\" -o ./dist/arm-monitor.min.js ./dist/arm-monitor.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-monitor/rollup.config.js b/packages/@azure/arm-monitor/rollup.config.js index 7f4f681c7ceb..e555311a8a69 100644 --- a/packages/@azure/arm-monitor/rollup.config.js +++ b/packages/@azure/arm-monitor/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/monitorManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-monitor.js", format: "umd", name: "Azure.ArmMonitor", 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-monitor/tsconfig.esm.json b/packages/@azure/arm-monitor/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-monitor/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-monitor/tsconfig.json b/packages/@azure/arm-monitor/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-monitor/tsconfig.json +++ b/packages/@azure/arm-monitor/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-monitor/webpack.config.js b/packages/@azure/arm-monitor/webpack.config.js deleted file mode 100644 index 16fda976597a..000000000000 --- a/packages/@azure/arm-monitor/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/monitorManagementClient.js', - devtool: 'source-map', - output: { - filename: 'monitorManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'monitorManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-msi/.npmignore b/packages/@azure/arm-msi/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-msi/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-msi/README.md b/packages/@azure/arm-msi/README.md index 2d1129d573b9..13ecdf9364f9 100644 --- a/packages/@azure/arm-msi/README.md +++ b/packages/@azure/arm-msi/README.md @@ -1,24 +1,34 @@ -# Azure ManagedServiceIdentityClient SDK for JavaScript +## Azure ManagedServiceIdentityClient SDK for JavaScript + This package contains an isomorphic SDK for ManagedServiceIdentityClient. -## 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-msi ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { ManagedServiceIdentityClient, ManagedServiceIdentityModels, ManagedServiceIdentityMappers } from "@azure/arm-msi"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-msi 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-msi/lib/managedServiceIdentityClient.ts b/packages/@azure/arm-msi/lib/managedServiceIdentityClient.ts index e3a296a5c63a..2360b79199a9 100644 --- a/packages/@azure/arm-msi/lib/managedServiceIdentityClient.ts +++ b/packages/@azure/arm-msi/lib/managedServiceIdentityClient.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-msi/lib/managedServiceIdentityClientContext.ts b/packages/@azure/arm-msi/lib/managedServiceIdentityClientContext.ts index 407f7b42382d..f96cd5df3f4a 100644 --- a/packages/@azure/arm-msi/lib/managedServiceIdentityClientContext.ts +++ b/packages/@azure/arm-msi/lib/managedServiceIdentityClientContext.ts @@ -9,23 +9,16 @@ */ 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-msi"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class ManagedServiceIdentityClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the ManagedServiceIdentityClient class. @@ -44,6 +37,11 @@ export class ManagedServiceIdentityClientContext extends msRestAzure.AzureServic if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2015-08-31-preview'; @@ -54,7 +52,6 @@ export class ManagedServiceIdentityClientContext extends msRestAzure.AzureServic this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-msi/lib/models/index.ts b/packages/@azure/arm-msi/lib/models/index.ts index 002456a16758..f9a18808eae5 100644 --- a/packages/@azure/arm-msi/lib/models/index.ts +++ b/packages/@azure/arm-msi/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -181,17 +181,10 @@ export interface UserAssignedIdentitiesListResult extends Array { /** * Defines values for UserAssignedIdentities. * Possible values include: 'Microsoft.ManagedIdentity/userAssignedIdentities' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UserAssignedIdentities = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum UserAssignedIdentities { - MicrosoftManagedIdentityuserAssignedIdentities = 'Microsoft.ManagedIdentity/userAssignedIdentities', -} +export type UserAssignedIdentities = 'Microsoft.ManagedIdentity/userAssignedIdentities'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-msi/lib/models/mappers.ts b/packages/@azure/arm-msi/lib/models/mappers.ts index 173c9fd6975c..dea5dc5be474 100644 --- a/packages/@azure/arm-msi/lib/models/mappers.ts +++ b/packages/@azure/arm-msi/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-msi/lib/models/parameters.ts b/packages/@azure/arm-msi/lib/models/parameters.ts index 3dd33eebb6a9..52c2fc91f383 100644 --- a/packages/@azure/arm-msi/lib/models/parameters.ts +++ b/packages/@azure/arm-msi/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-msi/lib/operations/operations.ts b/packages/@azure/arm-msi/lib/operations/operations.ts index 7bc5f8276ce3..9084ea1a3fed 100644 --- a/packages/@azure/arm-msi/lib/operations/operations.ts +++ b/packages/@azure/arm-msi/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-msi/lib/operations/userAssignedIdentities.ts b/packages/@azure/arm-msi/lib/operations/userAssignedIdentities.ts index ff94c1cbc13a..14db9b390413 100644 --- a/packages/@azure/arm-msi/lib/operations/userAssignedIdentities.ts +++ b/packages/@azure/arm-msi/lib/operations/userAssignedIdentities.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/userAssignedIdentitiesMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class UserAssignedIdentities { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class UserAssignedIdentities { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -102,7 +102,7 @@ export class UserAssignedIdentities { * @param callback The callback */ createOrUpdate(resourceGroupName: string, resourceName: string, parameters: Models.Identity, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, resourceName: string, parameters: Models.Identity, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, resourceName: string, parameters: Models.Identity, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -138,7 +138,7 @@ export class UserAssignedIdentities { * @param callback The callback */ update(resourceGroupName: string, resourceName: string, parameters: Models.Identity, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, resourceName: string, parameters: Models.Identity, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, resourceName: string, parameters: Models.Identity, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -171,7 +171,7 @@ export class UserAssignedIdentities { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -203,7 +203,7 @@ export class UserAssignedIdentities { * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -232,7 +232,7 @@ export class UserAssignedIdentities { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -260,7 +260,7 @@ export class UserAssignedIdentities { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-msi/package.json b/packages/@azure/arm-msi/package.json index b8be1f695edd..1b136eae9cc7 100644 --- a/packages/@azure/arm-msi/package.json +++ b/packages/@azure/arm-msi/package.json @@ -4,8 +4,8 @@ "description": "ManagedServiceIdentityClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-msi.js.map'\" -o ./dist/arm-msi.min.js ./dist/arm-msi.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-msi/rollup.config.js b/packages/@azure/arm-msi/rollup.config.js index 9b1308b4fe0b..9a44f3d82402 100644 --- a/packages/@azure/arm-msi/rollup.config.js +++ b/packages/@azure/arm-msi/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/managedServiceIdentityClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-msi.js", format: "umd", name: "Azure.ArmMsi", 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-msi/tsconfig.json b/packages/@azure/arm-msi/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-msi/tsconfig.json +++ b/packages/@azure/arm-msi/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-mysql/.npmignore b/packages/@azure/arm-mysql/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-mysql/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-mysql/README.md b/packages/@azure/arm-mysql/README.md index 347cd3a8b3b6..3ba77712c4c6 100644 --- a/packages/@azure/arm-mysql/README.md +++ b/packages/@azure/arm-mysql/README.md @@ -1,24 +1,34 @@ -# Azure MySQLManagementClient SDK for JavaScript +## Azure MySQLManagementClient SDK for JavaScript + This package contains an isomorphic SDK for MySQLManagementClient. -## 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-mysql ``` +### How to use + +#### nodejs - Authentication, client creation and get servers as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get servers as an example written in TypeScript. +##### Sample code ```ts -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 { MySQLManagementClient, MySQLManagementModels, MySQLManagementMappers } from "@azure/arm-mysql"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get servers as an example written in JavaScript. +#### browser - Authentication, client creation and get servers as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-mysql 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-mysql/lib/models/index.ts b/packages/@azure/arm-mysql/lib/models/index.ts index b611c2966185..b684310622d0 100644 --- a/packages/@azure/arm-mysql/lib/models/index.ts +++ b/packages/@azure/arm-mysql/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -883,18 +883,10 @@ export interface PerformanceTierListResult extends Array"someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ServerVersion { - FiveFullStopSix = '5.6', - FiveFullStopSeven = '5.7', -} +export type ServerVersion = '5.6' | '5.7'; /** * Defines values for SslEnforcementEnum. @@ -902,96 +894,47 @@ export enum ServerVersion { * @readonly * @enum {string} */ -export enum SslEnforcementEnum { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type SslEnforcementEnum = 'Enabled' | 'Disabled'; /** * Defines values for ServerState. * Possible values include: 'Ready', 'Dropping', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServerState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ServerState { - Ready = 'Ready', - Dropping = 'Dropping', - Disabled = 'Disabled', -} +export type ServerState = 'Ready' | 'Dropping' | 'Disabled'; /** * Defines values for GeoRedundantBackup. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: GeoRedundantBackup = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum GeoRedundantBackup { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type GeoRedundantBackup = 'Enabled' | 'Disabled'; /** * Defines values for SkuTier. * Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuTier = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuTier { - Basic = 'Basic', - GeneralPurpose = 'GeneralPurpose', - MemoryOptimized = 'MemoryOptimized', -} +export type SkuTier = 'Basic' | 'GeneralPurpose' | 'MemoryOptimized'; /** * Defines values for VirtualNetworkRuleState. - * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', - * 'Unknown' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: VirtualNetworkRuleState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown' * @readonly * @enum {string} */ -export enum VirtualNetworkRuleState { - Initializing = 'Initializing', - InProgress = 'InProgress', - Ready = 'Ready', - Deleting = 'Deleting', - Unknown = 'Unknown', -} +export type VirtualNetworkRuleState = 'Initializing' | 'InProgress' | 'Ready' | 'Deleting' | 'Unknown'; /** * Defines values for OperationOrigin. * Possible values include: 'NotSpecified', 'user', 'system' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OperationOrigin = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OperationOrigin { - NotSpecified = 'NotSpecified', - User = 'user', - System = 'system', -} +export type OperationOrigin = 'NotSpecified' | 'user' | 'system'; /** * Defines values for ServerSecurityAlertPolicyState. @@ -999,10 +942,7 @@ export enum OperationOrigin { * @readonly * @enum {string} */ -export enum ServerSecurityAlertPolicyState { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type ServerSecurityAlertPolicyState = 'Enabled' | 'Disabled'; /** * Contains response data for the create operation. diff --git a/packages/@azure/arm-mysql/lib/models/mappers.ts b/packages/@azure/arm-mysql/lib/models/mappers.ts index f5ce7979f59c..c67df1ea8dfe 100644 --- a/packages/@azure/arm-mysql/lib/models/mappers.ts +++ b/packages/@azure/arm-mysql/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -388,11 +388,6 @@ export const ServerForCreate: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "createMode", - clientName: "createMode" - }, - uberParent: "ServerPropertiesForCreate", className: "ServerPropertiesForCreate" } }, diff --git a/packages/@azure/arm-mysql/lib/models/parameters.ts b/packages/@azure/arm-mysql/lib/models/parameters.ts index 51e8cfb5905e..7dbc0227f6c5 100644 --- a/packages/@azure/arm-mysql/lib/models/parameters.ts +++ b/packages/@azure/arm-mysql/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-mysql/lib/mySQLManagementClient.ts b/packages/@azure/arm-mysql/lib/mySQLManagementClient.ts index dbfea6d77509..aa67d2e2852d 100644 --- a/packages/@azure/arm-mysql/lib/mySQLManagementClient.ts +++ b/packages/@azure/arm-mysql/lib/mySQLManagementClient.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-mysql/lib/mySQLManagementClientContext.ts b/packages/@azure/arm-mysql/lib/mySQLManagementClientContext.ts index 2dff572f5dfa..ef7dc1db894a 100644 --- a/packages/@azure/arm-mysql/lib/mySQLManagementClientContext.ts +++ b/packages/@azure/arm-mysql/lib/mySQLManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-mysql"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class MySQLManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the MySQLManagementClient class. @@ -44,6 +37,11 @@ export class MySQLManagementClientContext extends msRestAzure.AzureServiceClient if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-12-01'; @@ -54,7 +52,6 @@ export class MySQLManagementClientContext extends msRestAzure.AzureServiceClient this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-mysql/lib/operations/checkNameAvailability.ts b/packages/@azure/arm-mysql/lib/operations/checkNameAvailability.ts index 0d96d3cfa8c0..1461d4413798 100644 --- a/packages/@azure/arm-mysql/lib/operations/checkNameAvailability.ts +++ b/packages/@azure/arm-mysql/lib/operations/checkNameAvailability.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/checkNameAvailabilityMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class CheckNameAvailability { * @param callback The callback */ execute(nameAvailabilityRequest: Models.NameAvailabilityRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - execute(nameAvailabilityRequest: Models.NameAvailabilityRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + execute(nameAvailabilityRequest: Models.NameAvailabilityRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nameAvailabilityRequest, diff --git a/packages/@azure/arm-mysql/lib/operations/configurations.ts b/packages/@azure/arm-mysql/lib/operations/configurations.ts index 9a98444fcdd9..9eef7a32e000 100644 --- a/packages/@azure/arm-mysql/lib/operations/configurations.ts +++ b/packages/@azure/arm-mysql/lib/operations/configurations.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/configurationsMappers"; import * as Parameters from "../models/parameters"; @@ -69,7 +69,7 @@ export class Configurations { * @param callback The callback */ get(resourceGroupName: string, serverName: string, configurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, configurationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, configurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -105,7 +105,7 @@ export class Configurations { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-mysql/lib/operations/databases.ts b/packages/@azure/arm-mysql/lib/operations/databases.ts index bc1bae5b6367..c0400068269c 100644 --- a/packages/@azure/arm-mysql/lib/operations/databases.ts +++ b/packages/@azure/arm-mysql/lib/operations/databases.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/databasesMappers"; import * as Parameters from "../models/parameters"; @@ -83,7 +83,7 @@ export class Databases { * @param callback The callback */ get(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -119,7 +119,7 @@ export class Databases { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-mysql/lib/operations/firewallRules.ts b/packages/@azure/arm-mysql/lib/operations/firewallRules.ts index 7302a768b519..1744e21a520a 100644 --- a/packages/@azure/arm-mysql/lib/operations/firewallRules.ts +++ b/packages/@azure/arm-mysql/lib/operations/firewallRules.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/firewallRulesMappers"; import * as Parameters from "../models/parameters"; @@ -83,7 +83,7 @@ export class FirewallRules { * @param callback The callback */ get(resourceGroupName: string, serverName: string, firewallRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -119,7 +119,7 @@ export class FirewallRules { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-mysql/lib/operations/locationBasedPerformanceTier.ts b/packages/@azure/arm-mysql/lib/operations/locationBasedPerformanceTier.ts index b0ea5fef2abf..470294fa212d 100644 --- a/packages/@azure/arm-mysql/lib/operations/locationBasedPerformanceTier.ts +++ b/packages/@azure/arm-mysql/lib/operations/locationBasedPerformanceTier.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/locationBasedPerformanceTierMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class LocationBasedPerformanceTier { * @param callback The callback */ list(locationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(locationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(locationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { locationName, diff --git a/packages/@azure/arm-mysql/lib/operations/logFiles.ts b/packages/@azure/arm-mysql/lib/operations/logFiles.ts index 1d82cec89c80..357983282b65 100644 --- a/packages/@azure/arm-mysql/lib/operations/logFiles.ts +++ b/packages/@azure/arm-mysql/lib/operations/logFiles.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/logFilesMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class LogFiles { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-mysql/lib/operations/operations.ts b/packages/@azure/arm-mysql/lib/operations/operations.ts index 18fc47b48730..b165a30747ef 100644 --- a/packages/@azure/arm-mysql/lib/operations/operations.ts +++ b/packages/@azure/arm-mysql/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-mysql/lib/operations/replicas.ts b/packages/@azure/arm-mysql/lib/operations/replicas.ts index e8c00b67ef01..ddea7a60a9ca 100644 --- a/packages/@azure/arm-mysql/lib/operations/replicas.ts +++ b/packages/@azure/arm-mysql/lib/operations/replicas.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/replicasMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Replicas { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-mysql/lib/operations/serverSecurityAlertPolicies.ts b/packages/@azure/arm-mysql/lib/operations/serverSecurityAlertPolicies.ts index 7736155e3824..05c012e4492d 100644 --- a/packages/@azure/arm-mysql/lib/operations/serverSecurityAlertPolicies.ts +++ b/packages/@azure/arm-mysql/lib/operations/serverSecurityAlertPolicies.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/serverSecurityAlertPoliciesMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class ServerSecurityAlertPolicies { * @param callback The callback */ get(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-mysql/lib/operations/servers.ts b/packages/@azure/arm-mysql/lib/operations/servers.ts index d8a9233b7f46..e8fc4b440857 100644 --- a/packages/@azure/arm-mysql/lib/operations/servers.ts +++ b/packages/@azure/arm-mysql/lib/operations/servers.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/serversMappers"; import * as Parameters from "../models/parameters"; @@ -94,7 +94,7 @@ export class Servers { * @param callback The callback */ get(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -126,7 +126,7 @@ export class Servers { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -151,7 +151,7 @@ export class Servers { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-mysql/lib/operations/virtualNetworkRules.ts b/packages/@azure/arm-mysql/lib/operations/virtualNetworkRules.ts index ae2e38d49059..5416a1edca8c 100644 --- a/packages/@azure/arm-mysql/lib/operations/virtualNetworkRules.ts +++ b/packages/@azure/arm-mysql/lib/operations/virtualNetworkRules.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/virtualNetworkRulesMappers"; import * as Parameters from "../models/parameters"; @@ -54,7 +54,7 @@ export class VirtualNetworkRules { * @param callback The callback */ get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -119,7 +119,7 @@ export class VirtualNetworkRules { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -192,7 +192,7 @@ export class VirtualNetworkRules { * @param callback The callback */ listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-mysql/package.json b/packages/@azure/arm-mysql/package.json index 2960262a0645..e1ec9505df08 100644 --- a/packages/@azure/arm-mysql/package.json +++ b/packages/@azure/arm-mysql/package.json @@ -4,8 +4,8 @@ "description": "MySQLManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-mysql.js.map'\" -o ./dist/arm-mysql.min.js ./dist/arm-mysql.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-mysql/rollup.config.js b/packages/@azure/arm-mysql/rollup.config.js index d7b7ad9e570a..80eadf7e095c 100644 --- a/packages/@azure/arm-mysql/rollup.config.js +++ b/packages/@azure/arm-mysql/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/mySQLManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-mysql.js", format: "umd", name: "Azure.ArmMysql", 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-mysql/tsconfig.json b/packages/@azure/arm-mysql/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-mysql/tsconfig.json +++ b/packages/@azure/arm-mysql/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-network/lib/models/index.ts b/packages/@azure/arm-network/lib/models/index.ts index 1c85e49607b6..20c67f250cc0 100644 --- a/packages/@azure/arm-network/lib/models/index.ts +++ b/packages/@azure/arm-network/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; diff --git a/packages/@azure/arm-network/lib/models/mappers.ts b/packages/@azure/arm-network/lib/models/mappers.ts index 5aff60a095d2..6df8de2e684f 100644 --- a/packages/@azure/arm-network/lib/models/mappers.ts +++ b/packages/@azure/arm-network/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-network/lib/models/parameters.ts b/packages/@azure/arm-network/lib/models/parameters.ts index f74182279047..8421fa10ae9e 100644 --- a/packages/@azure/arm-network/lib/models/parameters.ts +++ b/packages/@azure/arm-network/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", @@ -637,6 +637,16 @@ export const virtualHubName: msRest.OperationURLParameter = { } } }; +export const virtualmachineIndex: msRest.OperationURLParameter = { + parameterPath: "virtualmachineIndex", + mapper: { + required: true, + serializedName: "virtualmachineIndex", + type: { + name: "String" + } + } +}; export const virtualMachineScaleSetName: msRest.OperationURLParameter = { parameterPath: "virtualMachineScaleSetName", mapper: { @@ -687,41 +697,31 @@ export const virtualNetworkPeeringName: msRest.OperationURLParameter = { } } }; -export const virtualWANName0: msRest.OperationURLParameter = { - parameterPath: "virtualWANName", +export const virtualWanName: msRest.OperationURLParameter = { + parameterPath: "virtualWanName", mapper: { required: true, - serializedName: "virtualWANName", + serializedName: "virtualWanName", type: { name: "String" } } }; -export const virtualWANName1: msRest.OperationURLParameter = { +export const virtualWANName0: msRest.OperationURLParameter = { parameterPath: "virtualWANName", mapper: { required: true, - serializedName: "VirtualWANName", - type: { - name: "String" - } - } -}; -export const virtualWanName: msRest.OperationURLParameter = { - parameterPath: "virtualWanName", - mapper: { - required: true, - serializedName: "virtualWanName", + serializedName: "virtualWANName", type: { name: "String" } } }; -export const virtualmachineIndex: msRest.OperationURLParameter = { - parameterPath: "virtualmachineIndex", +export const virtualWANName1: msRest.OperationURLParameter = { + parameterPath: "virtualWANName", mapper: { required: true, - serializedName: "virtualmachineIndex", + serializedName: "VirtualWANName", type: { name: "String" } diff --git a/packages/@azure/arm-network/lib/networkManagementClient.ts b/packages/@azure/arm-network/lib/networkManagementClient.ts index 809fe9c840ef..4aad03f66ff4 100644 --- a/packages/@azure/arm-network/lib/networkManagementClient.ts +++ b/packages/@azure/arm-network/lib/networkManagementClient.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 Parameters from "./models/parameters"; diff --git a/packages/@azure/arm-network/lib/networkManagementClientContext.ts b/packages/@azure/arm-network/lib/networkManagementClientContext.ts index 578c5bf48ff6..bab04854322d 100644 --- a/packages/@azure/arm-network/lib/networkManagementClientContext.ts +++ b/packages/@azure/arm-network/lib/networkManagementClientContext.ts @@ -9,8 +9,8 @@ */ 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-network"; const packageVersion = "0.1.0"; diff --git a/packages/@azure/arm-network/lib/operations/applicationGateways.ts b/packages/@azure/arm-network/lib/operations/applicationGateways.ts index fcfe33121154..50b702269fc5 100644 --- a/packages/@azure/arm-network/lib/operations/applicationGateways.ts +++ b/packages/@azure/arm-network/lib/operations/applicationGateways.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/applicationGatewaysMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/applicationSecurityGroups.ts b/packages/@azure/arm-network/lib/operations/applicationSecurityGroups.ts index 033c41e05d4e..a3b3ff12c223 100644 --- a/packages/@azure/arm-network/lib/operations/applicationSecurityGroups.ts +++ b/packages/@azure/arm-network/lib/operations/applicationSecurityGroups.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/applicationSecurityGroupsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/availableDelegations.ts b/packages/@azure/arm-network/lib/operations/availableDelegations.ts index 3633396826a4..c83d9184c847 100644 --- a/packages/@azure/arm-network/lib/operations/availableDelegations.ts +++ b/packages/@azure/arm-network/lib/operations/availableDelegations.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/availableDelegationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/availableEndpointServices.ts b/packages/@azure/arm-network/lib/operations/availableEndpointServices.ts index 3c5a41acec9a..f263020fe4b2 100644 --- a/packages/@azure/arm-network/lib/operations/availableEndpointServices.ts +++ b/packages/@azure/arm-network/lib/operations/availableEndpointServices.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/availableEndpointServicesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/availableResourceGroupDelegations.ts b/packages/@azure/arm-network/lib/operations/availableResourceGroupDelegations.ts index 39c09087692f..0becce9d6b16 100644 --- a/packages/@azure/arm-network/lib/operations/availableResourceGroupDelegations.ts +++ b/packages/@azure/arm-network/lib/operations/availableResourceGroupDelegations.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/availableResourceGroupDelegationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/azureFirewallFqdnTags.ts b/packages/@azure/arm-network/lib/operations/azureFirewallFqdnTags.ts index f2cde09a932d..a1d8f0f33264 100644 --- a/packages/@azure/arm-network/lib/operations/azureFirewallFqdnTags.ts +++ b/packages/@azure/arm-network/lib/operations/azureFirewallFqdnTags.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/azureFirewallFqdnTagsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/azureFirewalls.ts b/packages/@azure/arm-network/lib/operations/azureFirewalls.ts index ad3b9b4920a1..9439b6a36f7c 100644 --- a/packages/@azure/arm-network/lib/operations/azureFirewalls.ts +++ b/packages/@azure/arm-network/lib/operations/azureFirewalls.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/azureFirewallsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/bgpServiceCommunities.ts b/packages/@azure/arm-network/lib/operations/bgpServiceCommunities.ts index 784baa046a86..fa6e12a44779 100644 --- a/packages/@azure/arm-network/lib/operations/bgpServiceCommunities.ts +++ b/packages/@azure/arm-network/lib/operations/bgpServiceCommunities.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/bgpServiceCommunitiesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/connectionMonitors.ts b/packages/@azure/arm-network/lib/operations/connectionMonitors.ts index 12af7f75af91..af9d43aee770 100644 --- a/packages/@azure/arm-network/lib/operations/connectionMonitors.ts +++ b/packages/@azure/arm-network/lib/operations/connectionMonitors.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/connectionMonitorsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/ddosProtectionPlans.ts b/packages/@azure/arm-network/lib/operations/ddosProtectionPlans.ts index 0c1d5196c74b..47b60aa9ca05 100644 --- a/packages/@azure/arm-network/lib/operations/ddosProtectionPlans.ts +++ b/packages/@azure/arm-network/lib/operations/ddosProtectionPlans.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/ddosProtectionPlansMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/defaultSecurityRules.ts b/packages/@azure/arm-network/lib/operations/defaultSecurityRules.ts index 86736e609383..3c0189133997 100644 --- a/packages/@azure/arm-network/lib/operations/defaultSecurityRules.ts +++ b/packages/@azure/arm-network/lib/operations/defaultSecurityRules.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/defaultSecurityRulesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/expressRouteCircuitAuthorizations.ts b/packages/@azure/arm-network/lib/operations/expressRouteCircuitAuthorizations.ts index 0b34ed1205e1..2b48bce5634e 100644 --- a/packages/@azure/arm-network/lib/operations/expressRouteCircuitAuthorizations.ts +++ b/packages/@azure/arm-network/lib/operations/expressRouteCircuitAuthorizations.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/expressRouteCircuitAuthorizationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/expressRouteCircuitConnections.ts b/packages/@azure/arm-network/lib/operations/expressRouteCircuitConnections.ts index 6f6b1c900d70..033d91f8f0f3 100644 --- a/packages/@azure/arm-network/lib/operations/expressRouteCircuitConnections.ts +++ b/packages/@azure/arm-network/lib/operations/expressRouteCircuitConnections.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/expressRouteCircuitConnectionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/expressRouteCircuitPeerings.ts b/packages/@azure/arm-network/lib/operations/expressRouteCircuitPeerings.ts index a1dd18d61334..2bde66062f02 100644 --- a/packages/@azure/arm-network/lib/operations/expressRouteCircuitPeerings.ts +++ b/packages/@azure/arm-network/lib/operations/expressRouteCircuitPeerings.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/expressRouteCircuitPeeringsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/expressRouteCircuits.ts b/packages/@azure/arm-network/lib/operations/expressRouteCircuits.ts index 23cb5b28f0b1..e078a1ade129 100644 --- a/packages/@azure/arm-network/lib/operations/expressRouteCircuits.ts +++ b/packages/@azure/arm-network/lib/operations/expressRouteCircuits.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/expressRouteCircuitsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/expressRouteConnections.ts b/packages/@azure/arm-network/lib/operations/expressRouteConnections.ts index 8b64960aa848..ce6b2931a410 100644 --- a/packages/@azure/arm-network/lib/operations/expressRouteConnections.ts +++ b/packages/@azure/arm-network/lib/operations/expressRouteConnections.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/expressRouteConnectionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/expressRouteCrossConnectionPeerings.ts b/packages/@azure/arm-network/lib/operations/expressRouteCrossConnectionPeerings.ts index 48ef4f8761be..5a462c4ee197 100644 --- a/packages/@azure/arm-network/lib/operations/expressRouteCrossConnectionPeerings.ts +++ b/packages/@azure/arm-network/lib/operations/expressRouteCrossConnectionPeerings.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/expressRouteCrossConnectionPeeringsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/expressRouteCrossConnections.ts b/packages/@azure/arm-network/lib/operations/expressRouteCrossConnections.ts index 9606559e87a5..daaf9c0f96ce 100644 --- a/packages/@azure/arm-network/lib/operations/expressRouteCrossConnections.ts +++ b/packages/@azure/arm-network/lib/operations/expressRouteCrossConnections.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/expressRouteCrossConnectionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/expressRouteGateways.ts b/packages/@azure/arm-network/lib/operations/expressRouteGateways.ts index 4c7a3ce507ed..cb0ebea7f92a 100644 --- a/packages/@azure/arm-network/lib/operations/expressRouteGateways.ts +++ b/packages/@azure/arm-network/lib/operations/expressRouteGateways.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/expressRouteGatewaysMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/expressRouteLinks.ts b/packages/@azure/arm-network/lib/operations/expressRouteLinks.ts index e317f0dfe0d0..7b29583727fe 100644 --- a/packages/@azure/arm-network/lib/operations/expressRouteLinks.ts +++ b/packages/@azure/arm-network/lib/operations/expressRouteLinks.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/expressRouteLinksMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/expressRoutePorts.ts b/packages/@azure/arm-network/lib/operations/expressRoutePorts.ts index 82d095417c66..9cb154aa92e2 100644 --- a/packages/@azure/arm-network/lib/operations/expressRoutePorts.ts +++ b/packages/@azure/arm-network/lib/operations/expressRoutePorts.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/expressRoutePortsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/expressRoutePortsLocations.ts b/packages/@azure/arm-network/lib/operations/expressRoutePortsLocations.ts index 4570d7c37e4a..0143bbcea975 100644 --- a/packages/@azure/arm-network/lib/operations/expressRoutePortsLocations.ts +++ b/packages/@azure/arm-network/lib/operations/expressRoutePortsLocations.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/expressRoutePortsLocationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/expressRouteServiceProviders.ts b/packages/@azure/arm-network/lib/operations/expressRouteServiceProviders.ts index d892586ff98e..6c23fde9c0ee 100644 --- a/packages/@azure/arm-network/lib/operations/expressRouteServiceProviders.ts +++ b/packages/@azure/arm-network/lib/operations/expressRouteServiceProviders.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/expressRouteServiceProvidersMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/hubVirtualNetworkConnections.ts b/packages/@azure/arm-network/lib/operations/hubVirtualNetworkConnections.ts index 00c8f40f4258..815d03844840 100644 --- a/packages/@azure/arm-network/lib/operations/hubVirtualNetworkConnections.ts +++ b/packages/@azure/arm-network/lib/operations/hubVirtualNetworkConnections.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/hubVirtualNetworkConnectionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/inboundNatRules.ts b/packages/@azure/arm-network/lib/operations/inboundNatRules.ts index 0afcc492bbcd..7df04d10d62b 100644 --- a/packages/@azure/arm-network/lib/operations/inboundNatRules.ts +++ b/packages/@azure/arm-network/lib/operations/inboundNatRules.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/inboundNatRulesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/interfaceEndpoints.ts b/packages/@azure/arm-network/lib/operations/interfaceEndpoints.ts index a6b9a76e6a73..2b3eb5ec6348 100644 --- a/packages/@azure/arm-network/lib/operations/interfaceEndpoints.ts +++ b/packages/@azure/arm-network/lib/operations/interfaceEndpoints.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/interfaceEndpointsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/loadBalancerBackendAddressPools.ts b/packages/@azure/arm-network/lib/operations/loadBalancerBackendAddressPools.ts index 3330a5bdb1f1..005083559cc1 100644 --- a/packages/@azure/arm-network/lib/operations/loadBalancerBackendAddressPools.ts +++ b/packages/@azure/arm-network/lib/operations/loadBalancerBackendAddressPools.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/loadBalancerBackendAddressPoolsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/loadBalancerFrontendIPConfigurations.ts b/packages/@azure/arm-network/lib/operations/loadBalancerFrontendIPConfigurations.ts index 21e26b56f7e7..83cb24a9d68c 100644 --- a/packages/@azure/arm-network/lib/operations/loadBalancerFrontendIPConfigurations.ts +++ b/packages/@azure/arm-network/lib/operations/loadBalancerFrontendIPConfigurations.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/loadBalancerFrontendIPConfigurationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/loadBalancerLoadBalancingRules.ts b/packages/@azure/arm-network/lib/operations/loadBalancerLoadBalancingRules.ts index 57fb2b0fc830..1a70fd25d0ab 100644 --- a/packages/@azure/arm-network/lib/operations/loadBalancerLoadBalancingRules.ts +++ b/packages/@azure/arm-network/lib/operations/loadBalancerLoadBalancingRules.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/loadBalancerLoadBalancingRulesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/loadBalancerNetworkInterfaces.ts b/packages/@azure/arm-network/lib/operations/loadBalancerNetworkInterfaces.ts index 7ab58d852fb0..b440a867c821 100644 --- a/packages/@azure/arm-network/lib/operations/loadBalancerNetworkInterfaces.ts +++ b/packages/@azure/arm-network/lib/operations/loadBalancerNetworkInterfaces.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/loadBalancerNetworkInterfacesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/loadBalancerOutboundRules.ts b/packages/@azure/arm-network/lib/operations/loadBalancerOutboundRules.ts index 9e997cab3647..b5fd5a6d745d 100644 --- a/packages/@azure/arm-network/lib/operations/loadBalancerOutboundRules.ts +++ b/packages/@azure/arm-network/lib/operations/loadBalancerOutboundRules.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/loadBalancerOutboundRulesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/loadBalancerProbes.ts b/packages/@azure/arm-network/lib/operations/loadBalancerProbes.ts index 040745b8e97b..db1546fc4e51 100644 --- a/packages/@azure/arm-network/lib/operations/loadBalancerProbes.ts +++ b/packages/@azure/arm-network/lib/operations/loadBalancerProbes.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/loadBalancerProbesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/loadBalancers.ts b/packages/@azure/arm-network/lib/operations/loadBalancers.ts index 7b175197896d..2f521d5694d9 100644 --- a/packages/@azure/arm-network/lib/operations/loadBalancers.ts +++ b/packages/@azure/arm-network/lib/operations/loadBalancers.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/loadBalancersMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/localNetworkGateways.ts b/packages/@azure/arm-network/lib/operations/localNetworkGateways.ts index 7c73ea4f21f0..c16a29484347 100644 --- a/packages/@azure/arm-network/lib/operations/localNetworkGateways.ts +++ b/packages/@azure/arm-network/lib/operations/localNetworkGateways.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/localNetworkGatewaysMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/networkInterfaceIPConfigurations.ts b/packages/@azure/arm-network/lib/operations/networkInterfaceIPConfigurations.ts index e3f1a57ad7e3..f3fe2bed54da 100644 --- a/packages/@azure/arm-network/lib/operations/networkInterfaceIPConfigurations.ts +++ b/packages/@azure/arm-network/lib/operations/networkInterfaceIPConfigurations.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/networkInterfaceIPConfigurationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/networkInterfaceLoadBalancers.ts b/packages/@azure/arm-network/lib/operations/networkInterfaceLoadBalancers.ts index e69b95ca9fd1..14b0fe37c023 100644 --- a/packages/@azure/arm-network/lib/operations/networkInterfaceLoadBalancers.ts +++ b/packages/@azure/arm-network/lib/operations/networkInterfaceLoadBalancers.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/networkInterfaceLoadBalancersMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/networkInterfaceTapConfigurations.ts b/packages/@azure/arm-network/lib/operations/networkInterfaceTapConfigurations.ts index 9b0b5647d9a2..bd88a1db69fb 100644 --- a/packages/@azure/arm-network/lib/operations/networkInterfaceTapConfigurations.ts +++ b/packages/@azure/arm-network/lib/operations/networkInterfaceTapConfigurations.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/networkInterfaceTapConfigurationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/networkInterfaces.ts b/packages/@azure/arm-network/lib/operations/networkInterfaces.ts index adf162c66ff1..a41064cd1adc 100644 --- a/packages/@azure/arm-network/lib/operations/networkInterfaces.ts +++ b/packages/@azure/arm-network/lib/operations/networkInterfaces.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/networkInterfacesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/networkProfiles.ts b/packages/@azure/arm-network/lib/operations/networkProfiles.ts index f2f8d04e67dd..6d6efa299d89 100644 --- a/packages/@azure/arm-network/lib/operations/networkProfiles.ts +++ b/packages/@azure/arm-network/lib/operations/networkProfiles.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/networkProfilesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/networkSecurityGroups.ts b/packages/@azure/arm-network/lib/operations/networkSecurityGroups.ts index 8bd6453e60a4..ca4a9498b596 100644 --- a/packages/@azure/arm-network/lib/operations/networkSecurityGroups.ts +++ b/packages/@azure/arm-network/lib/operations/networkSecurityGroups.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/networkSecurityGroupsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/networkWatchers.ts b/packages/@azure/arm-network/lib/operations/networkWatchers.ts index 85a8c2a3c616..87a9b7091791 100644 --- a/packages/@azure/arm-network/lib/operations/networkWatchers.ts +++ b/packages/@azure/arm-network/lib/operations/networkWatchers.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/networkWatchersMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/operations.ts b/packages/@azure/arm-network/lib/operations/operations.ts index 1fae7feb9157..eaac30618527 100644 --- a/packages/@azure/arm-network/lib/operations/operations.ts +++ b/packages/@azure/arm-network/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-network/lib/operations/p2sVpnGateways.ts b/packages/@azure/arm-network/lib/operations/p2sVpnGateways.ts index 9f0ae5c340d6..bb058adb7ca8 100644 --- a/packages/@azure/arm-network/lib/operations/p2sVpnGateways.ts +++ b/packages/@azure/arm-network/lib/operations/p2sVpnGateways.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/p2sVpnGatewaysMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/p2sVpnServerConfigurations.ts b/packages/@azure/arm-network/lib/operations/p2sVpnServerConfigurations.ts index 2317294cfedd..e177ddc59fb8 100644 --- a/packages/@azure/arm-network/lib/operations/p2sVpnServerConfigurations.ts +++ b/packages/@azure/arm-network/lib/operations/p2sVpnServerConfigurations.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/p2sVpnServerConfigurationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/packetCaptures.ts b/packages/@azure/arm-network/lib/operations/packetCaptures.ts index fa21b9224bed..bb6baa5fe2df 100644 --- a/packages/@azure/arm-network/lib/operations/packetCaptures.ts +++ b/packages/@azure/arm-network/lib/operations/packetCaptures.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/packetCapturesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/publicIPAddresses.ts b/packages/@azure/arm-network/lib/operations/publicIPAddresses.ts index 7c3e04f67a92..b9cc5dff3bea 100644 --- a/packages/@azure/arm-network/lib/operations/publicIPAddresses.ts +++ b/packages/@azure/arm-network/lib/operations/publicIPAddresses.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/publicIPAddressesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/publicIPPrefixes.ts b/packages/@azure/arm-network/lib/operations/publicIPPrefixes.ts index d6d54f562275..ccd16fc31da4 100644 --- a/packages/@azure/arm-network/lib/operations/publicIPPrefixes.ts +++ b/packages/@azure/arm-network/lib/operations/publicIPPrefixes.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/publicIPPrefixesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/routeFilterRules.ts b/packages/@azure/arm-network/lib/operations/routeFilterRules.ts index 2e2cb84f653d..6b2eaaee892d 100644 --- a/packages/@azure/arm-network/lib/operations/routeFilterRules.ts +++ b/packages/@azure/arm-network/lib/operations/routeFilterRules.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/routeFilterRulesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/routeFilters.ts b/packages/@azure/arm-network/lib/operations/routeFilters.ts index c4f1c4b64b46..d27a34fdfc95 100644 --- a/packages/@azure/arm-network/lib/operations/routeFilters.ts +++ b/packages/@azure/arm-network/lib/operations/routeFilters.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/routeFiltersMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/routeTables.ts b/packages/@azure/arm-network/lib/operations/routeTables.ts index e20572228106..e30a77a87d73 100644 --- a/packages/@azure/arm-network/lib/operations/routeTables.ts +++ b/packages/@azure/arm-network/lib/operations/routeTables.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/routeTablesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/routes.ts b/packages/@azure/arm-network/lib/operations/routes.ts index 8587c7d35c45..74eea3857b8b 100644 --- a/packages/@azure/arm-network/lib/operations/routes.ts +++ b/packages/@azure/arm-network/lib/operations/routes.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/routesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/securityRules.ts b/packages/@azure/arm-network/lib/operations/securityRules.ts index 3b2161e9370d..438b294bfe30 100644 --- a/packages/@azure/arm-network/lib/operations/securityRules.ts +++ b/packages/@azure/arm-network/lib/operations/securityRules.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/securityRulesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/serviceEndpointPolicies.ts b/packages/@azure/arm-network/lib/operations/serviceEndpointPolicies.ts index 88122096d786..0e09d262f3f4 100644 --- a/packages/@azure/arm-network/lib/operations/serviceEndpointPolicies.ts +++ b/packages/@azure/arm-network/lib/operations/serviceEndpointPolicies.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/serviceEndpointPoliciesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/serviceEndpointPolicyDefinitions.ts b/packages/@azure/arm-network/lib/operations/serviceEndpointPolicyDefinitions.ts index 942b20b2e6de..94ffa17b7a3a 100644 --- a/packages/@azure/arm-network/lib/operations/serviceEndpointPolicyDefinitions.ts +++ b/packages/@azure/arm-network/lib/operations/serviceEndpointPolicyDefinitions.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/serviceEndpointPolicyDefinitionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/subnets.ts b/packages/@azure/arm-network/lib/operations/subnets.ts index 87a39da98edf..47a6429c677d 100644 --- a/packages/@azure/arm-network/lib/operations/subnets.ts +++ b/packages/@azure/arm-network/lib/operations/subnets.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/subnetsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/usages.ts b/packages/@azure/arm-network/lib/operations/usages.ts index 2dde4a2f967a..155ef6abb4b0 100644 --- a/packages/@azure/arm-network/lib/operations/usages.ts +++ b/packages/@azure/arm-network/lib/operations/usages.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/usagesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/virtualHubs.ts b/packages/@azure/arm-network/lib/operations/virtualHubs.ts index af4aca11242b..e27c5cfdee79 100644 --- a/packages/@azure/arm-network/lib/operations/virtualHubs.ts +++ b/packages/@azure/arm-network/lib/operations/virtualHubs.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/virtualHubsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/virtualNetworkGatewayConnections.ts b/packages/@azure/arm-network/lib/operations/virtualNetworkGatewayConnections.ts index ec3a015f4425..580f7280b48a 100644 --- a/packages/@azure/arm-network/lib/operations/virtualNetworkGatewayConnections.ts +++ b/packages/@azure/arm-network/lib/operations/virtualNetworkGatewayConnections.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/virtualNetworkGatewayConnectionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/virtualNetworkGateways.ts b/packages/@azure/arm-network/lib/operations/virtualNetworkGateways.ts index 5aee466adc05..fba7ac5bedca 100644 --- a/packages/@azure/arm-network/lib/operations/virtualNetworkGateways.ts +++ b/packages/@azure/arm-network/lib/operations/virtualNetworkGateways.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/virtualNetworkGatewaysMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/virtualNetworkPeerings.ts b/packages/@azure/arm-network/lib/operations/virtualNetworkPeerings.ts index 57af71d5bb9f..842b6feb3429 100644 --- a/packages/@azure/arm-network/lib/operations/virtualNetworkPeerings.ts +++ b/packages/@azure/arm-network/lib/operations/virtualNetworkPeerings.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/virtualNetworkPeeringsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/virtualNetworkTaps.ts b/packages/@azure/arm-network/lib/operations/virtualNetworkTaps.ts index 134b40d5784a..93067754144a 100644 --- a/packages/@azure/arm-network/lib/operations/virtualNetworkTaps.ts +++ b/packages/@azure/arm-network/lib/operations/virtualNetworkTaps.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/virtualNetworkTapsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/virtualNetworks.ts b/packages/@azure/arm-network/lib/operations/virtualNetworks.ts index 4601f03e1785..913658e46997 100644 --- a/packages/@azure/arm-network/lib/operations/virtualNetworks.ts +++ b/packages/@azure/arm-network/lib/operations/virtualNetworks.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/virtualNetworksMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/virtualWans.ts b/packages/@azure/arm-network/lib/operations/virtualWans.ts index a1648f903c11..7bb0c1838337 100644 --- a/packages/@azure/arm-network/lib/operations/virtualWans.ts +++ b/packages/@azure/arm-network/lib/operations/virtualWans.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/virtualWansMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/vpnConnections.ts b/packages/@azure/arm-network/lib/operations/vpnConnections.ts index d46fdbdf71f5..256cd31007fe 100644 --- a/packages/@azure/arm-network/lib/operations/vpnConnections.ts +++ b/packages/@azure/arm-network/lib/operations/vpnConnections.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/vpnConnectionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/vpnGateways.ts b/packages/@azure/arm-network/lib/operations/vpnGateways.ts index 64b54b5e266e..0d8a671784af 100644 --- a/packages/@azure/arm-network/lib/operations/vpnGateways.ts +++ b/packages/@azure/arm-network/lib/operations/vpnGateways.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/vpnGatewaysMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/vpnSites.ts b/packages/@azure/arm-network/lib/operations/vpnSites.ts index c90b966fd7c3..6f335ec72ddc 100644 --- a/packages/@azure/arm-network/lib/operations/vpnSites.ts +++ b/packages/@azure/arm-network/lib/operations/vpnSites.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/vpnSitesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/lib/operations/vpnSitesConfiguration.ts b/packages/@azure/arm-network/lib/operations/vpnSitesConfiguration.ts index 4199f713c131..86897eb1f993 100644 --- a/packages/@azure/arm-network/lib/operations/vpnSitesConfiguration.ts +++ b/packages/@azure/arm-network/lib/operations/vpnSitesConfiguration.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/vpnSitesConfigurationMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-network/package.json b/packages/@azure/arm-network/package.json index 7d9576131bd5..4f04b395017d 100644 --- a/packages/@azure/arm-network/package.json +++ b/packages/@azure/arm-network/package.json @@ -4,8 +4,8 @@ "description": "NetworkManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.462", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ diff --git a/packages/@azure/arm-network/rollup.config.js b/packages/@azure/arm-network/rollup.config.js index d4df3c63863c..0698608136c4 100644 --- a/packages/@azure/arm-network/rollup.config.js +++ b/packages/@azure/arm-network/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/networkManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-network.js", format: "umd", name: "Azure.ArmNetwork", 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-notificationhubs/.npmignore b/packages/@azure/arm-notificationhubs/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-notificationhubs/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-notificationhubs/README.md b/packages/@azure/arm-notificationhubs/README.md index 67cec55285bc..3376163a6573 100644 --- a/packages/@azure/arm-notificationhubs/README.md +++ b/packages/@azure/arm-notificationhubs/README.md @@ -1,24 +1,34 @@ -# Azure NotificationHubsManagementClient SDK for JavaScript +## Azure NotificationHubsManagementClient SDK for JavaScript + This package contains an isomorphic SDK for NotificationHubsManagementClient. -## 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-notificationhubs ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { NotificationHubsManagementClient, NotificationHubsManagementModels, NotificationHubsManagementMappers } from "@azure/arm-notificationhubs"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-notificationhubs 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-notificationhubs/lib/models/index.ts b/packages/@azure/arm-notificationhubs/lib/models/index.ts index d4de7707e06c..fb9ee9c84803 100644 --- a/packages/@azure/arm-notificationhubs/lib/models/index.ts +++ b/packages/@azure/arm-notificationhubs/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1060,18 +1060,10 @@ export interface NotificationHubListResult extends Array"someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuName { - Free = 'Free', - Basic = 'Basic', - Standard = 'Standard', -} +export type SkuName = 'Free' | 'Basic' | 'Standard'; /** * Defines values for NamespaceType. @@ -1079,10 +1071,7 @@ export enum SkuName { * @readonly * @enum {string} */ -export enum NamespaceType { - Messaging = 'Messaging', - NotificationHub = 'NotificationHub', -} +export type NamespaceType = 'Messaging' | 'NotificationHub'; /** * Defines values for AccessRights. @@ -1090,11 +1079,7 @@ export enum NamespaceType { * @readonly * @enum {string} */ -export enum AccessRights { - Manage = 'Manage', - Send = 'Send', - Listen = 'Listen', -} +export type AccessRights = 'Manage' | 'Send' | 'Listen'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-notificationhubs/lib/models/mappers.ts b/packages/@azure/arm-notificationhubs/lib/models/mappers.ts index 9b6d1f47c0f4..3a81c85876bf 100644 --- a/packages/@azure/arm-notificationhubs/lib/models/mappers.ts +++ b/packages/@azure/arm-notificationhubs/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-notificationhubs/lib/models/parameters.ts b/packages/@azure/arm-notificationhubs/lib/models/parameters.ts index 0cf49c01c4bb..cde0e6753b97 100644 --- a/packages/@azure/arm-notificationhubs/lib/models/parameters.ts +++ b/packages/@azure/arm-notificationhubs/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-notificationhubs/lib/notificationHubsManagementClient.ts b/packages/@azure/arm-notificationhubs/lib/notificationHubsManagementClient.ts index 13f1d52043de..75528c3e49ed 100644 --- a/packages/@azure/arm-notificationhubs/lib/notificationHubsManagementClient.ts +++ b/packages/@azure/arm-notificationhubs/lib/notificationHubsManagementClient.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-notificationhubs/lib/notificationHubsManagementClientContext.ts b/packages/@azure/arm-notificationhubs/lib/notificationHubsManagementClientContext.ts index a2fdb0317284..3b6d5b8e08bf 100644 --- a/packages/@azure/arm-notificationhubs/lib/notificationHubsManagementClientContext.ts +++ b/packages/@azure/arm-notificationhubs/lib/notificationHubsManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-notificationhubs"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class NotificationHubsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the NotificationHubsManagementClient class. @@ -45,6 +38,11 @@ export class NotificationHubsManagementClientContext extends msRestAzure.AzureSe if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-04-01'; @@ -55,7 +53,6 @@ export class NotificationHubsManagementClientContext extends msRestAzure.AzureSe this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-notificationhubs/lib/operations/namespaces.ts b/packages/@azure/arm-notificationhubs/lib/operations/namespaces.ts index 66bbb4d0472b..ef2f9d33fdb5 100644 --- a/packages/@azure/arm-notificationhubs/lib/operations/namespaces.ts +++ b/packages/@azure/arm-notificationhubs/lib/operations/namespaces.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/namespacesMappers"; import * as Parameters from "../models/parameters"; @@ -46,7 +46,7 @@ export class Namespaces { * @param callback The callback */ checkAvailability(parameters: Models.CheckAvailabilityParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkAvailability(parameters: Models.CheckAvailabilityParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkAvailability(parameters: Models.CheckAvailabilityParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -81,7 +81,7 @@ export class Namespaces { * @param callback The callback */ createOrUpdate(resourceGroupName: string, namespaceName: string, parameters: Models.NamespaceCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, namespaceName: string, parameters: Models.NamespaceCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, namespaceName: string, parameters: Models.NamespaceCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -117,7 +117,7 @@ export class Namespaces { * @param callback The callback */ patch(resourceGroupName: string, namespaceName: string, parameters: Models.NamespacePatchParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - patch(resourceGroupName: string, namespaceName: string, parameters: Models.NamespacePatchParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + patch(resourceGroupName: string, namespaceName: string, parameters: Models.NamespacePatchParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -163,7 +163,7 @@ export class Namespaces { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -201,7 +201,7 @@ export class Namespaces { * @param callback The callback */ createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.SharedAccessAuthorizationRuleCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.SharedAccessAuthorizationRuleCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.SharedAccessAuthorizationRuleCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -238,7 +238,7 @@ export class Namespaces { * @param callback The callback */ deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -274,7 +274,7 @@ export class Namespaces { * @param callback The callback */ getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -307,7 +307,7 @@ export class Namespaces { * @param callback The callback */ list(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -332,7 +332,7 @@ export class Namespaces { * @param callback The callback */ listAll(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAll(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAll(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -362,7 +362,7 @@ export class Namespaces { * @param callback The callback */ listAuthorizationRules(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -400,7 +400,7 @@ export class Namespaces { * @param callback The callback */ listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -442,7 +442,7 @@ export class Namespaces { * @param callback The callback */ regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.PolicykeyResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.PolicykeyResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.PolicykeyResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -492,7 +492,7 @@ export class Namespaces { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -520,7 +520,7 @@ export class Namespaces { * @param callback The callback */ listAllNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -548,7 +548,7 @@ export class Namespaces { * @param callback The callback */ listAuthorizationRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-notificationhubs/lib/operations/notificationHubs.ts b/packages/@azure/arm-notificationhubs/lib/operations/notificationHubs.ts index 64c35c101817..6cfdfbfdd1c7 100644 --- a/packages/@azure/arm-notificationhubs/lib/operations/notificationHubs.ts +++ b/packages/@azure/arm-notificationhubs/lib/operations/notificationHubs.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/notificationHubsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class NotificationHubs { * @param callback The callback */ checkNotificationHubAvailability(resourceGroupName: string, namespaceName: string, parameters: Models.CheckAvailabilityParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNotificationHubAvailability(resourceGroupName: string, namespaceName: string, parameters: Models.CheckAvailabilityParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNotificationHubAvailability(resourceGroupName: string, namespaceName: string, parameters: Models.CheckAvailabilityParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -89,7 +89,7 @@ export class NotificationHubs { * @param callback The callback */ createOrUpdate(resourceGroupName: string, namespaceName: string, notificationHubName: string, parameters: Models.NotificationHubCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, namespaceName: string, notificationHubName: string, parameters: Models.NotificationHubCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, namespaceName: string, notificationHubName: string, parameters: Models.NotificationHubCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -126,7 +126,7 @@ export class NotificationHubs { * @param callback The callback */ patch(resourceGroupName: string, namespaceName: string, notificationHubName: string, options: Models.NotificationHubsPatchOptionalParams, callback: msRest.ServiceCallback): void; - patch(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: Models.NotificationHubsPatchOptionalParams, callback?: msRest.ServiceCallback): Promise { + patch(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: Models.NotificationHubsPatchOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class NotificationHubs { * @param callback The callback */ deleteMethod(resourceGroupName: string, namespaceName: string, notificationHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -198,7 +198,7 @@ export class NotificationHubs { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, notificationHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -234,7 +234,7 @@ export class NotificationHubs { * @param callback The callback */ debugSend(resourceGroupName: string, namespaceName: string, notificationHubName: string, options: Models.NotificationHubsDebugSendOptionalParams, callback: msRest.ServiceCallback): void; - debugSend(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: Models.NotificationHubsDebugSendOptionalParams, callback?: msRest.ServiceCallback): Promise { + debugSend(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: Models.NotificationHubsDebugSendOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -276,7 +276,7 @@ export class NotificationHubs { * @param callback The callback */ createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: Models.SharedAccessAuthorizationRuleCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: Models.SharedAccessAuthorizationRuleCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: Models.SharedAccessAuthorizationRuleCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -317,7 +317,7 @@ export class NotificationHubs { * @param callback The callback */ deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -357,7 +357,7 @@ export class NotificationHubs { * @param callback The callback */ getAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -391,7 +391,7 @@ export class NotificationHubs { * @param callback The callback */ list(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -426,7 +426,7 @@ export class NotificationHubs { * @param callback The callback */ listAuthorizationRules(resourceGroupName: string, namespaceName: string, notificationHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRules(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRules(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -468,7 +468,7 @@ export class NotificationHubs { * @param callback The callback */ listKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -514,7 +514,7 @@ export class NotificationHubs { * @param callback The callback */ regenerateKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: Models.PolicykeyResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: Models.PolicykeyResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: Models.PolicykeyResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -552,7 +552,7 @@ export class NotificationHubs { * @param callback The callback */ getPnsCredentials(resourceGroupName: string, namespaceName: string, notificationHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPnsCredentials(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPnsCredentials(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -582,7 +582,7 @@ export class NotificationHubs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -610,7 +610,7 @@ export class NotificationHubs { * @param callback The callback */ listAuthorizationRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-notificationhubs/lib/operations/operations.ts b/packages/@azure/arm-notificationhubs/lib/operations/operations.ts index 26f592c847c8..c46f0d893d88 100644 --- a/packages/@azure/arm-notificationhubs/lib/operations/operations.ts +++ b/packages/@azure/arm-notificationhubs/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-notificationhubs/package.json b/packages/@azure/arm-notificationhubs/package.json index 674bba77e5f4..24daa75f6306 100644 --- a/packages/@azure/arm-notificationhubs/package.json +++ b/packages/@azure/arm-notificationhubs/package.json @@ -4,8 +4,8 @@ "description": "NotificationHubsManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-notificationhubs.js.map'\" -o ./dist/arm-notificationhubs.min.js ./dist/arm-notificationhubs.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-notificationhubs/rollup.config.js b/packages/@azure/arm-notificationhubs/rollup.config.js index 14fe26efa6b7..9b1ab0e7eed3 100644 --- a/packages/@azure/arm-notificationhubs/rollup.config.js +++ b/packages/@azure/arm-notificationhubs/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/notificationHubsManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-notificationhubs.js", format: "umd", name: "Azure.ArmNotificationhubs", 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-notificationhubs/tsconfig.esm.json b/packages/@azure/arm-notificationhubs/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-notificationhubs/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-notificationhubs/tsconfig.json b/packages/@azure/arm-notificationhubs/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-notificationhubs/tsconfig.json +++ b/packages/@azure/arm-notificationhubs/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-notificationhubs/webpack.config.js b/packages/@azure/arm-notificationhubs/webpack.config.js deleted file mode 100644 index d31d0c2972e0..000000000000 --- a/packages/@azure/arm-notificationhubs/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/notificationHubsManagementClient.js', - devtool: 'source-map', - output: { - filename: 'notificationHubsManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'notificationHubsManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-operationalinsights/.npmignore b/packages/@azure/arm-operationalinsights/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-operationalinsights/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-operationalinsights/README.md b/packages/@azure/arm-operationalinsights/README.md index 39bf994ed86e..8226786e6318 100644 --- a/packages/@azure/arm-operationalinsights/README.md +++ b/packages/@azure/arm-operationalinsights/README.md @@ -1,24 +1,34 @@ -# Azure OperationalInsightsManagementClient SDK for JavaScript +## Azure OperationalInsightsManagementClient SDK for JavaScript + This package contains an isomorphic SDK for OperationalInsightsManagementClient. -## 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-operationalinsights ``` +### How to use + +#### nodejs - Authentication, client creation and get linkedServices as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get linkedServices as an example written in TypeScript. +##### Sample code ```ts -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 { OperationalInsightsManagementClient, OperationalInsightsManagementModels, OperationalInsightsManagementMappers } from "@azure/arm-operationalinsights"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -36,7 +46,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get linkedServices as an example written in JavaScript. +#### browser - Authentication, client creation and get linkedServices as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -45,11 +64,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-operationalinsights 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-operationalinsights/lib/models/index.ts b/packages/@azure/arm-operationalinsights/lib/models/index.ts index 246fb91c7350..f0b2fa91cae0 100644 --- a/packages/@azure/arm-operationalinsights/lib/models/index.ts +++ b/packages/@azure/arm-operationalinsights/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -488,80 +488,33 @@ export interface OperationListResult extends Array { /** * Defines values for DataSourceKind. - * Possible values include: 'AzureActivityLog', 'ChangeTrackingPath', - * 'ChangeTrackingDefaultPath', 'ChangeTrackingDefaultRegistry', - * 'ChangeTrackingCustomRegistry', 'CustomLog', 'CustomLogCollection', - * 'GenericDataSource', 'IISLogs', 'LinuxPerformanceObject', - * 'LinuxPerformanceCollection', 'LinuxSyslog', 'LinuxSyslogCollection', - * 'WindowsEvent', 'WindowsPerformanceCounter' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DataSourceKind = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'AzureActivityLog', 'ChangeTrackingPath', 'ChangeTrackingDefaultPath', + * 'ChangeTrackingDefaultRegistry', 'ChangeTrackingCustomRegistry', 'CustomLog', + * 'CustomLogCollection', 'GenericDataSource', 'IISLogs', 'LinuxPerformanceObject', + * 'LinuxPerformanceCollection', 'LinuxSyslog', 'LinuxSyslogCollection', 'WindowsEvent', + * 'WindowsPerformanceCounter' * @readonly * @enum {string} */ -export enum DataSourceKind { - AzureActivityLog = 'AzureActivityLog', - ChangeTrackingPath = 'ChangeTrackingPath', - ChangeTrackingDefaultPath = 'ChangeTrackingDefaultPath', - ChangeTrackingDefaultRegistry = 'ChangeTrackingDefaultRegistry', - ChangeTrackingCustomRegistry = 'ChangeTrackingCustomRegistry', - CustomLog = 'CustomLog', - CustomLogCollection = 'CustomLogCollection', - GenericDataSource = 'GenericDataSource', - IISLogs = 'IISLogs', - LinuxPerformanceObject = 'LinuxPerformanceObject', - LinuxPerformanceCollection = 'LinuxPerformanceCollection', - LinuxSyslog = 'LinuxSyslog', - LinuxSyslogCollection = 'LinuxSyslogCollection', - WindowsEvent = 'WindowsEvent', - WindowsPerformanceCounter = 'WindowsPerformanceCounter', -} +export type DataSourceKind = 'AzureActivityLog' | 'ChangeTrackingPath' | 'ChangeTrackingDefaultPath' | 'ChangeTrackingDefaultRegistry' | 'ChangeTrackingCustomRegistry' | 'CustomLog' | 'CustomLogCollection' | 'GenericDataSource' | 'IISLogs' | 'LinuxPerformanceObject' | 'LinuxPerformanceCollection' | 'LinuxSyslog' | 'LinuxSyslogCollection' | 'WindowsEvent' | 'WindowsPerformanceCounter'; /** * Defines values for SkuNameEnum. - * Possible values include: 'Free', 'Standard', 'Premium', 'Unlimited', - * 'PerNode', 'PerGB2018', 'Standalone' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuNameEnum = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Free', 'Standard', 'Premium', 'Unlimited', 'PerNode', 'PerGB2018', + * 'Standalone' * @readonly * @enum {string} */ -export enum SkuNameEnum { - Free = 'Free', - Standard = 'Standard', - Premium = 'Premium', - Unlimited = 'Unlimited', - PerNode = 'PerNode', - PerGB2018 = 'PerGB2018', - Standalone = 'Standalone', -} +export type SkuNameEnum = 'Free' | 'Standard' | 'Premium' | 'Unlimited' | 'PerNode' | 'PerGB2018' | 'Standalone'; /** * Defines values for EntityStatus. - * Possible values include: 'Creating', 'Succeeded', 'Failed', 'Canceled', - * 'Deleting', 'ProvisioningAccount' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EntityStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Creating', 'Succeeded', 'Failed', 'Canceled', 'Deleting', + * 'ProvisioningAccount' * @readonly * @enum {string} */ -export enum EntityStatus { - Creating = 'Creating', - Succeeded = 'Succeeded', - Failed = 'Failed', - Canceled = 'Canceled', - Deleting = 'Deleting', - ProvisioningAccount = 'ProvisioningAccount', -} +export type EntityStatus = 'Creating' | 'Succeeded' | 'Failed' | 'Canceled' | 'Deleting' | 'ProvisioningAccount'; /** * Contains response data for the createOrUpdate operation. diff --git a/packages/@azure/arm-operationalinsights/lib/models/mappers.ts b/packages/@azure/arm-operationalinsights/lib/models/mappers.ts index 3ce750ca08e9..8ecc014974bd 100644 --- a/packages/@azure/arm-operationalinsights/lib/models/mappers.ts +++ b/packages/@azure/arm-operationalinsights/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-operationalinsights/lib/models/parameters.ts b/packages/@azure/arm-operationalinsights/lib/models/parameters.ts index 4b36e3278a42..b0f08de703a7 100644 --- a/packages/@azure/arm-operationalinsights/lib/models/parameters.ts +++ b/packages/@azure/arm-operationalinsights/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-operationalinsights/lib/operationalInsightsManagementClient.ts b/packages/@azure/arm-operationalinsights/lib/operationalInsightsManagementClient.ts index b0a7a85fb3b3..b06840df7055 100644 --- a/packages/@azure/arm-operationalinsights/lib/operationalInsightsManagementClient.ts +++ b/packages/@azure/arm-operationalinsights/lib/operationalInsightsManagementClient.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-operationalinsights/lib/operationalInsightsManagementClientContext.ts b/packages/@azure/arm-operationalinsights/lib/operationalInsightsManagementClientContext.ts index 691afd61653a..b7e62e1ece9f 100644 --- a/packages/@azure/arm-operationalinsights/lib/operationalInsightsManagementClientContext.ts +++ b/packages/@azure/arm-operationalinsights/lib/operationalInsightsManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-operationalinsights"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class OperationalInsightsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the OperationalInsightsManagementClient class. @@ -45,6 +38,11 @@ export class OperationalInsightsManagementClientContext extends msRestAzure.Azur if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2015-11-01-preview'; @@ -55,7 +53,6 @@ export class OperationalInsightsManagementClientContext extends msRestAzure.Azur this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-operationalinsights/lib/operations/dataSources.ts b/packages/@azure/arm-operationalinsights/lib/operations/dataSources.ts index 67a6975c127e..2ec14ba4b4c3 100644 --- a/packages/@azure/arm-operationalinsights/lib/operations/dataSources.ts +++ b/packages/@azure/arm-operationalinsights/lib/operations/dataSources.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/dataSourcesMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class DataSources { * @param callback The callback */ createOrUpdate(resourceGroupName: string, workspaceName: string, dataSourceName: string, parameters: Models.DataSource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, workspaceName: string, dataSourceName: string, parameters: Models.DataSource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, workspaceName: string, dataSourceName: string, parameters: Models.DataSource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -90,7 +90,7 @@ export class DataSources { * @param callback The callback */ deleteMethod(resourceGroupName: string, workspaceName: string, dataSourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, workspaceName: string, dataSourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, workspaceName: string, dataSourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -126,7 +126,7 @@ export class DataSources { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, dataSourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, dataSourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, dataSourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class DataSources { * @param callback The callback */ listByWorkspace(resourceGroupName: string, workspaceName: string, filter: string, options: Models.DataSourcesListByWorkspaceOptionalParams, callback: msRest.ServiceCallback): void; - listByWorkspace(resourceGroupName: string, workspaceName: string, filter: string, options?: Models.DataSourcesListByWorkspaceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByWorkspace(resourceGroupName: string, workspaceName: string, filter: string, options?: Models.DataSourcesListByWorkspaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -192,7 +192,7 @@ export class DataSources { * @param callback The callback */ listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-operationalinsights/lib/operations/linkedServices.ts b/packages/@azure/arm-operationalinsights/lib/operations/linkedServices.ts index 1bbaa5498c14..4aba88b32c2d 100644 --- a/packages/@azure/arm-operationalinsights/lib/operations/linkedServices.ts +++ b/packages/@azure/arm-operationalinsights/lib/operations/linkedServices.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/linkedServicesMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class LinkedServices { * @param callback The callback */ createOrUpdate(resourceGroupName: string, workspaceName: string, linkedServiceName: string, parameters: Models.LinkedService, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, workspaceName: string, linkedServiceName: string, parameters: Models.LinkedService, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, workspaceName: string, linkedServiceName: string, parameters: Models.LinkedService, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -96,7 +96,7 @@ export class LinkedServices { * @param callback The callback */ deleteMethod(resourceGroupName: string, workspaceName: string, linkedServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, workspaceName: string, linkedServiceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, workspaceName: string, linkedServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -135,7 +135,7 @@ export class LinkedServices { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, linkedServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, linkedServiceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, linkedServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -168,7 +168,7 @@ export class LinkedServices { * @param callback The callback */ listByWorkspace(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByWorkspace(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByWorkspace(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-operationalinsights/lib/operations/operations.ts b/packages/@azure/arm-operationalinsights/lib/operations/operations.ts index 01bf1e1088a2..9bc82e4038c0 100644 --- a/packages/@azure/arm-operationalinsights/lib/operations/operations.ts +++ b/packages/@azure/arm-operationalinsights/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-operationalinsights/lib/operations/workspaces.ts b/packages/@azure/arm-operationalinsights/lib/operations/workspaces.ts index fb0c66edcd71..e06fc4746ca9 100644 --- a/packages/@azure/arm-operationalinsights/lib/operations/workspaces.ts +++ b/packages/@azure/arm-operationalinsights/lib/operations/workspaces.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/workspacesMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class Workspaces { * @param callback The callback */ disableIntelligencePack(resourceGroupName: string, workspaceName: string, intelligencePackName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - disableIntelligencePack(resourceGroupName: string, workspaceName: string, intelligencePackName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + disableIntelligencePack(resourceGroupName: string, workspaceName: string, intelligencePackName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -87,7 +87,7 @@ export class Workspaces { * @param callback The callback */ enableIntelligencePack(resourceGroupName: string, workspaceName: string, intelligencePackName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - enableIntelligencePack(resourceGroupName: string, workspaceName: string, intelligencePackName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + enableIntelligencePack(resourceGroupName: string, workspaceName: string, intelligencePackName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class Workspaces { * @param callback The callback */ listIntelligencePacks(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listIntelligencePacks(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listIntelligencePacks(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -153,7 +153,7 @@ export class Workspaces { * @param callback The callback */ getSharedKeys(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSharedKeys(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSharedKeys(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -185,7 +185,7 @@ export class Workspaces { * @param callback The callback */ listUsages(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listUsages(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listUsages(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -217,7 +217,7 @@ export class Workspaces { * @param callback The callback */ listManagementGroups(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listManagementGroups(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listManagementGroups(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -246,7 +246,7 @@ export class Workspaces { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -271,7 +271,7 @@ export class Workspaces { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -314,7 +314,7 @@ export class Workspaces { * @param callback The callback */ deleteMethod(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -346,7 +346,7 @@ export class Workspaces { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -381,7 +381,7 @@ export class Workspaces { * @param callback The callback */ update(resourceGroupName: string, workspaceName: string, parameters: Models.Workspace, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, workspaceName: string, parameters: Models.Workspace, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, workspaceName: string, parameters: Models.Workspace, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-operationalinsights/package.json b/packages/@azure/arm-operationalinsights/package.json index ec87419da8e0..c379b1ee4262 100644 --- a/packages/@azure/arm-operationalinsights/package.json +++ b/packages/@azure/arm-operationalinsights/package.json @@ -4,8 +4,8 @@ "description": "OperationalInsightsManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-operationalinsights.js.map'\" -o ./dist/arm-operationalinsights.min.js ./dist/arm-operationalinsights.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-operationalinsights/rollup.config.js b/packages/@azure/arm-operationalinsights/rollup.config.js index 2d2ae28207c3..d21129e749d0 100644 --- a/packages/@azure/arm-operationalinsights/rollup.config.js +++ b/packages/@azure/arm-operationalinsights/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/operationalInsightsManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-operationalinsights.js", format: "umd", name: "Azure.ArmOperationalinsights", 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-operationalinsights/tsconfig.json b/packages/@azure/arm-operationalinsights/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-operationalinsights/tsconfig.json +++ b/packages/@azure/arm-operationalinsights/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-operations/.npmignore b/packages/@azure/arm-operations/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-operations/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-operations/README.md b/packages/@azure/arm-operations/README.md index 71e9f4c08e32..4b5cabe4c2ae 100644 --- a/packages/@azure/arm-operations/README.md +++ b/packages/@azure/arm-operations/README.md @@ -1,24 +1,34 @@ -# Azure OperationsManagementClient SDK for JavaScript +## Azure OperationsManagementClient SDK for JavaScript + This package contains an isomorphic SDK for OperationsManagementClient. -## 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-operations ``` +### How to use + +#### nodejs - Authentication, client creation and get solutions as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get solutions as an example written in TypeScript. +##### Sample code ```ts -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 { OperationsManagementClient, OperationsManagementModels, OperationsManagementMappers } from "@azure/arm-operations"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get solutions as an example written in JavaScript. +#### browser - Authentication, client creation and get solutions as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-operations 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-operations/lib/models/index.ts b/packages/@azure/arm-operations/lib/models/index.ts index 59d87a8942ea..0a14a30ea0bc 100644 --- a/packages/@azure/arm-operations/lib/models/index.ts +++ b/packages/@azure/arm-operations/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; diff --git a/packages/@azure/arm-operations/lib/models/mappers.ts b/packages/@azure/arm-operations/lib/models/mappers.ts index 0ac2e673fc09..8dd842c003bb 100644 --- a/packages/@azure/arm-operations/lib/models/mappers.ts +++ b/packages/@azure/arm-operations/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-operations/lib/models/parameters.ts b/packages/@azure/arm-operations/lib/models/parameters.ts index c1824edd890b..50b33a6fdfa5 100644 --- a/packages/@azure/arm-operations/lib/models/parameters.ts +++ b/packages/@azure/arm-operations/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-operations/lib/operations/managementAssociations.ts b/packages/@azure/arm-operations/lib/operations/managementAssociations.ts index 9b805eb285ff..78579c531814 100644 --- a/packages/@azure/arm-operations/lib/operations/managementAssociations.ts +++ b/packages/@azure/arm-operations/lib/operations/managementAssociations.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/managementAssociationsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class ManagementAssociations { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -76,7 +76,7 @@ export class ManagementAssociations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, managementAssociationName: string, parameters: Models.ManagementAssociation, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, managementAssociationName: string, parameters: Models.ManagementAssociation, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, managementAssociationName: string, parameters: Models.ManagementAssociation, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -110,7 +110,7 @@ export class ManagementAssociations { * @param callback The callback */ deleteMethod(resourceGroupName: string, managementAssociationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, managementAssociationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, managementAssociationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -143,7 +143,7 @@ export class ManagementAssociations { * @param callback The callback */ get(resourceGroupName: string, managementAssociationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, managementAssociationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, managementAssociationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-operations/lib/operations/managementConfigurations.ts b/packages/@azure/arm-operations/lib/operations/managementConfigurations.ts index b378dd64e723..218b3c65ca2e 100644 --- a/packages/@azure/arm-operations/lib/operations/managementConfigurations.ts +++ b/packages/@azure/arm-operations/lib/operations/managementConfigurations.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/managementConfigurationsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class ManagementConfigurations { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -76,7 +76,7 @@ export class ManagementConfigurations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, managementConfigurationName: string, parameters: Models.ManagementConfiguration, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, managementConfigurationName: string, parameters: Models.ManagementConfiguration, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, managementConfigurationName: string, parameters: Models.ManagementConfiguration, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -110,7 +110,7 @@ export class ManagementConfigurations { * @param callback The callback */ deleteMethod(resourceGroupName: string, managementConfigurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, managementConfigurationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, managementConfigurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -143,7 +143,7 @@ export class ManagementConfigurations { * @param callback The callback */ get(resourceGroupName: string, managementConfigurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, managementConfigurationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, managementConfigurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-operations/lib/operations/operations.ts b/packages/@azure/arm-operations/lib/operations/operations.ts index c013c530f415..ff000963bc27 100644 --- a/packages/@azure/arm-operations/lib/operations/operations.ts +++ b/packages/@azure/arm-operations/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-operations/lib/operations/solutions.ts b/packages/@azure/arm-operations/lib/operations/solutions.ts index 99d54d3fadbd..c6088580a276 100644 --- a/packages/@azure/arm-operations/lib/operations/solutions.ts +++ b/packages/@azure/arm-operations/lib/operations/solutions.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/solutionsMappers"; import * as Parameters from "../models/parameters"; @@ -76,7 +76,7 @@ export class Solutions { * @param callback The callback */ get(resourceGroupName: string, solutionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, solutionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, solutionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -106,7 +106,7 @@ export class Solutions { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -132,7 +132,7 @@ export class Solutions { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-operations/lib/operationsManagementClient.ts b/packages/@azure/arm-operations/lib/operationsManagementClient.ts index d382f175091d..cc22a452f329 100644 --- a/packages/@azure/arm-operations/lib/operationsManagementClient.ts +++ b/packages/@azure/arm-operations/lib/operationsManagementClient.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-operations/lib/operationsManagementClientContext.ts b/packages/@azure/arm-operations/lib/operationsManagementClientContext.ts index 08db37ab8aae..9902f9b551f6 100644 --- a/packages/@azure/arm-operations/lib/operationsManagementClientContext.ts +++ b/packages/@azure/arm-operations/lib/operationsManagementClientContext.ts @@ -9,30 +9,20 @@ */ 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-operations"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class OperationsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - + apiVersion?: string; providerName: string; - resourceType: string; - resourceName: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the OperationsManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -63,6 +53,11 @@ export class OperationsManagementClientContext extends msRestAzure.AzureServiceC if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2015-11-01-preview'; @@ -76,7 +71,6 @@ export class OperationsManagementClientContext extends msRestAzure.AzureServiceC this.resourceType = resourceType; this.resourceName = resourceName; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-operations/package.json b/packages/@azure/arm-operations/package.json index 7b8f993eb42a..d03a082bbbbf 100644 --- a/packages/@azure/arm-operations/package.json +++ b/packages/@azure/arm-operations/package.json @@ -4,8 +4,8 @@ "description": "OperationsManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-operations.js.map'\" -o ./dist/arm-operations.min.js ./dist/arm-operations.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-operations/rollup.config.js b/packages/@azure/arm-operations/rollup.config.js index 6fd57a818f54..faec19d49462 100644 --- a/packages/@azure/arm-operations/rollup.config.js +++ b/packages/@azure/arm-operations/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/operationsManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-operations.js", format: "umd", name: "Azure.ArmOperations", 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-operations/tsconfig.json b/packages/@azure/arm-operations/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-operations/tsconfig.json +++ b/packages/@azure/arm-operations/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-policy/.npmignore b/packages/@azure/arm-policy/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-policy/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-policy/README.md b/packages/@azure/arm-policy/README.md index e2cbc85d26c0..8bded86b3f11 100644 --- a/packages/@azure/arm-policy/README.md +++ b/packages/@azure/arm-policy/README.md @@ -1,24 +1,34 @@ -# Azure PolicyClient SDK for JavaScript +## Azure PolicyClient SDK for JavaScript + This package contains an isomorphic SDK for PolicyClient. -## 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-policy ``` +### How to use + +#### nodejs - Authentication, client creation and get policyAssignments as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get policyAssignments as an example written in TypeScript. +##### Sample code ```ts -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 { PolicyClient, PolicyModels, PolicyMappers } from "@azure/arm-policy"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get policyAssignments as an example written in JavaScript. +#### browser - Authentication, client creation and get policyAssignments as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-policy 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-policy/lib/models/index.ts b/packages/@azure/arm-policy/lib/models/index.ts index 4c2226f092b8..8ed9be9618fe 100644 --- a/packages/@azure/arm-policy/lib/models/index.ts +++ b/packages/@azure/arm-policy/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -404,42 +404,23 @@ export interface PolicySetDefinitionListResult extends Array"someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PolicyType { - NotSpecified = 'NotSpecified', - BuiltIn = 'BuiltIn', - Custom = 'Custom', -} +export type PolicyType = 'NotSpecified' | 'BuiltIn' | 'Custom'; /** * Defines values for PolicyMode. * Possible values include: 'NotSpecified', 'Indexed', 'All' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PolicyMode = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PolicyMode { - NotSpecified = 'NotSpecified', - Indexed = 'Indexed', - All = 'All', -} +export type PolicyMode = 'NotSpecified' | 'Indexed' | 'All'; /** * Contains response data for the deleteMethod operation. diff --git a/packages/@azure/arm-policy/lib/models/mappers.ts b/packages/@azure/arm-policy/lib/models/mappers.ts index 74678668c433..221c2d0281f5 100644 --- a/packages/@azure/arm-policy/lib/models/mappers.ts +++ b/packages/@azure/arm-policy/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-policy/lib/models/parameters.ts b/packages/@azure/arm-policy/lib/models/parameters.ts index 7ee58c29062a..ac112355dc69 100644 --- a/packages/@azure/arm-policy/lib/models/parameters.ts +++ b/packages/@azure/arm-policy/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-policy/lib/operations/policyAssignments.ts b/packages/@azure/arm-policy/lib/operations/policyAssignments.ts index a0c02b06ba20..d3423fcd6259 100644 --- a/packages/@azure/arm-policy/lib/operations/policyAssignments.ts +++ b/packages/@azure/arm-policy/lib/operations/policyAssignments.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/policyAssignmentsMappers"; import * as Parameters from "../models/parameters"; @@ -62,7 +62,7 @@ export class PolicyAssignments { * @param callback The callback */ deleteMethod(scope: string, policyAssignmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(scope: string, policyAssignmentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(scope: string, policyAssignmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { scope, @@ -112,7 +112,7 @@ export class PolicyAssignments { * @param callback The callback */ create(scope: string, policyAssignmentName: string, parameters: Models.PolicyAssignment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(scope: string, policyAssignmentName: string, parameters: Models.PolicyAssignment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(scope: string, policyAssignmentName: string, parameters: Models.PolicyAssignment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { scope, @@ -159,7 +159,7 @@ export class PolicyAssignments { * @param callback The callback */ get(scope: string, policyAssignmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(scope: string, policyAssignmentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(scope: string, policyAssignmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { scope, @@ -199,7 +199,7 @@ export class PolicyAssignments { * @param callback The callback */ listForResourceGroup(resourceGroupName: string, options: Models.PolicyAssignmentsListForResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listForResourceGroup(resourceGroupName: string, options?: Models.PolicyAssignmentsListForResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForResourceGroup(resourceGroupName: string, options?: Models.PolicyAssignmentsListForResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -267,7 +267,7 @@ export class PolicyAssignments { * @param callback The callback */ listForResource(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options: Models.PolicyAssignmentsListForResourceOptionalParams, callback: msRest.ServiceCallback): void; - listForResource(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options?: Models.PolicyAssignmentsListForResourceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForResource(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options?: Models.PolicyAssignmentsListForResourceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -306,7 +306,7 @@ export class PolicyAssignments { * @param callback The callback */ list(options: Models.PolicyAssignmentsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.PolicyAssignmentsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.PolicyAssignmentsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -343,7 +343,7 @@ export class PolicyAssignments { * @param callback The callback */ deleteById(policyAssignmentId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteById(policyAssignmentId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteById(policyAssignmentId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyAssignmentId, @@ -387,7 +387,7 @@ export class PolicyAssignments { * @param callback The callback */ createById(policyAssignmentId: string, parameters: Models.PolicyAssignment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createById(policyAssignmentId: string, parameters: Models.PolicyAssignment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createById(policyAssignmentId: string, parameters: Models.PolicyAssignment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyAssignmentId, @@ -426,7 +426,7 @@ export class PolicyAssignments { * @param callback The callback */ getById(policyAssignmentId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getById(policyAssignmentId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getById(policyAssignmentId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyAssignmentId, @@ -465,7 +465,7 @@ export class PolicyAssignments { * @param callback The callback */ listForResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listForResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listForResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -515,7 +515,7 @@ export class PolicyAssignments { * @param callback The callback */ listForResourceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listForResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listForResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -553,7 +553,7 @@ export class PolicyAssignments { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-policy/lib/operations/policyDefinitions.ts b/packages/@azure/arm-policy/lib/operations/policyDefinitions.ts index bf56971cd31f..b2d5d0e40635 100644 --- a/packages/@azure/arm-policy/lib/operations/policyDefinitions.ts +++ b/packages/@azure/arm-policy/lib/operations/policyDefinitions.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/policyDefinitionsMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class PolicyDefinitions { * @param callback The callback */ createOrUpdate(policyDefinitionName: string, parameters: Models.PolicyDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(policyDefinitionName: string, parameters: Models.PolicyDefinition, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(policyDefinitionName: string, parameters: Models.PolicyDefinition, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyDefinitionName, @@ -79,7 +79,7 @@ export class PolicyDefinitions { * @param callback The callback */ deleteMethod(policyDefinitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(policyDefinitionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(policyDefinitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyDefinitionName, @@ -108,7 +108,7 @@ export class PolicyDefinitions { * @param callback The callback */ get(policyDefinitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(policyDefinitionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(policyDefinitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyDefinitionName, @@ -137,7 +137,7 @@ export class PolicyDefinitions { * @param callback The callback */ getBuiltIn(policyDefinitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getBuiltIn(policyDefinitionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getBuiltIn(policyDefinitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyDefinitionName, @@ -173,7 +173,7 @@ export class PolicyDefinitions { * @param callback The callback */ createOrUpdateAtManagementGroup(policyDefinitionName: string, parameters: Models.PolicyDefinition, managementGroupId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAtManagementGroup(policyDefinitionName: string, parameters: Models.PolicyDefinition, managementGroupId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAtManagementGroup(policyDefinitionName: string, parameters: Models.PolicyDefinition, managementGroupId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyDefinitionName, @@ -207,7 +207,7 @@ export class PolicyDefinitions { * @param callback The callback */ deleteAtManagementGroup(policyDefinitionName: string, managementGroupId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAtManagementGroup(policyDefinitionName: string, managementGroupId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAtManagementGroup(policyDefinitionName: string, managementGroupId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyDefinitionName, @@ -241,7 +241,7 @@ export class PolicyDefinitions { * @param callback The callback */ getAtManagementGroup(policyDefinitionName: string, managementGroupId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAtManagementGroup(policyDefinitionName: string, managementGroupId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAtManagementGroup(policyDefinitionName: string, managementGroupId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyDefinitionName, @@ -268,7 +268,7 @@ export class PolicyDefinitions { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -293,7 +293,7 @@ export class PolicyDefinitions { * @param callback The callback */ listBuiltIn(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBuiltIn(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBuiltIn(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -321,7 +321,7 @@ export class PolicyDefinitions { * @param callback The callback */ listByManagementGroup(managementGroupId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManagementGroup(managementGroupId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManagementGroup(managementGroupId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupId, @@ -350,7 +350,7 @@ export class PolicyDefinitions { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -379,7 +379,7 @@ export class PolicyDefinitions { * @param callback The callback */ listBuiltInNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBuiltInNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBuiltInNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -408,7 +408,7 @@ export class PolicyDefinitions { * @param callback The callback */ listByManagementGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-policy/lib/operations/policySetDefinitions.ts b/packages/@azure/arm-policy/lib/operations/policySetDefinitions.ts index 31ed021986e4..ee871611884f 100644 --- a/packages/@azure/arm-policy/lib/operations/policySetDefinitions.ts +++ b/packages/@azure/arm-policy/lib/operations/policySetDefinitions.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/policySetDefinitionsMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class PolicySetDefinitions { * @param callback The callback */ createOrUpdate(policySetDefinitionName: string, parameters: Models.PolicySetDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(policySetDefinitionName: string, parameters: Models.PolicySetDefinition, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(policySetDefinitionName: string, parameters: Models.PolicySetDefinition, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policySetDefinitionName, @@ -79,7 +79,7 @@ export class PolicySetDefinitions { * @param callback The callback */ deleteMethod(policySetDefinitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(policySetDefinitionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(policySetDefinitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policySetDefinitionName, @@ -109,7 +109,7 @@ export class PolicySetDefinitions { * @param callback The callback */ get(policySetDefinitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(policySetDefinitionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(policySetDefinitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policySetDefinitionName, @@ -138,7 +138,7 @@ export class PolicySetDefinitions { * @param callback The callback */ getBuiltIn(policySetDefinitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getBuiltIn(policySetDefinitionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getBuiltIn(policySetDefinitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policySetDefinitionName, @@ -164,7 +164,7 @@ export class PolicySetDefinitions { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -189,7 +189,7 @@ export class PolicySetDefinitions { * @param callback The callback */ listBuiltIn(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBuiltIn(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBuiltIn(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -224,7 +224,7 @@ export class PolicySetDefinitions { * @param callback The callback */ createOrUpdateAtManagementGroup(policySetDefinitionName: string, parameters: Models.PolicySetDefinition, managementGroupId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAtManagementGroup(policySetDefinitionName: string, parameters: Models.PolicySetDefinition, managementGroupId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAtManagementGroup(policySetDefinitionName: string, parameters: Models.PolicySetDefinition, managementGroupId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policySetDefinitionName, @@ -259,7 +259,7 @@ export class PolicySetDefinitions { * @param callback The callback */ deleteAtManagementGroup(policySetDefinitionName: string, managementGroupId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAtManagementGroup(policySetDefinitionName: string, managementGroupId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAtManagementGroup(policySetDefinitionName: string, managementGroupId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policySetDefinitionName, @@ -293,7 +293,7 @@ export class PolicySetDefinitions { * @param callback The callback */ getAtManagementGroup(policySetDefinitionName: string, managementGroupId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAtManagementGroup(policySetDefinitionName: string, managementGroupId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAtManagementGroup(policySetDefinitionName: string, managementGroupId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policySetDefinitionName, @@ -324,7 +324,7 @@ export class PolicySetDefinitions { * @param callback The callback */ listByManagementGroup(managementGroupId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManagementGroup(managementGroupId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManagementGroup(managementGroupId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupId, @@ -353,7 +353,7 @@ export class PolicySetDefinitions { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -382,7 +382,7 @@ export class PolicySetDefinitions { * @param callback The callback */ listBuiltInNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBuiltInNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBuiltInNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -412,7 +412,7 @@ export class PolicySetDefinitions { * @param callback The callback */ listByManagementGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-policy/lib/policyClient.ts b/packages/@azure/arm-policy/lib/policyClient.ts index f3c5f29b68c0..dc8f8dbde966 100644 --- a/packages/@azure/arm-policy/lib/policyClient.ts +++ b/packages/@azure/arm-policy/lib/policyClient.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-policy/lib/policyClientContext.ts b/packages/@azure/arm-policy/lib/policyClientContext.ts index 52d48f0b933c..a0e32e3e14ef 100644 --- a/packages/@azure/arm-policy/lib/policyClientContext.ts +++ b/packages/@azure/arm-policy/lib/policyClientContext.ts @@ -9,23 +9,16 @@ */ 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-policy"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class PolicyClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the PolicyClient class. @@ -44,6 +37,11 @@ export class PolicyClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-05-01'; @@ -54,7 +52,6 @@ export class PolicyClientContext extends msRestAzure.AzureServiceClient { this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-policy/package.json b/packages/@azure/arm-policy/package.json index 9962fd9d83f0..103db5fe1a92 100644 --- a/packages/@azure/arm-policy/package.json +++ b/packages/@azure/arm-policy/package.json @@ -4,8 +4,8 @@ "description": "PolicyClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-policy.js.map'\" -o ./dist/arm-policy.min.js ./dist/arm-policy.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-policy/rollup.config.js b/packages/@azure/arm-policy/rollup.config.js index 467cd2ad4d08..56f46cf394b6 100644 --- a/packages/@azure/arm-policy/rollup.config.js +++ b/packages/@azure/arm-policy/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/policyClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-policy.js", format: "umd", name: "Azure.ArmPolicy", 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-policy/tsconfig.json b/packages/@azure/arm-policy/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-policy/tsconfig.json +++ b/packages/@azure/arm-policy/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-policyinsights/.npmignore b/packages/@azure/arm-policyinsights/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-policyinsights/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-policyinsights/README.md b/packages/@azure/arm-policyinsights/README.md index bdb2411c8c42..256511f9b55a 100644 --- a/packages/@azure/arm-policyinsights/README.md +++ b/packages/@azure/arm-policyinsights/README.md @@ -1,24 +1,34 @@ -# Azure PolicyInsightsClient SDK for JavaScript +## Azure PolicyInsightsClient SDK for JavaScript + This package contains an isomorphic SDK for PolicyInsightsClient. -## 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-policyinsights ``` +### How to use + +#### nodejs - Authentication, client creation and listForManagementGroup remediations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and listForManagementGroup remediations as an example written in TypeScript. +##### Sample code ```ts -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 { PolicyInsightsClient, PolicyInsightsModels, PolicyInsightsMappers } from "@azure/arm-policyinsights"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -36,7 +46,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and listForManagementGroup remediations as an example written in JavaScript. +#### browser - Authentication, client creation and listForManagementGroup remediations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -45,11 +64,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-policyinsights 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-policyinsights/lib/models/index.ts b/packages/@azure/arm-policyinsights/lib/models/index.ts index bd3936ab5943..41e8369ed5a7 100644 --- a/packages/@azure/arm-policyinsights/lib/models/index.ts +++ b/packages/@azure/arm-policyinsights/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1583,18 +1583,10 @@ export interface RemediationListResult extends Array { /** * Defines values for PolicyStatesResource. * Possible values include: 'default', 'latest' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PolicyStatesResource = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PolicyStatesResource { - Default = 'default', - Latest = 'latest', -} +export type PolicyStatesResource = 'default' | 'latest'; /** * Contains response data for the listQueryResultsForManagementGroup operation. diff --git a/packages/@azure/arm-policyinsights/lib/models/mappers.ts b/packages/@azure/arm-policyinsights/lib/models/mappers.ts index fa618e4ba7b8..d3e6995b2081 100644 --- a/packages/@azure/arm-policyinsights/lib/models/mappers.ts +++ b/packages/@azure/arm-policyinsights/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-policyinsights/lib/models/parameters.ts b/packages/@azure/arm-policyinsights/lib/models/parameters.ts index 09ac7a063beb..44039b1f9a8e 100644 --- a/packages/@azure/arm-policyinsights/lib/models/parameters.ts +++ b/packages/@azure/arm-policyinsights/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-policyinsights/lib/operations/operations.ts b/packages/@azure/arm-policyinsights/lib/operations/operations.ts index 46a6ea1e5678..93c6a38e953f 100644 --- a/packages/@azure/arm-policyinsights/lib/operations/operations.ts +++ b/packages/@azure/arm-policyinsights/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-policyinsights/lib/operations/policyEvents.ts b/packages/@azure/arm-policyinsights/lib/operations/policyEvents.ts index 61809a1def6f..0fd2537cc1e7 100644 --- a/packages/@azure/arm-policyinsights/lib/operations/policyEvents.ts +++ b/packages/@azure/arm-policyinsights/lib/operations/policyEvents.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/policyEventsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class PolicyEvents { * @param callback The callback */ listQueryResultsForManagementGroup(managementGroupName: string, options: Models.PolicyEventsListQueryResultsForManagementGroupOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForManagementGroup(managementGroupName: string, options?: Models.PolicyEventsListQueryResultsForManagementGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForManagementGroup(managementGroupName: string, options?: Models.PolicyEventsListQueryResultsForManagementGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupName, @@ -72,7 +72,7 @@ export class PolicyEvents { * @param callback The callback */ listQueryResultsForSubscription(subscriptionId: string, options: Models.PolicyEventsListQueryResultsForSubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForSubscription(subscriptionId: string, options?: Models.PolicyEventsListQueryResultsForSubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForSubscription(subscriptionId: string, options?: Models.PolicyEventsListQueryResultsForSubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -103,7 +103,7 @@ export class PolicyEvents { * @param callback The callback */ listQueryResultsForResourceGroup(subscriptionId: string, resourceGroupName: string, options: Models.PolicyEventsListQueryResultsForResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForResourceGroup(subscriptionId: string, resourceGroupName: string, options?: Models.PolicyEventsListQueryResultsForResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForResourceGroup(subscriptionId: string, resourceGroupName: string, options?: Models.PolicyEventsListQueryResultsForResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -132,7 +132,7 @@ export class PolicyEvents { * @param callback The callback */ listQueryResultsForResource(resourceId: string, options: Models.PolicyEventsListQueryResultsForResourceOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForResource(resourceId: string, options?: Models.PolicyEventsListQueryResultsForResourceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForResource(resourceId: string, options?: Models.PolicyEventsListQueryResultsForResourceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceId, @@ -163,7 +163,7 @@ export class PolicyEvents { * @param callback The callback */ listQueryResultsForPolicySetDefinition(subscriptionId: string, policySetDefinitionName: string, options: Models.PolicyEventsListQueryResultsForPolicySetDefinitionOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForPolicySetDefinition(subscriptionId: string, policySetDefinitionName: string, options?: Models.PolicyEventsListQueryResultsForPolicySetDefinitionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForPolicySetDefinition(subscriptionId: string, policySetDefinitionName: string, options?: Models.PolicyEventsListQueryResultsForPolicySetDefinitionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -195,7 +195,7 @@ export class PolicyEvents { * @param callback The callback */ listQueryResultsForPolicyDefinition(subscriptionId: string, policyDefinitionName: string, options: Models.PolicyEventsListQueryResultsForPolicyDefinitionOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForPolicyDefinition(subscriptionId: string, policyDefinitionName: string, options?: Models.PolicyEventsListQueryResultsForPolicyDefinitionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForPolicyDefinition(subscriptionId: string, policyDefinitionName: string, options?: Models.PolicyEventsListQueryResultsForPolicyDefinitionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -228,7 +228,7 @@ export class PolicyEvents { * @param callback The callback */ listQueryResultsForSubscriptionLevelPolicyAssignment(subscriptionId: string, policyAssignmentName: string, options: Models.PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForSubscriptionLevelPolicyAssignment(subscriptionId: string, policyAssignmentName: string, options?: Models.PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForSubscriptionLevelPolicyAssignment(subscriptionId: string, policyAssignmentName: string, options?: Models.PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -264,7 +264,7 @@ export class PolicyEvents { * @param callback The callback */ listQueryResultsForResourceGroupLevelPolicyAssignment(subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options: Models.PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForResourceGroupLevelPolicyAssignment(subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: Models.PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForResourceGroupLevelPolicyAssignment(subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: Models.PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -297,7 +297,7 @@ export class PolicyEvents { * @param callback The callback */ getMetadata(scope: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMetadata(scope: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMetadata(scope: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { scope, diff --git a/packages/@azure/arm-policyinsights/lib/operations/policyStates.ts b/packages/@azure/arm-policyinsights/lib/operations/policyStates.ts index 266a4ac38da8..7c279d591848 100644 --- a/packages/@azure/arm-policyinsights/lib/operations/policyStates.ts +++ b/packages/@azure/arm-policyinsights/lib/operations/policyStates.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/policyStatesMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class PolicyStates { * @param callback The callback */ listQueryResultsForManagementGroup(policyStatesResource: Models.PolicyStatesResource, managementGroupName: string, options: Models.PolicyStatesListQueryResultsForManagementGroupOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForManagementGroup(policyStatesResource: Models.PolicyStatesResource, managementGroupName: string, options?: Models.PolicyStatesListQueryResultsForManagementGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForManagementGroup(policyStatesResource: Models.PolicyStatesResource, managementGroupName: string, options?: Models.PolicyStatesListQueryResultsForManagementGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyStatesResource, @@ -82,7 +82,7 @@ export class PolicyStates { * @param callback The callback */ summarizeForManagementGroup(managementGroupName: string, options: Models.PolicyStatesSummarizeForManagementGroupOptionalParams, callback: msRest.ServiceCallback): void; - summarizeForManagementGroup(managementGroupName: string, options?: Models.PolicyStatesSummarizeForManagementGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + summarizeForManagementGroup(managementGroupName: string, options?: Models.PolicyStatesSummarizeForManagementGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupName, @@ -119,7 +119,7 @@ export class PolicyStates { * @param callback The callback */ listQueryResultsForSubscription(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, options: Models.PolicyStatesListQueryResultsForSubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForSubscription(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, options?: Models.PolicyStatesListQueryResultsForSubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForSubscription(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, options?: Models.PolicyStatesListQueryResultsForSubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyStatesResource, @@ -148,7 +148,7 @@ export class PolicyStates { * @param callback The callback */ summarizeForSubscription(subscriptionId: string, options: Models.PolicyStatesSummarizeForSubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - summarizeForSubscription(subscriptionId: string, options?: Models.PolicyStatesSummarizeForSubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + summarizeForSubscription(subscriptionId: string, options?: Models.PolicyStatesSummarizeForSubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -188,7 +188,7 @@ export class PolicyStates { * @param callback The callback */ listQueryResultsForResourceGroup(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, resourceGroupName: string, options: Models.PolicyStatesListQueryResultsForResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForResourceGroup(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, resourceGroupName: string, options?: Models.PolicyStatesListQueryResultsForResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForResourceGroup(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, resourceGroupName: string, options?: Models.PolicyStatesListQueryResultsForResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyStatesResource, @@ -221,7 +221,7 @@ export class PolicyStates { * @param callback The callback */ summarizeForResourceGroup(subscriptionId: string, resourceGroupName: string, options: Models.PolicyStatesSummarizeForResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - summarizeForResourceGroup(subscriptionId: string, resourceGroupName: string, options?: Models.PolicyStatesSummarizeForResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + summarizeForResourceGroup(subscriptionId: string, resourceGroupName: string, options?: Models.PolicyStatesSummarizeForResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -259,7 +259,7 @@ export class PolicyStates { * @param callback The callback */ listQueryResultsForResource(policyStatesResource: Models.PolicyStatesResource, resourceId: string, options: Models.PolicyStatesListQueryResultsForResourceOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForResource(policyStatesResource: Models.PolicyStatesResource, resourceId: string, options?: Models.PolicyStatesListQueryResultsForResourceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForResource(policyStatesResource: Models.PolicyStatesResource, resourceId: string, options?: Models.PolicyStatesListQueryResultsForResourceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyStatesResource, @@ -288,7 +288,7 @@ export class PolicyStates { * @param callback The callback */ summarizeForResource(resourceId: string, options: Models.PolicyStatesSummarizeForResourceOptionalParams, callback: msRest.ServiceCallback): void; - summarizeForResource(resourceId: string, options?: Models.PolicyStatesSummarizeForResourceOptionalParams, callback?: msRest.ServiceCallback): Promise { + summarizeForResource(resourceId: string, options?: Models.PolicyStatesSummarizeForResourceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceId, @@ -328,7 +328,7 @@ export class PolicyStates { * @param callback The callback */ listQueryResultsForPolicySetDefinition(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, policySetDefinitionName: string, options: Models.PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForPolicySetDefinition(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, policySetDefinitionName: string, options?: Models.PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForPolicySetDefinition(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, policySetDefinitionName: string, options?: Models.PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyStatesResource, @@ -361,7 +361,7 @@ export class PolicyStates { * @param callback The callback */ summarizeForPolicySetDefinition(subscriptionId: string, policySetDefinitionName: string, options: Models.PolicyStatesSummarizeForPolicySetDefinitionOptionalParams, callback: msRest.ServiceCallback): void; - summarizeForPolicySetDefinition(subscriptionId: string, policySetDefinitionName: string, options?: Models.PolicyStatesSummarizeForPolicySetDefinitionOptionalParams, callback?: msRest.ServiceCallback): Promise { + summarizeForPolicySetDefinition(subscriptionId: string, policySetDefinitionName: string, options?: Models.PolicyStatesSummarizeForPolicySetDefinitionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -402,7 +402,7 @@ export class PolicyStates { * @param callback The callback */ listQueryResultsForPolicyDefinition(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, policyDefinitionName: string, options: Models.PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForPolicyDefinition(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, policyDefinitionName: string, options?: Models.PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForPolicyDefinition(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, policyDefinitionName: string, options?: Models.PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyStatesResource, @@ -435,7 +435,7 @@ export class PolicyStates { * @param callback The callback */ summarizeForPolicyDefinition(subscriptionId: string, policyDefinitionName: string, options: Models.PolicyStatesSummarizeForPolicyDefinitionOptionalParams, callback: msRest.ServiceCallback): void; - summarizeForPolicyDefinition(subscriptionId: string, policyDefinitionName: string, options?: Models.PolicyStatesSummarizeForPolicyDefinitionOptionalParams, callback?: msRest.ServiceCallback): Promise { + summarizeForPolicyDefinition(subscriptionId: string, policyDefinitionName: string, options?: Models.PolicyStatesSummarizeForPolicyDefinitionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -477,7 +477,7 @@ export class PolicyStates { * @param callback The callback */ listQueryResultsForSubscriptionLevelPolicyAssignment(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, policyAssignmentName: string, options: Models.PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForSubscriptionLevelPolicyAssignment(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, policyAssignmentName: string, options?: Models.PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForSubscriptionLevelPolicyAssignment(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, policyAssignmentName: string, options?: Models.PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyStatesResource, @@ -510,7 +510,7 @@ export class PolicyStates { * @param callback The callback */ summarizeForSubscriptionLevelPolicyAssignment(subscriptionId: string, policyAssignmentName: string, options: Models.PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentOptionalParams, callback: msRest.ServiceCallback): void; - summarizeForSubscriptionLevelPolicyAssignment(subscriptionId: string, policyAssignmentName: string, options?: Models.PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentOptionalParams, callback?: msRest.ServiceCallback): Promise { + summarizeForSubscriptionLevelPolicyAssignment(subscriptionId: string, policyAssignmentName: string, options?: Models.PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -555,7 +555,7 @@ export class PolicyStates { * @param callback The callback */ listQueryResultsForResourceGroupLevelPolicyAssignment(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options: Models.PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForResourceGroupLevelPolicyAssignment(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: Models.PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForResourceGroupLevelPolicyAssignment(policyStatesResource: Models.PolicyStatesResource, subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: Models.PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyStatesResource, @@ -592,7 +592,7 @@ export class PolicyStates { * @param callback The callback */ summarizeForResourceGroupLevelPolicyAssignment(subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options: Models.PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentOptionalParams, callback: msRest.ServiceCallback): void; - summarizeForResourceGroupLevelPolicyAssignment(subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: Models.PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentOptionalParams, callback?: msRest.ServiceCallback): Promise { + summarizeForResourceGroupLevelPolicyAssignment(subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: Models.PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -625,7 +625,7 @@ export class PolicyStates { * @param callback The callback */ getMetadata(scope: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMetadata(scope: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMetadata(scope: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { scope, diff --git a/packages/@azure/arm-policyinsights/lib/operations/policyTrackedResources.ts b/packages/@azure/arm-policyinsights/lib/operations/policyTrackedResources.ts index 20944832db7f..76d76cddd053 100644 --- a/packages/@azure/arm-policyinsights/lib/operations/policyTrackedResources.ts +++ b/packages/@azure/arm-policyinsights/lib/operations/policyTrackedResources.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/policyTrackedResourcesMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class PolicyTrackedResources { * @param callback The callback */ listQueryResultsForManagementGroup(managementGroupName: string, options: Models.PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForManagementGroup(managementGroupName: string, options?: Models.PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForManagementGroup(managementGroupName: string, options?: Models.PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupName, @@ -72,7 +72,7 @@ export class PolicyTrackedResources { * @param callback The callback */ listQueryResultsForSubscription(subscriptionId: string, options: Models.PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForSubscription(subscriptionId: string, options?: Models.PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForSubscription(subscriptionId: string, options?: Models.PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -103,7 +103,7 @@ export class PolicyTrackedResources { * @param callback The callback */ listQueryResultsForResourceGroup(resourceGroupName: string, subscriptionId: string, options: Models.PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForResourceGroup(resourceGroupName: string, subscriptionId: string, options?: Models.PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForResourceGroup(resourceGroupName: string, subscriptionId: string, options?: Models.PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -132,7 +132,7 @@ export class PolicyTrackedResources { * @param callback The callback */ listQueryResultsForResource(resourceId: string, options: Models.PolicyTrackedResourcesListQueryResultsForResourceOptionalParams, callback: msRest.ServiceCallback): void; - listQueryResultsForResource(resourceId: string, options?: Models.PolicyTrackedResourcesListQueryResultsForResourceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForResource(resourceId: string, options?: Models.PolicyTrackedResourcesListQueryResultsForResourceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceId, @@ -160,7 +160,7 @@ export class PolicyTrackedResources { * @param callback The callback */ listQueryResultsForManagementGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listQueryResultsForManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -188,7 +188,7 @@ export class PolicyTrackedResources { * @param callback The callback */ listQueryResultsForSubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listQueryResultsForSubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForSubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -216,7 +216,7 @@ export class PolicyTrackedResources { * @param callback The callback */ listQueryResultsForResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listQueryResultsForResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -244,7 +244,7 @@ export class PolicyTrackedResources { * @param callback The callback */ listQueryResultsForResourceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listQueryResultsForResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listQueryResultsForResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-policyinsights/lib/operations/remediations.ts b/packages/@azure/arm-policyinsights/lib/operations/remediations.ts index 171c6b6b0c97..ae8d36d2b1aa 100644 --- a/packages/@azure/arm-policyinsights/lib/operations/remediations.ts +++ b/packages/@azure/arm-policyinsights/lib/operations/remediations.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/remediationsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Remediations { * @param callback The callback */ listDeploymentsAtManagementGroup(managementGroupId: string, remediationName: string, options: Models.RemediationsListDeploymentsAtManagementGroupOptionalParams, callback: msRest.ServiceCallback): void; - listDeploymentsAtManagementGroup(managementGroupId: string, remediationName: string, options?: Models.RemediationsListDeploymentsAtManagementGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listDeploymentsAtManagementGroup(managementGroupId: string, remediationName: string, options?: Models.RemediationsListDeploymentsAtManagementGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupId, @@ -79,7 +79,7 @@ export class Remediations { * @param callback The callback */ cancelAtManagementGroup(managementGroupId: string, remediationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - cancelAtManagementGroup(managementGroupId: string, remediationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + cancelAtManagementGroup(managementGroupId: string, remediationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupId, @@ -108,7 +108,7 @@ export class Remediations { * @param callback The callback */ listForManagementGroup(managementGroupId: string, options: Models.RemediationsListForManagementGroupOptionalParams, callback: msRest.ServiceCallback): void; - listForManagementGroup(managementGroupId: string, options?: Models.RemediationsListForManagementGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForManagementGroup(managementGroupId: string, options?: Models.RemediationsListForManagementGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupId, @@ -142,7 +142,7 @@ export class Remediations { * @param callback The callback */ createOrUpdateAtManagementGroup(managementGroupId: string, remediationName: string, parameters: Models.Remediation, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAtManagementGroup(managementGroupId: string, remediationName: string, parameters: Models.Remediation, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAtManagementGroup(managementGroupId: string, remediationName: string, parameters: Models.Remediation, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupId, @@ -175,7 +175,7 @@ export class Remediations { * @param callback The callback */ getAtManagementGroup(managementGroupId: string, remediationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAtManagementGroup(managementGroupId: string, remediationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAtManagementGroup(managementGroupId: string, remediationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupId, @@ -207,7 +207,7 @@ export class Remediations { * @param callback The callback */ deleteAtManagementGroup(managementGroupId: string, remediationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAtManagementGroup(managementGroupId: string, remediationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAtManagementGroup(managementGroupId: string, remediationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managementGroupId, @@ -239,7 +239,7 @@ export class Remediations { * @param callback The callback */ listDeploymentsAtSubscription(subscriptionId: string, remediationName: string, options: Models.RemediationsListDeploymentsAtSubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - listDeploymentsAtSubscription(subscriptionId: string, remediationName: string, options?: Models.RemediationsListDeploymentsAtSubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listDeploymentsAtSubscription(subscriptionId: string, remediationName: string, options?: Models.RemediationsListDeploymentsAtSubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -271,7 +271,7 @@ export class Remediations { * @param callback The callback */ cancelAtSubscription(subscriptionId: string, remediationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - cancelAtSubscription(subscriptionId: string, remediationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + cancelAtSubscription(subscriptionId: string, remediationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -300,7 +300,7 @@ export class Remediations { * @param callback The callback */ listForSubscription(subscriptionId: string, options: Models.RemediationsListForSubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - listForSubscription(subscriptionId: string, options?: Models.RemediationsListForSubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForSubscription(subscriptionId: string, options?: Models.RemediationsListForSubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -334,7 +334,7 @@ export class Remediations { * @param callback The callback */ createOrUpdateAtSubscription(subscriptionId: string, remediationName: string, parameters: Models.Remediation, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAtSubscription(subscriptionId: string, remediationName: string, parameters: Models.Remediation, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAtSubscription(subscriptionId: string, remediationName: string, parameters: Models.Remediation, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -367,7 +367,7 @@ export class Remediations { * @param callback The callback */ getAtSubscription(subscriptionId: string, remediationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAtSubscription(subscriptionId: string, remediationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAtSubscription(subscriptionId: string, remediationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -399,7 +399,7 @@ export class Remediations { * @param callback The callback */ deleteAtSubscription(subscriptionId: string, remediationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAtSubscription(subscriptionId: string, remediationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAtSubscription(subscriptionId: string, remediationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -434,7 +434,7 @@ export class Remediations { * @param callback The callback */ listDeploymentsAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, options: Models.RemediationsListDeploymentsAtResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listDeploymentsAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, options?: Models.RemediationsListDeploymentsAtResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listDeploymentsAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, options?: Models.RemediationsListDeploymentsAtResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -470,7 +470,7 @@ export class Remediations { * @param callback The callback */ cancelAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - cancelAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + cancelAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -503,7 +503,7 @@ export class Remediations { * @param callback The callback */ listForResourceGroup(subscriptionId: string, resourceGroupName: string, options: Models.RemediationsListForResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listForResourceGroup(subscriptionId: string, resourceGroupName: string, options?: Models.RemediationsListForResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForResourceGroup(subscriptionId: string, resourceGroupName: string, options?: Models.RemediationsListForResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -541,7 +541,7 @@ export class Remediations { * @param callback The callback */ createOrUpdateAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, parameters: Models.Remediation, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, parameters: Models.Remediation, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, parameters: Models.Remediation, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -578,7 +578,7 @@ export class Remediations { * @param callback The callback */ getAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -614,7 +614,7 @@ export class Remediations { * @param callback The callback */ deleteAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAtResourceGroup(subscriptionId: string, resourceGroupName: string, remediationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -647,7 +647,7 @@ export class Remediations { * @param callback The callback */ listDeploymentsAtResource(resourceId: string, remediationName: string, options: Models.RemediationsListDeploymentsAtResourceOptionalParams, callback: msRest.ServiceCallback): void; - listDeploymentsAtResource(resourceId: string, remediationName: string, options?: Models.RemediationsListDeploymentsAtResourceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listDeploymentsAtResource(resourceId: string, remediationName: string, options?: Models.RemediationsListDeploymentsAtResourceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceId, @@ -679,7 +679,7 @@ export class Remediations { * @param callback The callback */ cancelAtResource(resourceId: string, remediationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - cancelAtResource(resourceId: string, remediationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + cancelAtResource(resourceId: string, remediationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceId, @@ -708,7 +708,7 @@ export class Remediations { * @param callback The callback */ listForResource(resourceId: string, options: Models.RemediationsListForResourceOptionalParams, callback: msRest.ServiceCallback): void; - listForResource(resourceId: string, options?: Models.RemediationsListForResourceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listForResource(resourceId: string, options?: Models.RemediationsListForResourceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceId, @@ -742,7 +742,7 @@ export class Remediations { * @param callback The callback */ createOrUpdateAtResource(resourceId: string, remediationName: string, parameters: Models.Remediation, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAtResource(resourceId: string, remediationName: string, parameters: Models.Remediation, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAtResource(resourceId: string, remediationName: string, parameters: Models.Remediation, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceId, @@ -775,7 +775,7 @@ export class Remediations { * @param callback The callback */ getAtResource(resourceId: string, remediationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAtResource(resourceId: string, remediationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAtResource(resourceId: string, remediationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceId, @@ -807,7 +807,7 @@ export class Remediations { * @param callback The callback */ deleteAtResource(resourceId: string, remediationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAtResource(resourceId: string, remediationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAtResource(resourceId: string, remediationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceId, @@ -836,7 +836,7 @@ export class Remediations { * @param callback The callback */ listDeploymentsAtManagementGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDeploymentsAtManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDeploymentsAtManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -864,7 +864,7 @@ export class Remediations { * @param callback The callback */ listForManagementGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listForManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listForManagementGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -892,7 +892,7 @@ export class Remediations { * @param callback The callback */ listDeploymentsAtSubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDeploymentsAtSubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDeploymentsAtSubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -920,7 +920,7 @@ export class Remediations { * @param callback The callback */ listForSubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listForSubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listForSubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -948,7 +948,7 @@ export class Remediations { * @param callback The callback */ listDeploymentsAtResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDeploymentsAtResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDeploymentsAtResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -976,7 +976,7 @@ export class Remediations { * @param callback The callback */ listForResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listForResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listForResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1004,7 +1004,7 @@ export class Remediations { * @param callback The callback */ listDeploymentsAtResourceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDeploymentsAtResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDeploymentsAtResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1032,7 +1032,7 @@ export class Remediations { * @param callback The callback */ listForResourceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listForResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listForResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-policyinsights/lib/policyInsightsClient.ts b/packages/@azure/arm-policyinsights/lib/policyInsightsClient.ts index e5889558870a..355467950460 100644 --- a/packages/@azure/arm-policyinsights/lib/policyInsightsClient.ts +++ b/packages/@azure/arm-policyinsights/lib/policyInsightsClient.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-policyinsights/lib/policyInsightsClientContext.ts b/packages/@azure/arm-policyinsights/lib/policyInsightsClientContext.ts index 15846724e388..61d4752a402b 100644 --- a/packages/@azure/arm-policyinsights/lib/policyInsightsClientContext.ts +++ b/packages/@azure/arm-policyinsights/lib/policyInsightsClientContext.ts @@ -9,20 +9,15 @@ */ 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-policyinsights"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class PolicyInsightsClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the PolicyInsightsClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -36,6 +31,11 @@ export class PolicyInsightsClientContext extends msRestAzure.AzureServiceClient if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.acceptLanguage = 'en-US'; @@ -44,7 +44,6 @@ export class PolicyInsightsClientContext extends msRestAzure.AzureServiceClient this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-policyinsights/package.json b/packages/@azure/arm-policyinsights/package.json index c115ab68caf2..d52f8aefefed 100644 --- a/packages/@azure/arm-policyinsights/package.json +++ b/packages/@azure/arm-policyinsights/package.json @@ -4,8 +4,8 @@ "description": "PolicyInsightsClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-policyinsights.js.map'\" -o ./dist/arm-policyinsights.min.js ./dist/arm-policyinsights.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-policyinsights/rollup.config.js b/packages/@azure/arm-policyinsights/rollup.config.js index f216eeb58f87..4585700537b1 100644 --- a/packages/@azure/arm-policyinsights/rollup.config.js +++ b/packages/@azure/arm-policyinsights/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/policyInsightsClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-policyinsights.js", format: "umd", name: "Azure.ArmPolicyinsights", 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-policyinsights/tsconfig.json b/packages/@azure/arm-policyinsights/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-policyinsights/tsconfig.json +++ b/packages/@azure/arm-policyinsights/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-postgresql/.npmignore b/packages/@azure/arm-postgresql/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-postgresql/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-postgresql/README.md b/packages/@azure/arm-postgresql/README.md index 45267e4f8c0d..9ffdcbd0624d 100644 --- a/packages/@azure/arm-postgresql/README.md +++ b/packages/@azure/arm-postgresql/README.md @@ -1,24 +1,34 @@ -# Azure PostgreSQLManagementClient SDK for JavaScript +## Azure PostgreSQLManagementClient SDK for JavaScript + This package contains an isomorphic SDK for PostgreSQLManagementClient. -## 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-postgresql ``` +### How to use + +#### nodejs - Authentication, client creation and get servers as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get servers as an example written in TypeScript. +##### Sample code ```ts -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 { PostgreSQLManagementClient, PostgreSQLManagementModels, PostgreSQLManagementMappers } from "@azure/arm-postgresql"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get servers as an example written in JavaScript. +#### browser - Authentication, client creation and get servers as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-postgresql 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-postgresql/lib/models/index.ts b/packages/@azure/arm-postgresql/lib/models/index.ts index ded2510b8c3a..dd3a47bcacb0 100644 --- a/packages/@azure/arm-postgresql/lib/models/index.ts +++ b/packages/@azure/arm-postgresql/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -834,21 +834,10 @@ export interface PerformanceTierListResult extends Array"someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ServerVersion { - NineFullStopFive = '9.5', - NineFullStopSix = '9.6', - OneZero = '10', - OneZeroFullStopZero = '10.0', - OneZeroFullStopTwo = '10.2', -} +export type ServerVersion = '9.5' | '9.6' | '10' | '10.0' | '10.2'; /** * Defines values for SslEnforcementEnum. @@ -856,96 +845,47 @@ export enum ServerVersion { * @readonly * @enum {string} */ -export enum SslEnforcementEnum { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type SslEnforcementEnum = 'Enabled' | 'Disabled'; /** * Defines values for ServerState. * Possible values include: 'Ready', 'Dropping', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServerState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ServerState { - Ready = 'Ready', - Dropping = 'Dropping', - Disabled = 'Disabled', -} +export type ServerState = 'Ready' | 'Dropping' | 'Disabled'; /** * Defines values for GeoRedundantBackup. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: GeoRedundantBackup = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum GeoRedundantBackup { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type GeoRedundantBackup = 'Enabled' | 'Disabled'; /** * Defines values for SkuTier. * Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuTier = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuTier { - Basic = 'Basic', - GeneralPurpose = 'GeneralPurpose', - MemoryOptimized = 'MemoryOptimized', -} +export type SkuTier = 'Basic' | 'GeneralPurpose' | 'MemoryOptimized'; /** * Defines values for VirtualNetworkRuleState. - * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', - * 'Unknown' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: VirtualNetworkRuleState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown' * @readonly * @enum {string} */ -export enum VirtualNetworkRuleState { - Initializing = 'Initializing', - InProgress = 'InProgress', - Ready = 'Ready', - Deleting = 'Deleting', - Unknown = 'Unknown', -} +export type VirtualNetworkRuleState = 'Initializing' | 'InProgress' | 'Ready' | 'Deleting' | 'Unknown'; /** * Defines values for OperationOrigin. * Possible values include: 'NotSpecified', 'user', 'system' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OperationOrigin = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OperationOrigin { - NotSpecified = 'NotSpecified', - User = 'user', - System = 'system', -} +export type OperationOrigin = 'NotSpecified' | 'user' | 'system'; /** * Defines values for ServerSecurityAlertPolicyState. @@ -953,10 +893,7 @@ export enum OperationOrigin { * @readonly * @enum {string} */ -export enum ServerSecurityAlertPolicyState { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type ServerSecurityAlertPolicyState = 'Enabled' | 'Disabled'; /** * Contains response data for the create operation. diff --git a/packages/@azure/arm-postgresql/lib/models/mappers.ts b/packages/@azure/arm-postgresql/lib/models/mappers.ts index d05b1bcd9fe7..7a77c8b1d358 100644 --- a/packages/@azure/arm-postgresql/lib/models/mappers.ts +++ b/packages/@azure/arm-postgresql/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -347,11 +347,6 @@ export const ServerForCreate: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "createMode", - clientName: "createMode" - }, - uberParent: "ServerPropertiesForCreate", className: "ServerPropertiesForCreate" } }, diff --git a/packages/@azure/arm-postgresql/lib/models/parameters.ts b/packages/@azure/arm-postgresql/lib/models/parameters.ts index 51e8cfb5905e..7dbc0227f6c5 100644 --- a/packages/@azure/arm-postgresql/lib/models/parameters.ts +++ b/packages/@azure/arm-postgresql/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-postgresql/lib/operations/checkNameAvailability.ts b/packages/@azure/arm-postgresql/lib/operations/checkNameAvailability.ts index 42be99cce962..8ddb6f96a6d5 100644 --- a/packages/@azure/arm-postgresql/lib/operations/checkNameAvailability.ts +++ b/packages/@azure/arm-postgresql/lib/operations/checkNameAvailability.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/checkNameAvailabilityMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class CheckNameAvailability { * @param callback The callback */ execute(nameAvailabilityRequest: Models.NameAvailabilityRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - execute(nameAvailabilityRequest: Models.NameAvailabilityRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + execute(nameAvailabilityRequest: Models.NameAvailabilityRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nameAvailabilityRequest, diff --git a/packages/@azure/arm-postgresql/lib/operations/configurations.ts b/packages/@azure/arm-postgresql/lib/operations/configurations.ts index bec26f8fe194..d1688cb39378 100644 --- a/packages/@azure/arm-postgresql/lib/operations/configurations.ts +++ b/packages/@azure/arm-postgresql/lib/operations/configurations.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/configurationsMappers"; import * as Parameters from "../models/parameters"; @@ -69,7 +69,7 @@ export class Configurations { * @param callback The callback */ get(resourceGroupName: string, serverName: string, configurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, configurationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, configurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -105,7 +105,7 @@ export class Configurations { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-postgresql/lib/operations/databases.ts b/packages/@azure/arm-postgresql/lib/operations/databases.ts index 094211038f4a..9b26db382ac7 100644 --- a/packages/@azure/arm-postgresql/lib/operations/databases.ts +++ b/packages/@azure/arm-postgresql/lib/operations/databases.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/databasesMappers"; import * as Parameters from "../models/parameters"; @@ -83,7 +83,7 @@ export class Databases { * @param callback The callback */ get(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -119,7 +119,7 @@ export class Databases { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-postgresql/lib/operations/firewallRules.ts b/packages/@azure/arm-postgresql/lib/operations/firewallRules.ts index dc1420606803..196dffcb5a14 100644 --- a/packages/@azure/arm-postgresql/lib/operations/firewallRules.ts +++ b/packages/@azure/arm-postgresql/lib/operations/firewallRules.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/firewallRulesMappers"; import * as Parameters from "../models/parameters"; @@ -83,7 +83,7 @@ export class FirewallRules { * @param callback The callback */ get(resourceGroupName: string, serverName: string, firewallRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -119,7 +119,7 @@ export class FirewallRules { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-postgresql/lib/operations/locationBasedPerformanceTier.ts b/packages/@azure/arm-postgresql/lib/operations/locationBasedPerformanceTier.ts index 709518e76e56..ffad11ea8a12 100644 --- a/packages/@azure/arm-postgresql/lib/operations/locationBasedPerformanceTier.ts +++ b/packages/@azure/arm-postgresql/lib/operations/locationBasedPerformanceTier.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/locationBasedPerformanceTierMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class LocationBasedPerformanceTier { * @param callback The callback */ list(locationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(locationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(locationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { locationName, diff --git a/packages/@azure/arm-postgresql/lib/operations/logFiles.ts b/packages/@azure/arm-postgresql/lib/operations/logFiles.ts index d4646e31efbf..41825964612d 100644 --- a/packages/@azure/arm-postgresql/lib/operations/logFiles.ts +++ b/packages/@azure/arm-postgresql/lib/operations/logFiles.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/logFilesMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class LogFiles { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-postgresql/lib/operations/operations.ts b/packages/@azure/arm-postgresql/lib/operations/operations.ts index b03ea5638d27..01da20b0f66b 100644 --- a/packages/@azure/arm-postgresql/lib/operations/operations.ts +++ b/packages/@azure/arm-postgresql/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-postgresql/lib/operations/serverSecurityAlertPolicies.ts b/packages/@azure/arm-postgresql/lib/operations/serverSecurityAlertPolicies.ts index 8536472bfafb..392b70c4f449 100644 --- a/packages/@azure/arm-postgresql/lib/operations/serverSecurityAlertPolicies.ts +++ b/packages/@azure/arm-postgresql/lib/operations/serverSecurityAlertPolicies.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/serverSecurityAlertPoliciesMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class ServerSecurityAlertPolicies { * @param callback The callback */ get(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-postgresql/lib/operations/servers.ts b/packages/@azure/arm-postgresql/lib/operations/servers.ts index f4338a6d6b1f..6d1b01cbab95 100644 --- a/packages/@azure/arm-postgresql/lib/operations/servers.ts +++ b/packages/@azure/arm-postgresql/lib/operations/servers.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/serversMappers"; import * as Parameters from "../models/parameters"; @@ -93,7 +93,7 @@ export class Servers { * @param callback The callback */ get(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -125,7 +125,7 @@ export class Servers { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -150,7 +150,7 @@ export class Servers { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-postgresql/lib/operations/virtualNetworkRules.ts b/packages/@azure/arm-postgresql/lib/operations/virtualNetworkRules.ts index 1805e4bf6c11..882b3641cbc0 100644 --- a/packages/@azure/arm-postgresql/lib/operations/virtualNetworkRules.ts +++ b/packages/@azure/arm-postgresql/lib/operations/virtualNetworkRules.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/virtualNetworkRulesMappers"; import * as Parameters from "../models/parameters"; @@ -54,7 +54,7 @@ export class VirtualNetworkRules { * @param callback The callback */ get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -119,7 +119,7 @@ export class VirtualNetworkRules { * @param callback The callback */ listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -192,7 +192,7 @@ export class VirtualNetworkRules { * @param callback The callback */ listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-postgresql/lib/postgreSQLManagementClient.ts b/packages/@azure/arm-postgresql/lib/postgreSQLManagementClient.ts index c6099b1c7648..958382b59f6f 100644 --- a/packages/@azure/arm-postgresql/lib/postgreSQLManagementClient.ts +++ b/packages/@azure/arm-postgresql/lib/postgreSQLManagementClient.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-postgresql/lib/postgreSQLManagementClientContext.ts b/packages/@azure/arm-postgresql/lib/postgreSQLManagementClientContext.ts index a1ea1b124fff..c1f9727325a1 100644 --- a/packages/@azure/arm-postgresql/lib/postgreSQLManagementClientContext.ts +++ b/packages/@azure/arm-postgresql/lib/postgreSQLManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-postgresql"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class PostgreSQLManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the PostgreSQLManagementClient class. @@ -44,6 +37,11 @@ export class PostgreSQLManagementClientContext extends msRestAzure.AzureServiceC if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-12-01'; @@ -54,7 +52,6 @@ export class PostgreSQLManagementClientContext extends msRestAzure.AzureServiceC this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-postgresql/package.json b/packages/@azure/arm-postgresql/package.json index 98c05ce58406..3b4962ebe7d1 100644 --- a/packages/@azure/arm-postgresql/package.json +++ b/packages/@azure/arm-postgresql/package.json @@ -4,8 +4,8 @@ "description": "PostgreSQLManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-postgresql.js.map'\" -o ./dist/arm-postgresql.min.js ./dist/arm-postgresql.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-postgresql/rollup.config.js b/packages/@azure/arm-postgresql/rollup.config.js index 6c570d4534c1..937fe4e3e6f2 100644 --- a/packages/@azure/arm-postgresql/rollup.config.js +++ b/packages/@azure/arm-postgresql/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/postgreSQLManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-postgresql.js", format: "umd", name: "Azure.ArmPostgresql", 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-postgresql/tsconfig.esm.json b/packages/@azure/arm-postgresql/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-postgresql/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-postgresql/tsconfig.json b/packages/@azure/arm-postgresql/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-postgresql/tsconfig.json +++ b/packages/@azure/arm-postgresql/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-postgresql/webpack.config.js b/packages/@azure/arm-postgresql/webpack.config.js deleted file mode 100644 index e8f4e85fb100..000000000000 --- a/packages/@azure/arm-postgresql/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/postgreSQLManagementClient.js', - devtool: 'source-map', - output: { - filename: 'postgreSQLManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'postgreSQLManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-powerbidedicated/.npmignore b/packages/@azure/arm-powerbidedicated/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-powerbidedicated/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-powerbidedicated/README.md b/packages/@azure/arm-powerbidedicated/README.md index 83b235d52f54..0e71424a6356 100644 --- a/packages/@azure/arm-powerbidedicated/README.md +++ b/packages/@azure/arm-powerbidedicated/README.md @@ -1,24 +1,34 @@ -# Azure PowerBIDedicatedManagementClient SDK for JavaScript +## Azure PowerBIDedicatedManagementClient SDK for JavaScript + This package contains an isomorphic SDK for PowerBIDedicatedManagementClient. -## 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-powerbidedicated ``` +### How to use + +#### nodejs - Authentication, client creation and getDetails capacities as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and getDetails capacities as an example written in TypeScript. +##### Sample code ```ts -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 { PowerBIDedicatedManagementClient, PowerBIDedicatedManagementModels, PowerBIDedicatedManagementMappers } from "@azure/arm-powerbidedicated"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and getDetails capacities as an example written in JavaScript. +#### browser - Authentication, client creation and getDetails capacities as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-powerbidedicated 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-powerbidedicated/lib/models/index.ts b/packages/@azure/arm-powerbidedicated/lib/models/index.ts index ad8814cc25b7..49f6f0198a0f 100644 --- a/packages/@azure/arm-powerbidedicated/lib/models/index.ts +++ b/packages/@azure/arm-powerbidedicated/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -338,71 +338,28 @@ export interface OperationListResult extends Array { /** * Defines values for SkuTier. * Possible values include: 'PBIE_Azure' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuTier = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuTier { - PBIEAzure = 'PBIE_Azure', -} +export type SkuTier = 'PBIE_Azure'; /** * Defines values for State. - * Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused', - * 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing', - * 'Resuming', 'Preparing', 'Scaling' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: State = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused', 'Suspended', + * 'Provisioning', 'Updating', 'Suspending', 'Pausing', 'Resuming', 'Preparing', 'Scaling' * @readonly * @enum {string} */ -export enum State { - Deleting = 'Deleting', - Succeeded = 'Succeeded', - Failed = 'Failed', - Paused = 'Paused', - Suspended = 'Suspended', - Provisioning = 'Provisioning', - Updating = 'Updating', - Suspending = 'Suspending', - Pausing = 'Pausing', - Resuming = 'Resuming', - Preparing = 'Preparing', - Scaling = 'Scaling', -} +export type State = 'Deleting' | 'Succeeded' | 'Failed' | 'Paused' | 'Suspended' | 'Provisioning' | 'Updating' | 'Suspending' | 'Pausing' | 'Resuming' | 'Preparing' | 'Scaling'; /** * Defines values for ProvisioningState. - * Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused', - * 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing', - * 'Resuming', 'Preparing', 'Scaling' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused', 'Suspended', + * 'Provisioning', 'Updating', 'Suspending', 'Pausing', 'Resuming', 'Preparing', 'Scaling' * @readonly * @enum {string} */ -export enum ProvisioningState { - Deleting = 'Deleting', - Succeeded = 'Succeeded', - Failed = 'Failed', - Paused = 'Paused', - Suspended = 'Suspended', - Provisioning = 'Provisioning', - Updating = 'Updating', - Suspending = 'Suspending', - Pausing = 'Pausing', - Resuming = 'Resuming', - Preparing = 'Preparing', - Scaling = 'Scaling', -} +export type ProvisioningState = 'Deleting' | 'Succeeded' | 'Failed' | 'Paused' | 'Suspended' | 'Provisioning' | 'Updating' | 'Suspending' | 'Pausing' | 'Resuming' | 'Preparing' | 'Scaling'; /** * Contains response data for the getDetails operation. diff --git a/packages/@azure/arm-powerbidedicated/lib/models/mappers.ts b/packages/@azure/arm-powerbidedicated/lib/models/mappers.ts index 837cc5102828..82b374cefa3f 100644 --- a/packages/@azure/arm-powerbidedicated/lib/models/mappers.ts +++ b/packages/@azure/arm-powerbidedicated/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-powerbidedicated/lib/models/parameters.ts b/packages/@azure/arm-powerbidedicated/lib/models/parameters.ts index 1e5e4529541f..aab9f450d3c9 100644 --- a/packages/@azure/arm-powerbidedicated/lib/models/parameters.ts +++ b/packages/@azure/arm-powerbidedicated/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-powerbidedicated/lib/operations/capacities.ts b/packages/@azure/arm-powerbidedicated/lib/operations/capacities.ts index df60a67f8eee..6ee0c567a035 100644 --- a/packages/@azure/arm-powerbidedicated/lib/operations/capacities.ts +++ b/packages/@azure/arm-powerbidedicated/lib/operations/capacities.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/capacitiesMappers"; import * as Parameters from "../models/parameters"; @@ -54,7 +54,7 @@ export class Capacities { * @param callback The callback */ getDetails(resourceGroupName: string, dedicatedCapacityName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDetails(resourceGroupName: string, dedicatedCapacityName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDetails(resourceGroupName: string, dedicatedCapacityName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -159,7 +159,7 @@ export class Capacities { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -184,7 +184,7 @@ export class Capacities { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -208,7 +208,7 @@ export class Capacities { * @param callback The callback */ listSkus(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSkus(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSkus(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -244,7 +244,7 @@ export class Capacities { * @param callback The callback */ listSkusForCapacity(resourceGroupName: string, dedicatedCapacityName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSkusForCapacity(resourceGroupName: string, dedicatedCapacityName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSkusForCapacity(resourceGroupName: string, dedicatedCapacityName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -276,7 +276,7 @@ export class Capacities { * @param callback The callback */ checkNameAvailability(location: string, capacityParameters: Models.CheckCapacityNameAvailabilityParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(location: string, capacityParameters: Models.CheckCapacityNameAvailabilityParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(location: string, capacityParameters: Models.CheckCapacityNameAvailabilityParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, diff --git a/packages/@azure/arm-powerbidedicated/lib/operations/operations.ts b/packages/@azure/arm-powerbidedicated/lib/operations/operations.ts index bfee2959716f..0276fc881dc3 100644 --- a/packages/@azure/arm-powerbidedicated/lib/operations/operations.ts +++ b/packages/@azure/arm-powerbidedicated/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-powerbidedicated/lib/powerBIDedicatedManagementClient.ts b/packages/@azure/arm-powerbidedicated/lib/powerBIDedicatedManagementClient.ts index b85f7588fe6f..33c72336bac6 100644 --- a/packages/@azure/arm-powerbidedicated/lib/powerBIDedicatedManagementClient.ts +++ b/packages/@azure/arm-powerbidedicated/lib/powerBIDedicatedManagementClient.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-powerbidedicated/lib/powerBIDedicatedManagementClientContext.ts b/packages/@azure/arm-powerbidedicated/lib/powerBIDedicatedManagementClientContext.ts index ec6d45fa0a0d..b272c766cefa 100644 --- a/packages/@azure/arm-powerbidedicated/lib/powerBIDedicatedManagementClientContext.ts +++ b/packages/@azure/arm-powerbidedicated/lib/powerBIDedicatedManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-powerbidedicated"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class PowerBIDedicatedManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the PowerBIDedicatedManagementClient class. @@ -45,6 +38,11 @@ export class PowerBIDedicatedManagementClientContext extends msRestAzure.AzureSe if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-10-01'; @@ -55,7 +53,6 @@ export class PowerBIDedicatedManagementClientContext extends msRestAzure.AzureSe this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-powerbidedicated/package.json b/packages/@azure/arm-powerbidedicated/package.json index 9a3947067a89..995ded5efb72 100644 --- a/packages/@azure/arm-powerbidedicated/package.json +++ b/packages/@azure/arm-powerbidedicated/package.json @@ -4,8 +4,8 @@ "description": "PowerBIDedicatedManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-powerbidedicated.js.map'\" -o ./dist/arm-powerbidedicated.min.js ./dist/arm-powerbidedicated.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-powerbidedicated/rollup.config.js b/packages/@azure/arm-powerbidedicated/rollup.config.js index 7056d8100bf6..1308acd8fbde 100644 --- a/packages/@azure/arm-powerbidedicated/rollup.config.js +++ b/packages/@azure/arm-powerbidedicated/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/powerBIDedicatedManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-powerbidedicated.js", format: "umd", name: "Azure.ArmPowerbidedicated", 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-powerbidedicated/tsconfig.esm.json b/packages/@azure/arm-powerbidedicated/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-powerbidedicated/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-powerbidedicated/tsconfig.json b/packages/@azure/arm-powerbidedicated/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-powerbidedicated/tsconfig.json +++ b/packages/@azure/arm-powerbidedicated/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-powerbidedicated/webpack.config.js b/packages/@azure/arm-powerbidedicated/webpack.config.js deleted file mode 100644 index 7bcc1cf86096..000000000000 --- a/packages/@azure/arm-powerbidedicated/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/powerBIDedicatedManagementClient.js', - devtool: 'source-map', - output: { - filename: 'powerBIDedicatedManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'powerBIDedicatedManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-powerbiembedded/.npmignore b/packages/@azure/arm-powerbiembedded/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-powerbiembedded/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-powerbiembedded/README.md b/packages/@azure/arm-powerbiembedded/README.md index 038d43f15e84..46f74975c144 100644 --- a/packages/@azure/arm-powerbiembedded/README.md +++ b/packages/@azure/arm-powerbiembedded/README.md @@ -1,24 +1,34 @@ -# Azure PowerBIEmbeddedManagementClient SDK for JavaScript +## Azure PowerBIEmbeddedManagementClient SDK for JavaScript + This package contains an isomorphic SDK for PowerBIEmbeddedManagementClient. -## 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-powerbiembedded ``` +### How to use + +#### nodejs - Authentication, client creation and getByName workspaceCollections as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and getByName workspaceCollections as an example written in TypeScript. +##### Sample code ```ts -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 { PowerBIEmbeddedManagementClient, PowerBIEmbeddedManagementModels, PowerBIEmbeddedManagementMappers } from "@azure/arm-powerbiembedded"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and getByName workspaceCollections as an example written in JavaScript. +#### browser - Authentication, client creation and getByName workspaceCollections as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-powerbiembedded 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-powerbiembedded/lib/models/index.ts b/packages/@azure/arm-powerbiembedded/lib/models/index.ts index 6be1138ba9ef..3205398038a9 100644 --- a/packages/@azure/arm-powerbiembedded/lib/models/index.ts +++ b/packages/@azure/arm-powerbiembedded/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -328,26 +328,15 @@ export interface WorkspaceList extends Array { * @readonly * @enum {string} */ -export enum AccessKeyName { - Key1 = 'key1', - Key2 = 'key2', -} +export type AccessKeyName = 'key1' | 'key2'; /** * Defines values for CheckNameReason. * Possible values include: 'Unavailable', 'Invalid' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CheckNameReason = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CheckNameReason { - Unavailable = 'Unavailable', - Invalid = 'Invalid', -} +export type CheckNameReason = 'Unavailable' | 'Invalid'; /** * Contains response data for the getByName operation. diff --git a/packages/@azure/arm-powerbiembedded/lib/models/mappers.ts b/packages/@azure/arm-powerbiembedded/lib/models/mappers.ts index 8a93ab188945..bc65b8c12d13 100644 --- a/packages/@azure/arm-powerbiembedded/lib/models/mappers.ts +++ b/packages/@azure/arm-powerbiembedded/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-powerbiembedded/lib/models/parameters.ts b/packages/@azure/arm-powerbiembedded/lib/models/parameters.ts index f6d34ced79b3..1501956e70c0 100644 --- a/packages/@azure/arm-powerbiembedded/lib/models/parameters.ts +++ b/packages/@azure/arm-powerbiembedded/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-powerbiembedded/lib/operations/workspaceCollections.ts b/packages/@azure/arm-powerbiembedded/lib/operations/workspaceCollections.ts index 34d5704a85ea..b35015ff145e 100644 --- a/packages/@azure/arm-powerbiembedded/lib/operations/workspaceCollections.ts +++ b/packages/@azure/arm-powerbiembedded/lib/operations/workspaceCollections.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/workspaceCollectionsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class WorkspaceCollections { * @param callback The callback */ getByName(resourceGroupName: string, workspaceCollectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getByName(resourceGroupName: string, workspaceCollectionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getByName(resourceGroupName: string, workspaceCollectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class WorkspaceCollections { * @param callback The callback */ create(resourceGroupName: string, workspaceCollectionName: string, body: Models.CreateWorkspaceCollectionRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, workspaceCollectionName: string, body: Models.CreateWorkspaceCollectionRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, workspaceCollectionName: string, body: Models.CreateWorkspaceCollectionRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class WorkspaceCollections { * @param callback The callback */ update(resourceGroupName: string, workspaceCollectionName: string, body: Models.UpdateWorkspaceCollectionRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, workspaceCollectionName: string, body: Models.UpdateWorkspaceCollectionRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, workspaceCollectionName: string, body: Models.UpdateWorkspaceCollectionRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -166,7 +166,7 @@ export class WorkspaceCollections { * @param callback The callback */ checkNameAvailability(location: string, body: Models.CheckNameRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(location: string, body: Models.CheckNameRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(location: string, body: Models.CheckNameRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -195,7 +195,7 @@ export class WorkspaceCollections { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -220,7 +220,7 @@ export class WorkspaceCollections { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -250,7 +250,7 @@ export class WorkspaceCollections { * @param callback The callback */ getAccessKeys(resourceGroupName: string, workspaceCollectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAccessKeys(resourceGroupName: string, workspaceCollectionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAccessKeys(resourceGroupName: string, workspaceCollectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -285,7 +285,7 @@ export class WorkspaceCollections { * @param callback The callback */ regenerateKey(resourceGroupName: string, workspaceCollectionName: string, body: Models.WorkspaceCollectionAccessKey, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKey(resourceGroupName: string, workspaceCollectionName: string, body: Models.WorkspaceCollectionAccessKey, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKey(resourceGroupName: string, workspaceCollectionName: string, body: Models.WorkspaceCollectionAccessKey, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -319,7 +319,7 @@ export class WorkspaceCollections { * @param callback The callback */ migrate(resourceGroupName: string, body: Models.MigrateWorkspaceCollectionRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - migrate(resourceGroupName: string, body: Models.MigrateWorkspaceCollectionRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + migrate(resourceGroupName: string, body: Models.MigrateWorkspaceCollectionRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-powerbiembedded/lib/operations/workspaces.ts b/packages/@azure/arm-powerbiembedded/lib/operations/workspaces.ts index 0ae46f38e010..8671e014afdc 100644 --- a/packages/@azure/arm-powerbiembedded/lib/operations/workspaces.ts +++ b/packages/@azure/arm-powerbiembedded/lib/operations/workspaces.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/workspacesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Workspaces { * @param callback The callback */ list(resourceGroupName: string, workspaceCollectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, workspaceCollectionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, workspaceCollectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-powerbiembedded/lib/powerBIEmbeddedManagementClient.ts b/packages/@azure/arm-powerbiembedded/lib/powerBIEmbeddedManagementClient.ts index 39ceb9d8471c..a7d1e269bc37 100644 --- a/packages/@azure/arm-powerbiembedded/lib/powerBIEmbeddedManagementClient.ts +++ b/packages/@azure/arm-powerbiembedded/lib/powerBIEmbeddedManagementClient.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 Parameters from "./models/parameters"; @@ -49,7 +49,7 @@ class PowerBIEmbeddedManagementClient extends PowerBIEmbeddedManagementClientCon * @param callback The callback */ getAvailableOperations(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAvailableOperations(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAvailableOperations(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options diff --git a/packages/@azure/arm-powerbiembedded/lib/powerBIEmbeddedManagementClientContext.ts b/packages/@azure/arm-powerbiembedded/lib/powerBIEmbeddedManagementClientContext.ts index 50a50f053367..d2974390607f 100644 --- a/packages/@azure/arm-powerbiembedded/lib/powerBIEmbeddedManagementClientContext.ts +++ b/packages/@azure/arm-powerbiembedded/lib/powerBIEmbeddedManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-powerbiembedded"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class PowerBIEmbeddedManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the PowerBIEmbeddedManagementClient class. @@ -45,6 +38,11 @@ export class PowerBIEmbeddedManagementClientContext extends msRestAzure.AzureSer if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2016-01-29'; @@ -55,7 +53,6 @@ export class PowerBIEmbeddedManagementClientContext extends msRestAzure.AzureSer this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-powerbiembedded/package.json b/packages/@azure/arm-powerbiembedded/package.json index 7bfbff37ccf8..34145b216801 100644 --- a/packages/@azure/arm-powerbiembedded/package.json +++ b/packages/@azure/arm-powerbiembedded/package.json @@ -4,8 +4,8 @@ "description": "PowerBIEmbeddedManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-powerbiembedded.js.map'\" -o ./dist/arm-powerbiembedded.min.js ./dist/arm-powerbiembedded.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-powerbiembedded/rollup.config.js b/packages/@azure/arm-powerbiembedded/rollup.config.js index 1d4ffacedfd9..fa1db40b7197 100644 --- a/packages/@azure/arm-powerbiembedded/rollup.config.js +++ b/packages/@azure/arm-powerbiembedded/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/powerBIEmbeddedManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-powerbiembedded.js", format: "umd", name: "Azure.ArmPowerbiembedded", 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-powerbiembedded/tsconfig.esm.json b/packages/@azure/arm-powerbiembedded/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-powerbiembedded/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-powerbiembedded/tsconfig.json b/packages/@azure/arm-powerbiembedded/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-powerbiembedded/tsconfig.json +++ b/packages/@azure/arm-powerbiembedded/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-powerbiembedded/webpack.config.js b/packages/@azure/arm-powerbiembedded/webpack.config.js deleted file mode 100644 index a9732f2b8625..000000000000 --- a/packages/@azure/arm-powerbiembedded/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/powerBIEmbeddedManagementClient.js', - devtool: 'source-map', - output: { - filename: 'powerBIEmbeddedManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'powerBIEmbeddedManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-recoveryservices-siterecovery/.npmignore b/packages/@azure/arm-recoveryservices-siterecovery/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-recoveryservices-siterecovery/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-recoveryservices-siterecovery/README.md b/packages/@azure/arm-recoveryservices-siterecovery/README.md index ec976d45a277..6ac1c8a5f024 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/README.md +++ b/packages/@azure/arm-recoveryservices-siterecovery/README.md @@ -1,24 +1,34 @@ -# Azure SiteRecoveryManagementClient SDK for JavaScript +## Azure SiteRecoveryManagementClient SDK for JavaScript + This package contains an isomorphic SDK for SiteRecoveryManagementClient. -## 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-recoveryservices-siterecovery ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { SiteRecoveryManagementClient, SiteRecoveryManagementModels, SiteRecoveryManagementMappers } from "@azure/arm-recoveryservices-siterecovery"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-recoveryservices-siterecovery 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-recoveryservices-siterecovery/lib/models/index.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/index.ts index 1a42a95bac4c..bc6c2955108e 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/index.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -9484,457 +9484,216 @@ export interface RecoveryPlanCollection extends Array { /** * Defines values for AgentAutoUpdateStatus. * Possible values include: 'Disabled', 'Enabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AgentAutoUpdateStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AgentAutoUpdateStatus { - Disabled = 'Disabled', - Enabled = 'Enabled', -} +export type AgentAutoUpdateStatus = 'Disabled' | 'Enabled'; /** * Defines values for SetMultiVmSyncStatus. * Possible values include: 'Enable', 'Disable' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SetMultiVmSyncStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SetMultiVmSyncStatus { - Enable = 'Enable', - Disable = 'Disable', -} +export type SetMultiVmSyncStatus = 'Enable' | 'Disable'; /** * Defines values for RecoveryPointSyncType. * Possible values include: 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RecoveryPointSyncType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RecoveryPointSyncType { - MultiVmSyncRecoveryPoint = 'MultiVmSyncRecoveryPoint', - PerVmRecoveryPoint = 'PerVmRecoveryPoint', -} +export type RecoveryPointSyncType = 'MultiVmSyncRecoveryPoint' | 'PerVmRecoveryPoint'; /** * Defines values for MultiVmGroupCreateOption. * Possible values include: 'AutoCreated', 'UserSpecified' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MultiVmGroupCreateOption = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum MultiVmGroupCreateOption { - AutoCreated = 'AutoCreated', - UserSpecified = 'UserSpecified', -} +export type MultiVmGroupCreateOption = 'AutoCreated' | 'UserSpecified'; /** * Defines values for FailoverDeploymentModel. * Possible values include: 'NotApplicable', 'Classic', 'ResourceManager' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FailoverDeploymentModel = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FailoverDeploymentModel { - NotApplicable = 'NotApplicable', - Classic = 'Classic', - ResourceManager = 'ResourceManager', -} +export type FailoverDeploymentModel = 'NotApplicable' | 'Classic' | 'ResourceManager'; /** * Defines values for RecoveryPlanGroupType. * Possible values include: 'Shutdown', 'Boot', 'Failover' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RecoveryPlanGroupType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RecoveryPlanGroupType { - Shutdown = 'Shutdown', - Boot = 'Boot', - Failover = 'Failover', -} +export type RecoveryPlanGroupType = 'Shutdown' | 'Boot' | 'Failover'; /** * Defines values for ReplicationProtectedItemOperation. - * Possible values include: 'ReverseReplicate', 'Commit', 'PlannedFailover', - * 'UnplannedFailover', 'DisableProtection', 'TestFailover', - * 'TestFailoverCleanup', 'Failback', 'FinalizeFailback', 'ChangePit', - * 'RepairReplication', 'SwitchProtection', 'CompleteMigration' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReplicationProtectedItemOperation = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'ReverseReplicate', 'Commit', 'PlannedFailover', 'UnplannedFailover', + * 'DisableProtection', 'TestFailover', 'TestFailoverCleanup', 'Failback', 'FinalizeFailback', + * 'ChangePit', 'RepairReplication', 'SwitchProtection', 'CompleteMigration' * @readonly * @enum {string} */ -export enum ReplicationProtectedItemOperation { - ReverseReplicate = 'ReverseReplicate', - Commit = 'Commit', - PlannedFailover = 'PlannedFailover', - UnplannedFailover = 'UnplannedFailover', - DisableProtection = 'DisableProtection', - TestFailover = 'TestFailover', - TestFailoverCleanup = 'TestFailoverCleanup', - Failback = 'Failback', - FinalizeFailback = 'FinalizeFailback', - ChangePit = 'ChangePit', - RepairReplication = 'RepairReplication', - SwitchProtection = 'SwitchProtection', - CompleteMigration = 'CompleteMigration', -} +export type ReplicationProtectedItemOperation = 'ReverseReplicate' | 'Commit' | 'PlannedFailover' | 'UnplannedFailover' | 'DisableProtection' | 'TestFailover' | 'TestFailoverCleanup' | 'Failback' | 'FinalizeFailback' | 'ChangePit' | 'RepairReplication' | 'SwitchProtection' | 'CompleteMigration'; /** * Defines values for PossibleOperationsDirections. * Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PossibleOperationsDirections = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PossibleOperationsDirections { - PrimaryToRecovery = 'PrimaryToRecovery', - RecoveryToPrimary = 'RecoveryToPrimary', -} +export type PossibleOperationsDirections = 'PrimaryToRecovery' | 'RecoveryToPrimary'; /** * Defines values for DisableProtectionReason. * Possible values include: 'NotSpecified', 'MigrationComplete' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DisableProtectionReason = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DisableProtectionReason { - NotSpecified = 'NotSpecified', - MigrationComplete = 'MigrationComplete', -} +export type DisableProtectionReason = 'NotSpecified' | 'MigrationComplete'; /** * Defines values for HealthErrorCategory. - * Possible values include: 'None', 'Replication', 'TestFailover', - * 'Configuration', 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HealthErrorCategory = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'Replication', 'TestFailover', 'Configuration', + * 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate' * @readonly * @enum {string} */ -export enum HealthErrorCategory { - None = 'None', - Replication = 'Replication', - TestFailover = 'TestFailover', - Configuration = 'Configuration', - FabricInfrastructure = 'FabricInfrastructure', - VersionExpiry = 'VersionExpiry', - AgentAutoUpdate = 'AgentAutoUpdate', -} +export type HealthErrorCategory = 'None' | 'Replication' | 'TestFailover' | 'Configuration' | 'FabricInfrastructure' | 'VersionExpiry' | 'AgentAutoUpdate'; /** * Defines values for Severity. * Possible values include: 'NONE', 'Warning', 'Error', 'Info' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Severity = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Severity { - NONE = 'NONE', - Warning = 'Warning', - Error = 'Error', - Info = 'Info', -} +export type Severity = 'NONE' | 'Warning' | 'Error' | 'Info'; /** * Defines values for PresenceStatus. * Possible values include: 'Unknown', 'Present', 'NotPresent' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PresenceStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PresenceStatus { - Unknown = 'Unknown', - Present = 'Present', - NotPresent = 'NotPresent', -} +export type PresenceStatus = 'Unknown' | 'Present' | 'NotPresent'; /** * Defines values for IdentityProviderType. * Possible values include: 'RecoveryServicesActiveDirectory' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: IdentityProviderType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum IdentityProviderType { - RecoveryServicesActiveDirectory = 'RecoveryServicesActiveDirectory', -} +export type IdentityProviderType = 'RecoveryServicesActiveDirectory'; /** * Defines values for AgentVersionStatus. - * Possible values include: 'Supported', 'NotSupported', 'Deprecated', - * 'UpdateRequired', 'SecurityUpdateRequired' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AgentVersionStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Supported', 'NotSupported', 'Deprecated', 'UpdateRequired', + * 'SecurityUpdateRequired' * @readonly * @enum {string} */ -export enum AgentVersionStatus { - Supported = 'Supported', - NotSupported = 'NotSupported', - Deprecated = 'Deprecated', - UpdateRequired = 'UpdateRequired', - SecurityUpdateRequired = 'SecurityUpdateRequired', -} +export type AgentVersionStatus = 'Supported' | 'NotSupported' | 'Deprecated' | 'UpdateRequired' | 'SecurityUpdateRequired'; /** * Defines values for RecoveryPointType. * Possible values include: 'LatestTime', 'LatestTag', 'Custom' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RecoveryPointType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RecoveryPointType { - LatestTime = 'LatestTime', - LatestTag = 'LatestTag', - Custom = 'Custom', -} +export type RecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; /** * Defines values for MultiVmSyncStatus. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MultiVmSyncStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum MultiVmSyncStatus { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type MultiVmSyncStatus = 'Enabled' | 'Disabled'; /** * Defines values for A2ARpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', - * 'LatestCrashConsistent', 'LatestProcessed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: A2ARpRecoveryPointType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', + * 'LatestProcessed' * @readonly * @enum {string} */ -export enum A2ARpRecoveryPointType { - Latest = 'Latest', - LatestApplicationConsistent = 'LatestApplicationConsistent', - LatestCrashConsistent = 'LatestCrashConsistent', - LatestProcessed = 'LatestProcessed', -} +export type A2ARpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; /** * Defines values for MultiVmSyncPointOption. - * Possible values include: 'UseMultiVmSyncRecoveryPoint', - * 'UsePerVmRecoveryPoint' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MultiVmSyncPointOption = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'UseMultiVmSyncRecoveryPoint', 'UsePerVmRecoveryPoint' * @readonly * @enum {string} */ -export enum MultiVmSyncPointOption { - UseMultiVmSyncRecoveryPoint = 'UseMultiVmSyncRecoveryPoint', - UsePerVmRecoveryPoint = 'UsePerVmRecoveryPoint', -} +export type MultiVmSyncPointOption = 'UseMultiVmSyncRecoveryPoint' | 'UsePerVmRecoveryPoint'; /** * Defines values for RecoveryPlanActionLocation. * Possible values include: 'Primary', 'Recovery' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RecoveryPlanActionLocation = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RecoveryPlanActionLocation { - Primary = 'Primary', - Recovery = 'Recovery', -} +export type RecoveryPlanActionLocation = 'Primary' | 'Recovery'; /** * Defines values for DataSyncStatus. * Possible values include: 'ForDownTime', 'ForSynchronization' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DataSyncStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DataSyncStatus { - ForDownTime = 'ForDownTime', - ForSynchronization = 'ForSynchronization', -} +export type DataSyncStatus = 'ForDownTime' | 'ForSynchronization'; /** * Defines values for AlternateLocationRecoveryOption. * Possible values include: 'CreateVmIfNotFound', 'NoAction' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AlternateLocationRecoveryOption = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AlternateLocationRecoveryOption { - CreateVmIfNotFound = 'CreateVmIfNotFound', - NoAction = 'NoAction', -} +export type AlternateLocationRecoveryOption = 'CreateVmIfNotFound' | 'NoAction'; /** * Defines values for HyperVReplicaAzureRpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', - * 'LatestProcessed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HyperVReplicaAzureRpRecoveryPointType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestProcessed' * @readonly * @enum {string} */ -export enum HyperVReplicaAzureRpRecoveryPointType { - Latest = 'Latest', - LatestApplicationConsistent = 'LatestApplicationConsistent', - LatestProcessed = 'LatestProcessed', -} +export type HyperVReplicaAzureRpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestProcessed'; /** * Defines values for InMageV2RpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', - * 'LatestCrashConsistent', 'LatestProcessed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: InMageV2RpRecoveryPointType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', + * 'LatestProcessed' * @readonly * @enum {string} */ -export enum InMageV2RpRecoveryPointType { - Latest = 'Latest', - LatestApplicationConsistent = 'LatestApplicationConsistent', - LatestCrashConsistent = 'LatestCrashConsistent', - LatestProcessed = 'LatestProcessed', -} +export type InMageV2RpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; /** * Defines values for RpInMageRecoveryPointType. * Possible values include: 'LatestTime', 'LatestTag', 'Custom' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RpInMageRecoveryPointType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RpInMageRecoveryPointType { - LatestTime = 'LatestTime', - LatestTag = 'LatestTag', - Custom = 'Custom', -} +export type RpInMageRecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; /** * Defines values for SourceSiteOperations. * Possible values include: 'Required', 'NotRequired' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SourceSiteOperations = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SourceSiteOperations { - Required = 'Required', - NotRequired = 'NotRequired', -} +export type SourceSiteOperations = 'Required' | 'NotRequired'; /** * Defines values for LicenseType. * Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: LicenseType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum LicenseType { - NotSpecified = 'NotSpecified', - NoLicenseType = 'NoLicenseType', - WindowsServer = 'WindowsServer', -} +export type LicenseType = 'NotSpecified' | 'NoLicenseType' | 'WindowsServer'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/mappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/mappers.ts index 3ffd2e3caeab..334f3b50b4ba 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/mappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -1912,11 +1912,6 @@ export const ApplyRecoveryPointInputProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ApplyRecoveryPointProviderSpecificInput", className: "ApplyRecoveryPointProviderSpecificInput" } } @@ -2234,11 +2229,6 @@ export const ASRTask: msRest.CompositeMapper = { serializedName: "customDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "TaskTypeDetails", className: "TaskTypeDetails" } }, @@ -2246,11 +2236,6 @@ export const ASRTask: msRest.CompositeMapper = { serializedName: "groupTaskCustomDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "GroupTaskDetails", className: "GroupTaskDetails" } }, @@ -2796,11 +2781,6 @@ export const CreateNetworkMappingInputProperties: msRest.CompositeMapper = { serializedName: "fabricSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "FabricSpecificCreateNetworkMappingInput", className: "FabricSpecificCreateNetworkMappingInput" } } @@ -2835,11 +2815,6 @@ export const CreatePolicyInputProperties: msRest.CompositeMapper = { serializedName: "providerSpecificInput", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "PolicyProviderSpecificInput", className: "PolicyProviderSpecificInput" } } @@ -2877,11 +2852,6 @@ export const CreateProtectionContainerInputProperties: msRest.CompositeMapper = element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ReplicationProviderSpecificContainerCreationInput", className: "ReplicationProviderSpecificContainerCreationInput" } } @@ -2930,11 +2900,6 @@ export const CreateProtectionContainerMappingInputProperties: msRest.CompositeMa serializedName: "providerSpecificInput", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ReplicationProviderSpecificContainerMappingInput", className: "ReplicationProviderSpecificContainerMappingInput" } } @@ -3045,11 +3010,6 @@ export const RecoveryPlanAction: msRest.CompositeMapper = { serializedName: "customDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "RecoveryPlanActionDetails", className: "RecoveryPlanActionDetails" } } @@ -3277,11 +3237,6 @@ export const DisableProtectionInputProperties: msRest.CompositeMapper = { serializedName: "replicationProviderInput", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "DisableProtectionProviderSpecificInput", className: "DisableProtectionProviderSpecificInput" } } @@ -3463,11 +3418,6 @@ export const EnableProtectionInputProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "EnableProtectionProviderSpecificInput", className: "EnableProtectionProviderSpecificInput" } } @@ -3770,11 +3720,6 @@ export const EventProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "EventProviderSpecificDetails", className: "EventProviderSpecificDetails" } }, @@ -3782,11 +3727,6 @@ export const EventProperties: msRest.CompositeMapper = { serializedName: "eventSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "EventSpecificDetails", className: "EventSpecificDetails" } }, @@ -3943,11 +3883,6 @@ export const FabricProperties: msRest.CompositeMapper = { serializedName: "customDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "FabricSpecificDetails", className: "FabricSpecificDetails" } }, @@ -4001,11 +3936,6 @@ export const FabricCreationInputProperties: msRest.CompositeMapper = { serializedName: "customDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "FabricSpecificCreationInput", className: "FabricSpecificCreationInput" } } @@ -7650,11 +7580,6 @@ export const JobProperties: msRest.CompositeMapper = { serializedName: "customDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "JobDetails", className: "JobDetails" } } @@ -8243,11 +8168,6 @@ export const NetworkMappingProperties: msRest.CompositeMapper = { serializedName: "fabricSpecificSettings", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "NetworkMappingFabricSpecificSettings", className: "NetworkMappingFabricSpecificSettings" } } @@ -8324,11 +8244,6 @@ export const PlannedFailoverInputProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ProviderSpecificFailoverInput", className: "ProviderSpecificFailoverInput" } } @@ -8369,11 +8284,6 @@ export const PolicyProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "PolicyProviderSpecificDetails", className: "PolicyProviderSpecificDetails" } } @@ -8646,11 +8556,6 @@ export const ProtectableItemProperties: msRest.CompositeMapper = { serializedName: "customDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ConfigurationSettings", className: "ConfigurationSettings" } } @@ -8842,11 +8747,6 @@ export const ProtectionContainerMappingProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ProtectionContainerMappingProviderSpecificDetails", className: "ProtectionContainerMappingProviderSpecificDetails" } }, @@ -9378,11 +9278,6 @@ export const RecoveryPlanPlannedFailoverInputProperties: msRest.CompositeMapper element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", className: "RecoveryPlanProviderSpecificFailoverInput" } } @@ -9547,11 +9442,6 @@ export const RecoveryPlanTestFailoverInputProperties: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", className: "RecoveryPlanProviderSpecificFailoverInput" } } @@ -9606,11 +9496,6 @@ export const RecoveryPlanUnplannedFailoverInputProperties: msRest.CompositeMappe element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", className: "RecoveryPlanProviderSpecificFailoverInput" } } @@ -9660,11 +9545,6 @@ export const RecoveryPointProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ProviderSpecificRecoveryPointDetails", className: "ProviderSpecificRecoveryPointDetails" } } @@ -10089,11 +9969,6 @@ export const ReplicationProtectedItemProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ReplicationProviderSpecificSettings", className: "ReplicationProviderSpecificSettings" } }, @@ -10202,11 +10077,6 @@ export const ReverseReplicationInputProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ReverseReplicationProviderSpecificInput", className: "ReverseReplicationProviderSpecificInput" } } @@ -10420,11 +10290,6 @@ export const SwitchProtectionInputProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "SwitchProtectionProviderSpecificInput", className: "SwitchProtectionProviderSpecificInput" } } @@ -10635,11 +10500,6 @@ export const TestFailoverInputProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ProviderSpecificFailoverInput", className: "ProviderSpecificFailoverInput" } } @@ -10741,11 +10601,6 @@ export const UnplannedFailoverInputProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ProviderSpecificFailoverInput", className: "ProviderSpecificFailoverInput" } } @@ -10825,11 +10680,6 @@ export const UpdateNetworkMappingInputProperties: msRest.CompositeMapper = { serializedName: "fabricSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "FabricSpecificUpdateNetworkMappingInput", className: "FabricSpecificUpdateNetworkMappingInput" } } @@ -10864,11 +10714,6 @@ export const UpdatePolicyInputProperties: msRest.CompositeMapper = { serializedName: "replicationProviderSettings", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "PolicyProviderSpecificInput", className: "PolicyProviderSpecificInput" } } @@ -10903,11 +10748,6 @@ export const UpdateProtectionContainerMappingInputProperties: msRest.CompositeMa serializedName: "providerSpecificInput", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput", className: "ReplicationProviderSpecificUpdateContainerMappingInput" } } @@ -11075,11 +10915,6 @@ export const UpdateReplicationProtectedItemInputProperties: msRest.CompositeMapp serializedName: "providerSpecificDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "UpdateReplicationProtectedItemProviderInput", className: "UpdateReplicationProtectedItemProviderInput" } } diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/parameters.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/parameters.ts index 1b33c0e2b665..a7bf383ee3f7 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/parameters.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/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-recoveryservices-siterecovery/lib/operations/operations.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/operations.ts index e44d53a8ae0d..93e4f8979113 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/operations.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/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"; @@ -42,7 +42,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/recoveryPoints.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/recoveryPoints.ts index 40ed1fb3a0a3..eebe79ec88d8 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/recoveryPoints.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/recoveryPoints.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/recoveryPointsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class RecoveryPoints { * @param callback The callback */ listByReplicationProtectedItems(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationProtectedItems(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationProtectedItems(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -91,7 +91,7 @@ export class RecoveryPoints { * @param callback The callback */ get(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, recoveryPointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, recoveryPointName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, recoveryPointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -123,7 +123,7 @@ export class RecoveryPoints { * @param callback The callback */ listByReplicationProtectedItemsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationProtectedItemsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationProtectedItemsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationAlertSettings.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationAlertSettings.ts index 08cbbc251e3f..695b196b8e90 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationAlertSettings.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationAlertSettings.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/replicationAlertSettingsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class ReplicationAlertSettings { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class ReplicationAlertSettings { * @param callback The callback */ get(alertSettingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(alertSettingName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(alertSettingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { alertSettingName, @@ -102,7 +102,7 @@ export class ReplicationAlertSettings { * @param callback The callback */ create(alertSettingName: string, request: Models.ConfigureAlertRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(alertSettingName: string, request: Models.ConfigureAlertRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(alertSettingName: string, request: Models.ConfigureAlertRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { alertSettingName, @@ -132,7 +132,7 @@ export class ReplicationAlertSettings { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationEvents.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationEvents.ts index aabb74753dc5..6cfc2a14ded8 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationEvents.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationEvents.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/replicationEventsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class ReplicationEvents { * @param callback The callback */ list(options: Models.ReplicationEventsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.ReplicationEventsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.ReplicationEventsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class ReplicationEvents { * @param callback The callback */ get(eventName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(eventName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(eventName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { eventName, @@ -99,7 +99,7 @@ export class ReplicationEvents { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationFabrics.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationFabrics.ts index d1329aac384a..63c772b877e9 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationFabrics.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationFabrics.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/replicationFabricsMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class ReplicationFabrics { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -71,7 +71,7 @@ export class ReplicationFabrics { * @param callback The callback */ get(fabricName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -312,7 +312,7 @@ export class ReplicationFabrics { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationJobs.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationJobs.ts index 7ae26741075e..fb2ac84965b2 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationJobs.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationJobs.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/replicationJobsMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class ReplicationJobs { * @param callback The callback */ list(options: Models.ReplicationJobsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.ReplicationJobsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.ReplicationJobsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -71,7 +71,7 @@ export class ReplicationJobs { * @param callback The callback */ get(jobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(jobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(jobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobName, @@ -219,7 +219,7 @@ export class ReplicationJobs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationLogicalNetworks.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationLogicalNetworks.ts index 8227795a4a3d..fa371cb47086 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationLogicalNetworks.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationLogicalNetworks.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/replicationLogicalNetworksMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class ReplicationLogicalNetworks { * @param callback The callback */ listByReplicationFabrics(fabricName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -77,7 +77,7 @@ export class ReplicationLogicalNetworks { * @param callback The callback */ get(fabricName: string, logicalNetworkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, logicalNetworkName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, logicalNetworkName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -107,7 +107,7 @@ export class ReplicationLogicalNetworks { * @param callback The callback */ listByReplicationFabricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationFabricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationFabricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationNetworkMappings.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationNetworkMappings.ts index 519d900b2649..68456734a9af 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationNetworkMappings.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationNetworkMappings.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/replicationNetworkMappingsMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class ReplicationNetworkMappings { * @param callback The callback */ listByReplicationNetworks(fabricName: string, networkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationNetworks(fabricName: string, networkName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationNetworks(fabricName: string, networkName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -85,7 +85,7 @@ export class ReplicationNetworkMappings { * @param callback The callback */ get(fabricName: string, networkName: string, networkMappingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, networkName: string, networkMappingName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, networkName: string, networkMappingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -157,7 +157,7 @@ export class ReplicationNetworkMappings { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -252,7 +252,7 @@ export class ReplicationNetworkMappings { * @param callback The callback */ listByReplicationNetworksNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationNetworksNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationNetworksNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -281,7 +281,7 @@ export class ReplicationNetworkMappings { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationNetworks.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationNetworks.ts index 053e98c0dc73..fd550486e5f3 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationNetworks.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationNetworks.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/replicationNetworksMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class ReplicationNetworks { * @param callback The callback */ listByReplicationFabrics(fabricName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -77,7 +77,7 @@ export class ReplicationNetworks { * @param callback The callback */ get(fabricName: string, networkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, networkName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, networkName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -104,7 +104,7 @@ export class ReplicationNetworks { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -132,7 +132,7 @@ export class ReplicationNetworks { * @param callback The callback */ listByReplicationFabricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationFabricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationFabricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -161,7 +161,7 @@ export class ReplicationNetworks { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationPolicies.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationPolicies.ts index 8a792ed34c29..ad5a7e8193bf 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationPolicies.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationPolicies.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/replicationPoliciesMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class ReplicationPolicies { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -71,7 +71,7 @@ export class ReplicationPolicies { * @param callback The callback */ get(policyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(policyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(policyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { policyName, @@ -193,7 +193,7 @@ export class ReplicationPolicies { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectableItems.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectableItems.ts index d73d7d6c6fa1..4c2d2bc2768c 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectableItems.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectableItems.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/replicationProtectableItemsMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class ReplicationProtectableItems { * @param callback The callback */ listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options: Models.ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams, callback: msRest.ServiceCallback): void; - listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: Models.ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: Models.ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -85,7 +85,7 @@ export class ReplicationProtectableItems { * @param callback The callback */ get(fabricName: string, protectionContainerName: string, protectableItemName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, protectionContainerName: string, protectableItemName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, protectionContainerName: string, protectableItemName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -117,7 +117,7 @@ export class ReplicationProtectableItems { * @param callback The callback */ listByReplicationProtectionContainersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectedItems.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectedItems.ts index 42a4ccd2d4c0..8d142df82139 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectedItems.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectedItems.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/replicationProtectedItemsMappers"; import * as Parameters from "../models/parameters"; @@ -49,7 +49,7 @@ export class ReplicationProtectedItems { * @param callback The callback */ listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -85,7 +85,7 @@ export class ReplicationProtectedItems { * @param callback The callback */ get(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -312,7 +312,7 @@ export class ReplicationProtectedItems { * @param callback The callback */ list(options: Models.ReplicationProtectedItemsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.ReplicationProtectedItemsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.ReplicationProtectedItemsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -641,7 +641,7 @@ export class ReplicationProtectedItems { * @param callback The callback */ listByReplicationProtectionContainersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -670,7 +670,7 @@ export class ReplicationProtectedItems { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectionContainerMappings.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectionContainerMappings.ts index b0933e52808b..1e218a24293f 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectionContainerMappings.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectionContainerMappings.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/replicationProtectionContainerMappingsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ReplicationProtectionContainerMappings { * @param callback The callback */ listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -86,7 +86,7 @@ export class ReplicationProtectionContainerMappings { * @param callback The callback */ get(fabricName: string, protectionContainerName: string, mappingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, protectionContainerName: string, mappingName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, protectionContainerName: string, mappingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -173,7 +173,7 @@ export class ReplicationProtectionContainerMappings { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -292,7 +292,7 @@ export class ReplicationProtectionContainerMappings { * @param callback The callback */ listByReplicationProtectionContainersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -321,7 +321,7 @@ export class ReplicationProtectionContainerMappings { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectionContainers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectionContainers.ts index 89662c9af1e8..16e8b340f1e0 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectionContainers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectionContainers.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/replicationProtectionContainersMappers"; import * as Parameters from "../models/parameters"; @@ -46,7 +46,7 @@ export class ReplicationProtectionContainers { * @param callback The callback */ listByReplicationFabrics(fabricName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -78,7 +78,7 @@ export class ReplicationProtectionContainers { * @param callback The callback */ get(fabricName: string, protectionContainerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -162,7 +162,7 @@ export class ReplicationProtectionContainers { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -274,7 +274,7 @@ export class ReplicationProtectionContainers { * @param callback The callback */ listByReplicationFabricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationFabricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationFabricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -303,7 +303,7 @@ export class ReplicationProtectionContainers { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationRecoveryPlans.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationRecoveryPlans.ts index ee7623a54db6..9caa6fa4d2cb 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationRecoveryPlans.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationRecoveryPlans.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/replicationRecoveryPlansMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class ReplicationRecoveryPlans { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -71,7 +71,7 @@ export class ReplicationRecoveryPlans { * @param callback The callback */ get(recoveryPlanName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(recoveryPlanName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(recoveryPlanName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { recoveryPlanName, @@ -379,7 +379,7 @@ export class ReplicationRecoveryPlans { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationRecoveryServicesProviders.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationRecoveryServicesProviders.ts index 54115dcdc044..804dbd4a710c 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationRecoveryServicesProviders.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationRecoveryServicesProviders.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/replicationRecoveryServicesProvidersMappers"; import * as Parameters from "../models/parameters"; @@ -46,7 +46,7 @@ export class ReplicationRecoveryServicesProviders { * @param callback The callback */ listByReplicationFabrics(fabricName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -78,7 +78,7 @@ export class ReplicationRecoveryServicesProviders { * @param callback The callback */ get(fabricName: string, providerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, providerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, providerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -148,7 +148,7 @@ export class ReplicationRecoveryServicesProviders { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -237,7 +237,7 @@ export class ReplicationRecoveryServicesProviders { * @param callback The callback */ listByReplicationFabricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationFabricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationFabricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -267,7 +267,7 @@ export class ReplicationRecoveryServicesProviders { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationStorageClassificationMappings.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationStorageClassificationMappings.ts index 0afe795e12c0..e2e925e8f5e4 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationStorageClassificationMappings.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationStorageClassificationMappings.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/replicationStorageClassificationMappingsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ReplicationStorageClassificationMappings { * @param callback The callback */ listByReplicationStorageClassifications(fabricName: string, storageClassificationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationStorageClassifications(fabricName: string, storageClassificationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationStorageClassifications(fabricName: string, storageClassificationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -86,7 +86,7 @@ export class ReplicationStorageClassificationMappings { * @param callback The callback */ get(fabricName: string, storageClassificationName: string, storageClassificationMappingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, storageClassificationName: string, storageClassificationMappingName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, storageClassificationName: string, storageClassificationMappingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -143,7 +143,7 @@ export class ReplicationStorageClassificationMappings { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -216,7 +216,7 @@ export class ReplicationStorageClassificationMappings { * @param callback The callback */ listByReplicationStorageClassificationsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationStorageClassificationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationStorageClassificationsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -245,7 +245,7 @@ export class ReplicationStorageClassificationMappings { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationStorageClassifications.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationStorageClassifications.ts index 482f3b8e419f..7e6adb1712fb 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationStorageClassifications.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationStorageClassifications.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/replicationStorageClassificationsMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class ReplicationStorageClassifications { * @param callback The callback */ listByReplicationFabrics(fabricName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -77,7 +77,7 @@ export class ReplicationStorageClassifications { * @param callback The callback */ get(fabricName: string, storageClassificationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, storageClassificationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, storageClassificationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -104,7 +104,7 @@ export class ReplicationStorageClassifications { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -132,7 +132,7 @@ export class ReplicationStorageClassifications { * @param callback The callback */ listByReplicationFabricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationFabricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationFabricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -161,7 +161,7 @@ export class ReplicationStorageClassifications { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationVaultHealth.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationVaultHealth.ts index ed61036995d5..a797b0132ad2 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationVaultHealth.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationVaultHealth.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/replicationVaultHealthMappers"; import * as Parameters from "../models/parameters"; @@ -43,7 +43,7 @@ export class ReplicationVaultHealth { * @param callback The callback */ get(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationvCenters.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationvCenters.ts index 9d50439633bc..ea2de6343fbc 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationvCenters.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationvCenters.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/replicationvCentersMappers"; import * as Parameters from "../models/parameters"; @@ -46,7 +46,7 @@ export class ReplicationvCenters { * @param callback The callback */ listByReplicationFabrics(fabricName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -78,7 +78,7 @@ export class ReplicationvCenters { * @param callback The callback */ get(fabricName: string, vCenterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, vCenterName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, vCenterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -146,7 +146,7 @@ export class ReplicationvCenters { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -235,7 +235,7 @@ export class ReplicationvCenters { * @param callback The callback */ listByReplicationFabricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationFabricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationFabricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -264,7 +264,7 @@ export class ReplicationvCenters { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/targetComputeSizes.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/targetComputeSizes.ts index e7788d7aba38..891dad9dc3bf 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/targetComputeSizes.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/targetComputeSizes.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/targetComputeSizesMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class TargetComputeSizes { * @param callback The callback */ listByReplicationProtectedItems(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationProtectedItems(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationProtectedItems(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -82,7 +82,7 @@ export class TargetComputeSizes { * @param callback The callback */ listByReplicationProtectedItemsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationProtectedItemsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByReplicationProtectedItemsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClient.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClient.ts index e7b2f7495d25..8bfa137ac28f 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClient.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClient.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-recoveryservices-siterecovery/lib/siteRecoveryManagementClientContext.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClientContext.ts index 6394082a472a..23d375cb660f 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClientContext.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClientContext.ts @@ -9,27 +9,18 @@ */ 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-recoveryservices-siterecovery"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class SiteRecoveryManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - resourceGroupName: string; - resourceName: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the SiteRecoveryManagementClient class. @@ -57,6 +48,11 @@ export class SiteRecoveryManagementClientContext extends msRestAzure.AzureServic if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-01-10'; @@ -69,7 +65,6 @@ export class SiteRecoveryManagementClientContext extends msRestAzure.AzureServic this.resourceGroupName = resourceGroupName; this.resourceName = resourceName; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-recoveryservices-siterecovery/package.json b/packages/@azure/arm-recoveryservices-siterecovery/package.json index d39959dceaa4..62108278a021 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/package.json +++ b/packages/@azure/arm-recoveryservices-siterecovery/package.json @@ -4,8 +4,8 @@ "description": "SiteRecoveryManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-recoveryservices-siterecovery.js.map'\" -o ./dist/arm-recoveryservices-siterecovery.min.js ./dist/arm-recoveryservices-siterecovery.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-recoveryservices-siterecovery/rollup.config.js b/packages/@azure/arm-recoveryservices-siterecovery/rollup.config.js index bbb8d8c1aba0..9c289477ee2a 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/rollup.config.js +++ b/packages/@azure/arm-recoveryservices-siterecovery/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/siteRecoveryManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-recoveryservices-siterecovery.js", format: "umd", name: "Azure.ArmRecoveryservicesSiterecovery", 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-recoveryservices-siterecovery/tsconfig.esm.json b/packages/@azure/arm-recoveryservices-siterecovery/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-recoveryservices-siterecovery/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-recoveryservices-siterecovery/tsconfig.json b/packages/@azure/arm-recoveryservices-siterecovery/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/tsconfig.json +++ b/packages/@azure/arm-recoveryservices-siterecovery/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-recoveryservices-siterecovery/webpack.config.js b/packages/@azure/arm-recoveryservices-siterecovery/webpack.config.js deleted file mode 100644 index 482c6a37b560..000000000000 --- a/packages/@azure/arm-recoveryservices-siterecovery/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/siteRecoveryManagementClient.js', - devtool: 'source-map', - output: { - filename: 'siteRecoveryManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'siteRecoveryManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-recoveryservices/.npmignore b/packages/@azure/arm-recoveryservices/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-recoveryservices/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-recoveryservices/README.md b/packages/@azure/arm-recoveryservices/README.md index 0dc3ba4228fc..6b9649915bf1 100644 --- a/packages/@azure/arm-recoveryservices/README.md +++ b/packages/@azure/arm-recoveryservices/README.md @@ -1,24 +1,34 @@ -# Azure RecoveryServicesClient SDK for JavaScript +## Azure RecoveryServicesClient SDK for JavaScript + This package contains an isomorphic SDK for RecoveryServicesClient. -## 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-recoveryservices ``` +### How to use + +#### nodejs - Authentication, client creation and list replicationUsages as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list replicationUsages as an example written in TypeScript. +##### Sample code ```ts -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 { RecoveryServicesClient, RecoveryServicesModels, RecoveryServicesMappers } from "@azure/arm-recoveryservices"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list replicationUsages as an example written in JavaScript. +#### browser - Authentication, client creation and list replicationUsages as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-recoveryservices 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-recoveryservices/lib/models/index.ts b/packages/@azure/arm-recoveryservices/lib/models/index.ts index 8b3cb638e247..1ed26b202ce2 100644 --- a/packages/@azure/arm-recoveryservices/lib/models/index.ts +++ b/packages/@azure/arm-recoveryservices/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -812,91 +812,44 @@ export interface VaultUsageList extends Array { /** * Defines values for AuthType. - * Possible values include: 'Invalid', 'ACS', 'AAD', 'AccessControlService', - * 'AzureActiveDirectory' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AuthType = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'ACS', 'AAD', 'AccessControlService', 'AzureActiveDirectory' * @readonly * @enum {string} */ -export enum AuthType { - Invalid = 'Invalid', - ACS = 'ACS', - AAD = 'AAD', - AccessControlService = 'AccessControlService', - AzureActiveDirectory = 'AzureActiveDirectory', -} +export type AuthType = 'Invalid' | 'ACS' | 'AAD' | 'AccessControlService' | 'AzureActiveDirectory'; /** * Defines values for SkuName. * Possible values include: 'Standard', 'RS0' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuName = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuName { - Standard = 'Standard', - RS0 = 'RS0', -} +export type SkuName = 'Standard' | 'RS0'; /** * Defines values for VaultUpgradeState. * Possible values include: 'Unknown', 'InProgress', 'Upgraded', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: VaultUpgradeState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum VaultUpgradeState { - Unknown = 'Unknown', - InProgress = 'InProgress', - Upgraded = 'Upgraded', - Failed = 'Failed', -} +export type VaultUpgradeState = 'Unknown' | 'InProgress' | 'Upgraded' | 'Failed'; /** * Defines values for TriggerType. * Possible values include: 'UserTriggered', 'ForcedUpgrade' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TriggerType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TriggerType { - UserTriggered = 'UserTriggered', - ForcedUpgrade = 'ForcedUpgrade', -} +export type TriggerType = 'UserTriggered' | 'ForcedUpgrade'; /** * Defines values for UsagesUnit. - * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', - * 'CountPerSecond', 'BytesPerSecond' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UsagesUnit = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', + * 'BytesPerSecond' * @readonly * @enum {string} */ -export enum UsagesUnit { - Count = 'Count', - Bytes = 'Bytes', - Seconds = 'Seconds', - Percent = 'Percent', - CountPerSecond = 'CountPerSecond', - BytesPerSecond = 'BytesPerSecond', -} +export type UsagesUnit = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSecond' | 'BytesPerSecond'; /** * Contains response data for the create operation. diff --git a/packages/@azure/arm-recoveryservices/lib/models/mappers.ts b/packages/@azure/arm-recoveryservices/lib/models/mappers.ts index f917bdfdaf39..bc573004b464 100644 --- a/packages/@azure/arm-recoveryservices/lib/models/mappers.ts +++ b/packages/@azure/arm-recoveryservices/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -236,11 +236,6 @@ export const VaultCertificateResponse: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "authType", - clientName: "authType" - }, - uberParent: "ResourceCertificateDetails", className: "ResourceCertificateDetails" } } diff --git a/packages/@azure/arm-recoveryservices/lib/models/parameters.ts b/packages/@azure/arm-recoveryservices/lib/models/parameters.ts index b33b19993669..33aa1d93df9a 100644 --- a/packages/@azure/arm-recoveryservices/lib/models/parameters.ts +++ b/packages/@azure/arm-recoveryservices/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-recoveryservices/lib/operations/operations.ts b/packages/@azure/arm-recoveryservices/lib/operations/operations.ts index 8e789fa592e0..f0eab571a15d 100644 --- a/packages/@azure/arm-recoveryservices/lib/operations/operations.ts +++ b/packages/@azure/arm-recoveryservices/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices/lib/operations/registeredIdentities.ts b/packages/@azure/arm-recoveryservices/lib/operations/registeredIdentities.ts index f037b78a487d..040c94ffce15 100644 --- a/packages/@azure/arm-recoveryservices/lib/operations/registeredIdentities.ts +++ b/packages/@azure/arm-recoveryservices/lib/operations/registeredIdentities.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Mappers from "../models/registeredIdentitiesMappers"; import * as Parameters from "../models/parameters"; import { RecoveryServicesClientContext } from "../recoveryServicesClientContext"; @@ -52,7 +52,7 @@ export class RegisteredIdentities { * @param callback The callback */ deleteMethod(resourceGroupName: string, vaultName: string, identityName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, vaultName: string, identityName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, vaultName: string, identityName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-recoveryservices/lib/operations/replicationUsages.ts b/packages/@azure/arm-recoveryservices/lib/operations/replicationUsages.ts index 899f1377ec62..0a2683ba5e13 100644 --- a/packages/@azure/arm-recoveryservices/lib/operations/replicationUsages.ts +++ b/packages/@azure/arm-recoveryservices/lib/operations/replicationUsages.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/replicationUsagesMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ReplicationUsages { * @param callback The callback */ list(resourceGroupName: string, vaultName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-recoveryservices/lib/operations/usages.ts b/packages/@azure/arm-recoveryservices/lib/operations/usages.ts index ef758f3fc245..74162ea089e5 100644 --- a/packages/@azure/arm-recoveryservices/lib/operations/usages.ts +++ b/packages/@azure/arm-recoveryservices/lib/operations/usages.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/usagesMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Usages { * @param callback The callback */ listByVaults(resourceGroupName: string, vaultName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByVaults(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByVaults(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-recoveryservices/lib/operations/vaultCertificates.ts b/packages/@azure/arm-recoveryservices/lib/operations/vaultCertificates.ts index a288f049a825..0fc34688ba83 100644 --- a/packages/@azure/arm-recoveryservices/lib/operations/vaultCertificates.ts +++ b/packages/@azure/arm-recoveryservices/lib/operations/vaultCertificates.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/vaultCertificatesMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class VaultCertificates { * @param callback The callback */ create(resourceGroupName: string, vaultName: string, certificateName: string, certificateRequest: Models.CertificateRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, vaultName: string, certificateName: string, certificateRequest: Models.CertificateRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, vaultName: string, certificateName: string, certificateRequest: Models.CertificateRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-recoveryservices/lib/operations/vaultExtendedInfoOperations.ts b/packages/@azure/arm-recoveryservices/lib/operations/vaultExtendedInfoOperations.ts index 8a17d66027db..6b589975f222 100644 --- a/packages/@azure/arm-recoveryservices/lib/operations/vaultExtendedInfoOperations.ts +++ b/packages/@azure/arm-recoveryservices/lib/operations/vaultExtendedInfoOperations.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/vaultExtendedInfoOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class VaultExtendedInfoOperations { * @param callback The callback */ get(resourceGroupName: string, vaultName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -88,7 +88,7 @@ export class VaultExtendedInfoOperations { * @param callback The callback */ createOrUpdate(resourceGroupName: string, vaultName: string, resourceResourceExtendedInfoDetails: Models.VaultExtendedInfoResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, vaultName: string, resourceResourceExtendedInfoDetails: Models.VaultExtendedInfoResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, vaultName: string, resourceResourceExtendedInfoDetails: Models.VaultExtendedInfoResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -127,7 +127,7 @@ export class VaultExtendedInfoOperations { * @param callback The callback */ update(resourceGroupName: string, vaultName: string, resourceResourceExtendedInfoDetails: Models.VaultExtendedInfoResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, vaultName: string, resourceResourceExtendedInfoDetails: Models.VaultExtendedInfoResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, vaultName: string, resourceResourceExtendedInfoDetails: Models.VaultExtendedInfoResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-recoveryservices/lib/operations/vaults.ts b/packages/@azure/arm-recoveryservices/lib/operations/vaults.ts index 69d5f966cf90..0fe7787ec8f5 100644 --- a/packages/@azure/arm-recoveryservices/lib/operations/vaults.ts +++ b/packages/@azure/arm-recoveryservices/lib/operations/vaults.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/vaultsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class Vaults { * @param callback The callback */ listBySubscriptionId(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionId(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionId(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -71,7 +71,7 @@ export class Vaults { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -105,7 +105,7 @@ export class Vaults { * @param callback The callback */ get(resourceGroupName: string, vaultName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -143,7 +143,7 @@ export class Vaults { * @param callback The callback */ createOrUpdate(resourceGroupName: string, vaultName: string, vault: Models.Vault, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, vaultName: string, vault: Models.Vault, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, vaultName: string, vault: Models.Vault, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -179,7 +179,7 @@ export class Vaults { * @param callback The callback */ deleteMethod(resourceGroupName: string, vaultName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -217,7 +217,7 @@ export class Vaults { * @param callback The callback */ update(resourceGroupName: string, vaultName: string, vault: Models.PatchVault, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, vaultName: string, vault: Models.PatchVault, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, vaultName: string, vault: Models.PatchVault, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -247,7 +247,7 @@ export class Vaults { * @param callback The callback */ listBySubscriptionIdNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionIdNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionIdNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -275,7 +275,7 @@ export class Vaults { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservices/lib/recoveryServicesClient.ts b/packages/@azure/arm-recoveryservices/lib/recoveryServicesClient.ts index d25424dd6f47..a3d0f4d3ce81 100644 --- a/packages/@azure/arm-recoveryservices/lib/recoveryServicesClient.ts +++ b/packages/@azure/arm-recoveryservices/lib/recoveryServicesClient.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-recoveryservices/lib/recoveryServicesClientContext.ts b/packages/@azure/arm-recoveryservices/lib/recoveryServicesClientContext.ts index 310dd3981a65..0d09938f2d15 100644 --- a/packages/@azure/arm-recoveryservices/lib/recoveryServicesClientContext.ts +++ b/packages/@azure/arm-recoveryservices/lib/recoveryServicesClientContext.ts @@ -9,23 +9,16 @@ */ 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-recoveryservices"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class RecoveryServicesClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the RecoveryServicesClient class. @@ -44,6 +37,11 @@ export class RecoveryServicesClientContext extends msRestAzure.AzureServiceClien if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2016-06-01'; @@ -54,7 +52,6 @@ export class RecoveryServicesClientContext extends msRestAzure.AzureServiceClien this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-recoveryservices/package.json b/packages/@azure/arm-recoveryservices/package.json index 50dee451d97b..8bffe8dfa267 100644 --- a/packages/@azure/arm-recoveryservices/package.json +++ b/packages/@azure/arm-recoveryservices/package.json @@ -4,8 +4,8 @@ "description": "RecoveryServicesClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-recoveryservices.js.map'\" -o ./dist/arm-recoveryservices.min.js ./dist/arm-recoveryservices.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-recoveryservices/rollup.config.js b/packages/@azure/arm-recoveryservices/rollup.config.js index 61e86a240454..a2f166c698c9 100644 --- a/packages/@azure/arm-recoveryservices/rollup.config.js +++ b/packages/@azure/arm-recoveryservices/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/recoveryServicesClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-recoveryservices.js", format: "umd", name: "Azure.ArmRecoveryservices", 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-recoveryservices/tsconfig.json b/packages/@azure/arm-recoveryservices/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-recoveryservices/tsconfig.json +++ b/packages/@azure/arm-recoveryservices/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-recoveryservicesbackup/.npmignore b/packages/@azure/arm-recoveryservicesbackup/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-recoveryservicesbackup/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-recoveryservicesbackup/README.md b/packages/@azure/arm-recoveryservicesbackup/README.md index f2ac3bbd60c2..da6cf741d901 100644 --- a/packages/@azure/arm-recoveryservicesbackup/README.md +++ b/packages/@azure/arm-recoveryservicesbackup/README.md @@ -1,24 +1,34 @@ -# Azure RecoveryServicesBackupClient SDK for JavaScript +## Azure RecoveryServicesBackupClient SDK for JavaScript + This package contains an isomorphic SDK for RecoveryServicesBackupClient. -## 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-recoveryservicesbackup ``` +### How to use + +#### nodejs - Authentication, client creation and get protectionIntent as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get protectionIntent as an example written in TypeScript. +##### Sample code ```ts -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 { RecoveryServicesBackupClient, RecoveryServicesBackupModels, RecoveryServicesBackupMappers } from "@azure/arm-recoveryservicesbackup"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -37,7 +47,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get protectionIntent as an example written in JavaScript. +#### browser - Authentication, client creation and get protectionIntent as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -46,11 +65,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-recoveryservicesbackup 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-recoveryservicesbackup/lib/models/index.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/index.ts index 6085082056d8..680278e2ccfc 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/index.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -8321,129 +8321,54 @@ export interface ClientDiscoveryResponse extends Array"someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', + * 'ProtectionStopped', 'ProtectionPaused' * @readonly * @enum {string} */ -export enum ProtectionState { - Invalid = 'Invalid', - IRPending = 'IRPending', - Protected = 'Protected', - ProtectionError = 'ProtectionError', - ProtectionStopped = 'ProtectionStopped', - ProtectionPaused = 'ProtectionPaused', -} +export type ProtectionState = 'Invalid' | 'IRPending' | 'Protected' | 'ProtectionError' | 'ProtectionStopped' | 'ProtectionPaused'; /** * Defines values for HealthStatus. - * Possible values include: 'Passed', 'ActionRequired', 'ActionSuggested', - * 'Invalid' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HealthStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid' * @readonly * @enum {string} */ -export enum HealthStatus { - Passed = 'Passed', - ActionRequired = 'ActionRequired', - ActionSuggested = 'ActionSuggested', - Invalid = 'Invalid', -} +export type HealthStatus = 'Passed' | 'ActionRequired' | 'ActionSuggested' | 'Invalid'; /** * Defines values for WorkloadType. - * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', - * 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: WorkloadType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', + * 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', + * 'AzureFileShare', 'SAPHanaDatabase' * @readonly * @enum {string} */ -export enum WorkloadType { - Invalid = 'Invalid', - VM = 'VM', - FileFolder = 'FileFolder', - AzureSqlDb = 'AzureSqlDb', - SQLDB = 'SQLDB', - Exchange = 'Exchange', - Sharepoint = 'Sharepoint', - VMwareVM = 'VMwareVM', - SystemState = 'SystemState', - Client = 'Client', - GenericDataSource = 'GenericDataSource', - SQLDataBase = 'SQLDataBase', - AzureFileShare = 'AzureFileShare', - SAPHanaDatabase = 'SAPHanaDatabase', -} +export type WorkloadType = 'Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase'; /** * Defines values for RecoveryType. - * Possible values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', - * 'RestoreDisks' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RecoveryType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', 'RestoreDisks' * @readonly * @enum {string} */ -export enum RecoveryType { - Invalid = 'Invalid', - OriginalLocation = 'OriginalLocation', - AlternateLocation = 'AlternateLocation', - RestoreDisks = 'RestoreDisks', -} +export type RecoveryType = 'Invalid' | 'OriginalLocation' | 'AlternateLocation' | 'RestoreDisks'; /** * Defines values for CopyOptions. - * Possible values include: 'Invalid', 'CreateCopy', 'Skip', 'Overwrite', - * 'FailOnConflict' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CopyOptions = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'CreateCopy', 'Skip', 'Overwrite', 'FailOnConflict' * @readonly * @enum {string} */ -export enum CopyOptions { - Invalid = 'Invalid', - CreateCopy = 'CreateCopy', - Skip = 'Skip', - Overwrite = 'Overwrite', - FailOnConflict = 'FailOnConflict', -} +export type CopyOptions = 'Invalid' | 'CreateCopy' | 'Skip' | 'Overwrite' | 'FailOnConflict'; /** * Defines values for RestoreRequestType. * Possible values include: 'Invalid', 'FullShareRestore', 'ItemLevelRestore' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RestoreRequestType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RestoreRequestType { - Invalid = 'Invalid', - FullShareRestore = 'FullShareRestore', - ItemLevelRestore = 'ItemLevelRestore', -} +export type RestoreRequestType = 'Invalid' | 'FullShareRestore' | 'ItemLevelRestore'; /** * Defines values for JobSupportedAction. @@ -8451,790 +8376,330 @@ export enum RestoreRequestType { * @readonly * @enum {string} */ -export enum JobSupportedAction { - Invalid = 'Invalid', - Cancellable = 'Cancellable', - Retriable = 'Retriable', -} +export type JobSupportedAction = 'Invalid' | 'Cancellable' | 'Retriable'; /** * Defines values for ProtectedItemState. - * Possible values include: 'Invalid', 'IRPending', 'Protected', - * 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProtectedItemState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', + * 'ProtectionStopped', 'ProtectionPaused' * @readonly * @enum {string} */ -export enum ProtectedItemState { - Invalid = 'Invalid', - IRPending = 'IRPending', - Protected = 'Protected', - ProtectionError = 'ProtectionError', - ProtectionStopped = 'ProtectionStopped', - ProtectionPaused = 'ProtectionPaused', -} +export type ProtectedItemState = 'Invalid' | 'IRPending' | 'Protected' | 'ProtectionError' | 'ProtectionStopped' | 'ProtectionPaused'; /** * Defines values for SupportStatus. - * Possible values include: 'Invalid', 'Supported', 'DefaultOFF', 'DefaultON', - * 'NotSupported' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SupportStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Supported', 'DefaultOFF', 'DefaultON', 'NotSupported' * @readonly * @enum {string} */ -export enum SupportStatus { - Invalid = 'Invalid', - Supported = 'Supported', - DefaultOFF = 'DefaultOFF', - DefaultON = 'DefaultON', - NotSupported = 'NotSupported', -} +export type SupportStatus = 'Invalid' | 'Supported' | 'DefaultOFF' | 'DefaultON' | 'NotSupported'; /** * Defines values for LastBackupStatus. * Possible values include: 'Invalid', 'Healthy', 'Unhealthy', 'IRPending' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: LastBackupStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum LastBackupStatus { - Invalid = 'Invalid', - Healthy = 'Healthy', - Unhealthy = 'Unhealthy', - IRPending = 'IRPending', -} +export type LastBackupStatus = 'Invalid' | 'Healthy' | 'Unhealthy' | 'IRPending'; /** * Defines values for ProtectedItemHealthStatus. - * Possible values include: 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', - * 'IRPending' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProtectedItemHealthStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending' * @readonly * @enum {string} */ -export enum ProtectedItemHealthStatus { - Invalid = 'Invalid', - Healthy = 'Healthy', - Unhealthy = 'Unhealthy', - NotReachable = 'NotReachable', - IRPending = 'IRPending', -} +export type ProtectedItemHealthStatus = 'Invalid' | 'Healthy' | 'Unhealthy' | 'NotReachable' | 'IRPending'; /** * Defines values for PolicyType. - * Possible values include: 'Invalid', 'Full', 'Differential', 'Log', - * 'CopyOnlyFull' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PolicyType = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Full', 'Differential', 'Log', 'CopyOnlyFull' * @readonly * @enum {string} */ -export enum PolicyType { - Invalid = 'Invalid', - Full = 'Full', - Differential = 'Differential', - Log = 'Log', - CopyOnlyFull = 'CopyOnlyFull', -} +export type PolicyType = 'Invalid' | 'Full' | 'Differential' | 'Log' | 'CopyOnlyFull'; /** * Defines values for OverwriteOptions. * Possible values include: 'Invalid', 'FailOnConflict', 'Overwrite' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OverwriteOptions = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OverwriteOptions { - Invalid = 'Invalid', - FailOnConflict = 'FailOnConflict', - Overwrite = 'Overwrite', -} +export type OverwriteOptions = 'Invalid' | 'FailOnConflict' | 'Overwrite'; /** * Defines values for WorkloadItemType. - * Possible values include: 'Invalid', 'SQLInstance', 'SQLDataBase', - * 'SAPHanaSystem', 'SAPHanaDatabase' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: WorkloadItemType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'SQLInstance', 'SQLDataBase', 'SAPHanaSystem', + * 'SAPHanaDatabase' * @readonly * @enum {string} */ -export enum WorkloadItemType { - Invalid = 'Invalid', - SQLInstance = 'SQLInstance', - SQLDataBase = 'SQLDataBase', - SAPHanaSystem = 'SAPHanaSystem', - SAPHanaDatabase = 'SAPHanaDatabase', -} +export type WorkloadItemType = 'Invalid' | 'SQLInstance' | 'SQLDataBase' | 'SAPHanaSystem' | 'SAPHanaDatabase'; /** * Defines values for SQLDataDirectoryType. * Possible values include: 'Invalid', 'Data', 'Log' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SQLDataDirectoryType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SQLDataDirectoryType { - Invalid = 'Invalid', - Data = 'Data', - Log = 'Log', -} +export type SQLDataDirectoryType = 'Invalid' | 'Data' | 'Log'; /** * Defines values for UsagesUnit. - * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', - * 'CountPerSecond', 'BytesPerSecond' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UsagesUnit = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', + * 'BytesPerSecond' * @readonly * @enum {string} */ -export enum UsagesUnit { - Count = 'Count', - Bytes = 'Bytes', - Seconds = 'Seconds', - Percent = 'Percent', - CountPerSecond = 'CountPerSecond', - BytesPerSecond = 'BytesPerSecond', -} +export type UsagesUnit = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSecond' | 'BytesPerSecond'; /** * Defines values for DataSourceType. - * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', - * 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DataSourceType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', + * 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', + * 'AzureFileShare', 'SAPHanaDatabase' * @readonly * @enum {string} */ -export enum DataSourceType { - Invalid = 'Invalid', - VM = 'VM', - FileFolder = 'FileFolder', - AzureSqlDb = 'AzureSqlDb', - SQLDB = 'SQLDB', - Exchange = 'Exchange', - Sharepoint = 'Sharepoint', - VMwareVM = 'VMwareVM', - SystemState = 'SystemState', - Client = 'Client', - GenericDataSource = 'GenericDataSource', - SQLDataBase = 'SQLDataBase', - AzureFileShare = 'AzureFileShare', - SAPHanaDatabase = 'SAPHanaDatabase', -} +export type DataSourceType = 'Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase'; /** * Defines values for ProtectionStatus. - * Possible values include: 'Invalid', 'NotProtected', 'Protecting', - * 'Protected', 'ProtectionFailed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProtectionStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', + * 'ProtectionFailed' * @readonly * @enum {string} */ -export enum ProtectionStatus { - Invalid = 'Invalid', - NotProtected = 'NotProtected', - Protecting = 'Protecting', - Protected = 'Protected', - ProtectionFailed = 'ProtectionFailed', -} +export type ProtectionStatus = 'Invalid' | 'NotProtected' | 'Protecting' | 'Protected' | 'ProtectionFailed'; /** * Defines values for FabricName. * Possible values include: 'Invalid', 'Azure' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FabricName = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FabricName { - Invalid = 'Invalid', - Azure = 'Azure', -} +export type FabricName = 'Invalid' | 'Azure'; /** * Defines values for Type. * Possible values include: 'Invalid', 'BackupProtectedItemCountSummary', * 'BackupProtectionContainerCountSummary' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Type = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Type { - Invalid = 'Invalid', - BackupProtectedItemCountSummary = 'BackupProtectedItemCountSummary', - BackupProtectionContainerCountSummary = 'BackupProtectionContainerCountSummary', -} +export type Type = 'Invalid' | 'BackupProtectedItemCountSummary' | 'BackupProtectionContainerCountSummary'; /** * Defines values for RetentionDurationType. * Possible values include: 'Invalid', 'Days', 'Weeks', 'Months', 'Years' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RetentionDurationType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RetentionDurationType { - Invalid = 'Invalid', - Days = 'Days', - Weeks = 'Weeks', - Months = 'Months', - Years = 'Years', -} +export type RetentionDurationType = 'Invalid' | 'Days' | 'Weeks' | 'Months' | 'Years'; /** * Defines values for BackupManagementType. - * Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', - * 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', - * 'DefaultBackup' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BackupManagementType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', + * 'AzureSql', 'AzureStorage', 'AzureWorkload', 'DefaultBackup' * @readonly * @enum {string} */ -export enum BackupManagementType { - Invalid = 'Invalid', - AzureIaasVM = 'AzureIaasVM', - MAB = 'MAB', - DPM = 'DPM', - AzureBackupServer = 'AzureBackupServer', - AzureSql = 'AzureSql', - AzureStorage = 'AzureStorage', - AzureWorkload = 'AzureWorkload', - DefaultBackup = 'DefaultBackup', -} +export type BackupManagementType = 'Invalid' | 'AzureIaasVM' | 'MAB' | 'DPM' | 'AzureBackupServer' | 'AzureSql' | 'AzureStorage' | 'AzureWorkload' | 'DefaultBackup'; /** * Defines values for JobStatus. * Possible values include: 'Invalid', 'InProgress', 'Completed', 'Failed', * 'CompletedWithWarnings', 'Cancelled', 'Cancelling' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: JobStatus = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum JobStatus { - Invalid = 'Invalid', - InProgress = 'InProgress', - Completed = 'Completed', - Failed = 'Failed', - CompletedWithWarnings = 'CompletedWithWarnings', - Cancelled = 'Cancelled', - Cancelling = 'Cancelling', -} +export type JobStatus = 'Invalid' | 'InProgress' | 'Completed' | 'Failed' | 'CompletedWithWarnings' | 'Cancelled' | 'Cancelling'; /** * Defines values for JobOperationType. - * Possible values include: 'Invalid', 'Register', 'UnRegister', - * 'ConfigureBackup', 'Backup', 'Restore', 'DisableBackup', 'DeleteBackupData' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: JobOperationType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Register', 'UnRegister', 'ConfigureBackup', 'Backup', + * 'Restore', 'DisableBackup', 'DeleteBackupData' * @readonly * @enum {string} */ -export enum JobOperationType { - Invalid = 'Invalid', - Register = 'Register', - UnRegister = 'UnRegister', - ConfigureBackup = 'ConfigureBackup', - Backup = 'Backup', - Restore = 'Restore', - DisableBackup = 'DisableBackup', - DeleteBackupData = 'DeleteBackupData', -} +export type JobOperationType = 'Invalid' | 'Register' | 'UnRegister' | 'ConfigureBackup' | 'Backup' | 'Restore' | 'DisableBackup' | 'DeleteBackupData'; /** * Defines values for DayOfWeek. - * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', - * 'Thursday', 'Friday', 'Saturday' + * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + * 'Saturday' * @readonly * @enum {string} */ -export enum DayOfWeek { - Sunday = 'Sunday', - Monday = 'Monday', - Tuesday = 'Tuesday', - Wednesday = 'Wednesday', - Thursday = 'Thursday', - Friday = 'Friday', - Saturday = 'Saturday', -} +export type DayOfWeek = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'; /** * Defines values for RetentionScheduleFormat. * Possible values include: 'Invalid', 'Daily', 'Weekly' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RetentionScheduleFormat = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RetentionScheduleFormat { - Invalid = 'Invalid', - Daily = 'Daily', - Weekly = 'Weekly', -} +export type RetentionScheduleFormat = 'Invalid' | 'Daily' | 'Weekly'; /** * Defines values for WeekOfMonth. - * Possible values include: 'First', 'Second', 'Third', 'Fourth', 'Last', - * 'Invalid' + * Possible values include: 'First', 'Second', 'Third', 'Fourth', 'Last', 'Invalid' * @readonly * @enum {string} */ -export enum WeekOfMonth { - First = 'First', - Second = 'Second', - Third = 'Third', - Fourth = 'Fourth', - Last = 'Last', - Invalid = 'Invalid', -} +export type WeekOfMonth = 'First' | 'Second' | 'Third' | 'Fourth' | 'Last' | 'Invalid'; /** * Defines values for MonthOfYear. - * Possible values include: 'Invalid', 'January', 'February', 'March', 'April', - * 'May', 'June', 'July', 'August', 'September', 'October', 'November', - * 'December' + * Possible values include: 'Invalid', 'January', 'February', 'March', 'April', 'May', 'June', + * 'July', 'August', 'September', 'October', 'November', 'December' * @readonly * @enum {string} */ -export enum MonthOfYear { - Invalid = 'Invalid', - January = 'January', - February = 'February', - March = 'March', - April = 'April', - May = 'May', - June = 'June', - July = 'July', - August = 'August', - September = 'September', - October = 'October', - November = 'November', - December = 'December', -} +export type MonthOfYear = 'Invalid' | 'January' | 'February' | 'March' | 'April' | 'May' | 'June' | 'July' | 'August' | 'September' | 'October' | 'November' | 'December'; /** * Defines values for MabServerType. - * Possible values include: 'Invalid', 'Unknown', 'IaasVMContainer', - * 'IaasVMServiceContainer', 'DPMContainer', 'AzureBackupServerContainer', - * 'MABContainer', 'Cluster', 'AzureSqlContainer', 'Windows', 'VCenter', - * 'VMAppContainer', 'SQLAGWorkLoadContainer', 'StorageContainer', + * Possible values include: 'Invalid', 'Unknown', 'IaasVMContainer', 'IaasVMServiceContainer', + * 'DPMContainer', 'AzureBackupServerContainer', 'MABContainer', 'Cluster', 'AzureSqlContainer', + * 'Windows', 'VCenter', 'VMAppContainer', 'SQLAGWorkLoadContainer', 'StorageContainer', * 'GenericContainer' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MabServerType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum MabServerType { - Invalid = 'Invalid', - Unknown = 'Unknown', - IaasVMContainer = 'IaasVMContainer', - IaasVMServiceContainer = 'IaasVMServiceContainer', - DPMContainer = 'DPMContainer', - AzureBackupServerContainer = 'AzureBackupServerContainer', - MABContainer = 'MABContainer', - Cluster = 'Cluster', - AzureSqlContainer = 'AzureSqlContainer', - Windows = 'Windows', - VCenter = 'VCenter', - VMAppContainer = 'VMAppContainer', - SQLAGWorkLoadContainer = 'SQLAGWorkLoadContainer', - StorageContainer = 'StorageContainer', - GenericContainer = 'GenericContainer', -} +export type MabServerType = 'Invalid' | 'Unknown' | 'IaasVMContainer' | 'IaasVMServiceContainer' | 'DPMContainer' | 'AzureBackupServerContainer' | 'MABContainer' | 'Cluster' | 'AzureSqlContainer' | 'Windows' | 'VCenter' | 'VMAppContainer' | 'SQLAGWorkLoadContainer' | 'StorageContainer' | 'GenericContainer'; /** * Defines values for HttpStatusCode. - * Possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', - * 'Accepted', 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', - * 'PartialContent', 'MultipleChoices', 'Ambiguous', 'MovedPermanently', - * 'Moved', 'Found', 'Redirect', 'SeeOther', 'RedirectMethod', 'NotModified', - * 'UseProxy', 'Unused', 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', - * 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', - * 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', - * 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', - * 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestUriTooLong', - * 'UnsupportedMediaType', 'RequestedRangeNotSatisfiable', 'ExpectationFailed', - * 'UpgradeRequired', 'InternalServerError', 'NotImplemented', 'BadGateway', - * 'ServiceUnavailable', 'GatewayTimeout', 'HttpVersionNotSupported' + * Possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', 'Accepted', + * 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', 'PartialContent', 'MultipleChoices', + * 'Ambiguous', 'MovedPermanently', 'Moved', 'Found', 'Redirect', 'SeeOther', 'RedirectMethod', + * 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', + * 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', 'MethodNotAllowed', 'NotAcceptable', + * 'ProxyAuthenticationRequired', 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', + * 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestUriTooLong', 'UnsupportedMediaType', + * 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', + * 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout', + * 'HttpVersionNotSupported' * @readonly * @enum {string} */ -export enum HttpStatusCode { - Continue = 'Continue', - SwitchingProtocols = 'SwitchingProtocols', - OK = 'OK', - Created = 'Created', - Accepted = 'Accepted', - NonAuthoritativeInformation = 'NonAuthoritativeInformation', - NoContent = 'NoContent', - ResetContent = 'ResetContent', - PartialContent = 'PartialContent', - MultipleChoices = 'MultipleChoices', - Ambiguous = 'Ambiguous', - MovedPermanently = 'MovedPermanently', - Moved = 'Moved', - Found = 'Found', - Redirect = 'Redirect', - SeeOther = 'SeeOther', - RedirectMethod = 'RedirectMethod', - NotModified = 'NotModified', - UseProxy = 'UseProxy', - Unused = 'Unused', - TemporaryRedirect = 'TemporaryRedirect', - RedirectKeepVerb = 'RedirectKeepVerb', - BadRequest = 'BadRequest', - Unauthorized = 'Unauthorized', - PaymentRequired = 'PaymentRequired', - Forbidden = 'Forbidden', - NotFound = 'NotFound', - MethodNotAllowed = 'MethodNotAllowed', - NotAcceptable = 'NotAcceptable', - ProxyAuthenticationRequired = 'ProxyAuthenticationRequired', - RequestTimeout = 'RequestTimeout', - Conflict = 'Conflict', - Gone = 'Gone', - LengthRequired = 'LengthRequired', - PreconditionFailed = 'PreconditionFailed', - RequestEntityTooLarge = 'RequestEntityTooLarge', - RequestUriTooLong = 'RequestUriTooLong', - UnsupportedMediaType = 'UnsupportedMediaType', - RequestedRangeNotSatisfiable = 'RequestedRangeNotSatisfiable', - ExpectationFailed = 'ExpectationFailed', - UpgradeRequired = 'UpgradeRequired', - InternalServerError = 'InternalServerError', - NotImplemented = 'NotImplemented', - BadGateway = 'BadGateway', - ServiceUnavailable = 'ServiceUnavailable', - GatewayTimeout = 'GatewayTimeout', - HttpVersionNotSupported = 'HttpVersionNotSupported', -} +export type HttpStatusCode = 'Continue' | 'SwitchingProtocols' | 'OK' | 'Created' | 'Accepted' | 'NonAuthoritativeInformation' | 'NoContent' | 'ResetContent' | 'PartialContent' | 'MultipleChoices' | 'Ambiguous' | 'MovedPermanently' | 'Moved' | 'Found' | 'Redirect' | 'SeeOther' | 'RedirectMethod' | 'NotModified' | 'UseProxy' | 'Unused' | 'TemporaryRedirect' | 'RedirectKeepVerb' | 'BadRequest' | 'Unauthorized' | 'PaymentRequired' | 'Forbidden' | 'NotFound' | 'MethodNotAllowed' | 'NotAcceptable' | 'ProxyAuthenticationRequired' | 'RequestTimeout' | 'Conflict' | 'Gone' | 'LengthRequired' | 'PreconditionFailed' | 'RequestEntityTooLarge' | 'RequestUriTooLong' | 'UnsupportedMediaType' | 'RequestedRangeNotSatisfiable' | 'ExpectationFailed' | 'UpgradeRequired' | 'InternalServerError' | 'NotImplemented' | 'BadGateway' | 'ServiceUnavailable' | 'GatewayTimeout' | 'HttpVersionNotSupported'; /** * Defines values for ValidationStatus. * Possible values include: 'Invalid', 'Succeeded', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ValidationStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ValidationStatus { - Invalid = 'Invalid', - Succeeded = 'Succeeded', - Failed = 'Failed', -} +export type ValidationStatus = 'Invalid' | 'Succeeded' | 'Failed'; /** * Defines values for CreateMode. * Possible values include: 'Invalid', 'Default', 'Recover' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CreateMode = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CreateMode { - Invalid = 'Invalid', - Default = 'Default', - Recover = 'Recover', -} +export type CreateMode = 'Invalid' | 'Default' | 'Recover'; /** * Defines values for HealthState. - * Possible values include: 'Passed', 'ActionRequired', 'ActionSuggested', - * 'Invalid' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HealthState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid' * @readonly * @enum {string} */ -export enum HealthState { - Passed = 'Passed', - ActionRequired = 'ActionRequired', - ActionSuggested = 'ActionSuggested', - Invalid = 'Invalid', -} +export type HealthState = 'Passed' | 'ActionRequired' | 'ActionSuggested' | 'Invalid'; /** * Defines values for IntentItemType. - * Possible values include: 'Invalid', 'SQLInstance', - * 'SQLAvailabilityGroupContainer' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: IntentItemType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'SQLInstance', 'SQLAvailabilityGroupContainer' * @readonly * @enum {string} */ -export enum IntentItemType { - Invalid = 'Invalid', - SQLInstance = 'SQLInstance', - SQLAvailabilityGroupContainer = 'SQLAvailabilityGroupContainer', -} +export type IntentItemType = 'Invalid' | 'SQLInstance' | 'SQLAvailabilityGroupContainer'; /** * Defines values for ScheduleRunType. * Possible values include: 'Invalid', 'Daily', 'Weekly' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ScheduleRunType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ScheduleRunType { - Invalid = 'Invalid', - Daily = 'Daily', - Weekly = 'Weekly', -} +export type ScheduleRunType = 'Invalid' | 'Daily' | 'Weekly'; /** * Defines values for AzureFileShareType. * Possible values include: 'Invalid', 'XSMB', 'XSync' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AzureFileShareType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AzureFileShareType { - Invalid = 'Invalid', - XSMB = 'XSMB', - XSync = 'XSync', -} +export type AzureFileShareType = 'Invalid' | 'XSMB' | 'XSync'; /** * Defines values for InquiryStatus. * Possible values include: 'Invalid', 'Success', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: InquiryStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum InquiryStatus { - Invalid = 'Invalid', - Success = 'Success', - Failed = 'Failed', -} +export type InquiryStatus = 'Invalid' | 'Success' | 'Failed'; /** * Defines values for BackupType. - * Possible values include: 'Invalid', 'Full', 'Differential', 'Log', - * 'CopyOnlyFull' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BackupType = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Full', 'Differential', 'Log', 'CopyOnlyFull' * @readonly * @enum {string} */ -export enum BackupType { - Invalid = 'Invalid', - Full = 'Full', - Differential = 'Differential', - Log = 'Log', - CopyOnlyFull = 'CopyOnlyFull', -} +export type BackupType = 'Invalid' | 'Full' | 'Differential' | 'Log' | 'CopyOnlyFull'; /** * Defines values for RestorePointType. * Possible values include: 'Invalid', 'Full', 'Log', 'Differential' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RestorePointType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RestorePointType { - Invalid = 'Invalid', - Full = 'Full', - Log = 'Log', - Differential = 'Differential', -} +export type RestorePointType = 'Invalid' | 'Full' | 'Log' | 'Differential'; /** * Defines values for StorageType. * Possible values include: 'Invalid', 'GeoRedundant', 'LocallyRedundant' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: StorageType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum StorageType { - Invalid = 'Invalid', - GeoRedundant = 'GeoRedundant', - LocallyRedundant = 'LocallyRedundant', -} +export type StorageType = 'Invalid' | 'GeoRedundant' | 'LocallyRedundant'; /** * Defines values for StorageTypeState. * Possible values include: 'Invalid', 'Locked', 'Unlocked' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: StorageTypeState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum StorageTypeState { - Invalid = 'Invalid', - Locked = 'Locked', - Unlocked = 'Unlocked', -} +export type StorageTypeState = 'Invalid' | 'Locked' | 'Unlocked'; /** * Defines values for EnhancedSecurityState. * Possible values include: 'Invalid', 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EnhancedSecurityState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum EnhancedSecurityState { - Invalid = 'Invalid', - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type EnhancedSecurityState = 'Invalid' | 'Enabled' | 'Disabled'; /** * Defines values for ContainerType. - * Possible values include: 'Invalid', 'Unknown', 'IaasVMContainer', - * 'IaasVMServiceContainer', 'DPMContainer', 'AzureBackupServerContainer', - * 'MABContainer', 'Cluster', 'AzureSqlContainer', 'Windows', 'VCenter', - * 'VMAppContainer', 'SQLAGWorkLoadContainer', 'StorageContainer', + * Possible values include: 'Invalid', 'Unknown', 'IaasVMContainer', 'IaasVMServiceContainer', + * 'DPMContainer', 'AzureBackupServerContainer', 'MABContainer', 'Cluster', 'AzureSqlContainer', + * 'Windows', 'VCenter', 'VMAppContainer', 'SQLAGWorkLoadContainer', 'StorageContainer', * 'GenericContainer' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ContainerType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ContainerType { - Invalid = 'Invalid', - Unknown = 'Unknown', - IaasVMContainer = 'IaasVMContainer', - IaasVMServiceContainer = 'IaasVMServiceContainer', - DPMContainer = 'DPMContainer', - AzureBackupServerContainer = 'AzureBackupServerContainer', - MABContainer = 'MABContainer', - Cluster = 'Cluster', - AzureSqlContainer = 'AzureSqlContainer', - Windows = 'Windows', - VCenter = 'VCenter', - VMAppContainer = 'VMAppContainer', - SQLAGWorkLoadContainer = 'SQLAGWorkLoadContainer', - StorageContainer = 'StorageContainer', - GenericContainer = 'GenericContainer', -} +export type ContainerType = 'Invalid' | 'Unknown' | 'IaasVMContainer' | 'IaasVMServiceContainer' | 'DPMContainer' | 'AzureBackupServerContainer' | 'MABContainer' | 'Cluster' | 'AzureSqlContainer' | 'Windows' | 'VCenter' | 'VMAppContainer' | 'SQLAGWorkLoadContainer' | 'StorageContainer' | 'GenericContainer'; /** * Defines values for RestorePointQueryType. - * Possible values include: 'Invalid', 'Full', 'Log', 'Differential', - * 'FullAndDifferential', 'All' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RestorePointQueryType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Full', 'Log', 'Differential', 'FullAndDifferential', 'All' * @readonly * @enum {string} */ -export enum RestorePointQueryType { - Invalid = 'Invalid', - Full = 'Full', - Log = 'Log', - Differential = 'Differential', - FullAndDifferential = 'FullAndDifferential', - All = 'All', -} +export type RestorePointQueryType = 'Invalid' | 'Full' | 'Log' | 'Differential' | 'FullAndDifferential' | 'All'; /** * Defines values for RecoveryPointTierType. @@ -9242,11 +8707,7 @@ export enum RestorePointQueryType { * @readonly * @enum {string} */ -export enum RecoveryPointTierType { - Invalid = 'Invalid', - InstantRP = 'InstantRP', - HardenedRP = 'HardenedRP', -} +export type RecoveryPointTierType = 'Invalid' | 'InstantRP' | 'HardenedRP'; /** * Defines values for RecoveryPointTierStatus. @@ -9254,62 +8715,25 @@ export enum RecoveryPointTierType { * @readonly * @enum {string} */ -export enum RecoveryPointTierStatus { - Invalid = 'Invalid', - Valid = 'Valid', - Disabled = 'Disabled', - Deleted = 'Deleted', -} +export type RecoveryPointTierStatus = 'Invalid' | 'Valid' | 'Disabled' | 'Deleted'; /** * Defines values for BackupItemType. - * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', - * 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BackupItemType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', + * 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', + * 'AzureFileShare', 'SAPHanaDatabase' * @readonly * @enum {string} */ -export enum BackupItemType { - Invalid = 'Invalid', - VM = 'VM', - FileFolder = 'FileFolder', - AzureSqlDb = 'AzureSqlDb', - SQLDB = 'SQLDB', - Exchange = 'Exchange', - Sharepoint = 'Sharepoint', - VMwareVM = 'VMwareVM', - SystemState = 'SystemState', - Client = 'Client', - GenericDataSource = 'GenericDataSource', - SQLDataBase = 'SQLDataBase', - AzureFileShare = 'AzureFileShare', - SAPHanaDatabase = 'SAPHanaDatabase', -} +export type BackupItemType = 'Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase'; /** * Defines values for OperationStatusValues. - * Possible values include: 'Invalid', 'InProgress', 'Succeeded', 'Failed', - * 'Canceled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OperationStatusValues = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'InProgress', 'Succeeded', 'Failed', 'Canceled' * @readonly * @enum {string} */ -export enum OperationStatusValues { - Invalid = 'Invalid', - InProgress = 'InProgress', - Succeeded = 'Succeeded', - Failed = 'Failed', - Canceled = 'Canceled', -} +export type OperationStatusValues = 'Invalid' | 'InProgress' | 'Succeeded' | 'Failed' | 'Canceled'; /** * Contains response data for the validate operation. diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/mappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/mappers.ts index 120c367b576b..0fe403bf5184 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/mappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -294,11 +294,6 @@ export const AzureFileShareProtectionPolicy: msRest.CompositeMapper = { serializedName: "schedulePolicy", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "schedulePolicyType", - clientName: "schedulePolicyType" - }, - uberParent: "SchedulePolicy", className: "SchedulePolicy" } }, @@ -306,11 +301,6 @@ export const AzureFileShareProtectionPolicy: msRest.CompositeMapper = { serializedName: "retentionPolicy", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "retentionPolicyType", - clientName: "retentionPolicyType" - }, - uberParent: "RetentionPolicy", className: "RetentionPolicy" } }, @@ -921,11 +911,6 @@ export const AzureIaaSVMProtectionPolicy: msRest.CompositeMapper = { serializedName: "schedulePolicy", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "schedulePolicyType", - clientName: "schedulePolicyType" - }, - uberParent: "SchedulePolicy", className: "SchedulePolicy" } }, @@ -933,11 +918,6 @@ export const AzureIaaSVMProtectionPolicy: msRest.CompositeMapper = { serializedName: "retentionPolicy", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "retentionPolicyType", - clientName: "retentionPolicyType" - }, - uberParent: "RetentionPolicy", className: "RetentionPolicy" } }, @@ -1114,11 +1094,6 @@ export const AzureSqlProtectionPolicy: msRest.CompositeMapper = { serializedName: "retentionPolicy", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "retentionPolicyType", - clientName: "retentionPolicyType" - }, - uberParent: "RetentionPolicy", className: "RetentionPolicy" } } @@ -1519,11 +1494,6 @@ export const SubProtectionPolicy: msRest.CompositeMapper = { serializedName: "schedulePolicy", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "schedulePolicyType", - clientName: "schedulePolicyType" - }, - uberParent: "SchedulePolicy", className: "SchedulePolicy" } }, @@ -1531,11 +1501,6 @@ export const SubProtectionPolicy: msRest.CompositeMapper = { serializedName: "retentionPolicy", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "retentionPolicyType", - clientName: "retentionPolicyType" - }, - uberParent: "RetentionPolicy", className: "RetentionPolicy" } } @@ -3081,11 +3046,6 @@ export const JobResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "jobType", - clientName: "jobType" - }, - uberParent: "Job", className: "Job" } } @@ -3660,11 +3620,6 @@ export const MabProtectionPolicy: msRest.CompositeMapper = { serializedName: "schedulePolicy", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "schedulePolicyType", - clientName: "schedulePolicyType" - }, - uberParent: "SchedulePolicy", className: "SchedulePolicy" } }, @@ -3672,11 +3627,6 @@ export const MabProtectionPolicy: msRest.CompositeMapper = { serializedName: "retentionPolicy", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "retentionPolicyType", - clientName: "retentionPolicyType" - }, - uberParent: "RetentionPolicy", className: "RetentionPolicy" } } @@ -3800,11 +3750,6 @@ export const OperationResultInfoBaseResource: msRest.CompositeMapper = { serializedName: "operation", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "objectType", - clientName: "objectType" - }, - uberParent: "OperationResultInfoBase", className: "OperationResultInfoBase" } } @@ -3961,11 +3906,6 @@ export const ProtectedItemResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "protectedItemType", - clientName: "protectedItemType" - }, - uberParent: "ProtectedItem", className: "ProtectedItem" } } @@ -4018,11 +3958,6 @@ export const ProtectionIntentResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "protectionIntentItemType", - clientName: "protectionIntentItemType" - }, - uberParent: "ProtectionIntent", className: "ProtectionIntent" } } @@ -4069,11 +4004,6 @@ export const ProtectionPolicyResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "backupManagementType", - clientName: "backupManagementType" - }, - uberParent: "ProtectionPolicy", className: "ProtectionPolicy" } } @@ -4208,11 +4138,6 @@ export const ValidateRestoreOperationRequest: msRest.CompositeMapper = { serializedName: "restoreRequest", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "objectType", - clientName: "objectType" - }, - uberParent: "RestoreRequest", className: "RestoreRequest" } } @@ -5725,11 +5650,6 @@ export const BackupEngineBaseResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "backupEngineType", - clientName: "backupEngineType" - }, - uberParent: "BackupEngineBase", className: "BackupEngineBase" } } @@ -5748,11 +5668,6 @@ export const BackupRequestResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "objectType", - clientName: "objectType" - }, - uberParent: "BackupRequest", className: "BackupRequest" } } @@ -6662,11 +6577,6 @@ export const ILRRequestResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "objectType", - clientName: "objectType" - }, - uberParent: "ILRRequest", className: "ILRRequest" } } @@ -6933,11 +6843,6 @@ export const OperationStatus: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "objectType", - clientName: "objectType" - }, - uberParent: "OperationStatusExtendedInfo", className: "OperationStatusExtendedInfo" } } @@ -7030,11 +6935,6 @@ export const ProtectableContainerResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "protectableContainerType", - clientName: "protectableContainerType" - }, - uberParent: "ProtectableContainer", className: "ProtectableContainer" } } @@ -7053,11 +6953,6 @@ export const ProtectionContainerResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "containerType", - clientName: "containerType" - }, - uberParent: "ProtectionContainer", className: "ProtectionContainer" } } @@ -7076,11 +6971,6 @@ export const RecoveryPointResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "objectType", - clientName: "objectType" - }, - uberParent: "RecoveryPoint", className: "RecoveryPoint" } } @@ -7099,11 +6989,6 @@ export const RestoreRequestResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "objectType", - clientName: "objectType" - }, - uberParent: "RestoreRequest", className: "RestoreRequest" } } @@ -7150,11 +7035,6 @@ export const WorkloadItemResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "workloadItemType", - clientName: "workloadItemType" - }, - uberParent: "WorkloadItem", className: "WorkloadItem" } } @@ -7173,11 +7053,6 @@ export const WorkloadProtectableItemResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "protectableItemType", - clientName: "protectableItemType" - }, - uberParent: "WorkloadProtectableItem", className: "WorkloadProtectableItem" } } diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/parameters.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/parameters.ts index 12ceba5ec604..e11db3319070 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/parameters.ts +++ b/packages/@azure/arm-recoveryservicesbackup/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-recoveryservicesbackup/lib/operations/backupEngines.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupEngines.ts index 485db4623ea6..a733e2a93551 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupEngines.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupEngines.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/backupEnginesMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class BackupEngines { * @param callback The callback */ list(vaultName: string, resourceGroupName: string, options: Models.BackupEnginesListOptionalParams, callback: msRest.ServiceCallback): void; - list(vaultName: string, resourceGroupName: string, options?: Models.BackupEnginesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(vaultName: string, resourceGroupName: string, options?: Models.BackupEnginesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -89,7 +89,7 @@ export class BackupEngines { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, backupEngineName: string, options: Models.BackupEnginesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, backupEngineName: string, options?: Models.BackupEnginesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, backupEngineName: string, options?: Models.BackupEnginesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -120,7 +120,7 @@ export class BackupEngines { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupJobs.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupJobs.ts index fa8aa6612ac9..9ed8b3b4aeb4 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupJobs.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupJobs.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/backupJobsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class BackupJobs { * @param callback The callback */ list(vaultName: string, resourceGroupName: string, options: Models.BackupJobsListOptionalParams, callback: msRest.ServiceCallback): void; - list(vaultName: string, resourceGroupName: string, options?: Models.BackupJobsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(vaultName: string, resourceGroupName: string, options?: Models.BackupJobsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -79,7 +79,7 @@ export class BackupJobs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupOperationResults.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupOperationResults.ts index 1915d5c07b65..b39a6c44309e 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupOperationResults.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupOperationResults.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Mappers from "../models/backupOperationResultsMappers"; import * as Parameters from "../models/parameters"; import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext"; @@ -58,7 +58,7 @@ export class BackupOperationResults { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupOperationStatuses.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupOperationStatuses.ts index 1bdbe0897ef3..5d6afd3d537a 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupOperationStatuses.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupOperationStatuses.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/backupOperationStatusesMappers"; import * as Parameters from "../models/parameters"; @@ -57,7 +57,7 @@ export class BackupOperationStatuses { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupPolicies.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupPolicies.ts index 08fa46302daa..e06da0bb47c2 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupPolicies.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupPolicies.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/backupPoliciesMappers"; import * as Parameters from "../models/parameters"; @@ -52,7 +52,7 @@ export class BackupPolicies { * @param callback The callback */ list(vaultName: string, resourceGroupName: string, options: Models.BackupPoliciesListOptionalParams, callback: msRest.ServiceCallback): void; - list(vaultName: string, resourceGroupName: string, options?: Models.BackupPoliciesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(vaultName: string, resourceGroupName: string, options?: Models.BackupPoliciesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -83,7 +83,7 @@ export class BackupPolicies { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectableItems.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectableItems.ts index ad5fe0063cf7..6f0edfe8c5ca 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectableItems.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectableItems.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/backupProtectableItemsMappers"; import * as Parameters from "../models/parameters"; @@ -52,7 +52,7 @@ export class BackupProtectableItems { * @param callback The callback */ list(vaultName: string, resourceGroupName: string, options: Models.BackupProtectableItemsListOptionalParams, callback: msRest.ServiceCallback): void; - list(vaultName: string, resourceGroupName: string, options?: Models.BackupProtectableItemsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(vaultName: string, resourceGroupName: string, options?: Models.BackupProtectableItemsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -83,7 +83,7 @@ export class BackupProtectableItems { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectedItems.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectedItems.ts index b6c8c80a68a6..e4f6fa798afa 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectedItems.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectedItems.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/backupProtectedItemsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class BackupProtectedItems { * @param callback The callback */ list(vaultName: string, resourceGroupName: string, options: Models.BackupProtectedItemsListOptionalParams, callback: msRest.ServiceCallback): void; - list(vaultName: string, resourceGroupName: string, options?: Models.BackupProtectedItemsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(vaultName: string, resourceGroupName: string, options?: Models.BackupProtectedItemsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -79,7 +79,7 @@ export class BackupProtectedItems { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectionContainers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectionContainers.ts index 0f71f6cdf9ba..5623d8576d44 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectionContainers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectionContainers.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/backupProtectionContainersMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class BackupProtectionContainers { * @param callback The callback */ list(vaultName: string, resourceGroupName: string, options: Models.BackupProtectionContainersListOptionalParams, callback: msRest.ServiceCallback): void; - list(vaultName: string, resourceGroupName: string, options?: Models.BackupProtectionContainersListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(vaultName: string, resourceGroupName: string, options?: Models.BackupProtectionContainersListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -79,7 +79,7 @@ export class BackupProtectionContainers { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectionIntent.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectionIntent.ts index 9f799dec9890..ca67d77c8e6e 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectionIntent.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectionIntent.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/backupProtectionIntentMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class BackupProtectionIntent { * @param callback The callback */ list(vaultName: string, resourceGroupName: string, options: Models.BackupProtectionIntentListOptionalParams, callback: msRest.ServiceCallback): void; - list(vaultName: string, resourceGroupName: string, options?: Models.BackupProtectionIntentListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(vaultName: string, resourceGroupName: string, options?: Models.BackupProtectionIntentListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -79,7 +79,7 @@ export class BackupProtectionIntent { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceStorageConfigs.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceStorageConfigs.ts index a172b29e9a46..cea2a82afeb2 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceStorageConfigs.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceStorageConfigs.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/backupResourceStorageConfigsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class BackupResourceStorageConfigs { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -88,7 +88,7 @@ export class BackupResourceStorageConfigs { * @param callback The callback */ update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceVaultConfigs.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceVaultConfigs.ts index 5a441947e604..9b0c9efed1c6 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceVaultConfigs.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceVaultConfigs.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/backupResourceVaultConfigsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class BackupResourceVaultConfigs { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -88,7 +88,7 @@ export class BackupResourceVaultConfigs { * @param callback The callback */ update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceVaultConfigResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceVaultConfigResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceVaultConfigResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupStatus.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupStatus.ts index bf373f9a7364..9cd12aa63725 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupStatus.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupStatus.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/backupStatusMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class BackupStatus { * @param callback The callback */ get(azureRegion: string, parameters: Models.BackupStatusRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(azureRegion: string, parameters: Models.BackupStatusRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(azureRegion: string, parameters: Models.BackupStatusRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { azureRegion, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupUsageSummaries.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupUsageSummaries.ts index fe742c78b5a8..89da81fff9f5 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupUsageSummaries.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupUsageSummaries.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/backupUsageSummariesMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class BackupUsageSummaries { * @param callback The callback */ list(vaultName: string, resourceGroupName: string, options: Models.BackupUsageSummariesListOptionalParams, callback: msRest.ServiceCallback): void; - list(vaultName: string, resourceGroupName: string, options?: Models.BackupUsageSummariesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(vaultName: string, resourceGroupName: string, options?: Models.BackupUsageSummariesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupWorkloadItems.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupWorkloadItems.ts index 12ee8e4fe057..e48f71fbe506 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupWorkloadItems.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupWorkloadItems.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/backupWorkloadItemsMappers"; import * as Parameters from "../models/parameters"; @@ -58,7 +58,7 @@ export class BackupWorkloadItems { * @param callback The callback */ list(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options: Models.BackupWorkloadItemsListOptionalParams, callback: msRest.ServiceCallback): void; - list(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options?: Models.BackupWorkloadItemsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options?: Models.BackupWorkloadItemsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -91,7 +91,7 @@ export class BackupWorkloadItems { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backups.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backups.ts index 6c711e2dddb1..bfef7754a48d 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backups.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backups.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/backupsMappers"; import * as Parameters from "../models/parameters"; @@ -64,7 +64,7 @@ export class Backups { * @param callback The callback */ trigger(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, parameters: Models.BackupRequestResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - trigger(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, parameters: Models.BackupRequestResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + trigger(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, parameters: Models.BackupRequestResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/exportJobsOperationResults.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/exportJobsOperationResults.ts index 5f9bba198274..b66608ae2199 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/exportJobsOperationResults.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/exportJobsOperationResults.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/exportJobsOperationResultsMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class ExportJobsOperationResults { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/featureSupport.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/featureSupport.ts index e0f3a54e6f8c..15f90767e2cb 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/featureSupport.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/featureSupport.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/featureSupportMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class FeatureSupport { * @param callback The callback */ validate(azureRegion: string, parameters: Models.FeatureSupportRequestUnion, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validate(azureRegion: string, parameters: Models.FeatureSupportRequestUnion, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + validate(azureRegion: string, parameters: Models.FeatureSupportRequestUnion, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { azureRegion, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/itemLevelRecoveryConnections.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/itemLevelRecoveryConnections.ts index 46f64f63e16e..e3c8da2fd0a6 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/itemLevelRecoveryConnections.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/itemLevelRecoveryConnections.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/itemLevelRecoveryConnectionsMappers"; import * as Parameters from "../models/parameters"; @@ -75,7 +75,7 @@ export class ItemLevelRecoveryConnections { * @param callback The callback */ provision(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, parameters: Models.ILRRequestResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - provision(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, parameters: Models.ILRRequestResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + provision(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, parameters: Models.ILRRequestResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -135,7 +135,7 @@ export class ItemLevelRecoveryConnections { * @param callback The callback */ revoke(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - revoke(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + revoke(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobCancellations.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobCancellations.ts index ba5860edbb30..442f5f77e51f 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobCancellations.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobCancellations.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Mappers from "../models/jobCancellationsMappers"; import * as Parameters from "../models/parameters"; import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext"; @@ -53,7 +53,7 @@ export class JobCancellations { * @param callback The callback */ trigger(vaultName: string, resourceGroupName: string, jobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - trigger(vaultName: string, resourceGroupName: string, jobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + trigger(vaultName: string, resourceGroupName: string, jobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobDetails.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobDetails.ts index ed63fc1d1944..931eef600d36 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobDetails.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobDetails.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/jobDetailsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class JobDetails { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, jobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, jobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, jobName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobOperationResults.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobOperationResults.ts index 861993f4aabd..ee1d580668cb 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobOperationResults.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobOperationResults.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Mappers from "../models/jobOperationResultsMappers"; import * as Parameters from "../models/parameters"; import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext"; @@ -56,7 +56,7 @@ export class JobOperationResults { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, jobName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, jobName: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, jobName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobs.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobs.ts index 480c98c1175c..3ba51f860796 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobs.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/jobs.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/jobsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Jobs { * @param callback The callback */ exportMethod(vaultName: string, resourceGroupName: string, options: Models.JobsExportMethodOptionalParams, callback: msRest.ServiceCallback): void; - exportMethod(vaultName: string, resourceGroupName: string, options?: Models.JobsExportMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + exportMethod(vaultName: string, resourceGroupName: string, options?: Models.JobsExportMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/operation.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/operation.ts index 3ae56a8c1d2f..b889f7551166 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/operation.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/operation.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/operationMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class Operation { * @param callback The callback */ validate(vaultName: string, resourceGroupName: string, parameters: Models.ValidateOperationRequestUnion, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validate(vaultName: string, resourceGroupName: string, parameters: Models.ValidateOperationRequestUnion, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + validate(vaultName: string, resourceGroupName: string, parameters: Models.ValidateOperationRequestUnion, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/operations.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/operations.ts index fde1f58b0f7c..b690a23da25e 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/operations.ts +++ b/packages/@azure/arm-recoveryservicesbackup/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectableContainers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectableContainers.ts index 7ac914ff611e..09cd2204507e 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectableContainers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectableContainers.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/protectableContainersMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class ProtectableContainers { * @param callback The callback */ list(vaultName: string, resourceGroupName: string, fabricName: string, options: Models.ProtectableContainersListOptionalParams, callback: msRest.ServiceCallback): void; - list(vaultName: string, resourceGroupName: string, fabricName: string, options?: Models.ProtectableContainersListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(vaultName: string, resourceGroupName: string, fabricName: string, options?: Models.ProtectableContainersListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -83,7 +83,7 @@ export class ProtectableContainers { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectedItemOperationResults.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectedItemOperationResults.ts index bf5d953fa2d1..480fd2b20e17 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectedItemOperationResults.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectedItemOperationResults.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/protectedItemOperationResultsMappers"; import * as Parameters from "../models/parameters"; @@ -62,7 +62,7 @@ export class ProtectedItemOperationResults { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectedItemOperationStatuses.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectedItemOperationStatuses.ts index 8d4cc9d840c6..0bf71c196187 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectedItemOperationStatuses.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectedItemOperationStatuses.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/protectedItemOperationStatusesMappers"; import * as Parameters from "../models/parameters"; @@ -66,7 +66,7 @@ export class ProtectedItemOperationStatuses { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectedItems.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectedItems.ts index cd250c56d7cd..7b0982b4c2e7 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectedItems.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectedItems.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/protectedItemsMappers"; import * as Parameters from "../models/parameters"; @@ -61,7 +61,7 @@ export class ProtectedItems { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, options: Models.ProtectedItemsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, options?: Models.ProtectedItemsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, options?: Models.ProtectedItemsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -114,7 +114,7 @@ export class ProtectedItems { * @param callback The callback */ createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, parameters: Models.ProtectedItemResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, parameters: Models.ProtectedItemResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, parameters: Models.ProtectedItemResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -164,7 +164,7 @@ export class ProtectedItems { * @param callback The callback */ deleteMethod(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionContainerOperationResults.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionContainerOperationResults.ts index 7dda72a8d158..34e65998a261 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionContainerOperationResults.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionContainerOperationResults.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/protectionContainerOperationResultsMappers"; import * as Parameters from "../models/parameters"; @@ -59,7 +59,7 @@ export class ProtectionContainerOperationResults { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionContainerRefreshOperationResults.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionContainerRefreshOperationResults.ts index f5405d4bb605..70dfaddf31c3 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionContainerRefreshOperationResults.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionContainerRefreshOperationResults.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Mappers from "../models/protectionContainerRefreshOperationResultsMappers"; import * as Parameters from "../models/parameters"; import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext"; @@ -55,7 +55,7 @@ export class ProtectionContainerRefreshOperationResults { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, fabricName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, fabricName: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, fabricName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionContainers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionContainers.ts index 6b715c81320c..7bac5f13ebc6 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionContainers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionContainers.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/protectionContainersMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class ProtectionContainers { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -105,7 +105,7 @@ export class ProtectionContainers { * @param callback The callback */ register(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, parameters: Models.ProtectionContainerResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - register(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, parameters: Models.ProtectionContainerResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + register(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, parameters: Models.ProtectionContainerResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -155,7 +155,7 @@ export class ProtectionContainers { * @param callback The callback */ unregister(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - unregister(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + unregister(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -200,7 +200,7 @@ export class ProtectionContainers { * @param callback The callback */ inquire(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options: Models.ProtectionContainersInquireOptionalParams, callback: msRest.ServiceCallback): void; - inquire(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options?: Models.ProtectionContainersInquireOptionalParams, callback?: msRest.ServiceCallback): Promise { + inquire(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options?: Models.ProtectionContainersInquireOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -242,7 +242,7 @@ export class ProtectionContainers { * @param callback The callback */ refresh(vaultName: string, resourceGroupName: string, fabricName: string, options: Models.ProtectionContainersRefreshOptionalParams, callback: msRest.ServiceCallback): void; - refresh(vaultName: string, resourceGroupName: string, fabricName: string, options?: Models.ProtectionContainersRefreshOptionalParams, callback?: msRest.ServiceCallback): Promise { + refresh(vaultName: string, resourceGroupName: string, fabricName: string, options?: Models.ProtectionContainersRefreshOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionIntentOperations.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionIntentOperations.ts index a62890ba1f42..e8fc918f6459 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionIntentOperations.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionIntentOperations.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/protectionIntentOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ProtectionIntentOperations { * @param callback The callback */ validate(azureRegion: string, parameters: Models.PreValidateEnableBackupRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validate(azureRegion: string, parameters: Models.PreValidateEnableBackupRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + validate(azureRegion: string, parameters: Models.PreValidateEnableBackupRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { azureRegion, @@ -93,7 +93,7 @@ export class ProtectionIntentOperations { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -139,7 +139,7 @@ export class ProtectionIntentOperations { * @param callback The callback */ createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, parameters: Models.ProtectionIntentResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, parameters: Models.ProtectionIntentResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, parameters: Models.ProtectionIntentResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -183,7 +183,7 @@ export class ProtectionIntentOperations { * @param callback The callback */ deleteMethod(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionPolicies.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionPolicies.ts index 200c24a803b9..586c0db24740 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionPolicies.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionPolicies.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/protectionPoliciesMappers"; import * as Parameters from "../models/parameters"; @@ -55,7 +55,7 @@ export class ProtectionPolicies { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, policyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, policyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, policyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -99,7 +99,7 @@ export class ProtectionPolicies { * @param callback The callback */ createOrUpdate(vaultName: string, resourceGroupName: string, policyName: string, parameters: Models.ProtectionPolicyResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(vaultName: string, resourceGroupName: string, policyName: string, parameters: Models.ProtectionPolicyResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(vaultName: string, resourceGroupName: string, policyName: string, parameters: Models.ProtectionPolicyResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -141,7 +141,7 @@ export class ProtectionPolicies { * @param callback The callback */ deleteMethod(vaultName: string, resourceGroupName: string, policyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(vaultName: string, resourceGroupName: string, policyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(vaultName: string, resourceGroupName: string, policyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionPolicyOperationResults.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionPolicyOperationResults.ts index 422b0cdde981..85339f8da461 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionPolicyOperationResults.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionPolicyOperationResults.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/protectionPolicyOperationResultsMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class ProtectionPolicyOperationResults { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, policyName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, policyName: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, policyName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionPolicyOperationStatuses.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionPolicyOperationStatuses.ts index 5ba9a430a176..3a38f14e2e8b 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionPolicyOperationStatuses.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectionPolicyOperationStatuses.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/protectionPolicyOperationStatusesMappers"; import * as Parameters from "../models/parameters"; @@ -60,7 +60,7 @@ export class ProtectionPolicyOperationStatuses { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, policyName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, policyName: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, policyName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/recoveryPoints.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/recoveryPoints.ts index 4dbbf2bd142d..afd2493318d6 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/recoveryPoints.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/recoveryPoints.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/recoveryPointsMappers"; import * as Parameters from "../models/parameters"; @@ -59,7 +59,7 @@ export class RecoveryPoints { * @param callback The callback */ list(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, options: Models.RecoveryPointsListOptionalParams, callback: msRest.ServiceCallback): void; - list(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, options?: Models.RecoveryPointsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, options?: Models.RecoveryPointsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -111,7 +111,7 @@ export class RecoveryPoints { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -144,7 +144,7 @@ export class RecoveryPoints { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/restores.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/restores.ts index e0d272be8547..4803b35f92f5 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/restores.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/restores.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/restoresMappers"; import * as Parameters from "../models/parameters"; @@ -67,7 +67,7 @@ export class Restores { * @param callback The callback */ trigger(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, parameters: Models.RestoreRequestResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - trigger(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, parameters: Models.RestoreRequestResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + trigger(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, parameters: Models.RestoreRequestResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/securityPINs.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/securityPINs.ts index b4c440e7c238..9305ad9a7cef 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/securityPINs.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/securityPINs.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/securityPINsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class SecurityPINs { * @param callback The callback */ get(vaultName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(vaultName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(vaultName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/recoveryServicesBackupClient.ts b/packages/@azure/arm-recoveryservicesbackup/lib/recoveryServicesBackupClient.ts index 70fd9aafd1e2..b1c816e32781 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/recoveryServicesBackupClient.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/recoveryServicesBackupClient.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-recoveryservicesbackup/lib/recoveryServicesBackupClientContext.ts b/packages/@azure/arm-recoveryservicesbackup/lib/recoveryServicesBackupClientContext.ts index a947cb2ad23f..b4bb86207dd6 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/recoveryServicesBackupClientContext.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/recoveryServicesBackupClientContext.ts @@ -9,22 +9,16 @@ */ 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-recoveryservicesbackup"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class RecoveryServicesBackupClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the RecoveryServicesBackupClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -42,6 +36,11 @@ export class RecoveryServicesBackupClientContext extends msRestAzure.AzureServic if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.acceptLanguage = 'en-US'; @@ -51,7 +50,6 @@ export class RecoveryServicesBackupClientContext extends msRestAzure.AzureServic this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-recoveryservicesbackup/package.json b/packages/@azure/arm-recoveryservicesbackup/package.json index cb2df2bef51a..bfde5f25c08e 100644 --- a/packages/@azure/arm-recoveryservicesbackup/package.json +++ b/packages/@azure/arm-recoveryservicesbackup/package.json @@ -4,8 +4,8 @@ "description": "RecoveryServicesBackupClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-recoveryservicesbackup.js.map'\" -o ./dist/arm-recoveryservicesbackup.min.js ./dist/arm-recoveryservicesbackup.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-recoveryservicesbackup/rollup.config.js b/packages/@azure/arm-recoveryservicesbackup/rollup.config.js index be0281ef5ae8..788ec7bfa777 100644 --- a/packages/@azure/arm-recoveryservicesbackup/rollup.config.js +++ b/packages/@azure/arm-recoveryservicesbackup/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/recoveryServicesBackupClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-recoveryservicesbackup.js", format: "umd", name: "Azure.ArmRecoveryservicesbackup", 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-recoveryservicesbackup/tsconfig.json b/packages/@azure/arm-recoveryservicesbackup/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-recoveryservicesbackup/tsconfig.json +++ b/packages/@azure/arm-recoveryservicesbackup/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-rediscache/.npmignore b/packages/@azure/arm-rediscache/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-rediscache/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-rediscache/README.md b/packages/@azure/arm-rediscache/README.md deleted file mode 100644 index 4e3f9ceac6f0..000000000000 --- a/packages/@azure/arm-rediscache/README.md +++ /dev/null @@ -1,77 +0,0 @@ -# Azure RedisManagementClient SDK for JavaScript -This package contains an isomorphic SDK for RedisManagementClient. - -## Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript - -## How to Install -``` -npm install @azure/arm-rediscache -``` - - -## How to use - -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. - -```ts -import * as msRest from "ms-rest-js"; -import * as msRestAzure from "ms-rest-azure-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; -import { RedisManagementClient, RedisManagementModels, RedisManagementMappers } from "@azure/arm-rediscache"; -const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; - -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new RedisManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); -}).catch((err) => { - console.error(err); -}); -``` - -### browser - Authentication, client creation and list operations 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 -```html - - - - @azure/arm-rediscache sample - - - - - - - - - -``` - -# Related projects - - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/arm-rediscache/lib/models/index.ts b/packages/@azure/arm-rediscache/lib/models/index.ts deleted file mode 100644 index e82ce25c39b2..000000000000 --- a/packages/@azure/arm-rediscache/lib/models/index.ts +++ /dev/null @@ -1,1492 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - -import { BaseResource, CloudError, AzureServiceClientOptions } from "ms-rest-azure-js"; -import * as msRest from "ms-rest-js"; - -export { BaseResource, CloudError }; - - -/** - * @interface - * An interface representing Sku. - * SKU parameters supplied to the create Redis operation. - * - */ -export interface Sku { - /** - * @member {SkuName} name The type of Redis cache to deploy. Valid values: - * (Basic, Standard, Premium). Possible values include: 'Basic', 'Standard', - * 'Premium' - */ - name: SkuName; - /** - * @member {SkuFamily} family The SKU family to use. Valid values: (C, P). (C - * = Basic/Standard, P = Premium). Possible values include: 'C', 'P' - */ - family: SkuFamily; - /** - * @member {number} capacity The size of the Redis cache to deploy. Valid - * values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P - * (Premium) family (1, 2, 3, 4). - */ - capacity: number; -} - -/** - * @interface - * An interface representing RedisAccessKeys. - * Redis cache access keys. - * - */ -export interface RedisAccessKeys { - /** - * @member {string} [primaryKey] The current primary key that clients can use - * to authenticate with Redis cache. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly primaryKey?: string; - /** - * @member {string} [secondaryKey] The current secondary key that clients can - * use to authenticate with Redis cache. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly secondaryKey?: string; -} - -/** - * @interface - * An interface representing RedisLinkedServer. - * Linked server Id - * - */ -export interface RedisLinkedServer { - /** - * @member {string} [id] Linked server Id. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly id?: string; -} - -/** - * @interface - * An interface representing Resource. - * The Resource definition. - * - * @extends BaseResource - */ -export interface Resource extends BaseResource { - /** - * @member {string} [id] Resource ID. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly id?: string; - /** - * @member {string} [name] Resource name. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly name?: string; - /** - * @member {string} [type] Resource type. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly type?: string; -} - -/** - * @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 Resource - */ -export interface ProxyResource extends Resource { -} - -/** - * @interface - * An interface representing TrackedResource. - * The resource model definition for a ARM tracked top level resource - * - * @extends Resource - */ -export interface TrackedResource extends Resource { - /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags. - */ - tags?: { [propertyName: string]: string }; - /** - * @member {string} location The geo-location where the resource lives - */ - location: string; -} - -/** - * @interface - * An interface representing RedisCreateParameters. - * Parameters supplied to the Create Redis operation. - * - */ -export interface RedisCreateParameters { - /** - * @member {{ [propertyName: string]: string }} [redisConfiguration] All - * Redis Settings. Few possible keys: - * rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value - * etc. - */ - redisConfiguration?: { [propertyName: string]: string }; - /** - * @member {boolean} [enableNonSslPort] Specifies whether the non-ssl Redis - * server port (6379) is enabled. - */ - enableNonSslPort?: boolean; - /** - * @member {{ [propertyName: string]: string }} [tenantSettings] A dictionary - * of tenant settings - */ - tenantSettings?: { [propertyName: string]: string }; - /** - * @member {number} [shardCount] The number of shards to be created on a - * Premium Cluster Cache. - */ - shardCount?: number; - /** - * @member {TlsVersion} [minimumTlsVersion] Optional: requires clients to use - * a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). - * Possible values include: '1.0', '1.1', '1.2' - */ - minimumTlsVersion?: TlsVersion; - /** - * @member {Sku} sku The SKU of the Redis cache to deploy. - */ - sku: Sku; - /** - * @member {string} [subnetId] The full resource ID of a subnet in a virtual - * network to deploy the Redis cache in. Example format: - * /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1 - */ - subnetId?: string; - /** - * @member {string} [staticIP] Static IP address. Required when deploying a - * Redis cache inside an existing Azure Virtual Network. - */ - staticIP?: string; - /** - * @member {string[]} [zones] A list of availability zones denoting where the - * resource needs to come from. - */ - zones?: string[]; - /** - * @member {string} location The geo-location where the resource lives - */ - location: string; - /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags. - */ - tags?: { [propertyName: string]: string }; -} - -/** - * @interface - * An interface representing RedisUpdateParameters. - * Parameters supplied to the Update Redis operation. - * - */ -export interface RedisUpdateParameters { - /** - * @member {{ [propertyName: string]: string }} [redisConfiguration] All - * Redis Settings. Few possible keys: - * rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value - * etc. - */ - redisConfiguration?: { [propertyName: string]: string }; - /** - * @member {boolean} [enableNonSslPort] Specifies whether the non-ssl Redis - * server port (6379) is enabled. - */ - enableNonSslPort?: boolean; - /** - * @member {{ [propertyName: string]: string }} [tenantSettings] A dictionary - * of tenant settings - */ - tenantSettings?: { [propertyName: string]: string }; - /** - * @member {number} [shardCount] The number of shards to be created on a - * Premium Cluster Cache. - */ - shardCount?: number; - /** - * @member {TlsVersion} [minimumTlsVersion] Optional: requires clients to use - * a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). - * Possible values include: '1.0', '1.1', '1.2' - */ - minimumTlsVersion?: TlsVersion; - /** - * @member {Sku} [sku] The SKU of the Redis cache to deploy. - */ - sku?: Sku; - /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags. - */ - tags?: { [propertyName: string]: string }; -} - -/** - * @interface - * An interface representing RedisFirewallRuleProperties. - * Specifies a range of IP addresses permitted to connect to the cache - * - */ -export interface RedisFirewallRuleProperties { - /** - * @member {string} startIP lowest IP address included in the range - */ - startIP: string; - /** - * @member {string} endIP highest IP address included in the range - */ - endIP: string; -} - -/** - * @interface - * An interface representing RedisFirewallRule. - * A firewall rule on a redis cache has a name, and describes a contiguous - * range of IP addresses permitted to connect - * - * @extends ProxyResource - */ -export interface RedisFirewallRule extends ProxyResource { - /** - * @member {string} startIP lowest IP address included in the range - */ - startIP: string; - /** - * @member {string} endIP highest IP address included in the range - */ - endIP: string; -} - -/** - * @interface - * An interface representing RedisFirewallRuleCreateParameters. - * Parameters required for creating a firewall rule on redis cache. - * - */ -export interface RedisFirewallRuleCreateParameters { - /** - * @member {string} startIP lowest IP address included in the range - */ - startIP: string; - /** - * @member {string} endIP highest IP address included in the range - */ - endIP: string; -} - -/** - * @interface - * An interface representing RedisResource. - * A single Redis item in List or Get Operation. - * - * @extends TrackedResource - */ -export interface RedisResource extends TrackedResource { - /** - * @member {{ [propertyName: string]: string }} [redisConfiguration] All - * Redis Settings. Few possible keys: - * rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value - * etc. - */ - redisConfiguration?: { [propertyName: string]: string }; - /** - * @member {boolean} [enableNonSslPort] Specifies whether the non-ssl Redis - * server port (6379) is enabled. - */ - enableNonSslPort?: boolean; - /** - * @member {{ [propertyName: string]: string }} [tenantSettings] A dictionary - * of tenant settings - */ - tenantSettings?: { [propertyName: string]: string }; - /** - * @member {number} [shardCount] The number of shards to be created on a - * Premium Cluster Cache. - */ - shardCount?: number; - /** - * @member {TlsVersion} [minimumTlsVersion] Optional: requires clients to use - * a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). - * Possible values include: '1.0', '1.1', '1.2' - */ - minimumTlsVersion?: TlsVersion; - /** - * @member {Sku} sku The SKU of the Redis cache to deploy. - */ - sku: Sku; - /** - * @member {string} [subnetId] The full resource ID of a subnet in a virtual - * network to deploy the Redis cache in. Example format: - * /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1 - */ - subnetId?: string; - /** - * @member {string} [staticIP] Static IP address. Required when deploying a - * Redis cache inside an existing Azure Virtual Network. - */ - staticIP?: string; - /** - * @member {string} [redisVersion] Redis version. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly redisVersion?: string; - /** - * @member {ProvisioningState} [provisioningState] Redis instance - * provisioning status. Possible values include: 'Creating', 'Deleting', - * 'Disabled', 'Failed', 'Linking', 'Provisioning', 'RecoveringScaleFailure', - * 'Scaling', 'Succeeded', 'Unlinking', 'Unprovisioning', 'Updating' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly provisioningState?: ProvisioningState; - /** - * @member {string} [hostName] Redis host name. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly hostName?: string; - /** - * @member {number} [port] Redis non-SSL port. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly port?: number; - /** - * @member {number} [sslPort] Redis SSL port. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly sslPort?: number; - /** - * @member {RedisAccessKeys} [accessKeys] The keys of the Redis cache - not - * set if this object is not the response to Create or Update redis cache - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly accessKeys?: RedisAccessKeys; - /** - * @member {RedisLinkedServer[]} [linkedServers] List of the linked servers - * associated with the cache - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly linkedServers?: RedisLinkedServer[]; - /** - * @member {string[]} [zones] A list of availability zones denoting where the - * resource needs to come from. - */ - zones?: string[]; -} - -/** - * @interface - * An interface representing RedisRegenerateKeyParameters. - * Specifies which Redis access keys to reset. - * - */ -export interface RedisRegenerateKeyParameters { - /** - * @member {RedisKeyType} keyType The Redis access key to regenerate. - * Possible values include: 'Primary', 'Secondary' - */ - keyType: RedisKeyType; -} - -/** - * @interface - * An interface representing RedisRebootParameters. - * Specifies which Redis node(s) to reboot. - * - */ -export interface RedisRebootParameters { - /** - * @member {RebootType} rebootType Which Redis node(s) to reboot. Depending - * on this value data loss is possible. Possible values include: - * 'PrimaryNode', 'SecondaryNode', 'AllNodes' - */ - rebootType: RebootType; - /** - * @member {number} [shardId] If clustering is enabled, the ID of the shard - * to be rebooted. - */ - shardId?: number; -} - -/** - * @interface - * An interface representing ExportRDBParameters. - * Parameters for Redis export operation. - * - */ -export interface ExportRDBParameters { - /** - * @member {string} [format] File format. - */ - format?: string; - /** - * @member {string} prefix Prefix to use for exported files. - */ - prefix: string; - /** - * @member {string} container Container name to export to. - */ - container: string; -} - -/** - * @interface - * An interface representing ImportRDBParameters. - * Parameters for Redis import operation. - * - */ -export interface ImportRDBParameters { - /** - * @member {string} [format] File format. - */ - format?: string; - /** - * @member {string[]} files files to import. - */ - files: string[]; -} - -/** - * @interface - * An interface representing ScheduleEntry. - * Patch schedule entry for a Premium Redis Cache. - * - */ -export interface ScheduleEntry { - /** - * @member {DayOfWeek} dayOfWeek Day of the week when a cache can be patched. - * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', - * 'Friday', 'Saturday', 'Sunday', 'Everyday', 'Weekend' - */ - dayOfWeek: DayOfWeek; - /** - * @member {number} startHourUtc Start hour after which cache patching can - * start. - */ - startHourUtc: number; - /** - * @member {string} [maintenanceWindow] ISO8601 timespan specifying how much - * time cache patching can take. - */ - maintenanceWindow?: string; -} - -/** - * @interface - * An interface representing ScheduleEntries. - * List of patch schedules for a Redis cache. - * - */ -export interface ScheduleEntries { - /** - * @member {ScheduleEntry[]} scheduleEntries List of patch schedules for a - * Redis cache. - */ - scheduleEntries: ScheduleEntry[]; -} - -/** - * @interface - * An interface representing RedisPatchSchedule. - * Response to put/get patch schedules for Redis cache. - * - * @extends ProxyResource - */ -export interface RedisPatchSchedule extends ProxyResource { - /** - * @member {ScheduleEntry[]} scheduleEntries List of patch schedules for a - * Redis cache. - */ - scheduleEntries: ScheduleEntry[]; -} - -/** - * @interface - * An interface representing RedisForceRebootResponse. - * Response to force reboot for Redis cache. - * - */ -export interface RedisForceRebootResponse { - /** - * @member {string} [message] Status message - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly message?: string; -} - -/** - * @interface - * An interface representing RedisLinkedServerCreateProperties. - * Create properties for a linked server - * - */ -export interface RedisLinkedServerCreateProperties { - /** - * @member {string} linkedRedisCacheId Fully qualified resourceId of the - * linked redis cache. - */ - linkedRedisCacheId: string; - /** - * @member {string} linkedRedisCacheLocation Location of the linked redis - * cache. - */ - linkedRedisCacheLocation: string; - /** - * @member {ReplicationRole} serverRole Role of the linked server. Possible - * values include: 'Primary', 'Secondary' - */ - serverRole: ReplicationRole; -} - -/** - * @interface - * An interface representing RedisLinkedServerProperties. - * Properties of a linked server to be returned in get/put response - * - * @extends RedisLinkedServerCreateProperties - */ -export interface RedisLinkedServerProperties extends RedisLinkedServerCreateProperties { - /** - * @member {string} [provisioningState] Terminal state of the link between - * primary and secondary redis cache. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly provisioningState?: string; -} - -/** - * @interface - * An interface representing RedisLinkedServerWithProperties. - * Response to put/get linked server (with properties) for Redis cache. - * - * @extends ProxyResource - */ -export interface RedisLinkedServerWithProperties extends ProxyResource { - /** - * @member {string} linkedRedisCacheId Fully qualified resourceId of the - * linked redis cache. - */ - linkedRedisCacheId: string; - /** - * @member {string} linkedRedisCacheLocation Location of the linked redis - * cache. - */ - linkedRedisCacheLocation: string; - /** - * @member {ReplicationRole} serverRole Role of the linked server. Possible - * values include: 'Primary', 'Secondary' - */ - serverRole: ReplicationRole; - /** - * @member {string} [provisioningState] Terminal state of the link between - * primary and secondary redis cache. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly provisioningState?: string; -} - -/** - * @interface - * An interface representing RedisLinkedServerCreateParameters. - * Parameter required for creating a linked server to redis cache. - * - */ -export interface RedisLinkedServerCreateParameters { - /** - * @member {string} linkedRedisCacheId Fully qualified resourceId of the - * linked redis cache. - */ - linkedRedisCacheId: string; - /** - * @member {string} linkedRedisCacheLocation Location of the linked redis - * cache. - */ - linkedRedisCacheLocation: string; - /** - * @member {ReplicationRole} serverRole Role of the linked server. Possible - * values include: 'Primary', 'Secondary' - */ - serverRole: ReplicationRole; -} - -/** - * @interface - * An interface representing OperationDisplay. - * The object that describes the operation. - * - */ -export interface OperationDisplay { - /** - * @member {string} [provider] Friendly name of the resource provider - */ - provider?: string; - /** - * @member {string} [operation] Operation type: read, write, delete, - * listKeys/action, etc. - */ - operation?: string; - /** - * @member {string} [resource] Resource type on which the operation is - * performed. - */ - resource?: string; - /** - * @member {string} [description] Friendly name of the operation - */ - description?: string; -} - -/** - * @interface - * An interface representing Operation. - * REST API operation - * - */ -export interface Operation { - /** - * @member {string} [name] Operation name: {provider}/{resource}/{operation} - */ - name?: string; - /** - * @member {OperationDisplay} [display] The object that describes the - * operation. - */ - display?: OperationDisplay; -} - -/** - * @interface - * An interface representing CheckNameAvailabilityParameters. - * Parameters body to pass for resource name availability check. - * - */ -export interface CheckNameAvailabilityParameters { - /** - * @member {string} name Resource name. - */ - name: string; - /** - * @member {string} type Resource type. The only legal value of this property - * for checking redis cache name availability is 'Microsoft.Cache/redis'. - */ - type: string; -} - -/** - * @interface - * An interface representing UpgradeNotification. - * Properties of upgrade notification. - * - */ -export interface UpgradeNotification { - /** - * @member {string} [name] Name of upgrade notification. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly name?: string; - /** - * @member {Date} [timestamp] Timestamp when upgrade notification occured. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly timestamp?: Date; - /** - * @member {{ [propertyName: string]: string }} [upsellNotification] Details - * about this upgrade notification - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly upsellNotification?: { [propertyName: string]: string }; -} - -/** - * @interface - * An interface representing NotificationListResponse. - * The response of listUpgradeNotifications. - * - */ -export interface NotificationListResponse { - /** - * @member {UpgradeNotification[]} [value] List of all notifications. - */ - value?: UpgradeNotification[]; - /** - * @member {string} [nextLink] Link for next set of notifications. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly nextLink?: string; -} - -/** - * @interface - * An interface representing RedisManagementClientOptions. - * @extends AzureServiceClientOptions - */ -export interface RedisManagementClientOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ - baseUri?: string; -} - - -/** - * @interface - * An interface representing the OperationListResult. - * Result of the request to list REST API operations. It contains a list of - * operations and a URL nextLink to get the next set of results. - * - * @extends Array - */ -export interface OperationListResult extends Array { - /** - * @member {string} [nextLink] URL to get the next set of operation list - * results if there are any. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly nextLink?: string; -} - -/** - * @interface - * An interface representing the RedisListResult. - * The response of list Redis operation. - * - * @extends Array - */ -export interface RedisListResult extends Array { - /** - * @member {string} [nextLink] Link for next page of results. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly nextLink?: string; -} - -/** - * @interface - * An interface representing the RedisFirewallRuleListResult. - * The response of list firewall rules Redis operation. - * - * @extends Array - */ -export interface RedisFirewallRuleListResult extends Array { - /** - * @member {string} [nextLink] Link for next page of results. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly nextLink?: string; -} - -/** - * @interface - * An interface representing the RedisPatchScheduleListResult. - * The response of list patch schedules Redis operation. - * - * @extends Array - */ -export interface RedisPatchScheduleListResult extends Array { - /** - * @member {string} [nextLink] Link for next page of results. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly nextLink?: string; -} - -/** - * @interface - * An interface representing the RedisLinkedServerWithPropertiesList. - * List of linked servers (with properites) of a Redis cache. - * - * @extends Array - */ -export interface RedisLinkedServerWithPropertiesList extends Array { - /** - * @member {string} [nextLink] Link for next set. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly nextLink?: string; -} - -/** - * Defines values for SkuName. - * Possible values include: 'Basic', 'Standard', 'Premium' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuName = "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ -export enum SkuName { - Basic = 'Basic', - Standard = 'Standard', - Premium = 'Premium', -} - -/** - * Defines values for SkuFamily. - * Possible values include: 'C', 'P' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuFamily = "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ -export enum SkuFamily { - C = 'C', - P = 'P', -} - -/** - * Defines values for TlsVersion. - * Possible values include: '1.0', '1.1', '1.2' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TlsVersion = "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ -export enum TlsVersion { - OneFullStopZero = '1.0', - OneFullStopOne = '1.1', - OneFullStopTwo = '1.2', -} - -/** - * Defines values for ProvisioningState. - * Possible values include: 'Creating', 'Deleting', 'Disabled', 'Failed', - * 'Linking', 'Provisioning', 'RecoveringScaleFailure', 'Scaling', 'Succeeded', - * 'Unlinking', 'Unprovisioning', 'Updating' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ -export enum ProvisioningState { - Creating = 'Creating', - Deleting = 'Deleting', - Disabled = 'Disabled', - Failed = 'Failed', - Linking = 'Linking', - Provisioning = 'Provisioning', - RecoveringScaleFailure = 'RecoveringScaleFailure', - Scaling = 'Scaling', - Succeeded = 'Succeeded', - Unlinking = 'Unlinking', - Unprovisioning = 'Unprovisioning', - Updating = 'Updating', -} - -/** - * Defines values for RedisKeyType. - * Possible values include: 'Primary', 'Secondary' - * @readonly - * @enum {string} - */ -export enum RedisKeyType { - Primary = 'Primary', - Secondary = 'Secondary', -} - -/** - * Defines values for RebootType. - * Possible values include: 'PrimaryNode', 'SecondaryNode', 'AllNodes' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RebootType = "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ -export enum RebootType { - PrimaryNode = 'PrimaryNode', - SecondaryNode = 'SecondaryNode', - AllNodes = 'AllNodes', -} - -/** - * Defines values for DayOfWeek. - * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', - * 'Friday', 'Saturday', 'Sunday', 'Everyday', 'Weekend' - * @readonly - * @enum {string} - */ -export enum DayOfWeek { - Monday = 'Monday', - Tuesday = 'Tuesday', - Wednesday = 'Wednesday', - Thursday = 'Thursday', - Friday = 'Friday', - Saturday = 'Saturday', - Sunday = 'Sunday', - Everyday = 'Everyday', - Weekend = 'Weekend', -} - -/** - * Defines values for ReplicationRole. - * Possible values include: 'Primary', 'Secondary' - * @readonly - * @enum {string} - */ -export enum ReplicationRole { - Primary = 'Primary', - Secondary = 'Secondary', -} - -/** - * Contains response data for the list operation. - */ -export type OperationsListResponse = OperationListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: OperationListResult; - }; -}; - -/** - * Contains response data for the listNext operation. - */ -export type OperationsListNextResponse = OperationListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: OperationListResult; - }; -}; - -/** - * Contains response data for the listUpgradeNotifications operation. - */ -export type RedisListUpgradeNotificationsResponse = NotificationListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: NotificationListResponse; - }; -}; - -/** - * Contains response data for the create operation. - */ -export type RedisCreateResponse = RedisResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisResource; - }; -}; - -/** - * Contains response data for the update operation. - */ -export type RedisUpdateResponse = RedisResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisResource; - }; -}; - -/** - * Contains response data for the get operation. - */ -export type RedisGetResponse = RedisResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisResource; - }; -}; - -/** - * Contains response data for the listByResourceGroup operation. - */ -export type RedisListByResourceGroupResponse = RedisListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisListResult; - }; -}; - -/** - * Contains response data for the list operation. - */ -export type RedisListResponse = RedisListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisListResult; - }; -}; - -/** - * Contains response data for the listKeys operation. - */ -export type RedisListKeysResponse = RedisAccessKeys & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisAccessKeys; - }; -}; - -/** - * Contains response data for the regenerateKey operation. - */ -export type RedisRegenerateKeyResponse = RedisAccessKeys & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisAccessKeys; - }; -}; - -/** - * Contains response data for the forceReboot operation. - */ -export type RedisForceRebootResponse2 = RedisForceRebootResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisForceRebootResponse; - }; -}; - -/** - * Contains response data for the beginCreate operation. - */ -export type RedisBeginCreateResponse = RedisResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisResource; - }; -}; - -/** - * Contains response data for the listByResourceGroupNext operation. - */ -export type RedisListByResourceGroupNextResponse = RedisListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisListResult; - }; -}; - -/** - * Contains response data for the listNext operation. - */ -export type RedisListNextResponse = RedisListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisListResult; - }; -}; - -/** - * Contains response data for the listByRedisResource operation. - */ -export type FirewallRulesListByRedisResourceResponse = RedisFirewallRuleListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisFirewallRuleListResult; - }; -}; - -/** - * Contains response data for the createOrUpdate operation. - */ -export type FirewallRulesCreateOrUpdateResponse = RedisFirewallRule & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisFirewallRule; - }; -}; - -/** - * Contains response data for the get operation. - */ -export type FirewallRulesGetResponse = RedisFirewallRule & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisFirewallRule; - }; -}; - -/** - * Contains response data for the listByRedisResourceNext operation. - */ -export type FirewallRulesListByRedisResourceNextResponse = RedisFirewallRuleListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisFirewallRuleListResult; - }; -}; - -/** - * Contains response data for the listByRedisResource operation. - */ -export type PatchSchedulesListByRedisResourceResponse = RedisPatchScheduleListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisPatchScheduleListResult; - }; -}; - -/** - * Contains response data for the createOrUpdate operation. - */ -export type PatchSchedulesCreateOrUpdateResponse = RedisPatchSchedule & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisPatchSchedule; - }; -}; - -/** - * Contains response data for the get operation. - */ -export type PatchSchedulesGetResponse = RedisPatchSchedule & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisPatchSchedule; - }; -}; - -/** - * Contains response data for the listByRedisResourceNext operation. - */ -export type PatchSchedulesListByRedisResourceNextResponse = RedisPatchScheduleListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisPatchScheduleListResult; - }; -}; - -/** - * Contains response data for the create operation. - */ -export type LinkedServerCreateResponse = RedisLinkedServerWithProperties & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisLinkedServerWithProperties; - }; -}; - -/** - * Contains response data for the get operation. - */ -export type LinkedServerGetResponse = RedisLinkedServerWithProperties & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisLinkedServerWithProperties; - }; -}; - -/** - * Contains response data for the list operation. - */ -export type LinkedServerListResponse = RedisLinkedServerWithPropertiesList & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisLinkedServerWithPropertiesList; - }; -}; - -/** - * Contains response data for the beginCreate operation. - */ -export type LinkedServerBeginCreateResponse = RedisLinkedServerWithProperties & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisLinkedServerWithProperties; - }; -}; - -/** - * Contains response data for the listNext operation. - */ -export type LinkedServerListNextResponse = RedisLinkedServerWithPropertiesList & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RedisLinkedServerWithPropertiesList; - }; -}; diff --git a/packages/@azure/arm-rediscache/lib/models/linkedServerMappers.ts b/packages/@azure/arm-rediscache/lib/models/linkedServerMappers.ts deleted file mode 100644 index 4bd5868deb18..000000000000 --- a/packages/@azure/arm-rediscache/lib/models/linkedServerMappers.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - -export { - RedisLinkedServerCreateParameters, - RedisLinkedServerWithProperties, - ProxyResource, - Resource, - BaseResource, - CloudError, - RedisLinkedServerWithPropertiesList, - TrackedResource, - RedisFirewallRule, - RedisResource, - Sku, - RedisAccessKeys, - RedisLinkedServer, - RedisPatchSchedule, - ScheduleEntry -} from "../models/mappers"; - diff --git a/packages/@azure/arm-rediscache/lib/models/mappers.ts b/packages/@azure/arm-rediscache/lib/models/mappers.ts deleted file mode 100644 index 7467a558b4cc..000000000000 --- a/packages/@azure/arm-rediscache/lib/models/mappers.ts +++ /dev/null @@ -1,1177 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - -import { CloudErrorMapper, BaseResourceMapper } from "ms-rest-azure-js"; -import * as msRest from "ms-rest-js"; - -export const CloudError = CloudErrorMapper; -export const BaseResource = BaseResourceMapper; - -export const Sku: msRest.CompositeMapper = { - serializedName: "Sku", - type: { - name: "Composite", - className: "Sku", - modelProperties: { - name: { - required: true, - serializedName: "name", - type: { - name: "String" - } - }, - family: { - required: true, - serializedName: "family", - type: { - name: "String" - } - }, - capacity: { - required: true, - serializedName: "capacity", - type: { - name: "Number" - } - } - } - } -}; - -export const RedisAccessKeys: msRest.CompositeMapper = { - serializedName: "RedisAccessKeys", - type: { - name: "Composite", - className: "RedisAccessKeys", - modelProperties: { - primaryKey: { - readOnly: true, - serializedName: "primaryKey", - type: { - name: "String" - } - }, - secondaryKey: { - readOnly: true, - serializedName: "secondaryKey", - type: { - name: "String" - } - } - } - } -}; - -export const RedisLinkedServer: msRest.CompositeMapper = { - serializedName: "RedisLinkedServer", - type: { - name: "Composite", - className: "RedisLinkedServer", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - } - } - } -}; - -export const Resource: msRest.CompositeMapper = { - serializedName: "Resource", - type: { - name: "Composite", - className: "Resource", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - } - } - } -}; - -export const ProxyResource: msRest.CompositeMapper = { - serializedName: "ProxyResource", - type: { - name: "Composite", - className: "ProxyResource", - modelProperties: { - ...Resource.type.modelProperties - } - } -}; - -export const TrackedResource: msRest.CompositeMapper = { - serializedName: "TrackedResource", - type: { - name: "Composite", - className: "TrackedResource", - modelProperties: { - ...Resource.type.modelProperties, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - location: { - required: true, - serializedName: "location", - type: { - name: "String" - } - } - } - } -}; - -export const RedisCreateParameters: msRest.CompositeMapper = { - serializedName: "RedisCreateParameters", - type: { - name: "Composite", - className: "RedisCreateParameters", - modelProperties: { - redisConfiguration: { - serializedName: "properties.redisConfiguration", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - enableNonSslPort: { - serializedName: "properties.enableNonSslPort", - type: { - name: "Boolean" - } - }, - tenantSettings: { - serializedName: "properties.tenantSettings", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - shardCount: { - serializedName: "properties.shardCount", - type: { - name: "Number" - } - }, - minimumTlsVersion: { - serializedName: "properties.minimumTlsVersion", - type: { - name: "String" - } - }, - sku: { - required: true, - serializedName: "properties.sku", - type: { - name: "Composite", - className: "Sku" - } - }, - subnetId: { - serializedName: "properties.subnetId", - constraints: { - Pattern: /^\/subscriptions\/[^\/]*\/resourceGroups\/[^\/]*\/providers\/Microsoft.(ClassicNetwork|Network)\/virtualNetworks\/[^\/]*\/subnets\/[^\/]*$/ - }, - type: { - name: "String" - } - }, - staticIP: { - serializedName: "properties.staticIP", - constraints: { - Pattern: /^\d+\.\d+\.\d+\.\d+$/ - }, - type: { - name: "String" - } - }, - zones: { - serializedName: "zones", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - location: { - required: true, - serializedName: "location", - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const RedisUpdateParameters: msRest.CompositeMapper = { - serializedName: "RedisUpdateParameters", - type: { - name: "Composite", - className: "RedisUpdateParameters", - modelProperties: { - redisConfiguration: { - serializedName: "properties.redisConfiguration", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - enableNonSslPort: { - serializedName: "properties.enableNonSslPort", - type: { - name: "Boolean" - } - }, - tenantSettings: { - serializedName: "properties.tenantSettings", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - shardCount: { - serializedName: "properties.shardCount", - type: { - name: "Number" - } - }, - minimumTlsVersion: { - serializedName: "properties.minimumTlsVersion", - type: { - name: "String" - } - }, - sku: { - serializedName: "properties.sku", - type: { - name: "Composite", - className: "Sku" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const RedisFirewallRuleProperties: msRest.CompositeMapper = { - serializedName: "RedisFirewallRuleProperties", - type: { - name: "Composite", - className: "RedisFirewallRuleProperties", - modelProperties: { - startIP: { - required: true, - serializedName: "startIP", - type: { - name: "String" - } - }, - endIP: { - required: true, - serializedName: "endIP", - type: { - name: "String" - } - } - } - } -}; - -export const RedisFirewallRule: msRest.CompositeMapper = { - serializedName: "RedisFirewallRule", - type: { - name: "Composite", - className: "RedisFirewallRule", - modelProperties: { - ...ProxyResource.type.modelProperties, - startIP: { - required: true, - serializedName: "properties.startIP", - type: { - name: "String" - } - }, - endIP: { - required: true, - serializedName: "properties.endIP", - type: { - name: "String" - } - } - } - } -}; - -export const RedisFirewallRuleCreateParameters: msRest.CompositeMapper = { - serializedName: "RedisFirewallRuleCreateParameters", - type: { - name: "Composite", - className: "RedisFirewallRuleCreateParameters", - modelProperties: { - startIP: { - required: true, - serializedName: "properties.startIP", - type: { - name: "String" - } - }, - endIP: { - required: true, - serializedName: "properties.endIP", - type: { - name: "String" - } - } - } - } -}; - -export const RedisResource: msRest.CompositeMapper = { - serializedName: "RedisResource", - type: { - name: "Composite", - className: "RedisResource", - modelProperties: { - ...TrackedResource.type.modelProperties, - redisConfiguration: { - serializedName: "properties.redisConfiguration", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - enableNonSslPort: { - serializedName: "properties.enableNonSslPort", - type: { - name: "Boolean" - } - }, - tenantSettings: { - serializedName: "properties.tenantSettings", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - shardCount: { - serializedName: "properties.shardCount", - type: { - name: "Number" - } - }, - minimumTlsVersion: { - serializedName: "properties.minimumTlsVersion", - type: { - name: "String" - } - }, - sku: { - required: true, - serializedName: "properties.sku", - type: { - name: "Composite", - className: "Sku" - } - }, - subnetId: { - serializedName: "properties.subnetId", - constraints: { - Pattern: /^\/subscriptions\/[^\/]*\/resourceGroups\/[^\/]*\/providers\/Microsoft.(ClassicNetwork|Network)\/virtualNetworks\/[^\/]*\/subnets\/[^\/]*$/ - }, - type: { - name: "String" - } - }, - staticIP: { - serializedName: "properties.staticIP", - constraints: { - Pattern: /^\d+\.\d+\.\d+\.\d+$/ - }, - type: { - name: "String" - } - }, - redisVersion: { - readOnly: true, - serializedName: "properties.redisVersion", - type: { - name: "String" - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - hostName: { - readOnly: true, - serializedName: "properties.hostName", - type: { - name: "String" - } - }, - port: { - readOnly: true, - serializedName: "properties.port", - type: { - name: "Number" - } - }, - sslPort: { - readOnly: true, - serializedName: "properties.sslPort", - type: { - name: "Number" - } - }, - accessKeys: { - readOnly: true, - serializedName: "properties.accessKeys", - type: { - name: "Composite", - className: "RedisAccessKeys" - } - }, - linkedServers: { - readOnly: true, - serializedName: "properties.linkedServers", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RedisLinkedServer" - } - } - } - }, - zones: { - serializedName: "zones", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const RedisRegenerateKeyParameters: msRest.CompositeMapper = { - serializedName: "RedisRegenerateKeyParameters", - type: { - name: "Composite", - className: "RedisRegenerateKeyParameters", - modelProperties: { - keyType: { - required: true, - serializedName: "keyType", - type: { - name: "Enum", - allowedValues: [ - "Primary", - "Secondary" - ] - } - } - } - } -}; - -export const RedisRebootParameters: msRest.CompositeMapper = { - serializedName: "RedisRebootParameters", - type: { - name: "Composite", - className: "RedisRebootParameters", - modelProperties: { - rebootType: { - required: true, - serializedName: "rebootType", - type: { - name: "String" - } - }, - shardId: { - serializedName: "shardId", - type: { - name: "Number" - } - } - } - } -}; - -export const ExportRDBParameters: msRest.CompositeMapper = { - serializedName: "ExportRDBParameters", - type: { - name: "Composite", - className: "ExportRDBParameters", - modelProperties: { - format: { - serializedName: "format", - type: { - name: "String" - } - }, - prefix: { - required: true, - serializedName: "prefix", - type: { - name: "String" - } - }, - container: { - required: true, - serializedName: "container", - type: { - name: "String" - } - } - } - } -}; - -export const ImportRDBParameters: msRest.CompositeMapper = { - serializedName: "ImportRDBParameters", - type: { - name: "Composite", - className: "ImportRDBParameters", - modelProperties: { - format: { - serializedName: "format", - type: { - name: "String" - } - }, - files: { - required: true, - serializedName: "files", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const ScheduleEntry: msRest.CompositeMapper = { - serializedName: "ScheduleEntry", - type: { - name: "Composite", - className: "ScheduleEntry", - modelProperties: { - dayOfWeek: { - required: true, - serializedName: "dayOfWeek", - type: { - name: "Enum", - allowedValues: [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ] - } - }, - startHourUtc: { - required: true, - serializedName: "startHourUtc", - type: { - name: "Number" - } - }, - maintenanceWindow: { - serializedName: "maintenanceWindow", - type: { - name: "TimeSpan" - } - } - } - } -}; - -export const ScheduleEntries: msRest.CompositeMapper = { - serializedName: "ScheduleEntries", - type: { - name: "Composite", - className: "ScheduleEntries", - modelProperties: { - scheduleEntries: { - required: true, - serializedName: "scheduleEntries", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ScheduleEntry" - } - } - } - } - } - } -}; - -export const RedisPatchSchedule: msRest.CompositeMapper = { - serializedName: "RedisPatchSchedule", - type: { - name: "Composite", - className: "RedisPatchSchedule", - modelProperties: { - ...ProxyResource.type.modelProperties, - scheduleEntries: { - required: true, - serializedName: "properties.scheduleEntries", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ScheduleEntry" - } - } - } - } - } - } -}; - -export const RedisForceRebootResponse: msRest.CompositeMapper = { - serializedName: "RedisForceRebootResponse", - type: { - name: "Composite", - className: "RedisForceRebootResponse", - modelProperties: { - message: { - readOnly: true, - serializedName: "message", - type: { - name: "String" - } - } - } - } -}; - -export const RedisLinkedServerCreateProperties: msRest.CompositeMapper = { - serializedName: "RedisLinkedServerCreateProperties", - type: { - name: "Composite", - className: "RedisLinkedServerCreateProperties", - modelProperties: { - linkedRedisCacheId: { - required: true, - serializedName: "linkedRedisCacheId", - type: { - name: "String" - } - }, - linkedRedisCacheLocation: { - required: true, - serializedName: "linkedRedisCacheLocation", - type: { - name: "String" - } - }, - serverRole: { - required: true, - serializedName: "serverRole", - type: { - name: "Enum", - allowedValues: [ - "Primary", - "Secondary" - ] - } - } - } - } -}; - -export const RedisLinkedServerProperties: msRest.CompositeMapper = { - serializedName: "RedisLinkedServerProperties", - type: { - name: "Composite", - className: "RedisLinkedServerProperties", - modelProperties: { - ...RedisLinkedServerCreateProperties.type.modelProperties, - provisioningState: { - readOnly: true, - serializedName: "provisioningState", - type: { - name: "String" - } - } - } - } -}; - -export const RedisLinkedServerWithProperties: msRest.CompositeMapper = { - serializedName: "RedisLinkedServerWithProperties", - type: { - name: "Composite", - className: "RedisLinkedServerWithProperties", - modelProperties: { - ...ProxyResource.type.modelProperties, - linkedRedisCacheId: { - required: true, - serializedName: "properties.linkedRedisCacheId", - type: { - name: "String" - } - }, - linkedRedisCacheLocation: { - required: true, - serializedName: "properties.linkedRedisCacheLocation", - type: { - name: "String" - } - }, - serverRole: { - required: true, - serializedName: "properties.serverRole", - type: { - name: "Enum", - allowedValues: [ - "Primary", - "Secondary" - ] - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - } - } - } -}; - -export const RedisLinkedServerCreateParameters: msRest.CompositeMapper = { - serializedName: "RedisLinkedServerCreateParameters", - type: { - name: "Composite", - className: "RedisLinkedServerCreateParameters", - modelProperties: { - linkedRedisCacheId: { - required: true, - serializedName: "properties.linkedRedisCacheId", - type: { - name: "String" - } - }, - linkedRedisCacheLocation: { - required: true, - serializedName: "properties.linkedRedisCacheLocation", - type: { - name: "String" - } - }, - serverRole: { - required: true, - serializedName: "properties.serverRole", - type: { - name: "Enum", - allowedValues: [ - "Primary", - "Secondary" - ] - } - } - } - } -}; - -export const OperationDisplay: msRest.CompositeMapper = { - serializedName: "Operation_display", - type: { - name: "Composite", - className: "OperationDisplay", - modelProperties: { - provider: { - serializedName: "provider", - type: { - name: "String" - } - }, - operation: { - serializedName: "operation", - type: { - name: "String" - } - }, - resource: { - serializedName: "resource", - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - -export const Operation: msRest.CompositeMapper = { - serializedName: "Operation", - type: { - name: "Composite", - className: "Operation", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - display: { - serializedName: "display", - type: { - name: "Composite", - className: "OperationDisplay" - } - } - } - } -}; - -export const CheckNameAvailabilityParameters: msRest.CompositeMapper = { - serializedName: "CheckNameAvailabilityParameters", - type: { - name: "Composite", - className: "CheckNameAvailabilityParameters", - modelProperties: { - name: { - required: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - required: true, - serializedName: "type", - type: { - name: "String" - } - } - } - } -}; - -export const UpgradeNotification: msRest.CompositeMapper = { - serializedName: "UpgradeNotification", - type: { - name: "Composite", - className: "UpgradeNotification", - modelProperties: { - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - timestamp: { - readOnly: true, - serializedName: "timestamp", - type: { - name: "DateTime" - } - }, - upsellNotification: { - readOnly: true, - serializedName: "upsellNotification", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const NotificationListResponse: msRest.CompositeMapper = { - serializedName: "NotificationListResponse", - type: { - name: "Composite", - className: "NotificationListResponse", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UpgradeNotification" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const OperationListResult: msRest.CompositeMapper = { - serializedName: "OperationListResult", - type: { - name: "Composite", - className: "OperationListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Operation" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const RedisListResult: msRest.CompositeMapper = { - serializedName: "RedisListResult", - type: { - name: "Composite", - className: "RedisListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RedisResource" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const RedisFirewallRuleListResult: msRest.CompositeMapper = { - serializedName: "RedisFirewallRuleListResult", - type: { - name: "Composite", - className: "RedisFirewallRuleListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RedisFirewallRule" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const RedisPatchScheduleListResult: msRest.CompositeMapper = { - serializedName: "RedisPatchScheduleListResult", - type: { - name: "Composite", - className: "RedisPatchScheduleListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RedisPatchSchedule" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const RedisLinkedServerWithPropertiesList: msRest.CompositeMapper = { - serializedName: "RedisLinkedServerWithPropertiesList", - type: { - name: "Composite", - className: "RedisLinkedServerWithPropertiesList", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RedisLinkedServerWithProperties" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; diff --git a/packages/@azure/arm-rediscache/lib/models/redisMappers.ts b/packages/@azure/arm-rediscache/lib/models/redisMappers.ts deleted file mode 100644 index f780133713ea..000000000000 --- a/packages/@azure/arm-rediscache/lib/models/redisMappers.ts +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - -export { - CheckNameAvailabilityParameters, - CloudError, - NotificationListResponse, - UpgradeNotification, - RedisCreateParameters, - Sku, - RedisResource, - TrackedResource, - Resource, - BaseResource, - RedisAccessKeys, - RedisLinkedServer, - RedisUpdateParameters, - RedisListResult, - RedisRegenerateKeyParameters, - RedisRebootParameters, - RedisForceRebootResponse, - ImportRDBParameters, - ExportRDBParameters, - ProxyResource, - RedisFirewallRule, - RedisPatchSchedule, - ScheduleEntry, - RedisLinkedServerWithProperties -} from "../models/mappers"; - diff --git a/packages/@azure/arm-rediscache/lib/operations/firewallRules.ts b/packages/@azure/arm-rediscache/lib/operations/firewallRules.ts deleted file mode 100644 index 06c4479181ec..000000000000 --- a/packages/@azure/arm-rediscache/lib/operations/firewallRules.ts +++ /dev/null @@ -1,335 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - -import * as msRest from "ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/firewallRulesMappers"; -import * as Parameters from "../models/parameters"; -import { RedisManagementClientContext } from "../redisManagementClientContext"; - -/** Class representing a FirewallRules. */ -export class FirewallRules { - private readonly client: RedisManagementClientContext; - - /** - * Create a FirewallRules. - * @param {RedisManagementClientContext} client Reference to the service client. - */ - constructor(client: RedisManagementClientContext) { - this.client = client; - } - - /** - * Gets all firewall rules in the specified redis cache. - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param [options] The optional parameters - * @returns Promise - */ - listByRedisResource(resourceGroupName: string, cacheName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param callback The callback - */ - listByRedisResource(resourceGroupName: string, cacheName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param options The optional parameters - * @param callback The callback - */ - listByRedisResource(resourceGroupName: string, cacheName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByRedisResource(resourceGroupName: string, cacheName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - cacheName, - options - }, - listByRedisResourceOperationSpec, - callback) as Promise; - } - - /** - * Create or update a redis cache firewall rule - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param ruleName The name of the firewall rule. - * @param parameters Parameters supplied to the create or update redis firewall rule operation. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(resourceGroupName: string, cacheName: string, ruleName: string, parameters: Models.RedisFirewallRuleCreateParameters, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param ruleName The name of the firewall rule. - * @param parameters Parameters supplied to the create or update redis firewall rule operation. - * @param callback The callback - */ - createOrUpdate(resourceGroupName: string, cacheName: string, ruleName: string, parameters: Models.RedisFirewallRuleCreateParameters, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param ruleName The name of the firewall rule. - * @param parameters Parameters supplied to the create or update redis firewall rule operation. - * @param options The optional parameters - * @param callback The callback - */ - createOrUpdate(resourceGroupName: string, cacheName: string, ruleName: string, parameters: Models.RedisFirewallRuleCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, cacheName: string, ruleName: string, parameters: Models.RedisFirewallRuleCreateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - cacheName, - ruleName, - parameters, - options - }, - createOrUpdateOperationSpec, - callback) as Promise; - } - - /** - * Gets a single firewall rule in a specified redis cache. - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param ruleName The name of the firewall rule. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, cacheName: string, ruleName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param ruleName The name of the firewall rule. - * @param callback The callback - */ - get(resourceGroupName: string, cacheName: string, ruleName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param ruleName The name of the firewall rule. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, cacheName: string, ruleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, cacheName: string, ruleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - cacheName, - ruleName, - options - }, - getOperationSpec, - callback) as Promise; - } - - /** - * Deletes a single firewall rule in a specified redis cache. - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param ruleName The name of the firewall rule. - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, cacheName: string, ruleName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param ruleName The name of the firewall rule. - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, cacheName: string, ruleName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param ruleName The name of the firewall rule. - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, cacheName: string, ruleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, cacheName: string, ruleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - cacheName, - ruleName, - options - }, - deleteMethodOperationSpec, - callback); - } - - /** - * Gets all firewall rules in the specified redis cache. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByRedisResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByRedisResourceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listByRedisResourceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByRedisResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByRedisResourceNextOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listByRedisResourceOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.cacheName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisFirewallRuleListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.cacheName, - Parameters.ruleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.RedisFirewallRuleCreateParameters, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.RedisFirewallRule - }, - 201: { - bodyMapper: Mappers.RedisFirewallRule - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.cacheName, - Parameters.ruleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisFirewallRule - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.cacheName, - Parameters.ruleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listByRedisResourceNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisFirewallRuleListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/packages/@azure/arm-rediscache/lib/operations/linkedServer.ts b/packages/@azure/arm-rediscache/lib/operations/linkedServer.ts deleted file mode 100644 index f6d9e451193c..000000000000 --- a/packages/@azure/arm-rediscache/lib/operations/linkedServer.ts +++ /dev/null @@ -1,331 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - -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/linkedServerMappers"; -import * as Parameters from "../models/parameters"; -import { RedisManagementClientContext } from "../redisManagementClientContext"; - -/** Class representing a LinkedServer. */ -export class LinkedServer { - private readonly client: RedisManagementClientContext; - - /** - * Create a LinkedServer. - * @param {RedisManagementClientContext} client Reference to the service client. - */ - constructor(client: RedisManagementClientContext) { - this.client = client; - } - - /** - * Adds a linked server to the Redis cache (requires Premium SKU). - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param linkedServerName The name of the linked server that is being added to the Redis cache. - * @param parameters Parameters supplied to the Create Linked server operation. - * @param [options] The optional parameters - * @returns Promise - */ - create(resourceGroupName: string, name: string, linkedServerName: string, parameters: Models.RedisLinkedServerCreateParameters, options?: msRest.RequestOptionsBase): Promise { - return this.beginCreate(resourceGroupName,name,linkedServerName,parameters,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; - } - - /** - * Deletes the linked server from a redis cache (requires Premium SKU). - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param linkedServerName The name of the linked server that is being added to the Redis cache. - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, name: string, linkedServerName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param linkedServerName The name of the linked server that is being added to the Redis cache. - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, name: string, linkedServerName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param linkedServerName The name of the linked server that is being added to the Redis cache. - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, name: string, linkedServerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, name: string, linkedServerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - linkedServerName, - options - }, - deleteMethodOperationSpec, - callback); - } - - /** - * Gets the detailed information about a linked server of a redis cache (requires Premium SKU). - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param linkedServerName The name of the linked server. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, name: string, linkedServerName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param linkedServerName The name of the linked server. - * @param callback The callback - */ - get(resourceGroupName: string, name: string, linkedServerName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param linkedServerName The name of the linked server. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, name: string, linkedServerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, name: string, linkedServerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - linkedServerName, - options - }, - getOperationSpec, - callback) as Promise; - } - - /** - * Gets the list of linked servers associated with this redis cache (requires Premium SKU). - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param [options] The optional parameters - * @returns Promise - */ - list(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param callback The callback - */ - list(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param options The optional parameters - * @param callback The callback - */ - list(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - listOperationSpec, - callback) as Promise; - } - - /** - * Adds a linked server to the Redis cache (requires Premium SKU). - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param linkedServerName The name of the linked server that is being added to the Redis cache. - * @param parameters Parameters supplied to the Create Linked server operation. - * @param [options] The optional parameters - * @returns Promise - */ - beginCreate(resourceGroupName: string, name: string, linkedServerName: string, parameters: Models.RedisLinkedServerCreateParameters, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - name, - linkedServerName, - parameters, - options - }, - beginCreateOperationSpec, - options); - } - - /** - * Gets the list of linked servers associated with this redis cache (requires Premium SKU). - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listNextOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers/{linkedServerName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.linkedServerName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers/{linkedServerName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.linkedServerName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisLinkedServerWithProperties - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisLinkedServerWithPropertiesList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const beginCreateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/linkedServers/{linkedServerName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.linkedServerName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.RedisLinkedServerCreateParameters, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.RedisLinkedServerWithProperties - }, - 201: { - bodyMapper: Mappers.RedisLinkedServerWithProperties - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisLinkedServerWithPropertiesList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/packages/@azure/arm-rediscache/lib/operations/operations.ts b/packages/@azure/arm-rediscache/lib/operations/operations.ts deleted file mode 100644 index 589c072e0b68..000000000000 --- a/packages/@azure/arm-rediscache/lib/operations/operations.ts +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - -import * as msRest from "ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/operationsMappers"; -import * as Parameters from "../models/parameters"; -import { RedisManagementClientContext } from "../redisManagementClientContext"; - -/** Class representing a Operations. */ -export class Operations { - private readonly client: RedisManagementClientContext; - - /** - * Create a Operations. - * @param {RedisManagementClientContext} client Reference to the service client. - */ - constructor(client: RedisManagementClientContext) { - this.client = client; - } - - /** - * Lists all of the available REST API operations of the Microsoft.Cache provider. - * @param [options] The optional parameters - * @returns Promise - */ - list(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - list(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options - }, - listOperationSpec, - callback) as Promise; - } - - /** - * Lists all of the available REST API operations of the Microsoft.Cache provider. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listNextOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "providers/Microsoft.Cache/operations", - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.OperationListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.OperationListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/packages/@azure/arm-rediscache/lib/operations/patchSchedules.ts b/packages/@azure/arm-rediscache/lib/operations/patchSchedules.ts deleted file mode 100644 index 4e09d5a857f7..000000000000 --- a/packages/@azure/arm-rediscache/lib/operations/patchSchedules.ts +++ /dev/null @@ -1,325 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - -import * as msRest from "ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/patchSchedulesMappers"; -import * as Parameters from "../models/parameters"; -import { RedisManagementClientContext } from "../redisManagementClientContext"; - -/** Class representing a PatchSchedules. */ -export class PatchSchedules { - private readonly client: RedisManagementClientContext; - - /** - * Create a PatchSchedules. - * @param {RedisManagementClientContext} client Reference to the service client. - */ - constructor(client: RedisManagementClientContext) { - this.client = client; - } - - /** - * Gets all patch schedules in the specified redis cache (there is only one). - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param [options] The optional parameters - * @returns Promise - */ - listByRedisResource(resourceGroupName: string, cacheName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param callback The callback - */ - listByRedisResource(resourceGroupName: string, cacheName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param cacheName The name of the Redis cache. - * @param options The optional parameters - * @param callback The callback - */ - listByRedisResource(resourceGroupName: string, cacheName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByRedisResource(resourceGroupName: string, cacheName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - cacheName, - options - }, - listByRedisResourceOperationSpec, - callback) as Promise; - } - - /** - * Create or replace the patching schedule for Redis cache (requires Premium SKU). - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param scheduleEntries List of patch schedules for a Redis cache. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(resourceGroupName: string, name: string, scheduleEntries: Models.ScheduleEntry[], options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param scheduleEntries List of patch schedules for a Redis cache. - * @param callback The callback - */ - createOrUpdate(resourceGroupName: string, name: string, scheduleEntries: Models.ScheduleEntry[], callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param scheduleEntries List of patch schedules for a Redis cache. - * @param options The optional parameters - * @param callback The callback - */ - createOrUpdate(resourceGroupName: string, name: string, scheduleEntries: Models.ScheduleEntry[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, name: string, scheduleEntries: Models.ScheduleEntry[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - scheduleEntries, - options - }, - createOrUpdateOperationSpec, - callback) as Promise; - } - - /** - * Deletes the patching schedule of a redis cache (requires Premium SKU). - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - deleteMethodOperationSpec, - callback); - } - - /** - * Gets the patching schedule of a redis cache (requires Premium SKU). - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param callback The callback - */ - get(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the redis cache. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - getOperationSpec, - callback) as Promise; - } - - /** - * Gets all patch schedules in the specified redis cache (there is only one). - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByRedisResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByRedisResourceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listByRedisResourceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByRedisResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByRedisResourceNextOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listByRedisResourceOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/patchSchedules", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.cacheName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisPatchScheduleListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/patchSchedules/{default}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.defaultParameter, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: { - scheduleEntries: "scheduleEntries" - }, - mapper: { - ...Mappers.RedisPatchSchedule, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.RedisPatchSchedule - }, - 201: { - bodyMapper: Mappers.RedisPatchSchedule - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/patchSchedules/{default}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.defaultParameter, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/patchSchedules/{default}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.defaultParameter, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisPatchSchedule - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listByRedisResourceNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisPatchScheduleListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/packages/@azure/arm-rediscache/lib/operations/redis.ts b/packages/@azure/arm-rediscache/lib/operations/redis.ts deleted file mode 100644 index f92752599903..000000000000 --- a/packages/@azure/arm-rediscache/lib/operations/redis.ts +++ /dev/null @@ -1,928 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - -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/redisMappers"; -import * as Parameters from "../models/parameters"; -import { RedisManagementClientContext } from "../redisManagementClientContext"; - -/** Class representing a Redis. */ -export class Redis { - private readonly client: RedisManagementClientContext; - - /** - * Create a Redis. - * @param {RedisManagementClientContext} client Reference to the service client. - */ - constructor(client: RedisManagementClientContext) { - this.client = client; - } - - /** - * Checks that the redis cache name is valid and is not already in use. - * @param parameters Parameters supplied to the CheckNameAvailability Redis operation. The only - * supported resource type is 'Microsoft.Cache/redis' - * @param [options] The optional parameters - * @returns Promise - */ - checkNameAvailability(parameters: Models.CheckNameAvailabilityParameters, options?: msRest.RequestOptionsBase): Promise; - /** - * @param parameters Parameters supplied to the CheckNameAvailability Redis operation. The only - * supported resource type is 'Microsoft.Cache/redis' - * @param callback The callback - */ - checkNameAvailability(parameters: Models.CheckNameAvailabilityParameters, callback: msRest.ServiceCallback): void; - /** - * @param parameters Parameters supplied to the CheckNameAvailability Redis operation. The only - * supported resource type is 'Microsoft.Cache/redis' - * @param options The optional parameters - * @param callback The callback - */ - checkNameAvailability(parameters: Models.CheckNameAvailabilityParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(parameters: Models.CheckNameAvailabilityParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - parameters, - options - }, - checkNameAvailabilityOperationSpec, - callback); - } - - /** - * Gets any upgrade notifications for a Redis cache. - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param history how many minutes in past to look for upgrade notifications - * @param [options] The optional parameters - * @returns Promise - */ - listUpgradeNotifications(resourceGroupName: string, name: string, history: number, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param history how many minutes in past to look for upgrade notifications - * @param callback The callback - */ - listUpgradeNotifications(resourceGroupName: string, name: string, history: number, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param history how many minutes in past to look for upgrade notifications - * @param options The optional parameters - * @param callback The callback - */ - listUpgradeNotifications(resourceGroupName: string, name: string, history: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listUpgradeNotifications(resourceGroupName: string, name: string, history: number, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - history, - options - }, - listUpgradeNotificationsOperationSpec, - callback) as Promise; - } - - /** - * Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache. - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param parameters Parameters supplied to the Create Redis operation. - * @param [options] The optional parameters - * @returns Promise - */ - create(resourceGroupName: string, name: string, parameters: Models.RedisCreateParameters, options?: msRest.RequestOptionsBase): Promise { - return this.beginCreate(resourceGroupName,name,parameters,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; - } - - /** - * Update an existing Redis cache. - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param parameters Parameters supplied to the Update Redis operation. - * @param [options] The optional parameters - * @returns Promise - */ - update(resourceGroupName: string, name: string, parameters: Models.RedisUpdateParameters, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param parameters Parameters supplied to the Update Redis operation. - * @param callback The callback - */ - update(resourceGroupName: string, name: string, parameters: Models.RedisUpdateParameters, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param parameters Parameters supplied to the Update Redis operation. - * @param options The optional parameters - * @param callback The callback - */ - update(resourceGroupName: string, name: string, parameters: Models.RedisUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, name: string, parameters: Models.RedisUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - parameters, - options - }, - updateOperationSpec, - callback) as Promise; - } - - /** - * Deletes a Redis cache. - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginDeleteMethod(resourceGroupName,name,options) - .then(lroPoller => lroPoller.pollUntilFinished()); - } - - /** - * Gets a Redis cache (resource description). - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param callback The callback - */ - get(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - getOperationSpec, - callback) as Promise; - } - - /** - * Lists all Redis caches in a resource group. - * @param resourceGroupName The name of the resource group. - * @param [options] The optional parameters - * @returns Promise - */ - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param callback The callback - */ - listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param options The optional parameters - * @param callback The callback - */ - listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - options - }, - listByResourceGroupOperationSpec, - callback) as Promise; - } - - /** - * Gets all Redis caches in the specified subscription. - * @param [options] The optional parameters - * @returns Promise - */ - list(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - list(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options - }, - listOperationSpec, - callback) as Promise; - } - - /** - * Retrieve a Redis cache's access keys. This operation requires write permission to the cache - * resource. - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param [options] The optional parameters - * @returns Promise - */ - listKeys(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param callback The callback - */ - listKeys(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param options The optional parameters - * @param callback The callback - */ - listKeys(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - listKeysOperationSpec, - callback) as Promise; - } - - /** - * Regenerate Redis cache's access keys. This operation requires write permission to the cache - * resource. - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param keyType The Redis access key to regenerate. Possible values include: 'Primary', - * 'Secondary' - * @param [options] The optional parameters - * @returns Promise - */ - regenerateKey(resourceGroupName: string, name: string, keyType: Models.RedisKeyType, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param keyType The Redis access key to regenerate. Possible values include: 'Primary', - * 'Secondary' - * @param callback The callback - */ - regenerateKey(resourceGroupName: string, name: string, keyType: Models.RedisKeyType, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param keyType The Redis access key to regenerate. Possible values include: 'Primary', - * 'Secondary' - * @param options The optional parameters - * @param callback The callback - */ - regenerateKey(resourceGroupName: string, name: string, keyType: Models.RedisKeyType, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKey(resourceGroupName: string, name: string, keyType: Models.RedisKeyType, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - keyType, - options - }, - regenerateKeyOperationSpec, - callback) as Promise; - } - - /** - * Reboot specified Redis node(s). This operation requires write permission to the cache resource. - * There can be potential data loss. - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param parameters Specifies which Redis node(s) to reboot. - * @param [options] The optional parameters - * @returns Promise - */ - forceReboot(resourceGroupName: string, name: string, parameters: Models.RedisRebootParameters, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param parameters Specifies which Redis node(s) to reboot. - * @param callback The callback - */ - forceReboot(resourceGroupName: string, name: string, parameters: Models.RedisRebootParameters, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param parameters Specifies which Redis node(s) to reboot. - * @param options The optional parameters - * @param callback The callback - */ - forceReboot(resourceGroupName: string, name: string, parameters: Models.RedisRebootParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - forceReboot(resourceGroupName: string, name: string, parameters: Models.RedisRebootParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - parameters, - options - }, - forceRebootOperationSpec, - callback) as Promise; - } - - /** - * Import data into Redis cache. - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param parameters Parameters for Redis import operation. - * @param [options] The optional parameters - * @returns Promise - */ - importData(resourceGroupName: string, name: string, parameters: Models.ImportRDBParameters, options?: msRest.RequestOptionsBase): Promise { - return this.beginImportData(resourceGroupName,name,parameters,options) - .then(lroPoller => lroPoller.pollUntilFinished()); - } - - /** - * Export data from the redis cache to blobs in a container. - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param parameters Parameters for Redis export operation. - * @param [options] The optional parameters - * @returns Promise - */ - exportData(resourceGroupName: string, name: string, parameters: Models.ExportRDBParameters, options?: msRest.RequestOptionsBase): Promise { - return this.beginExportData(resourceGroupName,name,parameters,options) - .then(lroPoller => lroPoller.pollUntilFinished()); - } - - /** - * Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache. - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param parameters Parameters supplied to the Create Redis operation. - * @param [options] The optional parameters - * @returns Promise - */ - beginCreate(resourceGroupName: string, name: string, parameters: Models.RedisCreateParameters, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - name, - parameters, - options - }, - beginCreateOperationSpec, - options); - } - - /** - * Deletes a Redis cache. - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param [options] The optional parameters - * @returns Promise - */ - beginDeleteMethod(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - name, - options - }, - beginDeleteMethodOperationSpec, - options); - } - - /** - * Import data into Redis cache. - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param parameters Parameters for Redis import operation. - * @param [options] The optional parameters - * @returns Promise - */ - beginImportData(resourceGroupName: string, name: string, parameters: Models.ImportRDBParameters, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - name, - parameters, - options - }, - beginImportDataOperationSpec, - options); - } - - /** - * Export data from the redis cache to blobs in a container. - * @param resourceGroupName The name of the resource group. - * @param name The name of the Redis cache. - * @param parameters Parameters for Redis export operation. - * @param [options] The optional parameters - * @returns Promise - */ - beginExportData(resourceGroupName: string, name: string, parameters: Models.ExportRDBParameters, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - name, - parameters, - options - }, - beginExportDataOperationSpec, - options); - } - - /** - * Lists all Redis caches in a resource group. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByResourceGroupNextOperationSpec, - callback) as Promise; - } - - /** - * Gets all Redis caches in the specified subscription. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listNextOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const checkNameAvailabilityOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Cache/CheckNameAvailability", - urlParameters: [ - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.CheckNameAvailabilityParameters, - required: true - } - }, - responses: { - 200: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listUpgradeNotificationsOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/listUpgradeNotifications", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion, - Parameters.history - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.NotificationListResponse - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const updateOperationSpec: msRest.OperationSpec = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.RedisUpdateParameters, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.RedisResource - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisResource - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listByResourceGroupOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Cache/Redis", - urlParameters: [ - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listKeysOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/listKeys", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisAccessKeys - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const regenerateKeyOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/regenerateKey", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: { - keyType: "keyType" - }, - mapper: { - ...Mappers.RedisRegenerateKeyParameters, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.RedisAccessKeys - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const forceRebootOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/forceReboot", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.RedisRebootParameters, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.RedisForceRebootResponse - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const beginCreateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.RedisCreateParameters, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.RedisResource - }, - 201: { - bodyMapper: Mappers.RedisResource - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const beginDeleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const beginImportDataOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/import", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.ImportRDBParameters, - required: true - } - }, - responses: { - 200: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const beginExportDataOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{name}/export", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.ExportRDBParameters, - required: true - } - }, - responses: { - 200: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RedisListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/packages/@azure/arm-rediscache/lib/redisManagementClient.ts b/packages/@azure/arm-rediscache/lib/redisManagementClient.ts deleted file mode 100644 index 7b809071ab88..000000000000 --- a/packages/@azure/arm-rediscache/lib/redisManagementClient.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - -import * as msRest from "ms-rest-js"; -import * as Models from "./models"; -import * as Mappers from "./models/mappers"; -import * as operations from "./operations"; -import { RedisManagementClientContext } from "./redisManagementClientContext"; - - -class RedisManagementClient extends RedisManagementClientContext { - // Operation groups - operations: operations.Operations; - redis: operations.Redis; - firewallRules: operations.FirewallRules; - patchSchedules: operations.PatchSchedules; - linkedServer: operations.LinkedServer; - - /** - * Initializes a new instance of the RedisManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. - * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure - * subscription. The subscription ID forms part of the URI for every service call. - * @param [options] The parameter options - */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.RedisManagementClientOptions) { - super(credentials, subscriptionId, options); - this.operations = new operations.Operations(this); - this.redis = new operations.Redis(this); - this.firewallRules = new operations.FirewallRules(this); - this.patchSchedules = new operations.PatchSchedules(this); - this.linkedServer = new operations.LinkedServer(this); - } -} - -// Operation Specifications - -export { - RedisManagementClient, - RedisManagementClientContext, - Models as RedisManagementModels, - Mappers as RedisManagementMappers -}; -export * from "./operations"; diff --git a/packages/@azure/arm-rediscache/package.json b/packages/@azure/arm-rediscache/package.json deleted file mode 100644 index d8e005fd92f2..000000000000 --- a/packages/@azure/arm-rediscache/package.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "@azure/arm-rediscache", - "author": "Microsoft Corporation", - "description": "RedisManagementClient Library with typescript type definitions for node.js and browser.", - "version": "0.1.0", - "dependencies": { - "ms-rest-azure-js": "^1.0.166", - "ms-rest-js": "^1.0.439", - "tslib": "^1.9.3" - }, - "keywords": [ - "node", - "azure", - "typescript", - "browser", - "isomorphic" - ], - "license": "MIT", - "main": "./dist/arm-rediscache.js", - "module": "./esm/redisManagementClient.js", - "types": "./esm/redisManagementClient.d.ts", - "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", - "uglify-js": "^3.4.9" - }, - "homepage": "https://github.com/azure/azure-sdk-for-js", - "repository": { - "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" - }, - "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" - }, - "scripts": { - "build": "tsc && rollup -c rollup.config.js && npm run minify", - "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-rediscache.js.map'\" -o ./dist/arm-rediscache.min.js ./dist/arm-rediscache.js", - "prepare": "npm run build" - }, - "sideEffects": false -} \ No newline at end of file diff --git a/packages/@azure/arm-relay/.npmignore b/packages/@azure/arm-relay/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-relay/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-relay/README.md b/packages/@azure/arm-relay/README.md index bd56cc0e0251..e57acc037f14 100644 --- a/packages/@azure/arm-relay/README.md +++ b/packages/@azure/arm-relay/README.md @@ -1,24 +1,34 @@ -# Azure RelayManagementClient SDK for JavaScript +## Azure RelayManagementClient SDK for JavaScript + This package contains an isomorphic SDK for RelayManagementClient. -## 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-relay ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { RelayManagementClient, RelayManagementModels, RelayManagementMappers } from "@azure/arm-relay"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-relay 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-relay/lib/models/index.ts b/packages/@azure/arm-relay/lib/models/index.ts index ab6f6b7d8fef..a25ca873f859 100644 --- a/packages/@azure/arm-relay/lib/models/index.ts +++ b/packages/@azure/arm-relay/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -557,10 +557,7 @@ export interface WcfRelaysListResult extends Array { * @readonly * @enum {string} */ -export enum Relaytype { - NetTcp = 'NetTcp', - Http = 'Http', -} +export type Relaytype = 'NetTcp' | 'Http'; /** * Defines values for SkuTier. @@ -568,25 +565,15 @@ export enum Relaytype { * @readonly * @enum {string} */ -export enum SkuTier { - Standard = 'Standard', -} +export type SkuTier = 'Standard'; /** * Defines values for ProvisioningStateEnum. - * Possible values include: 'Created', 'Succeeded', 'Deleted', 'Failed', - * 'Updating', 'Unknown' + * Possible values include: 'Created', 'Succeeded', 'Deleted', 'Failed', 'Updating', 'Unknown' * @readonly * @enum {string} */ -export enum ProvisioningStateEnum { - Created = 'Created', - Succeeded = 'Succeeded', - Deleted = 'Deleted', - Failed = 'Failed', - Updating = 'Updating', - Unknown = 'Unknown', -} +export type ProvisioningStateEnum = 'Created' | 'Succeeded' | 'Deleted' | 'Failed' | 'Updating' | 'Unknown'; /** * Defines values for AccessRights. @@ -594,11 +581,7 @@ export enum ProvisioningStateEnum { * @readonly * @enum {string} */ -export enum AccessRights { - Manage = 'Manage', - Send = 'Send', - Listen = 'Listen', -} +export type AccessRights = 'Manage' | 'Send' | 'Listen'; /** * Defines values for KeyType. @@ -606,26 +589,16 @@ export enum AccessRights { * @readonly * @enum {string} */ -export enum KeyType { - PrimaryKey = 'PrimaryKey', - SecondaryKey = 'SecondaryKey', -} +export type KeyType = 'PrimaryKey' | 'SecondaryKey'; /** * Defines values for UnavailableReason. - * Possible values include: 'None', 'InvalidName', 'SubscriptionIsDisabled', - * 'NameInUse', 'NameInLockdown', 'TooManyNamespaceInCurrentSubscription' + * Possible values include: 'None', 'InvalidName', 'SubscriptionIsDisabled', 'NameInUse', + * 'NameInLockdown', 'TooManyNamespaceInCurrentSubscription' * @readonly * @enum {string} */ -export enum UnavailableReason { - None = 'None', - InvalidName = 'InvalidName', - SubscriptionIsDisabled = 'SubscriptionIsDisabled', - NameInUse = 'NameInUse', - NameInLockdown = 'NameInLockdown', - TooManyNamespaceInCurrentSubscription = 'TooManyNamespaceInCurrentSubscription', -} +export type UnavailableReason = 'None' | 'InvalidName' | 'SubscriptionIsDisabled' | 'NameInUse' | 'NameInLockdown' | 'TooManyNamespaceInCurrentSubscription'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-relay/lib/models/mappers.ts b/packages/@azure/arm-relay/lib/models/mappers.ts index 435883ac1b7c..b1dd22291a64 100644 --- a/packages/@azure/arm-relay/lib/models/mappers.ts +++ b/packages/@azure/arm-relay/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-relay/lib/models/parameters.ts b/packages/@azure/arm-relay/lib/models/parameters.ts index ea6714f834e0..d5b8cd02599a 100644 --- a/packages/@azure/arm-relay/lib/models/parameters.ts +++ b/packages/@azure/arm-relay/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-relay/lib/operations/hybridConnections.ts b/packages/@azure/arm-relay/lib/operations/hybridConnections.ts index 7e6c4a053fc8..5618c3f5a3be 100644 --- a/packages/@azure/arm-relay/lib/operations/hybridConnections.ts +++ b/packages/@azure/arm-relay/lib/operations/hybridConnections.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/hybridConnectionsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class HybridConnections { * @param callback The callback */ listByNamespace(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByNamespace(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByNamespace(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class HybridConnections { * @param callback The callback */ createOrUpdate(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, parameters: Models.HybridConnection, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, parameters: Models.HybridConnection, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, parameters: Models.HybridConnection, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -122,7 +122,7 @@ export class HybridConnections { * @param callback The callback */ deleteMethod(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class HybridConnections { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -194,7 +194,7 @@ export class HybridConnections { * @param callback The callback */ listAuthorizationRules(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRules(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRules(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -236,7 +236,7 @@ export class HybridConnections { * @param callback The callback */ createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -277,7 +277,7 @@ export class HybridConnections { * @param callback The callback */ deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -317,7 +317,7 @@ export class HybridConnections { * @param callback The callback */ getAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -357,7 +357,7 @@ export class HybridConnections { * @param callback The callback */ listKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -400,7 +400,7 @@ export class HybridConnections { * @param callback The callback */ regenerateKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -432,7 +432,7 @@ export class HybridConnections { * @param callback The callback */ listByNamespaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByNamespaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByNamespaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -460,7 +460,7 @@ export class HybridConnections { * @param callback The callback */ listAuthorizationRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-relay/lib/operations/namespaces.ts b/packages/@azure/arm-relay/lib/operations/namespaces.ts index 6b6efac9140d..e78b187c7db3 100644 --- a/packages/@azure/arm-relay/lib/operations/namespaces.ts +++ b/packages/@azure/arm-relay/lib/operations/namespaces.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/namespacesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Namespaces { * @param callback The callback */ checkNameAvailabilityMethod(parameters: Models.CheckNameAvailability, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailabilityMethod(parameters: Models.CheckNameAvailability, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailabilityMethod(parameters: Models.CheckNameAvailability, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -70,7 +70,7 @@ export class Namespaces { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -97,7 +97,7 @@ export class Namespaces { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -154,7 +154,7 @@ export class Namespaces { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -190,7 +190,7 @@ export class Namespaces { * @param callback The callback */ update(resourceGroupName: string, namespaceName: string, parameters: Models.RelayUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, namespaceName: string, parameters: Models.RelayUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, namespaceName: string, parameters: Models.RelayUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -223,7 +223,7 @@ export class Namespaces { * @param callback The callback */ listAuthorizationRules(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -261,7 +261,7 @@ export class Namespaces { * @param callback The callback */ createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -298,7 +298,7 @@ export class Namespaces { * @param callback The callback */ deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -334,7 +334,7 @@ export class Namespaces { * @param callback The callback */ getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -370,7 +370,7 @@ export class Namespaces { * @param callback The callback */ listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -409,7 +409,7 @@ export class Namespaces { * @param callback The callback */ regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -479,7 +479,7 @@ export class Namespaces { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -507,7 +507,7 @@ export class Namespaces { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -535,7 +535,7 @@ export class Namespaces { * @param callback The callback */ listAuthorizationRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-relay/lib/operations/operations.ts b/packages/@azure/arm-relay/lib/operations/operations.ts index 86fc687387b8..2d64cbe9bd60 100644 --- a/packages/@azure/arm-relay/lib/operations/operations.ts +++ b/packages/@azure/arm-relay/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-relay/lib/operations/wCFRelays.ts b/packages/@azure/arm-relay/lib/operations/wCFRelays.ts index 7d7a18eaddbb..1ef280a8dc55 100644 --- a/packages/@azure/arm-relay/lib/operations/wCFRelays.ts +++ b/packages/@azure/arm-relay/lib/operations/wCFRelays.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/wCFRelaysMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class WCFRelays { * @param callback The callback */ listByNamespace(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByNamespace(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByNamespace(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class WCFRelays { * @param callback The callback */ createOrUpdate(resourceGroupName: string, namespaceName: string, relayName: string, parameters: Models.WcfRelay, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, namespaceName: string, relayName: string, parameters: Models.WcfRelay, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, namespaceName: string, relayName: string, parameters: Models.WcfRelay, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -122,7 +122,7 @@ export class WCFRelays { * @param callback The callback */ deleteMethod(resourceGroupName: string, namespaceName: string, relayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class WCFRelays { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, relayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -194,7 +194,7 @@ export class WCFRelays { * @param callback The callback */ listAuthorizationRules(resourceGroupName: string, namespaceName: string, relayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRules(resourceGroupName: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRules(resourceGroupName: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -236,7 +236,7 @@ export class WCFRelays { * @param callback The callback */ createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -277,7 +277,7 @@ export class WCFRelays { * @param callback The callback */ deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -317,7 +317,7 @@ export class WCFRelays { * @param callback The callback */ getAuthorizationRule(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAuthorizationRule(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAuthorizationRule(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -357,7 +357,7 @@ export class WCFRelays { * @param callback The callback */ listKeys(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -400,7 +400,7 @@ export class WCFRelays { * @param callback The callback */ regenerateKeys(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKeys(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKeys(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -432,7 +432,7 @@ export class WCFRelays { * @param callback The callback */ listByNamespaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByNamespaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByNamespaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -460,7 +460,7 @@ export class WCFRelays { * @param callback The callback */ listAuthorizationRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-relay/lib/relayManagementClient.ts b/packages/@azure/arm-relay/lib/relayManagementClient.ts index f823dc223049..41bfce598bec 100644 --- a/packages/@azure/arm-relay/lib/relayManagementClient.ts +++ b/packages/@azure/arm-relay/lib/relayManagementClient.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-relay/lib/relayManagementClientContext.ts b/packages/@azure/arm-relay/lib/relayManagementClientContext.ts index 0c27471286f7..a00071e51c98 100644 --- a/packages/@azure/arm-relay/lib/relayManagementClientContext.ts +++ b/packages/@azure/arm-relay/lib/relayManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-relay"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class RelayManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the RelayManagementClient class. @@ -45,6 +38,11 @@ export class RelayManagementClientContext extends msRestAzure.AzureServiceClient if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-04-01'; @@ -55,7 +53,6 @@ export class RelayManagementClientContext extends msRestAzure.AzureServiceClient this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-relay/package.json b/packages/@azure/arm-relay/package.json index 51ffd8f3f299..c6becb8a4f4c 100644 --- a/packages/@azure/arm-relay/package.json +++ b/packages/@azure/arm-relay/package.json @@ -4,8 +4,8 @@ "description": "RelayManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-relay.js.map'\" -o ./dist/arm-relay.min.js ./dist/arm-relay.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-relay/rollup.config.js b/packages/@azure/arm-relay/rollup.config.js index 969043b69a7c..ab4b0f0bd608 100644 --- a/packages/@azure/arm-relay/rollup.config.js +++ b/packages/@azure/arm-relay/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/relayManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-relay.js", format: "umd", name: "Azure.ArmRelay", 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-relay/tsconfig.esm.json b/packages/@azure/arm-relay/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-relay/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-relay/tsconfig.json b/packages/@azure/arm-relay/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-relay/tsconfig.json +++ b/packages/@azure/arm-relay/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-relay/webpack.config.js b/packages/@azure/arm-relay/webpack.config.js deleted file mode 100644 index 9ffa845a326f..000000000000 --- a/packages/@azure/arm-relay/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/relayManagementClient.js', - devtool: 'source-map', - output: { - filename: 'relayManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'relayManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-reservations/README.md b/packages/@azure/arm-reservations/README.md index 7e8e5e5b7861..102ba1a0e19c 100644 --- a/packages/@azure/arm-reservations/README.md +++ b/packages/@azure/arm-reservations/README.md @@ -1,24 +1,34 @@ -# Azure AzureReservationAPI SDK for JavaScript +## Azure AzureReservationAPI SDK for JavaScript + This package contains an isomorphic SDK for AzureReservationAPI. -## 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-reservations ``` +### How to use + +#### nodejs - Authentication, client creation and getCatalog as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and getCatalog as an example written in TypeScript. +##### Sample code ```ts -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 { AzureReservationAPI, AzureReservationAPIModels, AzureReservationAPIMappers } from "@azure/arm-reservations"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -36,7 +46,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and getCatalog as an example written in JavaScript. +#### browser - Authentication, client creation and getCatalog as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -45,11 +64,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-reservations 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-reservations/lib/azureReservationAPI.ts b/packages/@azure/arm-reservations/lib/azureReservationAPI.ts index 8e81c67e819e..3af0b67288f5 100644 --- a/packages/@azure/arm-reservations/lib/azureReservationAPI.ts +++ b/packages/@azure/arm-reservations/lib/azureReservationAPI.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 Parameters from "./models/parameters"; @@ -56,7 +56,7 @@ class AzureReservationAPI extends AzureReservationAPIContext { * @param callback The callback */ getCatalog(subscriptionId: string, reservedResourceType: string, options: Models.AzureReservationAPIGetCatalogOptionalParams, callback: msRest.ServiceCallback): void; - getCatalog(subscriptionId: string, reservedResourceType: string, options?: Models.AzureReservationAPIGetCatalogOptionalParams, callback?: msRest.ServiceCallback): Promise { + getCatalog(subscriptionId: string, reservedResourceType: string, options?: Models.AzureReservationAPIGetCatalogOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { subscriptionId, @@ -86,7 +86,7 @@ class AzureReservationAPI extends AzureReservationAPIContext { * @param callback The callback */ getAppliedReservationList(subscriptionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAppliedReservationList(subscriptionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAppliedReservationList(subscriptionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { subscriptionId, diff --git a/packages/@azure/arm-reservations/lib/azureReservationAPIContext.ts b/packages/@azure/arm-reservations/lib/azureReservationAPIContext.ts index 0d9943e48649..876e2db3e748 100644 --- a/packages/@azure/arm-reservations/lib/azureReservationAPIContext.ts +++ b/packages/@azure/arm-reservations/lib/azureReservationAPIContext.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-reservations"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class AzureReservationAPIContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/packages/@azure/arm-reservations/lib/models/index.ts b/packages/@azure/arm-reservations/lib/models/index.ts index 634d6f148b13..37c76d7f06ae 100644 --- a/packages/@azure/arm-reservations/lib/models/index.ts +++ b/packages/@azure/arm-reservations/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -606,188 +606,70 @@ export interface OperationList extends Array { /** * Defines values for ReservationStatusCode. - * Possible values include: 'None', 'Pending', 'Active', 'PurchaseError', - * 'PaymentInstrumentError', 'Split', 'Merged', 'Expired', 'Succeeded' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReservationStatusCode = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'Pending', 'Active', 'PurchaseError', 'PaymentInstrumentError', + * 'Split', 'Merged', 'Expired', 'Succeeded' * @readonly * @enum {string} */ -export enum ReservationStatusCode { - None = 'None', - Pending = 'Pending', - Active = 'Active', - PurchaseError = 'PurchaseError', - PaymentInstrumentError = 'PaymentInstrumentError', - Split = 'Split', - Merged = 'Merged', - Expired = 'Expired', - Succeeded = 'Succeeded', -} +export type ReservationStatusCode = 'None' | 'Pending' | 'Active' | 'PurchaseError' | 'PaymentInstrumentError' | 'Split' | 'Merged' | 'Expired' | 'Succeeded'; /** * Defines values for ErrorResponseCode. - * Possible values include: 'NotSpecified', 'InternalServerError', - * 'ServerTimeout', 'AuthorizationFailed', 'BadRequest', - * 'ClientCertificateThumbprintNotSet', 'InvalidRequestContent', - * 'OperationFailed', 'HttpMethodNotSupported', 'InvalidRequestUri', - * 'MissingTenantId', 'InvalidTenantId', 'InvalidReservationOrderId', - * 'InvalidReservationId', 'ReservationIdNotInReservationOrder', - * 'ReservationOrderNotFound', 'InvalidSubscriptionId', 'InvalidAccessToken', - * 'InvalidLocationId', 'UnauthenticatedRequestsThrottled', + * Possible values include: 'NotSpecified', 'InternalServerError', 'ServerTimeout', + * 'AuthorizationFailed', 'BadRequest', 'ClientCertificateThumbprintNotSet', + * 'InvalidRequestContent', 'OperationFailed', 'HttpMethodNotSupported', 'InvalidRequestUri', + * 'MissingTenantId', 'InvalidTenantId', 'InvalidReservationOrderId', 'InvalidReservationId', + * 'ReservationIdNotInReservationOrder', 'ReservationOrderNotFound', 'InvalidSubscriptionId', + * 'InvalidAccessToken', 'InvalidLocationId', 'UnauthenticatedRequestsThrottled', * 'InvalidHealthCheckType', 'Forbidden', 'BillingScopeIdCannotBeChanged', - * 'AppliedScopesNotAssociatedWithCommerceAccount', - * 'PatchValuesSameAsExisting', 'RoleAssignmentCreationFailed', - * 'ReservationOrderCreationFailed', 'ReservationOrderNotEnabled', - * 'CapacityUpdateScopesFailed', 'UnsupportedReservationTerm', - * 'ReservationOrderIdAlreadyExists', 'RiskCheckFailed', 'CreateQuoteFailed', - * 'ActivateQuoteFailed', 'NonsupportedAccountId', 'PaymentInstrumentNotFound', - * 'MissingAppliedScopesForSingle', 'NoValidReservationsToReRate', + * 'AppliedScopesNotAssociatedWithCommerceAccount', 'PatchValuesSameAsExisting', + * 'RoleAssignmentCreationFailed', 'ReservationOrderCreationFailed', 'ReservationOrderNotEnabled', + * 'CapacityUpdateScopesFailed', 'UnsupportedReservationTerm', 'ReservationOrderIdAlreadyExists', + * 'RiskCheckFailed', 'CreateQuoteFailed', 'ActivateQuoteFailed', 'NonsupportedAccountId', + * 'PaymentInstrumentNotFound', 'MissingAppliedScopesForSingle', 'NoValidReservationsToReRate', * 'ReRateOnlyAllowedForEA', 'OperationCannotBePerformedInCurrentState', - * 'InvalidSingleAppliedScopesCount', 'InvalidFulfillmentRequestParameters', - * 'NotSupportedCountry', 'InvalidRefundQuantity', 'PurchaseError', - * 'BillingCustomerInputError', 'BillingPaymentInstrumentSoftError', - * 'BillingPaymentInstrumentHardError', 'BillingTransientError', - * 'BillingError', 'FulfillmentConfigurationError', - * 'FulfillmentOutOfStockError', 'FulfillmentTransientError', - * 'FulfillmentError', 'CalculatePriceFailed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorResponseCode = - * "someUnknownValueThatWillStillBeValid"; + * 'InvalidSingleAppliedScopesCount', 'InvalidFulfillmentRequestParameters', 'NotSupportedCountry', + * 'InvalidRefundQuantity', 'PurchaseError', 'BillingCustomerInputError', + * 'BillingPaymentInstrumentSoftError', 'BillingPaymentInstrumentHardError', + * 'BillingTransientError', 'BillingError', 'FulfillmentConfigurationError', + * 'FulfillmentOutOfStockError', 'FulfillmentTransientError', 'FulfillmentError', + * 'CalculatePriceFailed' * @readonly * @enum {string} */ -export enum ErrorResponseCode { - NotSpecified = 'NotSpecified', - InternalServerError = 'InternalServerError', - ServerTimeout = 'ServerTimeout', - AuthorizationFailed = 'AuthorizationFailed', - BadRequest = 'BadRequest', - ClientCertificateThumbprintNotSet = 'ClientCertificateThumbprintNotSet', - InvalidRequestContent = 'InvalidRequestContent', - OperationFailed = 'OperationFailed', - HttpMethodNotSupported = 'HttpMethodNotSupported', - InvalidRequestUri = 'InvalidRequestUri', - MissingTenantId = 'MissingTenantId', - InvalidTenantId = 'InvalidTenantId', - InvalidReservationOrderId = 'InvalidReservationOrderId', - InvalidReservationId = 'InvalidReservationId', - ReservationIdNotInReservationOrder = 'ReservationIdNotInReservationOrder', - ReservationOrderNotFound = 'ReservationOrderNotFound', - InvalidSubscriptionId = 'InvalidSubscriptionId', - InvalidAccessToken = 'InvalidAccessToken', - InvalidLocationId = 'InvalidLocationId', - UnauthenticatedRequestsThrottled = 'UnauthenticatedRequestsThrottled', - InvalidHealthCheckType = 'InvalidHealthCheckType', - Forbidden = 'Forbidden', - BillingScopeIdCannotBeChanged = 'BillingScopeIdCannotBeChanged', - AppliedScopesNotAssociatedWithCommerceAccount = 'AppliedScopesNotAssociatedWithCommerceAccount', - PatchValuesSameAsExisting = 'PatchValuesSameAsExisting', - RoleAssignmentCreationFailed = 'RoleAssignmentCreationFailed', - ReservationOrderCreationFailed = 'ReservationOrderCreationFailed', - ReservationOrderNotEnabled = 'ReservationOrderNotEnabled', - CapacityUpdateScopesFailed = 'CapacityUpdateScopesFailed', - UnsupportedReservationTerm = 'UnsupportedReservationTerm', - ReservationOrderIdAlreadyExists = 'ReservationOrderIdAlreadyExists', - RiskCheckFailed = 'RiskCheckFailed', - CreateQuoteFailed = 'CreateQuoteFailed', - ActivateQuoteFailed = 'ActivateQuoteFailed', - NonsupportedAccountId = 'NonsupportedAccountId', - PaymentInstrumentNotFound = 'PaymentInstrumentNotFound', - MissingAppliedScopesForSingle = 'MissingAppliedScopesForSingle', - NoValidReservationsToReRate = 'NoValidReservationsToReRate', - ReRateOnlyAllowedForEA = 'ReRateOnlyAllowedForEA', - OperationCannotBePerformedInCurrentState = 'OperationCannotBePerformedInCurrentState', - InvalidSingleAppliedScopesCount = 'InvalidSingleAppliedScopesCount', - InvalidFulfillmentRequestParameters = 'InvalidFulfillmentRequestParameters', - NotSupportedCountry = 'NotSupportedCountry', - InvalidRefundQuantity = 'InvalidRefundQuantity', - PurchaseError = 'PurchaseError', - BillingCustomerInputError = 'BillingCustomerInputError', - BillingPaymentInstrumentSoftError = 'BillingPaymentInstrumentSoftError', - BillingPaymentInstrumentHardError = 'BillingPaymentInstrumentHardError', - BillingTransientError = 'BillingTransientError', - BillingError = 'BillingError', - FulfillmentConfigurationError = 'FulfillmentConfigurationError', - FulfillmentOutOfStockError = 'FulfillmentOutOfStockError', - FulfillmentTransientError = 'FulfillmentTransientError', - FulfillmentError = 'FulfillmentError', - CalculatePriceFailed = 'CalculatePriceFailed', -} +export type ErrorResponseCode = 'NotSpecified' | 'InternalServerError' | 'ServerTimeout' | 'AuthorizationFailed' | 'BadRequest' | 'ClientCertificateThumbprintNotSet' | 'InvalidRequestContent' | 'OperationFailed' | 'HttpMethodNotSupported' | 'InvalidRequestUri' | 'MissingTenantId' | 'InvalidTenantId' | 'InvalidReservationOrderId' | 'InvalidReservationId' | 'ReservationIdNotInReservationOrder' | 'ReservationOrderNotFound' | 'InvalidSubscriptionId' | 'InvalidAccessToken' | 'InvalidLocationId' | 'UnauthenticatedRequestsThrottled' | 'InvalidHealthCheckType' | 'Forbidden' | 'BillingScopeIdCannotBeChanged' | 'AppliedScopesNotAssociatedWithCommerceAccount' | 'PatchValuesSameAsExisting' | 'RoleAssignmentCreationFailed' | 'ReservationOrderCreationFailed' | 'ReservationOrderNotEnabled' | 'CapacityUpdateScopesFailed' | 'UnsupportedReservationTerm' | 'ReservationOrderIdAlreadyExists' | 'RiskCheckFailed' | 'CreateQuoteFailed' | 'ActivateQuoteFailed' | 'NonsupportedAccountId' | 'PaymentInstrumentNotFound' | 'MissingAppliedScopesForSingle' | 'NoValidReservationsToReRate' | 'ReRateOnlyAllowedForEA' | 'OperationCannotBePerformedInCurrentState' | 'InvalidSingleAppliedScopesCount' | 'InvalidFulfillmentRequestParameters' | 'NotSupportedCountry' | 'InvalidRefundQuantity' | 'PurchaseError' | 'BillingCustomerInputError' | 'BillingPaymentInstrumentSoftError' | 'BillingPaymentInstrumentHardError' | 'BillingTransientError' | 'BillingError' | 'FulfillmentConfigurationError' | 'FulfillmentOutOfStockError' | 'FulfillmentTransientError' | 'FulfillmentError' | 'CalculatePriceFailed'; /** * Defines values for ReservationTerm. * Possible values include: 'P1Y', 'P3Y' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReservationTerm = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ReservationTerm { - P1Y = 'P1Y', - P3Y = 'P3Y', -} +export type ReservationTerm = 'P1Y' | 'P3Y'; /** * Defines values for ReservedResourceType. - * Possible values include: 'VirtualMachines', 'SqlDatabases', 'SuseLinux', - * 'CosmosDb', 'RedHat' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReservedResourceType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'VirtualMachines', 'SqlDatabases', 'SuseLinux', 'CosmosDb', 'RedHat' * @readonly * @enum {string} */ -export enum ReservedResourceType { - VirtualMachines = 'VirtualMachines', - SqlDatabases = 'SqlDatabases', - SuseLinux = 'SuseLinux', - CosmosDb = 'CosmosDb', - RedHat = 'RedHat', -} +export type ReservedResourceType = 'VirtualMachines' | 'SqlDatabases' | 'SuseLinux' | 'CosmosDb' | 'RedHat'; /** * Defines values for InstanceFlexibility. * Possible values include: 'On', 'Off', 'NotSupported' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: InstanceFlexibility = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum InstanceFlexibility { - On = 'On', - Off = 'Off', - NotSupported = 'NotSupported', -} +export type InstanceFlexibility = 'On' | 'Off' | 'NotSupported'; /** * Defines values for AppliedScopeType. * Possible values include: 'Single', 'Shared' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AppliedScopeType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AppliedScopeType { - Single = 'Single', - Shared = 'Shared', -} +export type AppliedScopeType = 'Single' | 'Shared'; /** * Contains response data for the getCatalog operation. diff --git a/packages/@azure/arm-reservations/lib/models/mappers.ts b/packages/@azure/arm-reservations/lib/models/mappers.ts index c1af5819b578..2b3f56a52339 100644 --- a/packages/@azure/arm-reservations/lib/models/mappers.ts +++ b/packages/@azure/arm-reservations/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-reservations/lib/models/parameters.ts b/packages/@azure/arm-reservations/lib/models/parameters.ts index e69c1657d17c..dc4ae6ee1801 100644 --- a/packages/@azure/arm-reservations/lib/models/parameters.ts +++ b/packages/@azure/arm-reservations/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-reservations/lib/operations/operation.ts b/packages/@azure/arm-reservations/lib/operations/operation.ts index 9314db2f3be8..b1c036dbf972 100644 --- a/packages/@azure/arm-reservations/lib/operations/operation.ts +++ b/packages/@azure/arm-reservations/lib/operations/operation.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/operationMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class Operation { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class Operation { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-reservations/lib/operations/reservation.ts b/packages/@azure/arm-reservations/lib/operations/reservation.ts index b06ff0375d98..231a4cd56e95 100644 --- a/packages/@azure/arm-reservations/lib/operations/reservation.ts +++ b/packages/@azure/arm-reservations/lib/operations/reservation.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/reservationMappers"; import * as Parameters from "../models/parameters"; @@ -73,7 +73,7 @@ export class Reservation { * @param callback The callback */ list(reservationOrderId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(reservationOrderId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(reservationOrderId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { reservationOrderId, @@ -105,7 +105,7 @@ export class Reservation { * @param callback The callback */ get(reservationId: string, reservationOrderId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(reservationId: string, reservationOrderId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(reservationId: string, reservationOrderId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { reservationId, @@ -152,7 +152,7 @@ export class Reservation { * @param callback The callback */ listRevisions(reservationId: string, reservationOrderId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRevisions(reservationId: string, reservationOrderId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRevisions(reservationId: string, reservationOrderId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { reservationId, @@ -242,7 +242,7 @@ export class Reservation { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -271,7 +271,7 @@ export class Reservation { * @param callback The callback */ listRevisionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRevisionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listRevisionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-reservations/lib/operations/reservationOrder.ts b/packages/@azure/arm-reservations/lib/operations/reservationOrder.ts index 40552fdd5653..067aa4599177 100644 --- a/packages/@azure/arm-reservations/lib/operations/reservationOrder.ts +++ b/packages/@azure/arm-reservations/lib/operations/reservationOrder.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/reservationOrderMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class ReservationOrder { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class ReservationOrder { * @param callback The callback */ get(reservationOrderId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(reservationOrderId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(reservationOrderId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { reservationOrderId, @@ -99,7 +99,7 @@ export class ReservationOrder { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-reservations/package.json b/packages/@azure/arm-reservations/package.json index 04d5a612ffd0..1fd68464dc72 100644 --- a/packages/@azure/arm-reservations/package.json +++ b/packages/@azure/arm-reservations/package.json @@ -4,8 +4,8 @@ "description": "AzureReservationAPI Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.457", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-reservations/rollup.config.js b/packages/@azure/arm-reservations/rollup.config.js index 96606b1e8598..5329add81622 100644 --- a/packages/@azure/arm-reservations/rollup.config.js +++ b/packages/@azure/arm-reservations/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/azureReservationAPI.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-reservations.js", format: "umd", name: "Azure.ArmReservations", 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-reservations/tsconfig.esm.json b/packages/@azure/arm-reservations/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-reservations/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-reservations/tsconfig.json b/packages/@azure/arm-reservations/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-reservations/tsconfig.json +++ b/packages/@azure/arm-reservations/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-reservations/webpack.config.js b/packages/@azure/arm-reservations/webpack.config.js deleted file mode 100644 index 12c522efde72..000000000000 --- a/packages/@azure/arm-reservations/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/azureReservationAPI.js', - devtool: 'source-map', - output: { - filename: 'azureReservationAPIBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'azureReservationAPI' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-resourcehealth/.npmignore b/packages/@azure/arm-resourcehealth/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-resourcehealth/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-resourcehealth/README.md b/packages/@azure/arm-resourcehealth/README.md index 9cb43b02c0e7..f626a3074ac8 100644 --- a/packages/@azure/arm-resourcehealth/README.md +++ b/packages/@azure/arm-resourcehealth/README.md @@ -1,24 +1,34 @@ -# Azure MicrosoftResourceHealth SDK for JavaScript +## Azure MicrosoftResourceHealth SDK for JavaScript + This package contains an isomorphic SDK for MicrosoftResourceHealth. -## 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-resourcehealth ``` +### How to use + +#### nodejs - Authentication, client creation and listBySubscriptionId availabilityStatuses as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and listBySubscriptionId availabilityStatuses as an example written in TypeScript. +##### Sample code ```ts -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 { MicrosoftResourceHealth, MicrosoftResourceHealthModels, MicrosoftResourceHealthMappers } from "@azure/arm-resourcehealth"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -35,7 +45,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and listBySubscriptionId availabilityStatuses as an example written in JavaScript. +#### browser - Authentication, client creation and listBySubscriptionId availabilityStatuses as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-resourcehealth 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-resourcehealth/lib/microsoftResourceHealth.ts b/packages/@azure/arm-resourcehealth/lib/microsoftResourceHealth.ts index 2c47d4b8735b..07e66bbf7f91 100644 --- a/packages/@azure/arm-resourcehealth/lib/microsoftResourceHealth.ts +++ b/packages/@azure/arm-resourcehealth/lib/microsoftResourceHealth.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-resourcehealth/lib/microsoftResourceHealthContext.ts b/packages/@azure/arm-resourcehealth/lib/microsoftResourceHealthContext.ts index bb181cf87dda..b5256df762bb 100644 --- a/packages/@azure/arm-resourcehealth/lib/microsoftResourceHealthContext.ts +++ b/packages/@azure/arm-resourcehealth/lib/microsoftResourceHealthContext.ts @@ -9,23 +9,16 @@ */ 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-resourcehealth"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class MicrosoftResourceHealthContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the MicrosoftResourceHealth class. @@ -45,6 +38,11 @@ export class MicrosoftResourceHealthContext extends msRestAzure.AzureServiceClie if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-07-01'; @@ -55,7 +53,6 @@ export class MicrosoftResourceHealthContext extends msRestAzure.AzureServiceClie this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-resourcehealth/lib/models/index.ts b/packages/@azure/arm-resourcehealth/lib/models/index.ts index 776b80d670cd..62b94957d241 100644 --- a/packages/@azure/arm-resourcehealth/lib/models/index.ts +++ b/packages/@azure/arm-resourcehealth/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -465,11 +465,7 @@ export interface AvailabilityStatusListResult extends Array * @readonly * @enum {string} */ -export enum AvailabilityStateValues { - Available = 'Available', - Unavailable = 'Unavailable', - Unknown = 'Unknown', -} +export type AvailabilityStateValues = 'Available' | 'Unavailable' | 'Unknown'; /** * Defines values for ReasonChronicityTypes. @@ -477,10 +473,7 @@ export enum AvailabilityStateValues { * @readonly * @enum {string} */ -export enum ReasonChronicityTypes { - Transient = 'Transient', - Persistent = 'Persistent', -} +export type ReasonChronicityTypes = 'Transient' | 'Persistent'; /** * Contains response data for the listBySubscriptionId operation. diff --git a/packages/@azure/arm-resourcehealth/lib/models/mappers.ts b/packages/@azure/arm-resourcehealth/lib/models/mappers.ts index 56eec4f8811e..1fce81cd1f47 100644 --- a/packages/@azure/arm-resourcehealth/lib/models/mappers.ts +++ b/packages/@azure/arm-resourcehealth/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-resourcehealth/lib/models/parameters.ts b/packages/@azure/arm-resourcehealth/lib/models/parameters.ts index 2f55897d9b76..3c69fabd5c3d 100644 --- a/packages/@azure/arm-resourcehealth/lib/models/parameters.ts +++ b/packages/@azure/arm-resourcehealth/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-resourcehealth/lib/operations/availabilityStatuses.ts b/packages/@azure/arm-resourcehealth/lib/operations/availabilityStatuses.ts index f11175ba1074..aa82932606f9 100644 --- a/packages/@azure/arm-resourcehealth/lib/operations/availabilityStatuses.ts +++ b/packages/@azure/arm-resourcehealth/lib/operations/availabilityStatuses.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/availabilityStatusesMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class AvailabilityStatuses { * @param callback The callback */ listBySubscriptionId(options: Models.AvailabilityStatusesListBySubscriptionIdOptionalParams, callback: msRest.ServiceCallback): void; - listBySubscriptionId(options?: Models.AvailabilityStatusesListBySubscriptionIdOptionalParams, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionId(options?: Models.AvailabilityStatusesListBySubscriptionIdOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class AvailabilityStatuses { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.AvailabilityStatusesListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.AvailabilityStatusesListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.AvailabilityStatusesListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -110,7 +110,7 @@ export class AvailabilityStatuses { * @param callback The callback */ getByResource(resourceUri: string, options: Models.AvailabilityStatusesGetByResourceOptionalParams, callback: msRest.ServiceCallback): void; - getByResource(resourceUri: string, options?: Models.AvailabilityStatusesGetByResourceOptionalParams, callback?: msRest.ServiceCallback): Promise { + getByResource(resourceUri: string, options?: Models.AvailabilityStatusesGetByResourceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, @@ -151,7 +151,7 @@ export class AvailabilityStatuses { * @param callback The callback */ list(resourceUri: string, options: Models.AvailabilityStatusesListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceUri: string, options?: Models.AvailabilityStatusesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceUri: string, options?: Models.AvailabilityStatusesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceUri, @@ -180,7 +180,7 @@ export class AvailabilityStatuses { * @param callback The callback */ listBySubscriptionIdNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionIdNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionIdNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -209,7 +209,7 @@ export class AvailabilityStatuses { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -238,7 +238,7 @@ export class AvailabilityStatuses { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-resourcehealth/lib/operations/operations.ts b/packages/@azure/arm-resourcehealth/lib/operations/operations.ts index 9360fd9f47e4..00fcc25c3ae7 100644 --- a/packages/@azure/arm-resourcehealth/lib/operations/operations.ts +++ b/packages/@azure/arm-resourcehealth/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-resourcehealth/package.json b/packages/@azure/arm-resourcehealth/package.json index 75ac310652cd..be303037a2cb 100644 --- a/packages/@azure/arm-resourcehealth/package.json +++ b/packages/@azure/arm-resourcehealth/package.json @@ -4,8 +4,8 @@ "description": "MicrosoftResourceHealth Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-resourcehealth.js.map'\" -o ./dist/arm-resourcehealth.min.js ./dist/arm-resourcehealth.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-resourcehealth/rollup.config.js b/packages/@azure/arm-resourcehealth/rollup.config.js index f0e6dbe35b3d..dcd8904d6614 100644 --- a/packages/@azure/arm-resourcehealth/rollup.config.js +++ b/packages/@azure/arm-resourcehealth/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/microsoftResourceHealth.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-resourcehealth.js", format: "umd", name: "Azure.ArmResourcehealth", 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-resourcehealth/tsconfig.esm.json b/packages/@azure/arm-resourcehealth/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-resourcehealth/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-resourcehealth/tsconfig.json b/packages/@azure/arm-resourcehealth/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-resourcehealth/tsconfig.json +++ b/packages/@azure/arm-resourcehealth/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-resourcehealth/webpack.config.js b/packages/@azure/arm-resourcehealth/webpack.config.js deleted file mode 100644 index 8b9fc931196e..000000000000 --- a/packages/@azure/arm-resourcehealth/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/microsoftResourceHealth.js', - devtool: 'source-map', - output: { - filename: 'microsoftResourceHealthBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'microsoftResourceHealth' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-resources/.npmignore b/packages/@azure/arm-resources/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-resources/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-resources/README.md b/packages/@azure/arm-resources/README.md index 4ba8ba72aa05..734aa8842168 100644 --- a/packages/@azure/arm-resources/README.md +++ b/packages/@azure/arm-resources/README.md @@ -1,24 +1,34 @@ -# Azure ResourceManagementClient SDK for JavaScript +## Azure ResourceManagementClient SDK for JavaScript + This package contains an isomorphic SDK for ResourceManagementClient. -## 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-resources ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { ResourceManagementClient, ResourceManagementModels, ResourceManagementMappers } from "@azure/arm-resources"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-resources 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-resources/lib/models/index.ts b/packages/@azure/arm-resources/lib/models/index.ts index 125cc7ba03a4..eec3c42003e1 100644 --- a/packages/@azure/arm-resources/lib/models/index.ts +++ b/packages/@azure/arm-resources/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1495,10 +1495,7 @@ export interface DeploymentOperationsListResult extends Array): void; - getAtSubscriptionScope(deploymentName: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAtSubscriptionScope(deploymentName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deploymentName, @@ -76,7 +76,7 @@ export class DeploymentOperations { * @param callback The callback */ listAtSubscriptionScope(deploymentName: string, options: Models.DeploymentOperationsListAtSubscriptionScopeOptionalParams, callback: msRest.ServiceCallback): void; - listAtSubscriptionScope(deploymentName: string, options?: Models.DeploymentOperationsListAtSubscriptionScopeOptionalParams, callback?: msRest.ServiceCallback): Promise { + listAtSubscriptionScope(deploymentName: string, options?: Models.DeploymentOperationsListAtSubscriptionScopeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deploymentName, @@ -110,7 +110,7 @@ export class DeploymentOperations { * @param callback The callback */ get(resourceGroupName: string, deploymentName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, deploymentName: string, operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, deploymentName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -143,7 +143,7 @@ export class DeploymentOperations { * @param callback The callback */ list(resourceGroupName: string, deploymentName: string, options: Models.DeploymentOperationsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, deploymentName: string, options?: Models.DeploymentOperationsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, deploymentName: string, options?: Models.DeploymentOperationsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -172,7 +172,7 @@ export class DeploymentOperations { * @param callback The callback */ listAtSubscriptionScopeNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAtSubscriptionScopeNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAtSubscriptionScopeNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -200,7 +200,7 @@ export class DeploymentOperations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-resources/lib/operations/deployments.ts b/packages/@azure/arm-resources/lib/operations/deployments.ts index bb0199508c48..054bcaec8ae4 100644 --- a/packages/@azure/arm-resources/lib/operations/deployments.ts +++ b/packages/@azure/arm-resources/lib/operations/deployments.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/deploymentsMappers"; import * as Parameters from "../models/parameters"; @@ -63,7 +63,7 @@ export class Deployments { * @param callback The callback */ checkExistenceAtSubscriptionScope(deploymentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkExistenceAtSubscriptionScope(deploymentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkExistenceAtSubscriptionScope(deploymentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deploymentName, @@ -104,7 +104,7 @@ export class Deployments { * @param callback The callback */ getAtSubscriptionScope(deploymentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAtSubscriptionScope(deploymentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAtSubscriptionScope(deploymentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deploymentName, @@ -136,7 +136,7 @@ export class Deployments { * @param callback The callback */ cancelAtSubscriptionScope(deploymentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - cancelAtSubscriptionScope(deploymentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + cancelAtSubscriptionScope(deploymentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deploymentName, @@ -168,7 +168,7 @@ export class Deployments { * @param callback The callback */ validateAtSubscriptionScope(deploymentName: string, parameters: Models.Deployment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validateAtSubscriptionScope(deploymentName: string, parameters: Models.Deployment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + validateAtSubscriptionScope(deploymentName: string, parameters: Models.Deployment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deploymentName, @@ -197,7 +197,7 @@ export class Deployments { * @param callback The callback */ exportTemplateAtSubscriptionScope(deploymentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - exportTemplateAtSubscriptionScope(deploymentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + exportTemplateAtSubscriptionScope(deploymentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deploymentName, @@ -222,7 +222,7 @@ export class Deployments { * @param callback The callback */ listAtSubscriptionScope(options: Models.DeploymentsListAtSubscriptionScopeOptionalParams, callback: msRest.ServiceCallback): void; - listAtSubscriptionScope(options?: Models.DeploymentsListAtSubscriptionScopeOptionalParams, callback?: msRest.ServiceCallback): Promise { + listAtSubscriptionScope(options?: Models.DeploymentsListAtSubscriptionScopeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -276,7 +276,7 @@ export class Deployments { * @param callback The callback */ checkExistence(resourceGroupName: string, deploymentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkExistence(resourceGroupName: string, deploymentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkExistence(resourceGroupName: string, deploymentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -323,7 +323,7 @@ export class Deployments { * @param callback The callback */ get(resourceGroupName: string, deploymentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, deploymentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, deploymentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -359,7 +359,7 @@ export class Deployments { * @param callback The callback */ cancel(resourceGroupName: string, deploymentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - cancel(resourceGroupName: string, deploymentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + cancel(resourceGroupName: string, deploymentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -398,7 +398,7 @@ export class Deployments { * @param callback The callback */ validate(resourceGroupName: string, deploymentName: string, parameters: Models.Deployment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validate(resourceGroupName: string, deploymentName: string, parameters: Models.Deployment, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + validate(resourceGroupName: string, deploymentName: string, parameters: Models.Deployment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -431,7 +431,7 @@ export class Deployments { * @param callback The callback */ exportTemplate(resourceGroupName: string, deploymentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - exportTemplate(resourceGroupName: string, deploymentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + exportTemplate(resourceGroupName: string, deploymentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -463,7 +463,7 @@ export class Deployments { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.DeploymentsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.DeploymentsListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.DeploymentsListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -582,7 +582,7 @@ export class Deployments { * @param callback The callback */ listAtSubscriptionScopeNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAtSubscriptionScopeNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAtSubscriptionScopeNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -610,7 +610,7 @@ export class Deployments { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-resources/lib/operations/operations.ts b/packages/@azure/arm-resources/lib/operations/operations.ts index 9b2b25a60d6e..dafc3946fb7d 100644 --- a/packages/@azure/arm-resources/lib/operations/operations.ts +++ b/packages/@azure/arm-resources/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-resources/lib/operations/providers.ts b/packages/@azure/arm-resources/lib/operations/providers.ts index 30d8ef348c26..6e30d6e2cee1 100644 --- a/packages/@azure/arm-resources/lib/operations/providers.ts +++ b/packages/@azure/arm-resources/lib/operations/providers.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/providersMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class Providers { * @param callback The callback */ unregister(resourceProviderNamespace: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - unregister(resourceProviderNamespace: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + unregister(resourceProviderNamespace: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceProviderNamespace, @@ -72,7 +72,7 @@ export class Providers { * @param callback The callback */ register(resourceProviderNamespace: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - register(resourceProviderNamespace: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + register(resourceProviderNamespace: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceProviderNamespace, @@ -97,7 +97,7 @@ export class Providers { * @param callback The callback */ list(options: Models.ProvidersListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.ProvidersListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.ProvidersListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -124,7 +124,7 @@ export class Providers { * @param callback The callback */ get(resourceProviderNamespace: string, options: Models.ProvidersGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceProviderNamespace: string, options?: Models.ProvidersGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceProviderNamespace: string, options?: Models.ProvidersGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceProviderNamespace, @@ -152,7 +152,7 @@ export class Providers { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-resources/lib/operations/resourceGroups.ts b/packages/@azure/arm-resources/lib/operations/resourceGroups.ts index 1f4e391ad9d2..6411c09ca1ed 100644 --- a/packages/@azure/arm-resources/lib/operations/resourceGroups.ts +++ b/packages/@azure/arm-resources/lib/operations/resourceGroups.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/resourceGroupsMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class ResourceGroups { * @param callback The callback */ checkExistence(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkExistence(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkExistence(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class ResourceGroups { * @param callback The callback */ createOrUpdate(resourceGroupName: string, parameters: Models.ResourceGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, parameters: Models.ResourceGroup, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, parameters: Models.ResourceGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -124,7 +124,7 @@ export class ResourceGroups { * @param callback The callback */ get(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class ResourceGroups { * @param callback The callback */ update(resourceGroupName: string, parameters: Models.ResourceGroupPatchable, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, parameters: Models.ResourceGroupPatchable, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, parameters: Models.ResourceGroupPatchable, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -190,7 +190,7 @@ export class ResourceGroups { * @param callback The callback */ exportTemplate(resourceGroupName: string, parameters: Models.ExportTemplateRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - exportTemplate(resourceGroupName: string, parameters: Models.ExportTemplateRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + exportTemplate(resourceGroupName: string, parameters: Models.ExportTemplateRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -216,7 +216,7 @@ export class ResourceGroups { * @param callback The callback */ list(options: Models.ResourceGroupsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.ResourceGroupsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.ResourceGroupsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -261,7 +261,7 @@ export class ResourceGroups { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-resources/lib/operations/resources.ts b/packages/@azure/arm-resources/lib/operations/resources.ts index 6a9a55db712d..884c2606c8ff 100644 --- a/packages/@azure/arm-resources/lib/operations/resources.ts +++ b/packages/@azure/arm-resources/lib/operations/resources.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/resourcesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Resources { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.ResourcesListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.ResourcesListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.ResourcesListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -105,7 +105,7 @@ export class Resources { * @param callback The callback */ list(options: Models.ResourcesListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.ResourcesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.ResourcesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -150,7 +150,7 @@ export class Resources { * @param callback The callback */ checkExistence(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkExistence(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkExistence(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -254,7 +254,7 @@ export class Resources { * @param callback The callback */ get(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -296,7 +296,7 @@ export class Resources { * @param callback The callback */ checkExistenceById(resourceId: string, apiVersion: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkExistenceById(resourceId: string, apiVersion: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkExistenceById(resourceId: string, apiVersion: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceId, @@ -378,7 +378,7 @@ export class Resources { * @param callback The callback */ getById(resourceId: string, apiVersion: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getById(resourceId: string, apiVersion: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getById(resourceId: string, apiVersion: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceId, @@ -603,7 +603,7 @@ export class Resources { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -631,7 +631,7 @@ export class Resources { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-resources/lib/operations/tags.ts b/packages/@azure/arm-resources/lib/operations/tags.ts index 474085a84f23..ca365271243a 100644 --- a/packages/@azure/arm-resources/lib/operations/tags.ts +++ b/packages/@azure/arm-resources/lib/operations/tags.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/tagsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Tags { * @param callback The callback */ deleteValue(tagName: string, tagValue: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteValue(tagName: string, tagValue: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteValue(tagName: string, tagValue: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { tagName, @@ -79,7 +79,7 @@ export class Tags { * @param callback The callback */ createOrUpdateValue(tagName: string, tagValue: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateValue(tagName: string, tagValue: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateValue(tagName: string, tagValue: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { tagName, @@ -111,7 +111,7 @@ export class Tags { * @param callback The callback */ createOrUpdate(tagName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(tagName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(tagName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { tagName, @@ -140,7 +140,7 @@ export class Tags { * @param callback The callback */ deleteMethod(tagName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(tagName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(tagName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { tagName, @@ -165,7 +165,7 @@ export class Tags { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -192,7 +192,7 @@ export class Tags { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-resources/lib/resourceManagementClient.ts b/packages/@azure/arm-resources/lib/resourceManagementClient.ts index 4bce810e3c6d..b712764c2a93 100644 --- a/packages/@azure/arm-resources/lib/resourceManagementClient.ts +++ b/packages/@azure/arm-resources/lib/resourceManagementClient.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-resources/lib/resourceManagementClientContext.ts b/packages/@azure/arm-resources/lib/resourceManagementClientContext.ts index 014c50f6b546..56a7ed45a401 100644 --- a/packages/@azure/arm-resources/lib/resourceManagementClientContext.ts +++ b/packages/@azure/arm-resources/lib/resourceManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-resources"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class ResourceManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the ResourceManagementClient class. @@ -44,6 +37,11 @@ export class ResourceManagementClientContext extends msRestAzure.AzureServiceCli if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-05-01'; @@ -54,7 +52,6 @@ export class ResourceManagementClientContext extends msRestAzure.AzureServiceCli this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-resources/package.json b/packages/@azure/arm-resources/package.json index a69238d85e8d..0b60ae2c9e51 100644 --- a/packages/@azure/arm-resources/package.json +++ b/packages/@azure/arm-resources/package.json @@ -4,8 +4,8 @@ "description": "ResourceManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-resources.js.map'\" -o ./dist/arm-resources.min.js ./dist/arm-resources.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-resources/rollup.config.js b/packages/@azure/arm-resources/rollup.config.js index e6ceb895d59b..b86e323cd09b 100644 --- a/packages/@azure/arm-resources/rollup.config.js +++ b/packages/@azure/arm-resources/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/resourceManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-resources.js", format: "umd", name: "Azure.ArmResources", 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-resources/tsconfig.json b/packages/@azure/arm-resources/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-resources/tsconfig.json +++ b/packages/@azure/arm-resources/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-search/.npmignore b/packages/@azure/arm-search/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-search/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-search/README.md b/packages/@azure/arm-search/README.md index 9eb4d4c0603b..d2bb7c56ac60 100644 --- a/packages/@azure/arm-search/README.md +++ b/packages/@azure/arm-search/README.md @@ -1,24 +1,34 @@ -# Azure SearchManagementClient SDK for JavaScript +## Azure SearchManagementClient SDK for JavaScript + This package contains an isomorphic SDK for SearchManagementClient. -## 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-search ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { SearchManagementClient, SearchManagementModels, SearchManagementMappers } from "@azure/arm-search"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-search 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-search/lib/models/index.ts b/packages/@azure/arm-search/lib/models/index.ts index 88237f816e35..1c719747720d 100644 --- a/packages/@azure/arm-search/lib/models/index.ts +++ b/packages/@azure/arm-search/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -587,33 +587,18 @@ export interface SearchServiceListResult extends Array { /** * Defines values for UnavailableNameReason. * Possible values include: 'Invalid', 'AlreadyExists' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UnavailableNameReason = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum UnavailableNameReason { - Invalid = 'Invalid', - AlreadyExists = 'AlreadyExists', -} +export type UnavailableNameReason = 'Invalid' | 'AlreadyExists'; /** * Defines values for SkuName. - * Possible values include: 'free', 'basic', 'standard', 'standard2', - * 'standard3' + * Possible values include: 'free', 'basic', 'standard', 'standard2', 'standard3' * @readonly * @enum {string} */ -export enum SkuName { - Free = 'free', - Basic = 'basic', - Standard = 'standard', - Standard2 = 'standard2', - Standard3 = 'standard3', -} +export type SkuName = 'free' | 'basic' | 'standard' | 'standard2' | 'standard3'; /** * Defines values for HostingMode. @@ -621,26 +606,15 @@ export enum SkuName { * @readonly * @enum {string} */ -export enum HostingMode { - Default = 'default', - HighDensity = 'highDensity', -} +export type HostingMode = 'default' | 'highDensity'; /** * Defines values for SearchServiceStatus. - * Possible values include: 'running', 'provisioning', 'deleting', 'degraded', - * 'disabled', 'error' + * Possible values include: 'running', 'provisioning', 'deleting', 'degraded', 'disabled', 'error' * @readonly * @enum {string} */ -export enum SearchServiceStatus { - Running = 'running', - Provisioning = 'provisioning', - Deleting = 'deleting', - Degraded = 'degraded', - Disabled = 'disabled', - Error = 'error', -} +export type SearchServiceStatus = 'running' | 'provisioning' | 'deleting' | 'degraded' | 'disabled' | 'error'; /** * Defines values for ProvisioningState. @@ -648,11 +622,7 @@ export enum SearchServiceStatus { * @readonly * @enum {string} */ -export enum ProvisioningState { - Succeeded = 'succeeded', - Provisioning = 'provisioning', - Failed = 'failed', -} +export type ProvisioningState = 'succeeded' | 'provisioning' | 'failed'; /** * Defines values for AdminKeyKind. @@ -660,10 +630,7 @@ export enum ProvisioningState { * @readonly * @enum {string} */ -export enum AdminKeyKind { - Primary = 'primary', - Secondary = 'secondary', -} +export type AdminKeyKind = 'primary' | 'secondary'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-search/lib/models/mappers.ts b/packages/@azure/arm-search/lib/models/mappers.ts index 2e27e4c807c3..aa0475f04b92 100644 --- a/packages/@azure/arm-search/lib/models/mappers.ts +++ b/packages/@azure/arm-search/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-search/lib/models/parameters.ts b/packages/@azure/arm-search/lib/models/parameters.ts index 30a2d3fb5433..1cfb7d35c69b 100644 --- a/packages/@azure/arm-search/lib/models/parameters.ts +++ b/packages/@azure/arm-search/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-search/lib/operations/adminKeys.ts b/packages/@azure/arm-search/lib/operations/adminKeys.ts index 0633a36e8e79..c94d586cf2d4 100644 --- a/packages/@azure/arm-search/lib/operations/adminKeys.ts +++ b/packages/@azure/arm-search/lib/operations/adminKeys.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/adminKeysMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class AdminKeys { * @param callback The callback */ get(resourceGroupName: string, searchServiceName: string, options: Models.AdminKeysGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, searchServiceName: string, options?: Models.AdminKeysGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, searchServiceName: string, options?: Models.AdminKeysGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -98,7 +98,7 @@ export class AdminKeys { * @param callback The callback */ regenerate(resourceGroupName: string, searchServiceName: string, keyKind: Models.AdminKeyKind, options: Models.AdminKeysRegenerateOptionalParams, callback: msRest.ServiceCallback): void; - regenerate(resourceGroupName: string, searchServiceName: string, keyKind: Models.AdminKeyKind, options?: Models.AdminKeysRegenerateOptionalParams, callback?: msRest.ServiceCallback): Promise { + regenerate(resourceGroupName: string, searchServiceName: string, keyKind: Models.AdminKeyKind, options?: Models.AdminKeysRegenerateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-search/lib/operations/operations.ts b/packages/@azure/arm-search/lib/operations/operations.ts index 556afc63a49c..cd480c58ff6d 100644 --- a/packages/@azure/arm-search/lib/operations/operations.ts +++ b/packages/@azure/arm-search/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-search/lib/operations/queryKeys.ts b/packages/@azure/arm-search/lib/operations/queryKeys.ts index f51f233b96b4..3fe1409cc4bf 100644 --- a/packages/@azure/arm-search/lib/operations/queryKeys.ts +++ b/packages/@azure/arm-search/lib/operations/queryKeys.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/queryKeysMappers"; import * as Parameters from "../models/parameters"; @@ -57,7 +57,7 @@ export class QueryKeys { * @param callback The callback */ create(resourceGroupName: string, searchServiceName: string, name: string, options: Models.QueryKeysCreateOptionalParams, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, searchServiceName: string, name: string, options?: Models.QueryKeysCreateOptionalParams, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, searchServiceName: string, name: string, options?: Models.QueryKeysCreateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -96,7 +96,7 @@ export class QueryKeys { * @param callback The callback */ listBySearchService(resourceGroupName: string, searchServiceName: string, options: Models.QueryKeysListBySearchServiceOptionalParams, callback: msRest.ServiceCallback): void; - listBySearchService(resourceGroupName: string, searchServiceName: string, options?: Models.QueryKeysListBySearchServiceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listBySearchService(resourceGroupName: string, searchServiceName: string, options?: Models.QueryKeysListBySearchServiceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -138,7 +138,7 @@ export class QueryKeys { * @param callback The callback */ deleteMethod(resourceGroupName: string, searchServiceName: string, key: string, options: Models.QueryKeysDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, searchServiceName: string, key: string, options?: Models.QueryKeysDeleteMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, searchServiceName: string, key: string, options?: Models.QueryKeysDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-search/lib/operations/services.ts b/packages/@azure/arm-search/lib/operations/services.ts index 10209e3cec7f..a1c86103d7f8 100644 --- a/packages/@azure/arm-search/lib/operations/services.ts +++ b/packages/@azure/arm-search/lib/operations/services.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/servicesMappers"; import * as Parameters from "../models/parameters"; @@ -74,7 +74,7 @@ export class Services { * @param callback The callback */ update(resourceGroupName: string, searchServiceName: string, service: Models.SearchService, options: Models.ServicesUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, searchServiceName: string, service: Models.SearchService, options?: Models.ServicesUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, searchServiceName: string, service: Models.SearchService, options?: Models.ServicesUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -113,7 +113,7 @@ export class Services { * @param callback The callback */ get(resourceGroupName: string, searchServiceName: string, options: Models.ServicesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, searchServiceName: string, options?: Models.ServicesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, searchServiceName: string, options?: Models.ServicesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -151,7 +151,7 @@ export class Services { * @param callback The callback */ deleteMethod(resourceGroupName: string, searchServiceName: string, options: Models.ServicesDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, searchServiceName: string, options?: Models.ServicesDeleteMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, searchServiceName: string, options?: Models.ServicesDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -183,7 +183,7 @@ export class Services { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.ServicesListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.ServicesListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.ServicesListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -219,7 +219,7 @@ export class Services { * @param callback The callback */ checkNameAvailability(name: string, options: Models.ServicesCheckNameAvailabilityOptionalParams, callback: msRest.ServiceCallback): void; - checkNameAvailability(name: string, options?: Models.ServicesCheckNameAvailabilityOptionalParams, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(name: string, options?: Models.ServicesCheckNameAvailabilityOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { name, diff --git a/packages/@azure/arm-search/lib/searchManagementClient.ts b/packages/@azure/arm-search/lib/searchManagementClient.ts index 8915348875f7..bbdfc8a0aa13 100644 --- a/packages/@azure/arm-search/lib/searchManagementClient.ts +++ b/packages/@azure/arm-search/lib/searchManagementClient.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-search/lib/searchManagementClientContext.ts b/packages/@azure/arm-search/lib/searchManagementClientContext.ts index d2fa613a687f..ab46edfae202 100644 --- a/packages/@azure/arm-search/lib/searchManagementClientContext.ts +++ b/packages/@azure/arm-search/lib/searchManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-search"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class SearchManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the SearchManagementClient class. @@ -45,6 +38,11 @@ export class SearchManagementClientContext extends msRestAzure.AzureServiceClien if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2015-08-19'; @@ -55,7 +53,6 @@ export class SearchManagementClientContext extends msRestAzure.AzureServiceClien this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-search/package.json b/packages/@azure/arm-search/package.json index 3c702c1b1d6f..d6e726c2e065 100644 --- a/packages/@azure/arm-search/package.json +++ b/packages/@azure/arm-search/package.json @@ -4,8 +4,8 @@ "description": "SearchManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-search.js.map'\" -o ./dist/arm-search.min.js ./dist/arm-search.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-search/rollup.config.js b/packages/@azure/arm-search/rollup.config.js index 88c9275c7055..ac4322411e02 100644 --- a/packages/@azure/arm-search/rollup.config.js +++ b/packages/@azure/arm-search/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/searchManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-search.js", format: "umd", name: "Azure.ArmSearch", 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-search/tsconfig.esm.json b/packages/@azure/arm-search/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-search/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-search/tsconfig.json b/packages/@azure/arm-search/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-search/tsconfig.json +++ b/packages/@azure/arm-search/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-search/webpack.config.js b/packages/@azure/arm-search/webpack.config.js deleted file mode 100644 index 641aa6cd445d..000000000000 --- a/packages/@azure/arm-search/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/searchManagementClient.js', - devtool: 'source-map', - output: { - filename: 'searchManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'searchManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-security/.npmignore b/packages/@azure/arm-security/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-security/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-security/README.md b/packages/@azure/arm-security/README.md index aab1e25440dc..d3d2e6d1603e 100644 --- a/packages/@azure/arm-security/README.md +++ b/packages/@azure/arm-security/README.md @@ -17,18 +17,18 @@ npm install @azure/arm-security #### nodejs - Authentication, client creation and list pricings as an example written in TypeScript. -##### Install ms-rest-nodeauth +##### Install @azure/ms-rest-nodeauth ``` -npm install ms-rest-nodeauth +npm install @azure/ms-rest-nodeauth ``` ##### Sample code ```ts -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 { SecurityCenter, SecurityCenterModels, SecurityCenterMappers } from "@azure/arm-security"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -45,10 +45,10 @@ msRestNodeAuth.interactiveLogin().then((creds) => { #### browser - Authentication, client creation and list pricings as an example written in JavaScript. -##### Install ms-rest-browserauth +##### Install @azure/ms-rest-browserauth ``` -npm install ms-rest-browserauth +npm install @azure/ms-rest-browserauth ``` ##### Sample code @@ -61,9 +61,9 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-security 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-servicebus/lib/models/disasterRecoveryConfigsMappers.ts b/packages/@azure/arm-servicebus/lib/models/disasterRecoveryConfigsMappers.ts index a5abf392434e..d5fcdad27398 100644 --- a/packages/@azure/arm-servicebus/lib/models/disasterRecoveryConfigsMappers.ts +++ b/packages/@azure/arm-servicebus/lib/models/disasterRecoveryConfigsMappers.ts @@ -38,8 +38,6 @@ export { Eventhub, CaptureDescription, Destination, - MigrationConfigProperties, - IpFilterRule, - VirtualNetworkRule + MigrationConfigProperties } from "../models/mappers"; diff --git a/packages/@azure/arm-servicebus/lib/models/eventHubsMappers.ts b/packages/@azure/arm-servicebus/lib/models/eventHubsMappers.ts index 86a2dc5a5085..52aad1ae182b 100644 --- a/packages/@azure/arm-servicebus/lib/models/eventHubsMappers.ts +++ b/packages/@azure/arm-servicebus/lib/models/eventHubsMappers.ts @@ -34,8 +34,6 @@ export { PremiumMessagingRegions, PremiumMessagingRegionsProperties, ArmDisasterRecovery, - MigrationConfigProperties, - IpFilterRule, - VirtualNetworkRule + MigrationConfigProperties } from "../models/mappers"; diff --git a/packages/@azure/arm-servicebus/lib/models/index.ts b/packages/@azure/arm-servicebus/lib/models/index.ts index 314bf5a98522..f41acabac9df 100644 --- a/packages/@azure/arm-servicebus/lib/models/index.ts +++ b/packages/@azure/arm-servicebus/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1190,44 +1190,6 @@ export interface MigrationConfigProperties extends Resource { readonly migrationState?: string; } -/** - * @interface - * An interface representing IpFilterRule. - * Single item in a List or Get IpFilterRules operation - * - * @extends Resource - */ -export interface IpFilterRule extends Resource { - /** - * @member {string} [ipMask] IP Mask - */ - ipMask?: string; - /** - * @member {IPAction} [action] The IP Filter Action. Possible values include: - * 'Accept', 'Reject' - */ - action?: IPAction; - /** - * @member {string} [filterName] IP Filter name - */ - filterName?: string; -} - -/** - * @interface - * An interface representing VirtualNetworkRule. - * Single item in a List or Get VirtualNetworkRules operation - * - * @extends Resource - */ -export interface VirtualNetworkRule extends Resource { - /** - * @member {string} [virtualNetworkSubnetId] Resource ID of Virtual Network - * Subnet - */ - virtualNetworkSubnetId?: string; -} - /** * @interface * An interface representing QueuesListByNamespaceOptionalParams. @@ -1377,36 +1339,6 @@ export interface SBAuthorizationRuleListResult extends Array - */ -export interface IpFilterRuleListResult extends Array { - /** - * @member {string} [nextLink] Link to the next set of results. Not empty if - * Value contains an incomplete list of IpFilter Rules - */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the VirtualNetworkRuleListResult. - * The response from the List namespace operation. - * - * @extends Array - */ -export interface VirtualNetworkRuleListResult extends Array { - /** - * @member {string} [nextLink] Link to the next set of results. Not empty if - * Value contains an incomplete list of VirtualNetwork Rules - */ - nextLink?: string; -} - /** * @interface * An interface representing the ArmDisasterRecoveryListResult. @@ -1541,11 +1473,7 @@ export interface EventHubListResult extends Array { * @readonly * @enum {string} */ -export enum SkuName { - Basic = 'Basic', - Standard = 'Standard', - Premium = 'Premium', -} +export type SkuName = 'Basic' | 'Standard' | 'Premium'; /** * Defines values for SkuTier. @@ -1553,26 +1481,15 @@ export enum SkuName { * @readonly * @enum {string} */ -export enum SkuTier { - Basic = 'Basic', - Standard = 'Standard', - Premium = 'Premium', -} +export type SkuTier = 'Basic' | 'Standard' | 'Premium'; /** * Defines values for NameSpaceType. - * Possible values include: 'Messaging', 'NotificationHub', 'Mixed', - * 'EventHub', 'Relay' + * Possible values include: 'Messaging', 'NotificationHub', 'Mixed', 'EventHub', 'Relay' * @readonly * @enum {string} */ -export enum NameSpaceType { - Messaging = 'Messaging', - NotificationHub = 'NotificationHub', - Mixed = 'Mixed', - EventHub = 'EventHub', - Relay = 'Relay', -} +export type NameSpaceType = 'Messaging' | 'NotificationHub' | 'Mixed' | 'EventHub' | 'Relay'; /** * Defines values for AccessRights. @@ -1580,11 +1497,7 @@ export enum NameSpaceType { * @readonly * @enum {string} */ -export enum AccessRights { - Manage = 'Manage', - Send = 'Send', - Listen = 'Listen', -} +export type AccessRights = 'Manage' | 'Send' | 'Listen'; /** * Defines values for KeyType. @@ -1592,45 +1505,25 @@ export enum AccessRights { * @readonly * @enum {string} */ -export enum KeyType { - PrimaryKey = 'PrimaryKey', - SecondaryKey = 'SecondaryKey', -} +export type KeyType = 'PrimaryKey' | 'SecondaryKey'; /** * Defines values for EntityStatus. - * Possible values include: 'Active', 'Disabled', 'Restoring', 'SendDisabled', - * 'ReceiveDisabled', 'Creating', 'Deleting', 'Renaming', 'Unknown' + * Possible values include: 'Active', 'Disabled', 'Restoring', 'SendDisabled', 'ReceiveDisabled', + * 'Creating', 'Deleting', 'Renaming', 'Unknown' * @readonly * @enum {string} */ -export enum EntityStatus { - Active = 'Active', - Disabled = 'Disabled', - Restoring = 'Restoring', - SendDisabled = 'SendDisabled', - ReceiveDisabled = 'ReceiveDisabled', - Creating = 'Creating', - Deleting = 'Deleting', - Renaming = 'Renaming', - Unknown = 'Unknown', -} +export type EntityStatus = 'Active' | 'Disabled' | 'Restoring' | 'SendDisabled' | 'ReceiveDisabled' | 'Creating' | 'Deleting' | 'Renaming' | 'Unknown'; /** * Defines values for UnavailableReason. - * Possible values include: 'None', 'InvalidName', 'SubscriptionIsDisabled', - * 'NameInUse', 'NameInLockdown', 'TooManyNamespaceInCurrentSubscription' + * Possible values include: 'None', 'InvalidName', 'SubscriptionIsDisabled', 'NameInUse', + * 'NameInLockdown', 'TooManyNamespaceInCurrentSubscription' * @readonly * @enum {string} */ -export enum UnavailableReason { - None = 'None', - InvalidName = 'InvalidName', - SubscriptionIsDisabled = 'SubscriptionIsDisabled', - NameInUse = 'NameInUse', - NameInLockdown = 'NameInLockdown', - TooManyNamespaceInCurrentSubscription = 'TooManyNamespaceInCurrentSubscription', -} +export type UnavailableReason = 'None' | 'InvalidName' | 'SubscriptionIsDisabled' | 'NameInUse' | 'NameInLockdown' | 'TooManyNamespaceInCurrentSubscription'; /** * Defines values for FilterType. @@ -1638,10 +1531,7 @@ export enum UnavailableReason { * @readonly * @enum {string} */ -export enum FilterType { - SqlFilter = 'SqlFilter', - CorrelationFilter = 'CorrelationFilter', -} +export type FilterType = 'SqlFilter' | 'CorrelationFilter'; /** * Defines values for EncodingCaptureDescription. @@ -1649,10 +1539,7 @@ export enum FilterType { * @readonly * @enum {string} */ -export enum EncodingCaptureDescription { - Avro = 'Avro', - AvroDeflate = 'AvroDeflate', -} +export type EncodingCaptureDescription = 'Avro' | 'AvroDeflate'; /** * Defines values for ProvisioningStateDR. @@ -1660,11 +1547,7 @@ export enum EncodingCaptureDescription { * @readonly * @enum {string} */ -export enum ProvisioningStateDR { - Accepted = 'Accepted', - Succeeded = 'Succeeded', - Failed = 'Failed', -} +export type ProvisioningStateDR = 'Accepted' | 'Succeeded' | 'Failed'; /** * Defines values for RoleDisasterRecovery. @@ -1672,26 +1555,7 @@ export enum ProvisioningStateDR { * @readonly * @enum {string} */ -export enum RoleDisasterRecovery { - Primary = 'Primary', - PrimaryNotReplicating = 'PrimaryNotReplicating', - Secondary = 'Secondary', -} - -/** - * Defines values for IPAction. - * Possible values include: 'Accept', 'Reject' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: IPAction = "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} - */ -export enum IPAction { - Accept = 'Accept', - Reject = 'Reject', -} +export type RoleDisasterRecovery = 'Primary' | 'PrimaryNotReplicating' | 'Secondary'; /** * Contains response data for the list operation. @@ -1940,120 +1804,6 @@ export type NamespacesRegenerateKeysResponse = AccessKeys & { }; }; -/** - * Contains response data for the listIpFilterRules operation. - */ -export type NamespacesListIpFilterRulesResponse = IpFilterRuleListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IpFilterRuleListResult; - }; -}; - -/** - * Contains response data for the createOrUpdateIpFilterRule operation. - */ -export type NamespacesCreateOrUpdateIpFilterRuleResponse = IpFilterRule & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IpFilterRule; - }; -}; - -/** - * Contains response data for the getIpFilterRule operation. - */ -export type NamespacesGetIpFilterRuleResponse = IpFilterRule & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IpFilterRule; - }; -}; - -/** - * Contains response data for the listVirtualNetworkRules operation. - */ -export type NamespacesListVirtualNetworkRulesResponse = VirtualNetworkRuleListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: VirtualNetworkRuleListResult; - }; -}; - -/** - * Contains response data for the createOrUpdateVirtualNetworkRule operation. - */ -export type NamespacesCreateOrUpdateVirtualNetworkRuleResponse = VirtualNetworkRule & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: VirtualNetworkRule; - }; -}; - -/** - * Contains response data for the getVirtualNetworkRule operation. - */ -export type NamespacesGetVirtualNetworkRuleResponse = VirtualNetworkRule & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: VirtualNetworkRule; - }; -}; - /** * Contains response data for the beginCreateOrUpdate operation. */ @@ -2130,44 +1880,6 @@ export type NamespacesListAuthorizationRulesNextResponse = SBAuthorizationRuleLi }; }; -/** - * Contains response data for the listIpFilterRulesNext operation. - */ -export type NamespacesListIpFilterRulesNextResponse = IpFilterRuleListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IpFilterRuleListResult; - }; -}; - -/** - * Contains response data for the listVirtualNetworkRulesNext operation. - */ -export type NamespacesListVirtualNetworkRulesNextResponse = VirtualNetworkRuleListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: VirtualNetworkRuleListResult; - }; -}; - /** * Contains response data for the checkNameAvailabilityMethod operation. */ diff --git a/packages/@azure/arm-servicebus/lib/models/mappers.ts b/packages/@azure/arm-servicebus/lib/models/mappers.ts index 369d224718fa..e35fc9c709a4 100644 --- a/packages/@azure/arm-servicebus/lib/models/mappers.ts +++ b/packages/@azure/arm-servicebus/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -1497,52 +1497,6 @@ export const MigrationConfigProperties: msRest.CompositeMapper = { } }; -export const IpFilterRule: msRest.CompositeMapper = { - serializedName: "IpFilterRule", - type: { - name: "Composite", - className: "IpFilterRule", - modelProperties: { - ...Resource.type.modelProperties, - ipMask: { - serializedName: "properties.ipMask", - type: { - name: "String" - } - }, - action: { - serializedName: "properties.action", - type: { - name: "String" - } - }, - filterName: { - serializedName: "properties.filterName", - type: { - name: "String" - } - } - } - } -}; - -export const VirtualNetworkRule: msRest.CompositeMapper = { - serializedName: "VirtualNetworkRule", - type: { - name: "Composite", - className: "VirtualNetworkRule", - modelProperties: { - ...Resource.type.modelProperties, - virtualNetworkSubnetId: { - serializedName: "properties.virtualNetworkSubnetId", - type: { - name: "String" - } - } - } - } -}; - export const OperationListResult: msRest.CompositeMapper = { serializedName: "OperationListResult", type: { @@ -1629,62 +1583,6 @@ export const SBAuthorizationRuleListResult: msRest.CompositeMapper = { } }; -export const IpFilterRuleListResult: msRest.CompositeMapper = { - serializedName: "IpFilterRuleListResult", - type: { - name: "Composite", - className: "IpFilterRuleListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IpFilterRule" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const VirtualNetworkRuleListResult: msRest.CompositeMapper = { - serializedName: "VirtualNetworkRuleListResult", - type: { - name: "Composite", - className: "VirtualNetworkRuleListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualNetworkRule" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const ArmDisasterRecoveryListResult: msRest.CompositeMapper = { serializedName: "ArmDisasterRecoveryListResult", type: { diff --git a/packages/@azure/arm-servicebus/lib/models/migrationConfigsMappers.ts b/packages/@azure/arm-servicebus/lib/models/migrationConfigsMappers.ts index db9caff492ea..3b3cb0551077 100644 --- a/packages/@azure/arm-servicebus/lib/models/migrationConfigsMappers.ts +++ b/packages/@azure/arm-servicebus/lib/models/migrationConfigsMappers.ts @@ -34,8 +34,6 @@ export { Eventhub, CaptureDescription, Destination, - ArmDisasterRecovery, - IpFilterRule, - VirtualNetworkRule + ArmDisasterRecovery } from "../models/mappers"; diff --git a/packages/@azure/arm-servicebus/lib/models/namespacesMappers.ts b/packages/@azure/arm-servicebus/lib/models/namespacesMappers.ts index fb92d72bc378..35595140ba37 100644 --- a/packages/@azure/arm-servicebus/lib/models/namespacesMappers.ts +++ b/packages/@azure/arm-servicebus/lib/models/namespacesMappers.ts @@ -25,10 +25,6 @@ export { AccessKeys, RegenerateAccessKeyParameters, SBNamespaceMigrate, - IpFilterRuleListResult, - IpFilterRule, - VirtualNetworkRuleListResult, - VirtualNetworkRule, SBQueue, MessageCountDetails, SBTopic, diff --git a/packages/@azure/arm-servicebus/lib/models/parameters.ts b/packages/@azure/arm-servicebus/lib/models/parameters.ts index a02532568f29..245f981e895a 100644 --- a/packages/@azure/arm-servicebus/lib/models/parameters.ts +++ b/packages/@azure/arm-servicebus/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", @@ -70,19 +70,6 @@ export const configName: msRest.OperationURLParameter = { } } }; -export const ipFilterRuleName: msRest.OperationURLParameter = { - parameterPath: "ipFilterRuleName", - mapper: { - required: true, - serializedName: "ipFilterRuleName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - } -}; export const namespaceName0: msRest.OperationURLParameter = { parameterPath: "namespaceName", mapper: { @@ -242,16 +229,3 @@ export const topicName: msRest.OperationURLParameter = { } } }; -export const virtualNetworkRuleName: msRest.OperationURLParameter = { - parameterPath: "virtualNetworkRuleName", - mapper: { - required: true, - serializedName: "virtualNetworkRuleName", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - } -}; diff --git a/packages/@azure/arm-servicebus/lib/models/premiumMessagingRegionsOperationsMappers.ts b/packages/@azure/arm-servicebus/lib/models/premiumMessagingRegionsOperationsMappers.ts index e235f0e403d6..b2ee4f41d85e 100644 --- a/packages/@azure/arm-servicebus/lib/models/premiumMessagingRegionsOperationsMappers.ts +++ b/packages/@azure/arm-servicebus/lib/models/premiumMessagingRegionsOperationsMappers.ts @@ -34,8 +34,6 @@ export { CaptureDescription, Destination, ArmDisasterRecovery, - MigrationConfigProperties, - IpFilterRule, - VirtualNetworkRule + MigrationConfigProperties } from "../models/mappers"; diff --git a/packages/@azure/arm-servicebus/lib/models/queuesMappers.ts b/packages/@azure/arm-servicebus/lib/models/queuesMappers.ts index 1ba4ae246d3b..731125768d90 100644 --- a/packages/@azure/arm-servicebus/lib/models/queuesMappers.ts +++ b/packages/@azure/arm-servicebus/lib/models/queuesMappers.ts @@ -37,8 +37,6 @@ export { CaptureDescription, Destination, ArmDisasterRecovery, - MigrationConfigProperties, - IpFilterRule, - VirtualNetworkRule + MigrationConfigProperties } from "../models/mappers"; diff --git a/packages/@azure/arm-servicebus/lib/models/regionsMappers.ts b/packages/@azure/arm-servicebus/lib/models/regionsMappers.ts index e235f0e403d6..b2ee4f41d85e 100644 --- a/packages/@azure/arm-servicebus/lib/models/regionsMappers.ts +++ b/packages/@azure/arm-servicebus/lib/models/regionsMappers.ts @@ -34,8 +34,6 @@ export { CaptureDescription, Destination, ArmDisasterRecovery, - MigrationConfigProperties, - IpFilterRule, - VirtualNetworkRule + MigrationConfigProperties } from "../models/mappers"; diff --git a/packages/@azure/arm-servicebus/lib/models/rulesMappers.ts b/packages/@azure/arm-servicebus/lib/models/rulesMappers.ts index cfd8b03154c8..1515090abc1b 100644 --- a/packages/@azure/arm-servicebus/lib/models/rulesMappers.ts +++ b/packages/@azure/arm-servicebus/lib/models/rulesMappers.ts @@ -34,8 +34,6 @@ export { CaptureDescription, Destination, ArmDisasterRecovery, - MigrationConfigProperties, - IpFilterRule, - VirtualNetworkRule + MigrationConfigProperties } from "../models/mappers"; diff --git a/packages/@azure/arm-servicebus/lib/models/subscriptionsMappers.ts b/packages/@azure/arm-servicebus/lib/models/subscriptionsMappers.ts index 947869c32f69..32293dcf9088 100644 --- a/packages/@azure/arm-servicebus/lib/models/subscriptionsMappers.ts +++ b/packages/@azure/arm-servicebus/lib/models/subscriptionsMappers.ts @@ -34,8 +34,6 @@ export { CaptureDescription, Destination, ArmDisasterRecovery, - MigrationConfigProperties, - IpFilterRule, - VirtualNetworkRule + MigrationConfigProperties } from "../models/mappers"; diff --git a/packages/@azure/arm-servicebus/lib/models/topicsMappers.ts b/packages/@azure/arm-servicebus/lib/models/topicsMappers.ts index 197740bbff80..a9a1215ec788 100644 --- a/packages/@azure/arm-servicebus/lib/models/topicsMappers.ts +++ b/packages/@azure/arm-servicebus/lib/models/topicsMappers.ts @@ -37,8 +37,6 @@ export { CaptureDescription, Destination, ArmDisasterRecovery, - MigrationConfigProperties, - IpFilterRule, - VirtualNetworkRule + MigrationConfigProperties } from "../models/mappers"; diff --git a/packages/@azure/arm-servicebus/lib/operations/disasterRecoveryConfigs.ts b/packages/@azure/arm-servicebus/lib/operations/disasterRecoveryConfigs.ts index 9b9c719e6d78..8d08af8a251a 100644 --- a/packages/@azure/arm-servicebus/lib/operations/disasterRecoveryConfigs.ts +++ b/packages/@azure/arm-servicebus/lib/operations/disasterRecoveryConfigs.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/disasterRecoveryConfigsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ checkNameAvailabilityMethod(resourceGroupName: string, namespaceName: string, parameters: Models.CheckNameAvailability, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailabilityMethod(resourceGroupName: string, namespaceName: string, parameters: Models.CheckNameAvailability, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailabilityMethod(resourceGroupName: string, namespaceName: string, parameters: Models.CheckNameAvailability, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ list(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ createOrUpdate(resourceGroupName: string, namespaceName: string, alias: string, parameters: Models.ArmDisasterRecovery, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, namespaceName: string, alias: string, parameters: Models.ArmDisasterRecovery, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, namespaceName: string, alias: string, parameters: Models.ArmDisasterRecovery, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ deleteMethod(resourceGroupName: string, namespaceName: string, alias: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -194,7 +194,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, alias: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -231,7 +231,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ breakPairing(resourceGroupName: string, namespaceName: string, alias: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - breakPairing(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + breakPairing(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -267,7 +267,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ failOver(resourceGroupName: string, namespaceName: string, alias: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - failOver(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + failOver(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -303,7 +303,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ listAuthorizationRules(resourceGroupName: string, namespaceName: string, alias: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRules(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRules(resourceGroupName: string, namespaceName: string, alias: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -342,7 +342,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ getAuthorizationRule(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAuthorizationRule(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAuthorizationRule(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -382,7 +382,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ listKeys(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -413,7 +413,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -441,7 +441,7 @@ export class DisasterRecoveryConfigs { * @param callback The callback */ listAuthorizationRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicebus/lib/operations/eventHubs.ts b/packages/@azure/arm-servicebus/lib/operations/eventHubs.ts index 16265a00d85d..1e93057274ba 100644 --- a/packages/@azure/arm-servicebus/lib/operations/eventHubs.ts +++ b/packages/@azure/arm-servicebus/lib/operations/eventHubs.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/eventHubsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class EventHubs { * @param callback The callback */ listByNamespace(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByNamespace(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByNamespace(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -76,7 +76,7 @@ export class EventHubs { * @param callback The callback */ listByNamespaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByNamespaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByNamespaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicebus/lib/operations/migrationConfigs.ts b/packages/@azure/arm-servicebus/lib/operations/migrationConfigs.ts index f8c1d953cce8..42e517945582 100644 --- a/packages/@azure/arm-servicebus/lib/operations/migrationConfigs.ts +++ b/packages/@azure/arm-servicebus/lib/operations/migrationConfigs.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/migrationConfigsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class MigrationConfigs { * @param callback The callback */ list(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -94,7 +94,7 @@ export class MigrationConfigs { * @param callback The callback */ deleteMethod(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -126,7 +126,7 @@ export class MigrationConfigs { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -160,7 +160,7 @@ export class MigrationConfigs { * @param callback The callback */ completeMigration(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - completeMigration(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + completeMigration(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -192,7 +192,7 @@ export class MigrationConfigs { * @param callback The callback */ revert(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - revert(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + revert(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -242,7 +242,7 @@ export class MigrationConfigs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicebus/lib/operations/namespaces.ts b/packages/@azure/arm-servicebus/lib/operations/namespaces.ts index b30ff14f00a3..ce119bb82582 100644 --- a/packages/@azure/arm-servicebus/lib/operations/namespaces.ts +++ b/packages/@azure/arm-servicebus/lib/operations/namespaces.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/namespacesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Namespaces { * @param callback The callback */ checkNameAvailabilityMethod(parameters: Models.CheckNameAvailability, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailabilityMethod(parameters: Models.CheckNameAvailability, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailabilityMethod(parameters: Models.CheckNameAvailability, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -70,7 +70,7 @@ export class Namespaces { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -97,7 +97,7 @@ export class Namespaces { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -155,7 +155,7 @@ export class Namespaces { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -191,7 +191,7 @@ export class Namespaces { * @param callback The callback */ update(resourceGroupName: string, namespaceName: string, parameters: Models.SBNamespaceUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, namespaceName: string, parameters: Models.SBNamespaceUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, namespaceName: string, parameters: Models.SBNamespaceUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -224,7 +224,7 @@ export class Namespaces { * @param callback The callback */ listAuthorizationRules(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -262,7 +262,7 @@ export class Namespaces { * @param callback The callback */ createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.SBAuthorizationRule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.SBAuthorizationRule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.SBAuthorizationRule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -299,7 +299,7 @@ export class Namespaces { * @param callback The callback */ deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -335,7 +335,7 @@ export class Namespaces { * @param callback The callback */ getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -371,7 +371,7 @@ export class Namespaces { * @param callback The callback */ listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -410,7 +410,7 @@ export class Namespaces { * @param callback The callback */ regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -447,7 +447,7 @@ export class Namespaces { * @param callback The callback */ migrate(resourceGroupName: string, namespaceName: string, parameters: Models.SBNamespaceMigrate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - migrate(resourceGroupName: string, namespaceName: string, parameters: Models.SBNamespaceMigrate, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + migrate(resourceGroupName: string, namespaceName: string, parameters: Models.SBNamespaceMigrate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -459,294 +459,6 @@ export class Namespaces { callback); } - /** - * Gets a list of IP Filter rules for a Namespace. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param [options] The optional parameters - * @returns Promise - */ - listIpFilterRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param callback The callback - */ - listIpFilterRules(resourceGroupName: string, namespaceName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param options The optional parameters - * @param callback The callback - */ - listIpFilterRules(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listIpFilterRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - options - }, - listIpFilterRulesOperationSpec, - callback) as Promise; - } - - /** - * Creates or updates an IpFilterRule for a Namespace. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param parameters The Namespace IpFilterRule. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdateIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, parameters: Models.IpFilterRule, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param parameters The Namespace IpFilterRule. - * @param callback The callback - */ - createOrUpdateIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, parameters: Models.IpFilterRule, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param parameters The Namespace IpFilterRule. - * @param options The optional parameters - * @param callback The callback - */ - createOrUpdateIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, parameters: Models.IpFilterRule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, parameters: Models.IpFilterRule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - ipFilterRuleName, - parameters, - options - }, - createOrUpdateIpFilterRuleOperationSpec, - callback) as Promise; - } - - /** - * Deletes an IpFilterRule for a Namespace. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param [options] The optional parameters - * @returns Promise - */ - deleteIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param callback The callback - */ - deleteIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param options The optional parameters - * @param callback The callback - */ - deleteIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - ipFilterRuleName, - options - }, - deleteIpFilterRuleOperationSpec, - callback); - } - - /** - * Gets an IpFilterRule for a Namespace by rule name. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param [options] The optional parameters - * @returns Promise - */ - getIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param callback The callback - */ - getIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param ipFilterRuleName The IP Filter Rule name. - * @param options The optional parameters - * @param callback The callback - */ - getIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getIpFilterRule(resourceGroupName: string, namespaceName: string, ipFilterRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - ipFilterRuleName, - options - }, - getIpFilterRuleOperationSpec, - callback) as Promise; - } - - /** - * Gets a list of VirtualNetwork rules for a Namespace. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param [options] The optional parameters - * @returns Promise - */ - listVirtualNetworkRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param callback The callback - */ - listVirtualNetworkRules(resourceGroupName: string, namespaceName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param options The optional parameters - * @param callback The callback - */ - listVirtualNetworkRules(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listVirtualNetworkRules(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - options - }, - listVirtualNetworkRulesOperationSpec, - callback) as Promise; - } - - /** - * Creates or updates an VirtualNetworkRule for a Namespace. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param parameters The Namespace VirtualNetworkRule. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdateVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, parameters: Models.VirtualNetworkRule, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param parameters The Namespace VirtualNetworkRule. - * @param callback The callback - */ - createOrUpdateVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, parameters: Models.VirtualNetworkRule, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param parameters The Namespace VirtualNetworkRule. - * @param options The optional parameters - * @param callback The callback - */ - createOrUpdateVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, parameters: Models.VirtualNetworkRule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, parameters: Models.VirtualNetworkRule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - virtualNetworkRuleName, - parameters, - options - }, - createOrUpdateVirtualNetworkRuleOperationSpec, - callback) as Promise; - } - - /** - * Deletes an VirtualNetworkRule for a Namespace. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param [options] The optional parameters - * @returns Promise - */ - deleteVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param callback The callback - */ - deleteVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param options The optional parameters - * @param callback The callback - */ - deleteVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - virtualNetworkRuleName, - options - }, - deleteVirtualNetworkRuleOperationSpec, - callback); - } - - /** - * Gets an VirtualNetworkRule for a Namespace by rule name. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param [options] The optional parameters - * @returns Promise - */ - getVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param callback The callback - */ - getVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param namespaceName The namespace name - * @param virtualNetworkRuleName The Virtual Network Rule name. - * @param options The optional parameters - * @param callback The callback - */ - getVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getVirtualNetworkRule(resourceGroupName: string, namespaceName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - namespaceName, - virtualNetworkRuleName, - options - }, - getVirtualNetworkRuleOperationSpec, - callback) as Promise; - } - /** * Creates or updates a service namespace. Once created, this namespace's resource manifest is * immutable. This operation is idempotent. @@ -805,7 +517,7 @@ export class Namespaces { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -833,7 +545,7 @@ export class Namespaces { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -861,7 +573,7 @@ export class Namespaces { * @param callback The callback */ listAuthorizationRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -870,62 +582,6 @@ export class Namespaces { listAuthorizationRulesNextOperationSpec, callback) as Promise; } - - /** - * Gets a list of IP Filter rules for a Namespace. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listIpFilterRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listIpFilterRulesNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listIpFilterRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listIpFilterRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listIpFilterRulesNextOperationSpec, - callback) as Promise; - } - - /** - * Gets a list of VirtualNetwork rules for a Namespace. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listVirtualNetworkRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listVirtualNetworkRulesNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listVirtualNetworkRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listVirtualNetworkRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listVirtualNetworkRulesNextOperationSpec, - callback) as Promise; - } } // Operation Specifications @@ -1266,224 +922,6 @@ const migrateOperationSpec: msRest.OperationSpec = { serializer }; -const listIpFilterRulesOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/ipfilterrules", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName1, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IpFilterRuleListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const createOrUpdateIpFilterRuleOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/ipfilterrules/{ipFilterRuleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName1, - Parameters.ipFilterRuleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.IpFilterRule, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.IpFilterRule - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const deleteIpFilterRuleOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/ipfilterrules/{ipFilterRuleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName1, - Parameters.ipFilterRuleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const getIpFilterRuleOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/ipfilterrules/{ipFilterRuleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName1, - Parameters.ipFilterRuleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IpFilterRule - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const listVirtualNetworkRulesOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/virtualnetworkrules", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName1, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.VirtualNetworkRuleListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const createOrUpdateVirtualNetworkRuleOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/virtualnetworkrules/{virtualNetworkRuleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName1, - Parameters.virtualNetworkRuleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.VirtualNetworkRule, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.VirtualNetworkRule - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const deleteVirtualNetworkRuleOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/virtualnetworkrules/{virtualNetworkRuleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName1, - Parameters.virtualNetworkRuleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const getVirtualNetworkRuleOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/virtualnetworkrules/{virtualNetworkRuleName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.namespaceName1, - Parameters.virtualNetworkRuleName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.VirtualNetworkRule - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}", @@ -1607,45 +1045,3 @@ const listAuthorizationRulesNextOperationSpec: msRest.OperationSpec = { }, serializer }; - -const listIpFilterRulesNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IpFilterRuleListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - -const listVirtualNetworkRulesNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.VirtualNetworkRuleListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; diff --git a/packages/@azure/arm-servicebus/lib/operations/operations.ts b/packages/@azure/arm-servicebus/lib/operations/operations.ts index 2716ab1058c6..43dd0e75b0e3 100644 --- a/packages/@azure/arm-servicebus/lib/operations/operations.ts +++ b/packages/@azure/arm-servicebus/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicebus/lib/operations/premiumMessagingRegionsOperations.ts b/packages/@azure/arm-servicebus/lib/operations/premiumMessagingRegionsOperations.ts index 9bf784a8886f..789f8b3b372e 100644 --- a/packages/@azure/arm-servicebus/lib/operations/premiumMessagingRegionsOperations.ts +++ b/packages/@azure/arm-servicebus/lib/operations/premiumMessagingRegionsOperations.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/premiumMessagingRegionsOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class PremiumMessagingRegionsOperations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class PremiumMessagingRegionsOperations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicebus/lib/operations/queues.ts b/packages/@azure/arm-servicebus/lib/operations/queues.ts index 42c5a8ea1409..b1f2221172fb 100644 --- a/packages/@azure/arm-servicebus/lib/operations/queues.ts +++ b/packages/@azure/arm-servicebus/lib/operations/queues.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/queuesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Queues { * @param callback The callback */ listByNamespace(resourceGroupName: string, namespaceName: string, options: Models.QueuesListByNamespaceOptionalParams, callback: msRest.ServiceCallback): void; - listByNamespace(resourceGroupName: string, namespaceName: string, options?: Models.QueuesListByNamespaceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByNamespace(resourceGroupName: string, namespaceName: string, options?: Models.QueuesListByNamespaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class Queues { * @param callback The callback */ createOrUpdate(resourceGroupName: string, namespaceName: string, queueName: string, parameters: Models.SBQueue, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, namespaceName: string, queueName: string, parameters: Models.SBQueue, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, namespaceName: string, queueName: string, parameters: Models.SBQueue, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -122,7 +122,7 @@ export class Queues { * @param callback The callback */ deleteMethod(resourceGroupName: string, namespaceName: string, queueName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, namespaceName: string, queueName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, namespaceName: string, queueName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class Queues { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, queueName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, queueName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, queueName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -194,7 +194,7 @@ export class Queues { * @param callback The callback */ listAuthorizationRules(resourceGroupName: string, namespaceName: string, queueName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRules(resourceGroupName: string, namespaceName: string, queueName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRules(resourceGroupName: string, namespaceName: string, queueName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -236,7 +236,7 @@ export class Queues { * @param callback The callback */ createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, parameters: Models.SBAuthorizationRule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, parameters: Models.SBAuthorizationRule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, parameters: Models.SBAuthorizationRule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -277,7 +277,7 @@ export class Queues { * @param callback The callback */ deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -317,7 +317,7 @@ export class Queues { * @param callback The callback */ getAuthorizationRule(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAuthorizationRule(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAuthorizationRule(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -357,7 +357,7 @@ export class Queues { * @param callback The callback */ listKeys(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -400,7 +400,7 @@ export class Queues { * @param callback The callback */ regenerateKeys(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKeys(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKeys(resourceGroupName: string, namespaceName: string, queueName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -432,7 +432,7 @@ export class Queues { * @param callback The callback */ listByNamespaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByNamespaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByNamespaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -460,7 +460,7 @@ export class Queues { * @param callback The callback */ listAuthorizationRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicebus/lib/operations/regions.ts b/packages/@azure/arm-servicebus/lib/operations/regions.ts index fd3c58eb428a..5783f9c72e9c 100644 --- a/packages/@azure/arm-servicebus/lib/operations/regions.ts +++ b/packages/@azure/arm-servicebus/lib/operations/regions.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/regionsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class Regions { * @param callback The callback */ listBySku(sku: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySku(sku: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySku(sku: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { sku, @@ -72,7 +72,7 @@ export class Regions { * @param callback The callback */ listBySkuNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySkuNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySkuNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicebus/lib/operations/rules.ts b/packages/@azure/arm-servicebus/lib/operations/rules.ts index 8e1ef6a54f04..1b0507a95657 100644 --- a/packages/@azure/arm-servicebus/lib/operations/rules.ts +++ b/packages/@azure/arm-servicebus/lib/operations/rules.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/rulesMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class Rules { * @param callback The callback */ listBySubscriptions(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, options: Models.RulesListBySubscriptionsOptionalParams, callback: msRest.ServiceCallback): void; - listBySubscriptions(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, options?: Models.RulesListBySubscriptionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listBySubscriptions(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, options?: Models.RulesListBySubscriptionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -99,7 +99,7 @@ export class Rules { * @param callback The callback */ createOrUpdate(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, ruleName: string, parameters: Models.Rule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, ruleName: string, parameters: Models.Rule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, ruleName: string, parameters: Models.Rule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -144,7 +144,7 @@ export class Rules { * @param callback The callback */ deleteMethod(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, ruleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, ruleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, ruleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -188,7 +188,7 @@ export class Rules { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, ruleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, ruleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, ruleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -220,7 +220,7 @@ export class Rules { * @param callback The callback */ listBySubscriptionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicebus/lib/operations/subscriptions.ts b/packages/@azure/arm-servicebus/lib/operations/subscriptions.ts index e2d20ae528ef..dca240edc567 100644 --- a/packages/@azure/arm-servicebus/lib/operations/subscriptions.ts +++ b/packages/@azure/arm-servicebus/lib/operations/subscriptions.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/subscriptionsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Subscriptions { * @param callback The callback */ listByTopic(resourceGroupName: string, namespaceName: string, topicName: string, options: Models.SubscriptionsListByTopicOptionalParams, callback: msRest.ServiceCallback): void; - listByTopic(resourceGroupName: string, namespaceName: string, topicName: string, options?: Models.SubscriptionsListByTopicOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByTopic(resourceGroupName: string, namespaceName: string, topicName: string, options?: Models.SubscriptionsListByTopicOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -92,7 +92,7 @@ export class Subscriptions { * @param callback The callback */ createOrUpdate(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, parameters: Models.SBSubscription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, parameters: Models.SBSubscription, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, parameters: Models.SBSubscription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -133,7 +133,7 @@ export class Subscriptions { * @param callback The callback */ deleteMethod(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -173,7 +173,7 @@ export class Subscriptions { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -204,7 +204,7 @@ export class Subscriptions { * @param callback The callback */ listByTopicNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByTopicNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByTopicNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicebus/lib/operations/topics.ts b/packages/@azure/arm-servicebus/lib/operations/topics.ts index f8c33ccfec37..373df303c69e 100644 --- a/packages/@azure/arm-servicebus/lib/operations/topics.ts +++ b/packages/@azure/arm-servicebus/lib/operations/topics.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/topicsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Topics { * @param callback The callback */ listByNamespace(resourceGroupName: string, namespaceName: string, options: Models.TopicsListByNamespaceOptionalParams, callback: msRest.ServiceCallback): void; - listByNamespace(resourceGroupName: string, namespaceName: string, options?: Models.TopicsListByNamespaceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByNamespace(resourceGroupName: string, namespaceName: string, options?: Models.TopicsListByNamespaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class Topics { * @param callback The callback */ createOrUpdate(resourceGroupName: string, namespaceName: string, topicName: string, parameters: Models.SBTopic, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, namespaceName: string, topicName: string, parameters: Models.SBTopic, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, namespaceName: string, topicName: string, parameters: Models.SBTopic, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -122,7 +122,7 @@ export class Topics { * @param callback The callback */ deleteMethod(resourceGroupName: string, namespaceName: string, topicName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, namespaceName: string, topicName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, namespaceName: string, topicName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -158,7 +158,7 @@ export class Topics { * @param callback The callback */ get(resourceGroupName: string, namespaceName: string, topicName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, namespaceName: string, topicName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, namespaceName: string, topicName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -194,7 +194,7 @@ export class Topics { * @param callback The callback */ listAuthorizationRules(resourceGroupName: string, namespaceName: string, topicName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRules(resourceGroupName: string, namespaceName: string, topicName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRules(resourceGroupName: string, namespaceName: string, topicName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -236,7 +236,7 @@ export class Topics { * @param callback The callback */ createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, parameters: Models.SBAuthorizationRule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, parameters: Models.SBAuthorizationRule, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, parameters: Models.SBAuthorizationRule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -277,7 +277,7 @@ export class Topics { * @param callback The callback */ getAuthorizationRule(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAuthorizationRule(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAuthorizationRule(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -317,7 +317,7 @@ export class Topics { * @param callback The callback */ deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -357,7 +357,7 @@ export class Topics { * @param callback The callback */ listKeys(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -400,7 +400,7 @@ export class Topics { * @param callback The callback */ regenerateKeys(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKeys(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKeys(resourceGroupName: string, namespaceName: string, topicName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -432,7 +432,7 @@ export class Topics { * @param callback The callback */ listByNamespaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByNamespaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByNamespaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -460,7 +460,7 @@ export class Topics { * @param callback The callback */ listAuthorizationRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicebus/lib/serviceBusManagementClient.ts b/packages/@azure/arm-servicebus/lib/serviceBusManagementClient.ts index 33e4b6a95aef..d2cb78a62bf5 100644 --- a/packages/@azure/arm-servicebus/lib/serviceBusManagementClient.ts +++ b/packages/@azure/arm-servicebus/lib/serviceBusManagementClient.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-servicebus/lib/serviceBusManagementClientContext.ts b/packages/@azure/arm-servicebus/lib/serviceBusManagementClientContext.ts index b7a48b7cfb10..d2f3fa7271c3 100644 --- a/packages/@azure/arm-servicebus/lib/serviceBusManagementClientContext.ts +++ b/packages/@azure/arm-servicebus/lib/serviceBusManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-servicebus"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class ServiceBusManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the ServiceBusManagementClient class. @@ -45,6 +38,11 @@ export class ServiceBusManagementClientContext extends msRestAzure.AzureServiceC if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-04-01'; @@ -55,7 +53,6 @@ export class ServiceBusManagementClientContext extends msRestAzure.AzureServiceC this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-servicebus/package.json b/packages/@azure/arm-servicebus/package.json index 4b6862235db6..393d6bb1f4f0 100644 --- a/packages/@azure/arm-servicebus/package.json +++ b/packages/@azure/arm-servicebus/package.json @@ -4,8 +4,8 @@ "description": "ServiceBusManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-servicebus/rollup.config.js b/packages/@azure/arm-servicebus/rollup.config.js index 628f75306a0d..1a19480dc1a0 100644 --- a/packages/@azure/arm-servicebus/rollup.config.js +++ b/packages/@azure/arm-servicebus/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/serviceBusManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-servicebus.js", format: "umd", name: "Azure.ArmServicebus", 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-servicebus/tsconfig.esm.json b/packages/@azure/arm-servicebus/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-servicebus/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-servicebus/tsconfig.json b/packages/@azure/arm-servicebus/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-servicebus/tsconfig.json +++ b/packages/@azure/arm-servicebus/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-servicebus/webpack.config.js b/packages/@azure/arm-servicebus/webpack.config.js deleted file mode 100644 index 5c2f22c6fc97..000000000000 --- a/packages/@azure/arm-servicebus/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/serviceBusManagementClient.js', - devtool: 'source-map', - output: { - filename: 'serviceBusManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'serviceBusManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-servicefabricmesh/.npmignore b/packages/@azure/arm-servicefabricmesh/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-servicefabricmesh/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-servicefabricmesh/README.md b/packages/@azure/arm-servicefabricmesh/README.md index d30bb5c8614d..85f756da6712 100644 --- a/packages/@azure/arm-servicefabricmesh/README.md +++ b/packages/@azure/arm-servicefabricmesh/README.md @@ -1,32 +1,40 @@ -# Azure ServiceFabricMeshManagementClient SDK for JavaScript +## Azure ServiceFabricMeshManagementClient SDK for JavaScript + This package contains an isomorphic SDK for ServiceFabricMeshManagementClient. -## 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-servicefabricmesh ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get application as an example written in TypeScript. +##### Sample code ```ts -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 { ServiceFabricMeshManagementClient, ServiceFabricMeshManagementModels, ServiceFabricMeshManagementMappers } from "@azure/arm-servicefabricmesh"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { const client = new ServiceFabricMeshManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const applicationName = "testapplicationName"; - client.application.get(resourceGroupName, applicationName).then((result) => { + client.operations.list().then((result) => { console.log("The result is:"); console.log(result); }); @@ -35,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get application as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -44,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-servicefabricmesh 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-servicefabricmesh/lib/models/applicationMappers.ts b/packages/@azure/arm-servicefabricmesh/lib/models/applicationMappers.ts index 0eaf471f5ef2..70d45dfe0b98 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/models/applicationMappers.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/models/applicationMappers.ts @@ -25,22 +25,52 @@ export { ResourceRequirements, ResourceRequests, ResourceLimits, - ContainerVolume, + VolumeReference, + ApplicationScopedVolume, + ApplicationScopedVolumeCreationParameters, + DiagnosticsRef, + ReliableCollectionsRef, ContainerInstanceView, ContainerState, ContainerEvent, - DiagnosticsRef, NetworkRef, + EndpointRef, + AutoScalingPolicy, + AutoScalingTrigger, + AutoScalingMechanism, DiagnosticsDescription, DiagnosticsSinkProperties, ErrorModel, + ErrorErrorModel, + ErrorDetailsModel, ApplicationResourceDescriptionList, ProxyResource, - NetworkResourceDescription, - IngressConfig, - Layer4IngressConfig, + SecretResourceDescription, + SecretResourceProperties, + SecretResourcePropertiesBase, + ProvisionedResourceProperties, + SecretValueResourceDescription, + ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk, VolumeResourceDescription, VolumeProviderParametersAzureFile, - AzureInternalMonitoringPipelineSinkDescription + NetworkResourcePropertiesBase, + NetworkResourceDescription, + NetworkResourceProperties, + GatewayResourceDescription, + TcpConfig, + GatewayDestination, + HttpConfig, + HttpHostConfig, + HttpRouteConfig, + HttpRouteMatchRule, + HttpRouteMatchPath, + HttpRouteMatchHeader, + AzureInternalMonitoringPipelineSinkDescription, + AddRemoveReplicaScalingMechanism, + AverageLoadScalingTrigger, + AutoScalingMetric, + InlinedValueSecretResourceProperties, + LocalNetworkResourceProperties, + AutoScalingResourceMetric } from "../models/mappers"; diff --git a/packages/@azure/arm-servicefabricmesh/lib/models/codePackageMappers.ts b/packages/@azure/arm-servicefabricmesh/lib/models/codePackageMappers.ts index e839541fff47..ca05214d1b8f 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/models/codePackageMappers.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/models/codePackageMappers.ts @@ -11,6 +11,8 @@ export { discriminators, ContainerLogs, - ErrorModel + ErrorModel, + ErrorErrorModel, + ErrorDetailsModel } from "../models/mappers"; diff --git a/packages/@azure/arm-servicefabricmesh/lib/models/gatewayMappers.ts b/packages/@azure/arm-servicefabricmesh/lib/models/gatewayMappers.ts new file mode 100644 index 000000000000..b6bd6aa1e1a5 --- /dev/null +++ b/packages/@azure/arm-servicefabricmesh/lib/models/gatewayMappers.ts @@ -0,0 +1,76 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export { + discriminators, + GatewayResourceDescription, + TrackedResource, + Resource, + BaseResource, + NetworkRef, + EndpointRef, + TcpConfig, + GatewayDestination, + HttpConfig, + HttpHostConfig, + HttpRouteConfig, + HttpRouteMatchRule, + HttpRouteMatchPath, + HttpRouteMatchHeader, + ErrorModel, + ErrorErrorModel, + ErrorDetailsModel, + GatewayResourceDescriptionList, + ProxyResource, + ManagedProxyResource, + SecretResourceDescription, + SecretResourceProperties, + SecretResourcePropertiesBase, + ProvisionedResourceProperties, + SecretValueResourceDescription, + VolumeResourceDescription, + VolumeProviderParametersAzureFile, + NetworkResourcePropertiesBase, + NetworkResourceDescription, + NetworkResourceProperties, + ServiceResourceDescription, + ContainerCodePackageProperties, + ImageRegistryCredential, + EnvironmentVariable, + Setting, + ContainerLabel, + EndpointProperties, + ResourceRequirements, + ResourceRequests, + ResourceLimits, + VolumeReference, + ApplicationScopedVolume, + ApplicationScopedVolumeCreationParameters, + DiagnosticsRef, + ReliableCollectionsRef, + ContainerInstanceView, + ContainerState, + ContainerEvent, + AutoScalingPolicy, + AutoScalingTrigger, + AutoScalingMechanism, + ApplicationResourceDescription, + DiagnosticsDescription, + DiagnosticsSinkProperties, + AddRemoveReplicaScalingMechanism, + AverageLoadScalingTrigger, + AutoScalingMetric, + InlinedValueSecretResourceProperties, + ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk, + LocalNetworkResourceProperties, + AzureInternalMonitoringPipelineSinkDescription, + AutoScalingResourceMetric +} from "../models/mappers"; + diff --git a/packages/@azure/arm-servicefabricmesh/lib/models/index.ts b/packages/@azure/arm-servicefabricmesh/lib/models/index.ts index 6e9104ce6a64..c77c1f8e4038 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/models/index.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/models/index.ts @@ -8,12 +8,135 @@ * 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 AvailableOperationDisplay. + * An operation available at the listed Azure resource provider. + * + */ +export interface AvailableOperationDisplay { + /** + * @member {string} [provider] Name of the operation provider. + */ + provider?: string; + /** + * @member {string} [resource] Name of the resource on which the operation is + * available. + */ + resource?: string; + /** + * @member {string} [operation] Name of the available operation. + */ + operation?: string; + /** + * @member {string} [description] Description of the available operation. + */ + description?: string; +} + +/** + * @interface + * An interface representing ErrorDetailsModel. + * Error model details information + * + */ +export interface ErrorDetailsModel { + /** + * @member {string} code + */ + code: string; + /** + * @member {string} message Error message. + */ + message: string; +} + +/** + * @interface + * An interface representing ErrorErrorModel. + * Error model information + * + */ +export interface ErrorErrorModel { + /** + * @member {string} code + */ + code: string; + /** + * @member {string} [message] Error message. + */ + message?: string; + /** + * @member {string} [innerError] + */ + innerError?: string; + /** + * @member {ErrorDetailsModel[]} [details] List of error message details. + */ + details?: ErrorDetailsModel[]; +} + +/** + * @interface + * An interface representing ErrorModel. + * The error details. + * + */ +export interface ErrorModel { + /** + * @member {ErrorErrorModel} error Error model information + */ + error: ErrorErrorModel; +} + +/** + * @interface + * An interface representing OperationResult. + * List of operations available at the listed Azure resource provider. + * + */ +export interface OperationResult { + /** + * @member {string} [name] The name of the operation. + */ + name?: string; + /** + * @member {AvailableOperationDisplay} [display] The object that represents + * the operation. + */ + display?: AvailableOperationDisplay; + /** + * @member {string} [origin] Origin result + */ + origin?: string; + /** + * @member {string} [nextLink] The URL to use for getting the next set of + * results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing ProvisionedResourceProperties. + * Describes common properties of a provisioned resource. + * + */ +export interface ProvisionedResourceProperties { + /** + * @member {string} [provisioningState] State of the resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly provisioningState?: string; +} + /** * @interface * An interface representing Resource. @@ -42,10 +165,6 @@ export interface Resource extends BaseResource { * the server.** */ readonly type?: string; - /** - * @member {string} [location] The geo-location where the resource lives - */ - location?: string; } /** @@ -103,15 +222,28 @@ export interface TrackedResource extends Resource { * @member {{ [propertyName: string]: string }} [tags] Resource tags. */ tags?: { [propertyName: string]: string }; + /** + * @member {string} location The geo-location where the resource lives + */ + location: string; } +/** + * Contains the possible cases for SecretResourcePropertiesBase. + */ +export type SecretResourcePropertiesBaseUnion = SecretResourcePropertiesBase | SecretResourcePropertiesUnion; + /** * @interface - * An interface representing ProvisionedResourceProperties. - * Describes common properties of a provisioned resource. + * An interface representing SecretResourcePropertiesBase. + * This type describes the properties of a secret resource, including its kind. * */ -export interface ProvisionedResourceProperties { +export interface SecretResourcePropertiesBase { + /** + * @member {string} kind Polymorphic Discriminator + */ + kind: "SecretResourcePropertiesBase"; /** * @member {string} [provisioningState] State of the resource. * **NOTE: This property will not be serialized. It can only be populated by @@ -120,114 +252,161 @@ export interface ProvisionedResourceProperties { readonly provisioningState?: string; } +/** + * Contains the possible cases for SecretResourceProperties. + */ +export type SecretResourcePropertiesUnion = SecretResourceProperties | InlinedValueSecretResourceProperties; + /** * @interface - * An interface representing Layer4IngressConfig. - * Describes the layer4 configuration for public connectivity for this network. + * An interface representing SecretResourceProperties. + * Describes the properties of a secret resource. * */ -export interface Layer4IngressConfig { +export interface SecretResourceProperties { /** - * @member {string} [name] Layer4 ingress config name. + * @member {string} kind Polymorphic Discriminator */ - name?: string; + kind: "SecretResourceProperties"; + /** + * @member {string} [provisioningState] State of the resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly provisioningState?: string; /** - * @member {number} [publicPort] Specifies the public port at which the - * service endpoint below needs to be exposed. + * @member {string} [description] User readable description of the secret. */ - publicPort?: number; + description?: string; /** - * @member {string} [applicationName] The application name which contains the - * service to be exposed. + * @member {ResourceStatus} [status] Status of the resource. Possible values + * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - applicationName?: string; + readonly status?: ResourceStatus; /** - * @member {string} [serviceName] The service whose endpoint needs to be - * exposed at the public port. + * @member {string} [statusDetails] Gives additional information about the + * current status of the secret. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - serviceName?: string; + readonly statusDetails?: string; /** - * @member {string} [endpointName] The service endpoint that needs to be - * exposed. + * @member {string} [contentType] The type of the content stored in the + * secret value. The value of this property is opaque to Service Fabric. Once + * set, the value of this property cannot be changed. */ - endpointName?: string; + contentType?: string; } /** * @interface - * An interface representing IngressConfig. - * Describes public connectivity configuration for the network. + * An interface representing InlinedValueSecretResourceProperties. + * Describes the properties of a secret resource whose value is provided + * explicitly as plaintext. The secret resource may have multiple values, each + * being uniquely versioned. The secret value of each version is stored + * encrypted, and delivered as plaintext into the context of applications + * referencing it. * */ -export interface IngressConfig { +export interface InlinedValueSecretResourceProperties { + /** + * @member {string} kind Polymorphic Discriminator + */ + kind: "inlinedValue"; + /** + * @member {string} [provisioningState] State of the resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly provisioningState?: string; /** - * @member {IngressQoSLevel} [qosLevel] The QoS tier for ingress. Possible - * values include: 'Bronze' + * @member {string} [description] User readable description of the secret. */ - qosLevel?: IngressQoSLevel; + description?: string; /** - * @member {Layer4IngressConfig[]} [layer4] Configuration for layer4 public - * connectivity for this network. + * @member {ResourceStatus} [status] Status of the resource. Possible values + * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - layer4?: Layer4IngressConfig[]; + readonly status?: ResourceStatus; /** - * @member {string} [publicIPAddress] The public IP address for reaching this - * network. + * @member {string} [statusDetails] Gives additional information about the + * current status of the secret. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ - readonly publicIPAddress?: string; + readonly statusDetails?: string; + /** + * @member {string} [contentType] The type of the content stored in the + * secret value. The value of this property is opaque to Service Fabric. Once + * set, the value of this property cannot be changed. + */ + contentType?: string; } /** * @interface - * An interface representing NetworkResourceDescription. - * This type describes a network resource. + * An interface representing SecretResourceDescription. + * This type describes a secret resource. * * @extends TrackedResource */ -export interface NetworkResourceDescription extends TrackedResource { - /** - * @member {string} [provisioningState] State of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly provisioningState?: string; +export interface SecretResourceDescription extends TrackedResource { /** - * @member {string} [description] User readable description of the network. - */ - description?: string; - /** - * @member {string} addressPrefix the address prefix for this network. + * @member {SecretResourcePropertiesUnion} properties Describes the + * properties of a secret resource. */ - addressPrefix: string; + properties: SecretResourcePropertiesUnion; +} + +/** + * @interface + * An interface representing SecretValue. + * This type represents the unencrypted value of the secret. + * + */ +export interface SecretValue { /** - * @member {IngressConfig} [ingressConfig] Configuration for public - * connectivity for this network. + * @member {string} [value] The actual value of the secret. */ - ingressConfig?: IngressConfig; + value?: string; } /** * @interface - * An interface representing NetworkProperties. - * Describes a network. + * An interface representing SecretValueProperties. + * This type describes properties of secret value resource. * */ -export interface NetworkProperties { +export interface SecretValueProperties { /** - * @member {string} [description] User readable description of the network. + * @member {string} [value] The actual value of the secret. */ - description?: string; + value?: string; +} + +/** + * @interface + * An interface representing SecretValueResourceDescription. + * This type describes a value of a secret resource. The name of this resource + * is the version identifier corresponding to this secret value. + * + * @extends TrackedResource + */ +export interface SecretValueResourceDescription extends TrackedResource { /** - * @member {string} addressPrefix the address prefix for this network. + * @member {string} [provisioningState] State of the resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - addressPrefix: string; + readonly provisioningState?: string; /** - * @member {IngressConfig} [ingressConfig] Configuration for public - * connectivity for this network. + * @member {string} [value] The actual value of the secret. */ - ingressConfig?: IngressConfig; + value?: string; } /** @@ -256,22 +435,29 @@ export interface VolumeProviderParametersAzureFile { /** * @interface - * An interface representing VolumeResourceDescription. - * This type describes a volume resource. + * An interface representing VolumeProperties. + * Describes properties of a volume resource. * - * @extends TrackedResource */ -export interface VolumeResourceDescription extends TrackedResource { +export interface VolumeProperties { /** - * @member {string} [provisioningState] State of the resource. + * @member {string} [description] User readable description of the volume. + */ + description?: string; + /** + * @member {ResourceStatus} [status] Status of the volume. Possible values + * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ - readonly provisioningState?: string; + readonly status?: ResourceStatus; /** - * @member {string} [description] User readable description of the volume. + * @member {string} [statusDetails] Gives additional information about the + * current status of the volume. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - description?: string; + readonly statusDetails?: string; /** * @member {VolumeProviderParametersAzureFile} [azureFileParameters] This * type describes a volume provided by an Azure Files file share. @@ -281,138 +467,168 @@ export interface VolumeResourceDescription extends TrackedResource { /** * @interface - * An interface representing VolumeProperties. - * This type describes properties of a volume resource. + * An interface representing VolumeReference. + * Describes a reference to a volume resource. * */ -export interface VolumeProperties { +export interface VolumeReference { /** - * @member {string} [description] User readable description of the volume. + * @member {string} name Name of the volume being referenced. */ - description?: string; + name: string; /** - * @member {VolumeProviderParametersAzureFile} [azureFileParameters] This - * type describes a volume provided by an Azure Files file share. + * @member {boolean} [readOnly] The flag indicating whether the volume is + * read only. Default is 'false'. */ - azureFileParameters?: VolumeProviderParametersAzureFile; + readOnly?: boolean; + /** + * @member {string} destinationPath The path within the container at which + * the volume should be mounted. Only valid path characters are allowed. + */ + destinationPath: string; } +/** + * Contains the possible cases for ApplicationScopedVolumeCreationParameters. + */ +export type ApplicationScopedVolumeCreationParametersUnion = ApplicationScopedVolumeCreationParameters | ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk; + /** * @interface - * An interface representing ServiceResourceDescription. - * This type describes a service resource. + * An interface representing ApplicationScopedVolumeCreationParameters. + * Describes parameters for creating application-scoped volumes. * - * @extends ManagedProxyResource */ -export interface ServiceResourceDescription extends ManagedProxyResource { +export interface ApplicationScopedVolumeCreationParameters { /** - * @member {OperatingSystemTypes} osType The Operating system type required - * by the code in service. - * . Possible values include: 'Linux', 'Windows' + * @member {string} kind Polymorphic Discriminator */ - osType: OperatingSystemTypes; + kind: "ApplicationScopedVolumeCreationParameters"; /** - * @member {ContainerCodePackageProperties[]} codePackages Describes the set - * of code packages that forms the service. A code package describes the - * container and the properties for running it. All the code packages are - * started together on the same host and share the same context (network, - * process etc.). + * @member {string} [description] User readable description of the volume. */ - codePackages: ContainerCodePackageProperties[]; + description?: string; +} + +/** + * @interface + * An interface representing ApplicationScopedVolume. + * Describes a volume whose lifetime is scoped to the application's lifetime. + * + * @extends VolumeReference + */ +export interface ApplicationScopedVolume extends VolumeReference { /** - * @member {NetworkRef[]} [networkRefs] The names of the private networks - * that this service needs to be part of. + * @member {ApplicationScopedVolumeCreationParametersUnion} + * creationParameters Describes parameters for creating application-scoped + * volumes. */ - networkRefs?: NetworkRef[]; + creationParameters: ApplicationScopedVolumeCreationParametersUnion; +} + +/** + * @interface + * An interface representing ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk. + * Describes parameters for creating application-scoped volumes provided by + * Service Fabric Volume Disks + * + */ +export interface ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk { /** - * @member {DiagnosticsRef} [diagnostics] Reference to sinks in - * DiagnosticsDescription. + * @member {string} kind Polymorphic Discriminator */ - diagnostics?: DiagnosticsRef; + kind: "ServiceFabricVolumeDisk"; /** - * @member {string} [description] User readable description of the service. + * @member {string} [description] User readable description of the volume. */ description?: string; /** - * @member {number} [replicaCount] The number of replicas of the service to - * create. Defaults to 1 if not specified. + * @member {SizeTypes} sizeDisk Volume size. Possible values include: + * 'Small', 'Medium', 'Large' */ - replicaCount?: number; + sizeDisk: SizeTypes; +} + +/** + * @interface + * An interface representing VolumeResourceDescription. + * This type describes a volume resource. + * + * @extends TrackedResource + */ +export interface VolumeResourceDescription extends TrackedResource { + /** + * @member {string} [provisioningState] State of the resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly provisioningState?: string; + /** + * @member {string} [description] User readable description of the volume. + */ + description?: string; /** - * @member {HealthState} [healthState] The health state of a resource such as - * Application, Service, or Network. Possible values include: 'Invalid', - * 'Ok', 'Warning', 'Error', 'Unknown' + * @member {ResourceStatus} [status] Status of the volume. Possible values + * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - healthState?: HealthState; + readonly status?: ResourceStatus; /** - * @member {ServiceResourceStatus} [status] Represents the status of the - * service. Possible values include: 'Unknown', 'Active', 'Upgrading', - * 'Deleting', 'Creating', 'Failed' + * @member {string} [statusDetails] Gives additional information about the + * current status of the volume. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ - readonly status?: ServiceResourceStatus; + readonly statusDetails?: string; + /** + * @member {VolumeProviderParametersAzureFile} [azureFileParameters] This + * type describes a volume provided by an Azure Files file share. + */ + azureFileParameters?: VolumeProviderParametersAzureFile; } /** - * Contains the possible cases for DiagnosticsSinkProperties. + * Contains the possible cases for NetworkResourcePropertiesBase. */ -export type DiagnosticsSinkPropertiesUnion = DiagnosticsSinkProperties | AzureInternalMonitoringPipelineSinkDescription; +export type NetworkResourcePropertiesBaseUnion = NetworkResourcePropertiesBase | NetworkResourcePropertiesUnion; /** * @interface - * An interface representing DiagnosticsSinkProperties. - * Properties of a DiagnosticsSink. + * An interface representing NetworkResourcePropertiesBase. + * This type describes the properties of a network resource, including its + * kind. * */ -export interface DiagnosticsSinkProperties { +export interface NetworkResourcePropertiesBase { /** * @member {string} kind Polymorphic Discriminator */ - kind: "DiagnosticsSinkProperties"; - /** - * @member {string} [name] Name of the sink. This value is referenced by - * DiagnosticsReferenceDescription - */ - name?: string; + kind: "NetworkResourcePropertiesBase"; /** - * @member {string} [description] A description of the sink. + * @member {string} [provisioningState] State of the resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - description?: string; + readonly provisioningState?: string; } /** - * @interface - * An interface representing DiagnosticsDescription. - * Describes the diagnostics options available - * + * Contains the possible cases for NetworkResourceProperties. */ -export interface DiagnosticsDescription { - /** - * @member {DiagnosticsSinkPropertiesUnion[]} [sinks] List of supported sinks - * that can be referenced. - */ - sinks?: DiagnosticsSinkPropertiesUnion[]; - /** - * @member {boolean} [enabled] Status of whether or not sinks are enabled. - */ - enabled?: boolean; - /** - * @member {string[]} [defaultSinkRefs] The sinks to be used if diagnostics - * is enabled. Sink choices can be overridden at the service and code package - * level. - */ - defaultSinkRefs?: string[]; -} +export type NetworkResourcePropertiesUnion = NetworkResourceProperties | LocalNetworkResourceProperties; /** * @interface - * An interface representing ApplicationResourceDescription. - * This type describes an application resource. + * An interface representing NetworkResourceProperties. + * Describes properties of a network resource. * - * @extends TrackedResource */ -export interface ApplicationResourceDescription extends TrackedResource { +export interface NetworkResourceProperties { + /** + * @member {string} kind Polymorphic Discriminator + */ + kind: "NetworkResourceProperties"; /** * @member {string} [provisioningState] State of the resource. * **NOTE: This property will not be serialized. It can only be populated by @@ -420,401 +636,417 @@ export interface ApplicationResourceDescription extends TrackedResource { */ readonly provisioningState?: string; /** - * @member {string} [description] User readable description of the - * application. + * @member {string} [description] User readable description of the network. */ description?: string; /** - * @member {string} [debugParams] Internal use. - */ - debugParams?: string; - /** - * @member {ServiceResourceDescription[]} [services] describes the services - * in the application. - */ - services?: ServiceResourceDescription[]; - /** - * @member {HealthState} [healthState] Describes the health state of an - * application resource. Possible values include: 'Invalid', 'Ok', 'Warning', - * 'Error', 'Unknown' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly healthState?: HealthState; - /** - * @member {string} [unhealthyEvaluation] When the application's health state - * is not 'Ok', this additional details from service fabric Health Manager - * for the user to know why the application is marked unhealthy. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly unhealthyEvaluation?: string; - /** - * @member {ApplicationResourceStatus} [status] Status of the application - * resource. Possible values include: 'Invalid', 'Ready', 'Upgrading', - * 'Creating', 'Deleting', 'Failed' + * @member {ResourceStatus} [status] Status of the network. Possible values + * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ - readonly status?: ApplicationResourceStatus; + readonly status?: ResourceStatus; /** * @member {string} [statusDetails] Gives additional information about the - * current status of the application deployment. + * current status of the network. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ readonly statusDetails?: string; - /** - * @member {string[]} [serviceNames] Names of the services in the - * application. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly serviceNames?: string[]; - /** - * @member {DiagnosticsDescription} [diagnostics] Describes the diagnostics - * definition and usage for an application resource. - */ - diagnostics?: DiagnosticsDescription; } /** * @interface - * An interface representing ApplicationProperties. - * This type describes properties of an application resource. + * An interface representing LocalNetworkResourceProperties. + * Information about a Service Fabric container network local to a single + * Service Fabric cluster. * */ -export interface ApplicationProperties { - /** - * @member {string} [description] User readable description of the - * application. - */ - description?: string; - /** - * @member {string} [debugParams] Internal use. - */ - debugParams?: string; +export interface LocalNetworkResourceProperties { /** - * @member {ServiceResourceDescription[]} [services] describes the services - * in the application. + * @member {string} kind Polymorphic Discriminator */ - services?: ServiceResourceDescription[]; + kind: "Local"; /** - * @member {HealthState} [healthState] Describes the health state of an - * application resource. Possible values include: 'Invalid', 'Ok', 'Warning', - * 'Error', 'Unknown' + * @member {string} [provisioningState] State of the resource. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ - readonly healthState?: HealthState; + readonly provisioningState?: string; /** - * @member {string} [unhealthyEvaluation] When the application's health state - * is not 'Ok', this additional details from service fabric Health Manager - * for the user to know why the application is marked unhealthy. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * @member {string} [description] User readable description of the network. */ - readonly unhealthyEvaluation?: string; + description?: string; /** - * @member {ApplicationResourceStatus} [status] Status of the application - * resource. Possible values include: 'Invalid', 'Ready', 'Upgrading', - * 'Creating', 'Deleting', 'Failed' + * @member {ResourceStatus} [status] Status of the network. Possible values + * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ - readonly status?: ApplicationResourceStatus; + readonly status?: ResourceStatus; /** * @member {string} [statusDetails] Gives additional information about the - * current status of the application deployment. + * current status of the network. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ readonly statusDetails?: string; /** - * @member {string[]} [serviceNames] Names of the services in the - * application. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly serviceNames?: string[]; - /** - * @member {DiagnosticsDescription} [diagnostics] Describes the diagnostics - * definition and usage for an application resource. + * @member {string} [networkAddressPrefix] Address space for the local + * container network. */ - diagnostics?: DiagnosticsDescription; + networkAddressPrefix?: string; } /** * @interface - * An interface representing ContainerState. - * The container state. + * An interface representing EndpointRef. + * Describes a reference to a service endpoint. * */ -export interface ContainerState { - /** - * @member {string} [state] The state of this container - */ - state?: string; +export interface EndpointRef { /** - * @member {Date} [startTime] Date/time when the container state started. + * @member {string} [name] Name of the endpoint. */ - startTime?: Date; + name?: string; +} + +/** + * @interface + * An interface representing NetworkRef. + * Describes a network reference in a service. + * + */ +export interface NetworkRef { /** - * @member {string} [exitCode] The container exit code. + * @member {string} [name] Name of the network */ - exitCode?: string; + name?: string; /** - * @member {Date} [finishTime] Date/time when the container state finished. + * @member {EndpointRef[]} [endpointRefs] A list of endpoints that are + * exposed on this network. */ - finishTime?: Date; + endpointRefs?: EndpointRef[]; +} + +/** + * @interface + * An interface representing NetworkResourceDescription. + * This type describes a network resource. + * + * @extends TrackedResource + */ +export interface NetworkResourceDescription extends TrackedResource { /** - * @member {string} [detailStatus] Human-readable status of this state. + * @member {NetworkResourcePropertiesUnion} properties Describes properties + * of a network resource. */ - detailStatus?: string; + properties: NetworkResourcePropertiesUnion; } /** * @interface - * An interface representing ContainerEvent. - * A container event. + * An interface representing GatewayDestination. + * Describes destination endpoint for routing traffic. * */ -export interface ContainerEvent { +export interface GatewayDestination { /** - * @member {string} [name] The name of the container event. + * @member {string} applicationName Name of the service fabric Mesh + * application. */ - name?: string; + applicationName: string; /** - * @member {number} [count] The count of the event. + * @member {string} serviceName service that contains the endpoint. */ - count?: number; + serviceName: string; /** - * @member {string} [firstTimestamp] Date/time of the first event. + * @member {string} endpointName name of the endpoint in the service. */ - firstTimestamp?: string; + endpointName: string; +} + +/** + * @interface + * An interface representing TcpConfig. + * Describes the tcp configuration for external connectivity for this network. + * + */ +export interface TcpConfig { /** - * @member {string} [lastTimestamp] Date/time of the last event. + * @member {string} name tcp gateway config name. */ - lastTimestamp?: string; + name: string; /** - * @member {string} [message] The event message + * @member {number} port Specifies the port at which the service endpoint + * below needs to be exposed. */ - message?: string; + port: number; /** - * @member {string} [type] The event type. + * @member {GatewayDestination} destination Describes destination endpoint + * for routing traffic. */ - type?: string; + destination: GatewayDestination; } /** * @interface - * An interface representing ContainerInstanceView. - * Runtime information of a container instance. + * An interface representing HttpRouteMatchPath. + * Path to match for routing. * */ -export interface ContainerInstanceView { - /** - * @member {number} [restartCount] The number of times the container has been - * restarted. - */ - restartCount?: number; - /** - * @member {ContainerState} [currentState] Current container instance state. - */ - currentState?: ContainerState; +export interface HttpRouteMatchPath { /** - * @member {ContainerState} [previousState] Previous container instance - * state. + * @member {string} value Uri path to match for request. */ - previousState?: ContainerState; + value: string; /** - * @member {ContainerEvent[]} [events] The events of this container instance. + * @member {string} [rewrite] replacement string for matched part of the Uri. */ - events?: ContainerEvent[]; + rewrite?: string; } /** * @interface - * An interface representing ContainerLabel. - * Describes a container label. + * An interface representing HttpRouteMatchHeader. + * Describes header information for http route matching. * */ -export interface ContainerLabel { +export interface HttpRouteMatchHeader { /** - * @member {string} name The name of the container label. + * @member {string} name Name of header to match in request. */ name: string; /** - * @member {string} value The value of the container label. + * @member {string} [value] Value of header to match in request. */ - value: string; + value?: string; + /** + * @member {HeaderMatchType} [type] how to match header value. Possible + * values include: 'exact' + */ + type?: HeaderMatchType; } /** * @interface - * An interface representing ContainerLogs. - * The logs of the container. + * An interface representing HttpRouteMatchRule. + * Describes a rule for http route matching. * */ -export interface ContainerLogs { +export interface HttpRouteMatchRule { /** - * @member {string} [content] content of the log. + * @member {HttpRouteMatchPath} path Path to match for routing. */ - content?: string; + path: HttpRouteMatchPath; + /** + * @member {HttpRouteMatchHeader[]} [headers] headers and their values to + * match in request. + */ + headers?: HttpRouteMatchHeader[]; } /** * @interface - * An interface representing ImageRegistryCredential. - * Image registry credential. + * An interface representing HttpRouteConfig. + * Describes the hostname properties for http routing. * */ -export interface ImageRegistryCredential { +export interface HttpRouteConfig { /** - * @member {string} server Docker image registry server, without protocol - * such as `http` and `https`. + * @member {string} name http route name. */ - server: string; + name: string; /** - * @member {string} username The username for the private registry. + * @member {HttpRouteMatchRule} match Describes a rule for http route + * matching. */ - username: string; + match: HttpRouteMatchRule; /** - * @member {string} [password] The password for the private registry. + * @member {GatewayDestination} destination Describes destination endpoint + * for routing traffic. */ - password?: string; + destination: GatewayDestination; } /** * @interface - * An interface representing ResourceLimits. - * This type describes the resource limits for a given container. It describes - * the most amount of resources a container is allowed to use before being - * restarted. + * An interface representing HttpHostConfig. + * Describes the hostname properties for http routing. * */ -export interface ResourceLimits { +export interface HttpHostConfig { /** - * @member {number} [memoryInGB] The memory limit in GB. + * @member {string} name http hostname config name. */ - memoryInGB?: number; + name: string; /** - * @member {number} [cpu] CPU limits in cores. At present, only full cores - * are supported. + * @member {HttpRouteConfig[]} routes Route information to use for routing. + * Routes are processed in the order they are specified. Specify routes that + * are more specific before routes that can hamdle general cases. */ - cpu?: number; + routes: HttpRouteConfig[]; } /** * @interface - * An interface representing ResourceRequests. - * This type describes the requested resources for a given container. It - * describes the least amount of resources required for the container. A - * container can consume more than requested resources up to the specified - * limits before being restarted. Currently, the requested resources are - * treated as limits. - * + * An interface representing HttpConfig. + * Describes the http configuration for external connectivity for this network. * */ -export interface ResourceRequests { +export interface HttpConfig { /** - * @member {number} memoryInGB The memory request in GB for this container. + * @member {string} name http gateway config name. */ - memoryInGB: number; + name: string; /** - * @member {number} cpu Requested number of CPU cores. At present, only full - * cores are supported. + * @member {number} port Specifies the port at which the service endpoint + * below needs to be exposed. */ - cpu: number; + port: number; + /** + * @member {HttpHostConfig[]} hosts description for routing. + */ + hosts: HttpHostConfig[]; } /** * @interface - * An interface representing ResourceRequirements. - * This type describes the resource requirements for a container or a service. + * An interface representing GatewayProperties. + * Describes properties of a gateway resource. * */ -export interface ResourceRequirements { +export interface GatewayProperties { /** - * @member {ResourceRequests} requests Describes the requested resources for - * a given container. + * @member {string} [description] User readable description of the gateway. */ - requests: ResourceRequests; + description?: string; /** - * @member {ResourceLimits} [limits] Describes the maximum limits on the - * resources for a given container. + * @member {NetworkRef} sourceNetwork Network the gateway should listen on + * for requests. */ - limits?: ResourceLimits; -} - -/** - * @interface - * An interface representing AvailableOperationDisplay. - * An operation available at the listed Azure resource provider. - * - */ -export interface AvailableOperationDisplay { + sourceNetwork: NetworkRef; /** - * @member {string} [provider] Name of the operation provider. + * @member {NetworkRef} destinationNetwork Network that the Application is + * using. */ - provider?: string; + destinationNetwork: NetworkRef; /** - * @member {string} [resource] Name of the resource on which the operation is - * available. + * @member {TcpConfig[]} [tcp] Configuration for tcp connectivity for this + * gateway. */ - resource?: string; + tcp?: TcpConfig[]; /** - * @member {string} [operation] Name of the available operation. + * @member {HttpConfig[]} [http] Configuration for http connectivity for this + * gateway. */ - operation?: string; + http?: HttpConfig[]; /** - * @member {string} [description] Description of the available operation. + * @member {ResourceStatus} [status] Status of the resource. Possible values + * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - description?: string; + readonly status?: ResourceStatus; + /** + * @member {string} [statusDetails] Gives additional information about the + * current status of the gateway. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly statusDetails?: string; + /** + * @member {string} [ipAddress] IP address of the gateway. This is populated + * in the response and is ignored for incoming requests. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly ipAddress?: string; } /** * @interface - * An interface representing OperationResult. - * List of operations available at the listed Azure resource provider. + * An interface representing GatewayResourceDescription. + * This type describes a gateway resource. * + * @extends TrackedResource */ -export interface OperationResult { +export interface GatewayResourceDescription extends TrackedResource { /** - * @member {string} [name] The name of the operation. + * @member {string} [provisioningState] State of the resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - name?: string; + readonly provisioningState?: string; /** - * @member {AvailableOperationDisplay} [display] The object that represents - * the operation. + * @member {string} [description] User readable description of the gateway. */ - display?: AvailableOperationDisplay; + description?: string; /** - * @member {string} [origin] Origin result + * @member {NetworkRef} sourceNetwork Network the gateway should listen on + * for requests. */ - origin?: string; + sourceNetwork: NetworkRef; /** - * @member {string} [nextLink] The URL to use for getting the next set of - * results. + * @member {NetworkRef} destinationNetwork Network that the Application is + * using. */ - nextLink?: string; + destinationNetwork: NetworkRef; + /** + * @member {TcpConfig[]} [tcp] Configuration for tcp connectivity for this + * gateway. + */ + tcp?: TcpConfig[]; + /** + * @member {HttpConfig[]} [http] Configuration for http connectivity for this + * gateway. + */ + http?: HttpConfig[]; + /** + * @member {ResourceStatus} [status] Status of the resource. Possible values + * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly status?: ResourceStatus; + /** + * @member {string} [statusDetails] Gives additional information about the + * current status of the gateway. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly statusDetails?: string; + /** + * @member {string} [ipAddress] IP address of the gateway. This is populated + * in the response and is ignored for incoming requests. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly ipAddress?: string; } /** * @interface - * An interface representing ErrorModel. - * The error details. + * An interface representing ImageRegistryCredential. + * Image registry credential. * */ -export interface ErrorModel { +export interface ImageRegistryCredential { /** - * @member {string} [code] The error code. + * @member {string} server Docker image registry server, without protocol + * such as `http` and `https`. */ - code?: string; + server: string; /** - * @member {string} [message] The error message. + * @member {string} username The username for the private registry. */ - message?: string; + username: string; + /** + * @member {string} [password] The password for the private registry. The + * password is required for create or update operations, however it is not + * returned in the get or list operations. + */ + password?: string; } /** @@ -837,7 +1069,9 @@ export interface EnvironmentVariable { /** * @interface * An interface representing Setting. - * Describes a setting for the container. + * Describes a setting for the container. The setting file path can be fetched + * from environment variable "Fabric_SettingPath". The path for Windows + * container is "C:\\secrets". The path for Linux container is "/var/secrets". * */ export interface Setting { @@ -851,6 +1085,23 @@ export interface Setting { value?: string; } +/** + * @interface + * An interface representing ContainerLabel. + * Describes a container label. + * + */ +export interface ContainerLabel { + /** + * @member {string} name The name of the container label. + */ + name: string; + /** + * @member {string} value The value of the container label. + */ + value: string; +} + /** * @interface * An interface representing EndpointProperties. @@ -870,25 +1121,63 @@ export interface EndpointProperties { /** * @interface - * An interface representing ContainerVolume. - * Describes how a volume is attached to a container. + * An interface representing ResourceRequests. + * This type describes the requested resources for a given container. It + * describes the least amount of resources required for the container. A + * container can consume more than requested resources up to the specified + * limits before being restarted. Currently, the requested resources are + * treated as limits. * */ -export interface ContainerVolume { +export interface ResourceRequests { /** - * @member {string} name Name of the volume. + * @member {number} memoryInGB The memory request in GB for this container. */ - name: string; + memoryInGB: number; /** - * @member {boolean} [readOnly] The flag indicating whether the volume is - * read only. Default is 'false'. + * @member {number} cpu Requested number of CPU cores. At present, only full + * cores are supported. */ - readOnly?: boolean; + cpu: number; +} + +/** + * @interface + * An interface representing ResourceLimits. + * This type describes the resource limits for a given container. It describes + * the most amount of resources a container is allowed to use before being + * restarted. + * + */ +export interface ResourceLimits { /** - * @member {string} destinationPath The path within the container at which - * the volume should be mounted. Only valid path characters are allowed. + * @member {number} [memoryInGB] The memory limit in GB. */ - destinationPath: string; + memoryInGB?: number; + /** + * @member {number} [cpu] CPU limits in cores. At present, only full cores + * are supported. + */ + cpu?: number; +} + +/** + * @interface + * An interface representing ResourceRequirements. + * This type describes the resource requirements for a container or a service. + * + */ +export interface ResourceRequirements { + /** + * @member {ResourceRequests} requests Describes the requested resources for + * a given container. + */ + requests: ResourceRequests; + /** + * @member {ResourceLimits} [limits] Describes the maximum limits on the + * resources for a given container. + */ + limits?: ResourceLimits; } /** @@ -911,77 +1200,702 @@ export interface DiagnosticsRef { /** * @interface - * An interface representing ContainerCodePackageProperties. - * Describes a container and its runtime properties. + * An interface representing ReliableCollectionsRef. + * Specifying this parameter adds support for reliable collections * */ -export interface ContainerCodePackageProperties { +export interface ReliableCollectionsRef { /** - * @member {string} name The name of the code package. + * @member {string} name Name of ReliableCollection resource. Right now it's + * not used and you can use any string. */ name: string; /** - * @member {string} image The Container image to use. + * @member {boolean} [doNotPersistState] False (the default) if + * ReliableCollections state is persisted to disk as usual. True if you do + * not want to persist state, in which case replication is still enabled and + * you can use ReliableCollections as distributed cache. */ - image: string; + doNotPersistState?: boolean; +} + +/** + * @interface + * An interface representing ContainerState. + * The container state. + * + */ +export interface ContainerState { /** - * @member {ImageRegistryCredential} [imageRegistryCredential] Image registry - * credential. + * @member {string} [state] The state of this container */ - imageRegistryCredential?: ImageRegistryCredential; + state?: string; /** - * @member {string} [entrypoint] Override for the default entry point in the - * container. + * @member {Date} [startTime] Date/time when the container state started. */ - entrypoint?: string; + startTime?: Date; /** - * @member {string[]} [commands] Command array to execute within the - * container in exec form. + * @member {string} [exitCode] The container exit code. */ - commands?: string[]; + exitCode?: string; /** - * @member {EnvironmentVariable[]} [environmentVariables] The environment - * variables to set in this container + * @member {Date} [finishTime] Date/time when the container state finished. */ - environmentVariables?: EnvironmentVariable[]; + finishTime?: Date; /** - * @member {Setting[]} [settings] The settings to set in this container. The - * setting file path can be fetched from environment variable - * "Fabric_SettingPath". The path for Windows container is "C:\\secrets". The - * path for Linux container is "/var/secrets". + * @member {string} [detailStatus] Human-readable status of this state. */ - settings?: Setting[]; + detailStatus?: string; +} + +/** + * @interface + * An interface representing ContainerEvent. + * A container event. + * + */ +export interface ContainerEvent { /** - * @member {ContainerLabel[]} [labels] The labels to set in this container. + * @member {string} [name] The name of the container event. */ - labels?: ContainerLabel[]; + name?: string; /** - * @member {EndpointProperties[]} [endpoints] The endpoints exposed by this - * container. + * @member {number} [count] The count of the event. */ - endpoints?: EndpointProperties[]; + count?: number; /** - * @member {ResourceRequirements} resources This type describes the resource - * requirements for a container or a service. + * @member {string} [firstTimestamp] Date/time of the first event. */ - resources: ResourceRequirements; + firstTimestamp?: string; /** - * @member {ContainerVolume[]} [volumeRefs] The volumes to be attached to the - * container. + * @member {string} [lastTimestamp] Date/time of the last event. */ - volumeRefs?: ContainerVolume[]; + lastTimestamp?: string; /** - * @member {ContainerInstanceView} [instanceView] Runtime information of a - * container instance. + * @member {string} [message] The event message + */ + message?: string; + /** + * @member {string} [type] The event type. + */ + type?: string; +} + +/** + * @interface + * An interface representing ContainerInstanceView. + * Runtime information of a container instance. + * + */ +export interface ContainerInstanceView { + /** + * @member {number} [restartCount] The number of times the container has been + * restarted. + */ + restartCount?: number; + /** + * @member {ContainerState} [currentState] Current container instance state. + */ + currentState?: ContainerState; + /** + * @member {ContainerState} [previousState] Previous container instance + * state. + */ + previousState?: ContainerState; + /** + * @member {ContainerEvent[]} [events] The events of this container instance. + */ + events?: ContainerEvent[]; +} + +/** + * @interface + * An interface representing ContainerCodePackageProperties. + * Describes a container and its runtime properties. + * + */ +export interface ContainerCodePackageProperties { + /** + * @member {string} name The name of the code package. + */ + name: string; + /** + * @member {string} image The Container image to use. + */ + image: string; + /** + * @member {ImageRegistryCredential} [imageRegistryCredential] Image registry + * credential. + */ + imageRegistryCredential?: ImageRegistryCredential; + /** + * @member {string} [entrypoint] Override for the default entry point in the + * container. + */ + entrypoint?: string; + /** + * @member {string[]} [commands] Command array to execute within the + * container in exec form. + */ + commands?: string[]; + /** + * @member {EnvironmentVariable[]} [environmentVariables] The environment + * variables to set in this container + */ + environmentVariables?: EnvironmentVariable[]; + /** + * @member {Setting[]} [settings] The settings to set in this container. The + * setting file path can be fetched from environment variable + * "Fabric_SettingPath". The path for Windows container is "C:\\secrets". The + * path for Linux container is "/var/secrets". + */ + settings?: Setting[]; + /** + * @member {ContainerLabel[]} [labels] The labels to set in this container. + */ + labels?: ContainerLabel[]; + /** + * @member {EndpointProperties[]} [endpoints] The endpoints exposed by this + * container. + */ + endpoints?: EndpointProperties[]; + /** + * @member {ResourceRequirements} resources The resources required by this + * container. + */ + resources: ResourceRequirements; + /** + * @member {VolumeReference[]} [volumeRefs] Volumes to be attached to the + * container. The lifetime of these volumes is independent of the + * application's lifetime. + */ + volumeRefs?: VolumeReference[]; + /** + * @member {ApplicationScopedVolume[]} [volumes] Volumes to be attached to + * the container. The lifetime of these volumes is scoped to the + * application's lifetime. + */ + volumes?: ApplicationScopedVolume[]; + /** + * @member {DiagnosticsRef} [diagnostics] Reference to sinks in + * DiagnosticsDescription. + */ + diagnostics?: DiagnosticsRef; + /** + * @member {ReliableCollectionsRef[]} [reliableCollectionsRefs] A list of + * ReliableCollection resources used by this particular code package. Please + * refer to ReliablecollectionsRef for more details. + */ + reliableCollectionsRefs?: ReliableCollectionsRef[]; + /** + * @member {ContainerInstanceView} [instanceView] Runtime information of a + * container instance. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly instanceView?: ContainerInstanceView; +} + +/** + * Contains the possible cases for AutoScalingTrigger. + */ +export type AutoScalingTriggerUnion = AutoScalingTrigger | AverageLoadScalingTrigger; + +/** + * @interface + * An interface representing AutoScalingTrigger. + * Describes the trigger for performing auto scaling operation. + * + */ +export interface AutoScalingTrigger { + /** + * @member {string} kind Polymorphic Discriminator + */ + kind: "AutoScalingTrigger"; +} + +/** + * Contains the possible cases for AutoScalingMechanism. + */ +export type AutoScalingMechanismUnion = AutoScalingMechanism | AddRemoveReplicaScalingMechanism; + +/** + * @interface + * An interface representing AutoScalingMechanism. + * Describes the mechanism for performing auto scaling operation. Derived + * classes will describe the actual mechanism. + * + */ +export interface AutoScalingMechanism { + /** + * @member {string} kind Polymorphic Discriminator + */ + kind: "AutoScalingMechanism"; +} + +/** + * @interface + * An interface representing AutoScalingPolicy. + * Describes the auto scaling policy + * + */ +export interface AutoScalingPolicy { + /** + * @member {string} name The name of the auto scaling policy. + */ + name: string; + /** + * @member {AutoScalingTriggerUnion} trigger Determines when auto scaling + * operation will be invoked. + */ + trigger: AutoScalingTriggerUnion; + /** + * @member {AutoScalingMechanismUnion} mechanism The mechanism that is used + * to scale when auto scaling operation is invoked. + */ + mechanism: AutoScalingMechanismUnion; +} + +/** + * @interface + * An interface representing ServiceResourceDescription. + * This type describes a service resource. + * + * @extends ManagedProxyResource + */ +export interface ServiceResourceDescription extends ManagedProxyResource { + /** + * @member {string} [provisioningState] State of the resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly provisioningState?: string; + /** + * @member {OperatingSystemType} osType The operation system required by the + * code in service. Possible values include: 'Linux', 'Windows' + */ + osType: OperatingSystemType; + /** + * @member {ContainerCodePackageProperties[]} codePackages Describes the set + * of code packages that forms the service. A code package describes the + * container and the properties for running it. All the code packages are + * started together on the same host and share the same context (network, + * process etc.). + */ + codePackages: ContainerCodePackageProperties[]; + /** + * @member {NetworkRef[]} [networkRefs] The names of the private networks + * that this service needs to be part of. + */ + networkRefs?: NetworkRef[]; + /** + * @member {DiagnosticsRef} [diagnostics] Reference to sinks in + * DiagnosticsDescription. + */ + diagnostics?: DiagnosticsRef; + /** + * @member {string} [description] User readable description of the service. + */ + description?: string; + /** + * @member {number} [replicaCount] The number of replicas of the service to + * create. Defaults to 1 if not specified. + */ + replicaCount?: number; + /** + * @member {AutoScalingPolicy[]} [autoScalingPolicies] Auto scaling policies + */ + autoScalingPolicies?: AutoScalingPolicy[]; + /** + * @member {ResourceStatus} [status] Status of the service. Possible values + * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly status?: ResourceStatus; + /** + * @member {string} [statusDetails] Gives additional information about the + * current status of the service. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly statusDetails?: string; + /** + * @member {HealthState} [healthState] Describes the health state of an + * application resource. Possible values include: 'Invalid', 'Ok', 'Warning', + * 'Error', 'Unknown' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly healthState?: HealthState; + /** + * @member {string} [unhealthyEvaluation] When the service's health state is + * not 'Ok', this additional details from service fabric Health Manager for + * the user to know why the service is marked unhealthy. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly unhealthyEvaluation?: string; +} + +/** + * Contains the possible cases for DiagnosticsSinkProperties. + */ +export type DiagnosticsSinkPropertiesUnion = DiagnosticsSinkProperties | AzureInternalMonitoringPipelineSinkDescription; + +/** + * @interface + * An interface representing DiagnosticsSinkProperties. + * Properties of a DiagnosticsSink. + * + */ +export interface DiagnosticsSinkProperties { + /** + * @member {string} kind Polymorphic Discriminator + */ + kind: "DiagnosticsSinkProperties"; + /** + * @member {string} [name] Name of the sink. This value is referenced by + * DiagnosticsReferenceDescription + */ + name?: string; + /** + * @member {string} [description] A description of the sink. + */ + description?: string; +} + +/** + * @interface + * An interface representing DiagnosticsDescription. + * Describes the diagnostics options available + * + */ +export interface DiagnosticsDescription { + /** + * @member {DiagnosticsSinkPropertiesUnion[]} [sinks] List of supported sinks + * that can be referenced. + */ + sinks?: DiagnosticsSinkPropertiesUnion[]; + /** + * @member {boolean} [enabled] Status of whether or not sinks are enabled. + */ + enabled?: boolean; + /** + * @member {string[]} [defaultSinkRefs] The sinks to be used if diagnostics + * is enabled. Sink choices can be overridden at the service and code package + * level. + */ + defaultSinkRefs?: string[]; +} + +/** + * @interface + * An interface representing ApplicationProperties. + * Describes properties of a application resource. + * + */ +export interface ApplicationProperties { + /** + * @member {string} [description] User readable description of the + * application. + */ + description?: string; + /** + * @member {ServiceResourceDescription[]} [services] Describes the services + * in the application. This property is used to create or modify services of + * the application. On get only the name of the service is returned. The + * service description can be obtained by querying for the service resource. + */ + services?: ServiceResourceDescription[]; + /** + * @member {DiagnosticsDescription} [diagnostics] Describes the diagnostics + * definition and usage for an application resource. + */ + diagnostics?: DiagnosticsDescription; + /** + * @member {string} [debugParams] Internal - used by Visual Studio to setup + * the debugging session on the local development environment. + */ + debugParams?: string; + /** + * @member {string[]} [serviceNames] Names of the services in the + * application. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly serviceNames?: string[]; + /** + * @member {ResourceStatus} [status] Status of the application. Possible + * values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', + * 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly status?: ResourceStatus; + /** + * @member {string} [statusDetails] Gives additional information about the + * current status of the application. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly statusDetails?: string; + /** + * @member {HealthState} [healthState] Describes the health state of an + * application resource. Possible values include: 'Invalid', 'Ok', 'Warning', + * 'Error', 'Unknown' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly healthState?: HealthState; + /** + * @member {string} [unhealthyEvaluation] When the application's health state + * is not 'Ok', this additional details from service fabric Health Manager + * for the user to know why the application is marked unhealthy. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly unhealthyEvaluation?: string; +} + +/** + * @interface + * An interface representing AzureInternalMonitoringPipelineSinkDescription. + * Diagnostics settings for Geneva. + * + */ +export interface AzureInternalMonitoringPipelineSinkDescription { + /** + * @member {string} kind Polymorphic Discriminator + */ + kind: "AzureInternalMonitoringPipeline"; + /** + * @member {string} [name] Name of the sink. This value is referenced by + * DiagnosticsReferenceDescription + */ + name?: string; + /** + * @member {string} [description] A description of the sink. + */ + description?: string; + /** + * @member {string} [accountName] Azure Internal monitoring pipeline account. + */ + accountName?: string; + /** + * @member {string} [namespace] Azure Internal monitoring pipeline account + * namespace. + */ + namespace?: string; + /** + * @member {string} [maConfigUrl] Azure Internal monitoring agent + * configuration. + */ + maConfigUrl?: string; + /** + * @member {any} [fluentdConfigUrl] Azure Internal monitoring agent fluentd + * configuration. + */ + fluentdConfigUrl?: any; + /** + * @member {string} [autoKeyConfigUrl] Azure Internal monitoring pipeline + * autokey associated with the certificate. + */ + autoKeyConfigUrl?: string; +} + +/** + * @interface + * An interface representing ApplicationResourceDescription. + * This type describes an application resource. + * + * @extends TrackedResource + */ +export interface ApplicationResourceDescription extends TrackedResource { + /** + * @member {string} [provisioningState] State of the resource. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ - readonly instanceView?: ContainerInstanceView; + readonly provisioningState?: string; /** - * @member {DiagnosticsRef} [diagnostics] Reference to sinks in - * DiagnosticsDescription. + * @member {string} [description] User readable description of the + * application. */ - diagnostics?: DiagnosticsRef; + description?: string; + /** + * @member {ServiceResourceDescription[]} [services] Describes the services + * in the application. This property is used to create or modify services of + * the application. On get only the name of the service is returned. The + * service description can be obtained by querying for the service resource. + */ + services?: ServiceResourceDescription[]; + /** + * @member {DiagnosticsDescription} [diagnostics] Describes the diagnostics + * definition and usage for an application resource. + */ + diagnostics?: DiagnosticsDescription; + /** + * @member {string} [debugParams] Internal - used by Visual Studio to setup + * the debugging session on the local development environment. + */ + debugParams?: string; + /** + * @member {string[]} [serviceNames] Names of the services in the + * application. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly serviceNames?: string[]; + /** + * @member {ResourceStatus} [status] Status of the application. Possible + * values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', + * 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly status?: ResourceStatus; + /** + * @member {string} [statusDetails] Gives additional information about the + * current status of the application. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly statusDetails?: string; + /** + * @member {HealthState} [healthState] Describes the health state of an + * application resource. Possible values include: 'Invalid', 'Ok', 'Warning', + * 'Error', 'Unknown' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly healthState?: HealthState; + /** + * @member {string} [unhealthyEvaluation] When the application's health state + * is not 'Ok', this additional details from service fabric Health Manager + * for the user to know why the application is marked unhealthy. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly unhealthyEvaluation?: string; +} + +/** + * @interface + * An interface representing AddRemoveReplicaScalingMechanism. + * Describes the horizontal auto scaling mechanism that adds or removes + * replicas (containers or container groups). + * + */ +export interface AddRemoveReplicaScalingMechanism { + /** + * @member {string} kind Polymorphic Discriminator + */ + kind: "AddRemoveReplica"; + /** + * @member {number} minCount Minimum number of containers (scale down won't + * be performed below this number). + */ + minCount: number; + /** + * @member {number} maxCount Maximum number of containers (scale up won't be + * performed above this number). + */ + maxCount: number; + /** + * @member {number} scaleIncrement Each time auto scaling is performed, this + * number of containers will be added or removed. + */ + scaleIncrement: number; +} + +/** + * Contains the possible cases for AutoScalingMetric. + */ +export type AutoScalingMetricUnion = AutoScalingMetric | AutoScalingResourceMetric; + +/** + * @interface + * An interface representing AutoScalingMetric. + * Describes the metric that is used for triggering auto scaling operation. + * Derived classes will describe resources or metrics. + * + */ +export interface AutoScalingMetric { + /** + * @member {string} kind Polymorphic Discriminator + */ + kind: "AutoScalingMetric"; +} + +/** + * @interface + * An interface representing AutoScalingResourceMetric. + * Describes the resource that is used for triggering auto scaling. + * + */ +export interface AutoScalingResourceMetric { + /** + * @member {string} kind Polymorphic Discriminator + */ + kind: "Resource"; + /** + * @member {AutoScalingResourceMetricName} name Name of the resource. + * Possible values include: 'cpu', 'memoryInGB' + */ + name: AutoScalingResourceMetricName; +} + +/** + * @interface + * An interface representing ServiceProperties. + * Describes properties of a service resource. + * + */ +export interface ServiceProperties { + /** + * @member {string} [description] User readable description of the service. + */ + description?: string; + /** + * @member {number} [replicaCount] The number of replicas of the service to + * create. Defaults to 1 if not specified. + */ + replicaCount?: number; + /** + * @member {AutoScalingPolicy[]} [autoScalingPolicies] Auto scaling policies + */ + autoScalingPolicies?: AutoScalingPolicy[]; + /** + * @member {ResourceStatus} [status] Status of the service. Possible values + * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly status?: ResourceStatus; + /** + * @member {string} [statusDetails] Gives additional information about the + * current status of the service. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly statusDetails?: string; + /** + * @member {HealthState} [healthState] Describes the health state of an + * application resource. Possible values include: 'Invalid', 'Ok', 'Warning', + * 'Error', 'Unknown' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly healthState?: HealthState; + /** + * @member {string} [unhealthyEvaluation] When the service's health state is + * not 'Ok', this additional details from service fabric Health Manager for + * the user to know why the service is marked unhealthy. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly unhealthyEvaluation?: string; } /** @@ -992,11 +1906,10 @@ export interface ContainerCodePackageProperties { */ export interface ServiceReplicaProperties { /** - * @member {OperatingSystemTypes} osType The Operating system type required - * by the code in service. - * . Possible values include: 'Linux', 'Windows' + * @member {OperatingSystemType} osType The operation system required by the + * code in service. Possible values include: 'Linux', 'Windows' */ - osType: OperatingSystemTypes; + osType: OperatingSystemType; /** * @member {ContainerCodePackageProperties[]} codePackages Describes the set * of code packages that forms the service. A code package describes the @@ -1020,112 +1933,145 @@ export interface ServiceReplicaProperties { /** * @interface * An interface representing ServiceReplicaDescription. - * This type describes a replica of a service resource. + * Describes a replica of a service resource. * * @extends ServiceReplicaProperties */ export interface ServiceReplicaDescription extends ServiceReplicaProperties { /** - * @member {string} [replicaName] Name of the replica. + * @member {string} replicaName Name of the replica. */ - replicaName?: string; + replicaName: string; } /** * @interface - * An interface representing NetworkRef. - * Describes a network reference in a service. + * An interface representing AverageLoadScalingTrigger. + * Describes the average load trigger used for auto scaling. * */ -export interface NetworkRef { +export interface AverageLoadScalingTrigger { /** - * @member {string} [name] Name of the network. + * @member {string} kind Polymorphic Discriminator */ - name?: string; -} - -/** - * @interface - * An interface representing AzureInternalMonitoringPipelineSinkDescription. - * Diagnostics settings for Geneva. - * - */ -export interface AzureInternalMonitoringPipelineSinkDescription { + kind: "AverageLoad"; /** - * @member {string} kind Polymorphic Discriminator + * @member {AutoScalingMetricUnion} metric Description of the metric that is + * used for scaling. */ - kind: "AzureInternalMonitoringPipeline"; + metric: AutoScalingMetricUnion; /** - * @member {string} [name] Name of the sink. This value is referenced by - * DiagnosticsReferenceDescription + * @member {number} lowerLoadThreshold Lower load threshold (if average load + * is below this threshold, service will scale down). */ - name?: string; + lowerLoadThreshold: number; /** - * @member {string} [description] A description of the sink. + * @member {number} upperLoadThreshold Upper load threshold (if average load + * is above this threshold, service will scale up). */ - description?: string; + upperLoadThreshold: number; /** - * @member {string} [accountName] Azure Internal monitoring pipeline account. + * @member {number} scaleIntervalInSeconds Scale interval that indicates how + * often will this trigger be checked. */ - accountName?: string; + scaleIntervalInSeconds: number; +} + +/** + * @interface + * An interface representing ContainerLogs. + * Container logs. + * + */ +export interface ContainerLogs { /** - * @member {string} [namespace] Azure Internal monitoring pipeline account - * namespace. + * @member {string} [content] Container logs. */ - namespace?: string; + content?: string; +} + +/** + * @interface + * An interface representing CodePackageGetContainerLogsOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface CodePackageGetContainerLogsOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [maConfigUrl] Azure Internal monitoring agent - * configuration. + * @member {number} [tail] Number of lines to show from the end of the logs. + * Default is 100. */ - maConfigUrl?: string; + tail?: number; +} + +/** + * @interface + * An interface representing ServiceFabricMeshManagementClientOptions. + * @extends AzureServiceClientOptions + */ +export interface ServiceFabricMeshManagementClientOptions extends AzureServiceClientOptions { /** - * @member {any} [fluentdConfigUrl] Azure Internal monitoring agent fluentd - * configuration. + * @member {string} [baseUri] */ - fluentdConfigUrl?: any; + baseUri?: string; +} + + +/** + * @interface + * An interface representing the OperationListResult. + * Describes the result of the request to list Service Fabric operations. + * + * @extends Array + */ +export interface OperationListResult extends Array { /** - * @member {string} [autoKeyConfigUrl] Azure Internal monitoring pipeline - * autokey associated with the certificate. + * @member {string} [nextLink] URL to get the next set of operation list + * results if there are any. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - autoKeyConfigUrl?: string; + readonly nextLink?: string; } /** * @interface - * An interface representing CodePackageGetContainerLogOptionalParams. - * Optional Parameters. + * An interface representing the SecretResourceDescriptionList. + * A pageable list of secret resources. * - * @extends RequestOptionsBase + * @extends Array */ -export interface CodePackageGetContainerLogOptionalParams extends msRest.RequestOptionsBase { +export interface SecretResourceDescriptionList extends Array { /** - * @member {number} [tail] Number of lines to show from the end of the logs. - * Default is 100. + * @member {string} [nextLink] URI to fetch the next page of the list. */ - tail?: number; + nextLink?: string; } /** * @interface - * An interface representing ServiceFabricMeshManagementClientOptions. - * @extends AzureServiceClientOptions + * An interface representing the SecretValueResourceDescriptionList. + * A pageable list of values of a secret resource. The information does not + * include only the name of the value and not the actual unecrypted value. + * + * @extends Array */ -export interface ServiceFabricMeshManagementClientOptions extends AzureServiceClientOptions { +export interface SecretValueResourceDescriptionList extends Array { /** - * @member {string} [baseUri] + * @member {string} [nextLink] URI to fetch the next page of the list. */ - baseUri?: string; + nextLink?: string; } - /** * @interface - * An interface representing the ApplicationResourceDescriptionList. - * A pageable list of application resources. + * An interface representing the VolumeResourceDescriptionList. + * A pageable list of volume resources. * - * @extends Array + * @extends Array */ -export interface ApplicationResourceDescriptionList extends Array { +export interface VolumeResourceDescriptionList extends Array { /** * @member {string} [nextLink] URI to fetch the next page of the list. */ @@ -1134,13 +2080,12 @@ export interface ApplicationResourceDescriptionList extends Array + * @extends Array */ -export interface ServiceList extends Array { +export interface NetworkResourceDescriptionList extends Array { /** * @member {string} [nextLink] URI to fetch the next page of the list. */ @@ -1149,13 +2094,12 @@ export interface ServiceList extends Array { /** * @interface - * An interface representing the ServiceReplicaList. - * A pageable list of replicas of a service resource. - * + * An interface representing the GatewayResourceDescriptionList. + * A pageable list of gateway resources. * - * @extends Array + * @extends Array */ -export interface ServiceReplicaList extends Array { +export interface GatewayResourceDescriptionList extends Array { /** * @member {string} [nextLink] URI to fetch the next page of the list. */ @@ -1164,29 +2108,26 @@ export interface ServiceReplicaList extends Array { /** * @interface - * An interface representing the OperationListResult. - * Describes the result of the request to list Service Fabric operations. + * An interface representing the ApplicationResourceDescriptionList. + * A pageable list of application resources. * - * @extends Array + * @extends Array */ -export interface OperationListResult extends Array { +export interface ApplicationResourceDescriptionList extends Array { /** - * @member {string} [nextLink] URL to get the next set of operation list - * results if there are any. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * @member {string} [nextLink] URI to fetch the next page of the list. */ - readonly nextLink?: string; + nextLink?: string; } /** * @interface - * An interface representing the NetworkResourceDescriptionList. - * A pageable list of network resources. + * An interface representing the ServiceResourceDescriptionList. + * A pageable list of service resources. * - * @extends Array + * @extends Array */ -export interface NetworkResourceDescriptionList extends Array { +export interface ServiceResourceDescriptionList extends Array { /** * @member {string} [nextLink] URI to fetch the next page of the list. */ @@ -1195,12 +2136,12 @@ export interface NetworkResourceDescriptionList extends Array + * @extends Array */ -export interface VolumeResourceDescriptionList extends Array { +export interface ServiceReplicaDescriptionList extends Array { /** * @member {string} [nextLink] URI to fetch the next page of the list. */ @@ -1208,142 +2149,368 @@ export interface VolumeResourceDescriptionList extends Array"someUnknownValueThatWillStillBeValid"; + * Defines values for ResourceStatus. + * Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' * @readonly * @enum {string} */ -export enum IngressQoSLevel { - Bronze = 'Bronze', -} +export type ResourceStatus = 'Unknown' | 'Ready' | 'Upgrading' | 'Creating' | 'Deleting' | 'Failed'; /** * Defines values for HealthState. * Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HealthState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum HealthState { +export type HealthState = 'Invalid' | 'Ok' | 'Warning' | 'Error' | 'Unknown'; + +/** + * Defines values for SecretKind. + * Possible values include: 'inlinedValue' + * @readonly + * @enum {string} + */ +export type SecretKind = 'inlinedValue'; + +/** + * Defines values for VolumeProvider. + * Possible values include: 'SFAzureFile' + * @readonly + * @enum {string} + */ +export type VolumeProvider = 'SFAzureFile'; + +/** + * Defines values for SizeTypes. + * Possible values include: 'Small', 'Medium', 'Large' + * @readonly + * @enum {string} + */ +export type SizeTypes = 'Small' | 'Medium' | 'Large'; + +/** + * Defines values for ApplicationScopedVolumeKind. + * Possible values include: 'ServiceFabricVolumeDisk' + * @readonly + * @enum {string} + */ +export type ApplicationScopedVolumeKind = 'ServiceFabricVolumeDisk'; + +/** + * Defines values for NetworkKind. + * Possible values include: 'Local' + * @readonly + * @enum {string} + */ +export type NetworkKind = 'Local'; + +/** + * Defines values for HeaderMatchType. + * Possible values include: 'exact' + * @readonly + * @enum {string} + */ +export type HeaderMatchType = 'exact'; + +/** + * Defines values for OperatingSystemType. + * Possible values include: 'Linux', 'Windows' + * @readonly + * @enum {string} + */ +export type OperatingSystemType = 'Linux' | 'Windows'; + +/** + * Defines values for DiagnosticsSinkKind. + * Possible values include: 'Invalid', 'AzureInternalMonitoringPipeline' + * @readonly + * @enum {string} + */ +export type DiagnosticsSinkKind = 'Invalid' | 'AzureInternalMonitoringPipeline'; + +/** + * Defines values for AutoScalingMechanismKind. + * Possible values include: 'AddRemoveReplica' + * @readonly + * @enum {string} + */ +export type AutoScalingMechanismKind = 'AddRemoveReplica'; + +/** + * Defines values for AutoScalingMetricKind. + * Possible values include: 'Resource' + * @readonly + * @enum {string} + */ +export type AutoScalingMetricKind = 'Resource'; + +/** + * Defines values for AutoScalingResourceMetricName. + * Possible values include: 'cpu', 'memoryInGB' + * @readonly + * @enum {string} + */ +export type AutoScalingResourceMetricName = 'cpu' | 'memoryInGB'; + +/** + * Defines values for AutoScalingTriggerKind. + * Possible values include: 'AverageLoad' + * @readonly + * @enum {string} + */ +export type AutoScalingTriggerKind = 'AverageLoad'; + +/** + * Contains response data for the list operation. + */ +export type OperationsListResponse = OperationListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationListResult; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type OperationsListNextResponse = OperationListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationListResult; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type SecretCreateResponse = SecretResourceDescription & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecretResourceDescription; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type SecretGetResponse = SecretResourceDescription & { /** - * Indicates an invalid health state. All Service Fabric enumerations have - * the invalid type. The value is zero. + * The underlying HTTP response. */ - Invalid = 'Invalid', + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecretResourceDescription; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type SecretListByResourceGroupResponse = SecretResourceDescriptionList & { /** - * Indicates the health state is okay. The value is 1. + * The underlying HTTP response. */ - Ok = 'Ok', + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecretResourceDescriptionList; + }; +}; + +/** + * Contains response data for the listBySubscription operation. + */ +export type SecretListBySubscriptionResponse = SecretResourceDescriptionList & { /** - * Indicates the health state is at a warning level. The value is 2. + * The underlying HTTP response. */ - Warning = 'Warning', + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecretResourceDescriptionList; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type SecretListByResourceGroupNextResponse = SecretResourceDescriptionList & { /** - * Indicates the health state is at an error level. Error health state should - * be investigated, as they can impact the correct functionality of the - * cluster. The value is 3. + * The underlying HTTP response. */ - Error = 'Error', + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecretResourceDescriptionList; + }; +}; + +/** + * Contains response data for the listBySubscriptionNext operation. + */ +export type SecretListBySubscriptionNextResponse = SecretResourceDescriptionList & { /** - * Indicates an unknown health status. The value is 65535. + * The underlying HTTP response. */ - Unknown = 'Unknown', -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecretResourceDescriptionList; + }; +}; /** - * Defines values for ServiceResourceStatus. - * Possible values include: 'Unknown', 'Active', 'Upgrading', 'Deleting', - * 'Creating', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServiceResourceStatus = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} + * Contains response data for the create operation. */ -export enum ServiceResourceStatus { - Unknown = 'Unknown', - Active = 'Active', - Upgrading = 'Upgrading', - Deleting = 'Deleting', - Creating = 'Creating', - Failed = 'Failed', -} +export type SecretValueCreateResponse = SecretValueResourceDescription & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecretValueResourceDescription; + }; +}; /** - * Defines values for ApplicationResourceStatus. - * Possible values include: 'Invalid', 'Ready', 'Upgrading', 'Creating', - * 'Deleting', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApplicationResourceStatus = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export enum ApplicationResourceStatus { - Invalid = 'Invalid', - Ready = 'Ready', - Upgrading = 'Upgrading', - Creating = 'Creating', - Deleting = 'Deleting', - Failed = 'Failed', -} +export type SecretValueGetResponse = SecretValueResourceDescription & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecretValueResourceDescription; + }; +}; /** - * Defines values for OperatingSystemTypes. - * Possible values include: 'Linux', 'Windows' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OperatingSystemTypes = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export enum OperatingSystemTypes { - Linux = 'Linux', - Windows = 'Windows', -} +export type SecretValueListResponse = SecretValueResourceDescriptionList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecretValueResourceDescriptionList; + }; +}; /** - * Defines values for DiagnosticsSinkKind. - * Possible values include: 'Invalid', 'AzureInternalMonitoringPipeline' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DiagnosticsSinkKind = - * "someUnknownValueThatWillStillBeValid"; - * @readonly - * @enum {string} + * Contains response data for the listValue operation. */ -export enum DiagnosticsSinkKind { +export type SecretValueListValueResponse = SecretValue & { /** - * Indicates an invalid sink kind. All Service Fabric enumerations have the - * invalid type. + * The underlying HTTP response. */ - Invalid = 'Invalid', + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecretValue; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type SecretValueListNextResponse = SecretValueResourceDescriptionList & { /** - * Diagnostics settings for Geneva. + * The underlying HTTP response. */ - AzureInternalMonitoringPipeline = 'AzureInternalMonitoringPipeline', -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecretValueResourceDescriptionList; + }; +}; /** * Contains response data for the create operation. */ -export type ApplicationCreateResponse = ApplicationResourceDescription & { +export type VolumeCreateResponse = VolumeResourceDescription & { /** * The underlying HTTP response. */ @@ -1355,14 +2522,14 @@ export type ApplicationCreateResponse = ApplicationResourceDescription & { /** * The response body as parsed JSON or XML */ - parsedBody: ApplicationResourceDescription; + parsedBody: VolumeResourceDescription; }; }; /** * Contains response data for the get operation. */ -export type ApplicationGetResponse = ApplicationResourceDescription & { +export type VolumeGetResponse = VolumeResourceDescription & { /** * The underlying HTTP response. */ @@ -1374,14 +2541,14 @@ export type ApplicationGetResponse = ApplicationResourceDescription & { /** * The response body as parsed JSON or XML */ - parsedBody: ApplicationResourceDescription; + parsedBody: VolumeResourceDescription; }; }; /** * Contains response data for the listByResourceGroup operation. */ -export type ApplicationListByResourceGroupResponse = ApplicationResourceDescriptionList & { +export type VolumeListByResourceGroupResponse = VolumeResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1393,14 +2560,14 @@ export type ApplicationListByResourceGroupResponse = ApplicationResourceDescript /** * The response body as parsed JSON or XML */ - parsedBody: ApplicationResourceDescriptionList; + parsedBody: VolumeResourceDescriptionList; }; }; /** * Contains response data for the listBySubscription operation. */ -export type ApplicationListBySubscriptionResponse = ApplicationResourceDescriptionList & { +export type VolumeListBySubscriptionResponse = VolumeResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1412,14 +2579,14 @@ export type ApplicationListBySubscriptionResponse = ApplicationResourceDescripti /** * The response body as parsed JSON or XML */ - parsedBody: ApplicationResourceDescriptionList; + parsedBody: VolumeResourceDescriptionList; }; }; /** * Contains response data for the listByResourceGroupNext operation. */ -export type ApplicationListByResourceGroupNextResponse = ApplicationResourceDescriptionList & { +export type VolumeListByResourceGroupNextResponse = VolumeResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1431,14 +2598,14 @@ export type ApplicationListByResourceGroupNextResponse = ApplicationResourceDesc /** * The response body as parsed JSON or XML */ - parsedBody: ApplicationResourceDescriptionList; + parsedBody: VolumeResourceDescriptionList; }; }; /** * Contains response data for the listBySubscriptionNext operation. */ -export type ApplicationListBySubscriptionNextResponse = ApplicationResourceDescriptionList & { +export type VolumeListBySubscriptionNextResponse = VolumeResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1450,14 +2617,14 @@ export type ApplicationListBySubscriptionNextResponse = ApplicationResourceDescr /** * The response body as parsed JSON or XML */ - parsedBody: ApplicationResourceDescriptionList; + parsedBody: VolumeResourceDescriptionList; }; }; /** - * Contains response data for the listByApplicationName operation. + * Contains response data for the create operation. */ -export type ServiceListByApplicationNameResponse = ServiceList & { +export type NetworkCreateResponse = NetworkResourceDescription & { /** * The underlying HTTP response. */ @@ -1469,14 +2636,14 @@ export type ServiceListByApplicationNameResponse = ServiceList & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceList; + parsedBody: NetworkResourceDescription; }; }; /** * Contains response data for the get operation. */ -export type ServiceGetResponse = ServiceResourceDescription & { +export type NetworkGetResponse = NetworkResourceDescription & { /** * The underlying HTTP response. */ @@ -1488,14 +2655,71 @@ export type ServiceGetResponse = ServiceResourceDescription & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceResourceDescription; + parsedBody: NetworkResourceDescription; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type NetworkListByResourceGroupResponse = NetworkResourceDescriptionList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: NetworkResourceDescriptionList; + }; +}; + +/** + * Contains response data for the listBySubscription operation. + */ +export type NetworkListBySubscriptionResponse = NetworkResourceDescriptionList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: NetworkResourceDescriptionList; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type NetworkListByResourceGroupNextResponse = NetworkResourceDescriptionList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: NetworkResourceDescriptionList; }; }; /** - * Contains response data for the listByApplicationNameNext operation. + * Contains response data for the listBySubscriptionNext operation. */ -export type ServiceListByApplicationNameNextResponse = ServiceList & { +export type NetworkListBySubscriptionNextResponse = NetworkResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1507,14 +2731,14 @@ export type ServiceListByApplicationNameNextResponse = ServiceList & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceList; + parsedBody: NetworkResourceDescriptionList; }; }; /** - * Contains response data for the listByServiceName operation. + * Contains response data for the create operation. */ -export type ReplicaListByServiceNameResponse = ServiceReplicaList & { +export type GatewayCreateResponse = GatewayResourceDescription & { /** * The underlying HTTP response. */ @@ -1526,14 +2750,14 @@ export type ReplicaListByServiceNameResponse = ServiceReplicaList & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceReplicaList; + parsedBody: GatewayResourceDescription; }; }; /** * Contains response data for the get operation. */ -export type ReplicaGetResponse = ServiceReplicaDescription & { +export type GatewayGetResponse = GatewayResourceDescription & { /** * The underlying HTTP response. */ @@ -1545,14 +2769,14 @@ export type ReplicaGetResponse = ServiceReplicaDescription & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceReplicaDescription; + parsedBody: GatewayResourceDescription; }; }; /** - * Contains response data for the listByServiceNameNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type ReplicaListByServiceNameNextResponse = ServiceReplicaList & { +export type GatewayListByResourceGroupResponse = GatewayResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1564,14 +2788,14 @@ export type ReplicaListByServiceNameNextResponse = ServiceReplicaList & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceReplicaList; + parsedBody: GatewayResourceDescriptionList; }; }; /** - * Contains response data for the getContainerLog operation. + * Contains response data for the listBySubscription operation. */ -export type CodePackageGetContainerLogResponse = ContainerLogs & { +export type GatewayListBySubscriptionResponse = GatewayResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1583,14 +2807,14 @@ export type CodePackageGetContainerLogResponse = ContainerLogs & { /** * The response body as parsed JSON or XML */ - parsedBody: ContainerLogs; + parsedBody: GatewayResourceDescriptionList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type OperationsListResponse = OperationListResult & { +export type GatewayListByResourceGroupNextResponse = GatewayResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1602,14 +2826,14 @@ export type OperationsListResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: GatewayResourceDescriptionList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listBySubscriptionNext operation. */ -export type OperationsListNextResponse = OperationListResult & { +export type GatewayListBySubscriptionNextResponse = GatewayResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1621,14 +2845,14 @@ export type OperationsListNextResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: GatewayResourceDescriptionList; }; }; /** * Contains response data for the create operation. */ -export type NetworkCreateResponse = NetworkResourceDescription & { +export type ApplicationCreateResponse = ApplicationResourceDescription & { /** * The underlying HTTP response. */ @@ -1640,14 +2864,14 @@ export type NetworkCreateResponse = NetworkResourceDescription & { /** * The response body as parsed JSON or XML */ - parsedBody: NetworkResourceDescription; + parsedBody: ApplicationResourceDescription; }; }; /** * Contains response data for the get operation. */ -export type NetworkGetResponse = NetworkResourceDescription & { +export type ApplicationGetResponse = ApplicationResourceDescription & { /** * The underlying HTTP response. */ @@ -1659,14 +2883,14 @@ export type NetworkGetResponse = NetworkResourceDescription & { /** * The response body as parsed JSON or XML */ - parsedBody: NetworkResourceDescription; + parsedBody: ApplicationResourceDescription; }; }; /** * Contains response data for the listByResourceGroup operation. */ -export type NetworkListByResourceGroupResponse = NetworkResourceDescriptionList & { +export type ApplicationListByResourceGroupResponse = ApplicationResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1678,14 +2902,14 @@ export type NetworkListByResourceGroupResponse = NetworkResourceDescriptionList /** * The response body as parsed JSON or XML */ - parsedBody: NetworkResourceDescriptionList; + parsedBody: ApplicationResourceDescriptionList; }; }; /** * Contains response data for the listBySubscription operation. */ -export type NetworkListBySubscriptionResponse = NetworkResourceDescriptionList & { +export type ApplicationListBySubscriptionResponse = ApplicationResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1697,14 +2921,14 @@ export type NetworkListBySubscriptionResponse = NetworkResourceDescriptionList & /** * The response body as parsed JSON or XML */ - parsedBody: NetworkResourceDescriptionList; + parsedBody: ApplicationResourceDescriptionList; }; }; /** * Contains response data for the listByResourceGroupNext operation. */ -export type NetworkListByResourceGroupNextResponse = NetworkResourceDescriptionList & { +export type ApplicationListByResourceGroupNextResponse = ApplicationResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1716,14 +2940,14 @@ export type NetworkListByResourceGroupNextResponse = NetworkResourceDescriptionL /** * The response body as parsed JSON or XML */ - parsedBody: NetworkResourceDescriptionList; + parsedBody: ApplicationResourceDescriptionList; }; }; /** * Contains response data for the listBySubscriptionNext operation. */ -export type NetworkListBySubscriptionNextResponse = NetworkResourceDescriptionList & { +export type ApplicationListBySubscriptionNextResponse = ApplicationResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1735,14 +2959,14 @@ export type NetworkListBySubscriptionNextResponse = NetworkResourceDescriptionLi /** * The response body as parsed JSON or XML */ - parsedBody: NetworkResourceDescriptionList; + parsedBody: ApplicationResourceDescriptionList; }; }; /** - * Contains response data for the create operation. + * Contains response data for the get operation. */ -export type VolumeCreateResponse = VolumeResourceDescription & { +export type ServiceGetResponse = ServiceResourceDescription & { /** * The underlying HTTP response. */ @@ -1754,14 +2978,14 @@ export type VolumeCreateResponse = VolumeResourceDescription & { /** * The response body as parsed JSON or XML */ - parsedBody: VolumeResourceDescription; + parsedBody: ServiceResourceDescription; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type VolumeGetResponse = VolumeResourceDescription & { +export type ServiceListResponse = ServiceResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1773,14 +2997,14 @@ export type VolumeGetResponse = VolumeResourceDescription & { /** * The response body as parsed JSON or XML */ - parsedBody: VolumeResourceDescription; + parsedBody: ServiceResourceDescriptionList; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listNext operation. */ -export type VolumeListByResourceGroupResponse = VolumeResourceDescriptionList & { +export type ServiceListNextResponse = ServiceResourceDescriptionList & { /** * The underlying HTTP response. */ @@ -1792,14 +3016,14 @@ export type VolumeListByResourceGroupResponse = VolumeResourceDescriptionList & /** * The response body as parsed JSON or XML */ - parsedBody: VolumeResourceDescriptionList; + parsedBody: ServiceResourceDescriptionList; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the get operation. */ -export type VolumeListBySubscriptionResponse = VolumeResourceDescriptionList & { +export type ServiceReplicaGetResponse = ServiceReplicaDescription & { /** * The underlying HTTP response. */ @@ -1811,14 +3035,14 @@ export type VolumeListBySubscriptionResponse = VolumeResourceDescriptionList & { /** * The response body as parsed JSON or XML */ - parsedBody: VolumeResourceDescriptionList; + parsedBody: ServiceReplicaDescription; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the list operation. */ -export type VolumeListByResourceGroupNextResponse = VolumeResourceDescriptionList & { +export type ServiceReplicaListResponse = ServiceReplicaDescriptionList & { /** * The underlying HTTP response. */ @@ -1830,14 +3054,14 @@ export type VolumeListByResourceGroupNextResponse = VolumeResourceDescriptionLis /** * The response body as parsed JSON or XML */ - parsedBody: VolumeResourceDescriptionList; + parsedBody: ServiceReplicaDescriptionList; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the listNext operation. */ -export type VolumeListBySubscriptionNextResponse = VolumeResourceDescriptionList & { +export type ServiceReplicaListNextResponse = ServiceReplicaDescriptionList & { /** * The underlying HTTP response. */ @@ -1849,6 +3073,25 @@ export type VolumeListBySubscriptionNextResponse = VolumeResourceDescriptionList /** * The response body as parsed JSON or XML */ - parsedBody: VolumeResourceDescriptionList; + parsedBody: ServiceReplicaDescriptionList; + }; +}; + +/** + * Contains response data for the getContainerLogs operation. + */ +export type CodePackageGetContainerLogsResponse = ContainerLogs & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ContainerLogs; }; }; diff --git a/packages/@azure/arm-servicefabricmesh/lib/models/mappers.ts b/packages/@azure/arm-servicefabricmesh/lib/models/mappers.ts index 83accf555d3f..1ea43d8270c7 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/models/mappers.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/models/mappers.ts @@ -8,41 +8,38 @@ * 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; -export const Resource: msRest.CompositeMapper = { - serializedName: "Resource", +export const AvailableOperationDisplay: msRest.CompositeMapper = { + serializedName: "AvailableOperationDisplay", type: { name: "Composite", - className: "Resource", + className: "AvailableOperationDisplay", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + provider: { + serializedName: "provider", type: { name: "String" } }, - name: { - readOnly: true, - serializedName: "name", + resource: { + serializedName: "resource", type: { name: "String" } }, - type: { - readOnly: true, - serializedName: "type", + operation: { + serializedName: "operation", type: { name: "String" } }, - location: { - serializedName: "location", + description: { + serializedName: "description", type: { name: "String" } @@ -51,61 +48,63 @@ export const Resource: msRest.CompositeMapper = { } }; -export const ProxyResource: msRest.CompositeMapper = { - serializedName: "ProxyResource", +export const ErrorDetailsModel: msRest.CompositeMapper = { + serializedName: "ErrorDetailsModel", type: { name: "Composite", - className: "ProxyResource", + className: "ErrorDetailsModel", modelProperties: { - ...Resource.type.modelProperties + code: { + required: true, + serializedName: "code", + type: { + name: "String" + } + }, + message: { + required: true, + serializedName: "message", + type: { + name: "String" + } + } } } }; -export const ManagedProxyResource: msRest.CompositeMapper = { - serializedName: "ManagedProxyResource", +export const ErrorErrorModel: msRest.CompositeMapper = { + serializedName: "ErrorErrorModel", type: { name: "Composite", - className: "ManagedProxyResource", + className: "ErrorErrorModel", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + code: { + required: true, + serializedName: "code", type: { name: "String" } }, - name: { - serializedName: "name", + message: { + serializedName: "message", type: { name: "String" } }, - type: { - readOnly: true, - serializedName: "type", + innerError: { + serializedName: "innerError", type: { name: "String" } - } - } - } -}; - -export const TrackedResource: msRest.CompositeMapper = { - serializedName: "TrackedResource", - type: { - name: "Composite", - className: "TrackedResource", - modelProperties: { - ...Resource.type.modelProperties, - tags: { - serializedName: "tags", + }, + details: { + serializedName: "details", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "ErrorDetailsModel" } } } @@ -114,28 +113,29 @@ export const TrackedResource: msRest.CompositeMapper = { } }; -export const ProvisionedResourceProperties: msRest.CompositeMapper = { - serializedName: "ProvisionedResourceProperties", +export const ErrorModel: msRest.CompositeMapper = { + serializedName: "ErrorModel", type: { name: "Composite", - className: "ProvisionedResourceProperties", + className: "ErrorModel", modelProperties: { - provisioningState: { - readOnly: true, - serializedName: "provisioningState", + error: { + required: true, + serializedName: "error", type: { - name: "String" + name: "Composite", + className: "ErrorErrorModel" } } } } }; -export const Layer4IngressConfig: msRest.CompositeMapper = { - serializedName: "Layer4IngressConfig", +export const OperationResult: msRest.CompositeMapper = { + serializedName: "OperationResult", type: { name: "Composite", - className: "Layer4IngressConfig", + className: "OperationResult", modelProperties: { name: { serializedName: "name", @@ -143,26 +143,38 @@ export const Layer4IngressConfig: msRest.CompositeMapper = { name: "String" } }, - publicPort: { - serializedName: "publicPort", + display: { + serializedName: "display", type: { - name: "Number" + name: "Composite", + className: "AvailableOperationDisplay" } }, - applicationName: { - serializedName: "applicationName", + origin: { + serializedName: "origin", type: { name: "String" } }, - serviceName: { - serializedName: "serviceName", + nextLink: { + serializedName: "nextLink", type: { name: "String" } - }, - endpointName: { - serializedName: "endpointName", + } + } + } +}; + +export const ProvisionedResourceProperties: msRest.CompositeMapper = { + serializedName: "ProvisionedResourceProperties", + type: { + name: "Composite", + className: "ProvisionedResourceProperties", + modelProperties: { + provisioningState: { + readOnly: true, + serializedName: "provisioningState", type: { name: "String" } @@ -171,33 +183,29 @@ export const Layer4IngressConfig: msRest.CompositeMapper = { } }; -export const IngressConfig: msRest.CompositeMapper = { - serializedName: "IngressConfig", +export const Resource: msRest.CompositeMapper = { + serializedName: "Resource", type: { name: "Composite", - className: "IngressConfig", + className: "Resource", modelProperties: { - qosLevel: { - serializedName: "qosLevel", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - layer4: { - serializedName: "layer4", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Layer4IngressConfig" - } - } + name: "String" } }, - publicIPAddress: { + type: { readOnly: true, - serializedName: "publicIPAddress", + serializedName: "type", type: { name: "String" } @@ -206,96 +214,91 @@ export const IngressConfig: msRest.CompositeMapper = { } }; -export const NetworkResourceDescription: msRest.CompositeMapper = { - serializedName: "NetworkResourceDescription", +export const ProxyResource: msRest.CompositeMapper = { + serializedName: "ProxyResource", type: { name: "Composite", - className: "NetworkResourceDescription", + className: "ProxyResource", modelProperties: { - ...TrackedResource.type.modelProperties, - provisioningState: { + ...Resource.type.modelProperties + } + } +}; + +export const ManagedProxyResource: msRest.CompositeMapper = { + serializedName: "ManagedProxyResource", + type: { + name: "Composite", + className: "ManagedProxyResource", + modelProperties: { + id: { readOnly: true, - serializedName: "properties.provisioningState", + serializedName: "id", type: { name: "String" } }, - description: { - serializedName: "properties.description", + name: { + serializedName: "name", type: { name: "String" } }, - addressPrefix: { - required: true, - serializedName: "properties.addressPrefix", + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } - }, - ingressConfig: { - serializedName: "properties.ingressConfig", - type: { - name: "Composite", - className: "IngressConfig" - } } } } }; -export const NetworkProperties: msRest.CompositeMapper = { - serializedName: "NetworkProperties", +export const TrackedResource: msRest.CompositeMapper = { + serializedName: "TrackedResource", type: { name: "Composite", - className: "NetworkProperties", + className: "TrackedResource", modelProperties: { - description: { - serializedName: "description", + ...Resource.type.modelProperties, + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - addressPrefix: { + location: { required: true, - serializedName: "addressPrefix", + serializedName: "location", type: { name: "String" } - }, - ingressConfig: { - serializedName: "ingressConfig", - type: { - name: "Composite", - className: "IngressConfig" - } } } } }; -export const VolumeProviderParametersAzureFile: msRest.CompositeMapper = { - serializedName: "VolumeProviderParametersAzureFile", +export const SecretResourcePropertiesBase: msRest.CompositeMapper = { + serializedName: "SecretResourcePropertiesBase", type: { name: "Composite", - className: "VolumeProviderParametersAzureFile", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + uberParent: "SecretResourcePropertiesBase", + className: "SecretResourcePropertiesBase", modelProperties: { - accountName: { - required: true, - serializedName: "accountName", - type: { - name: "String" - } - }, - accountKey: { - serializedName: "accountKey", - type: { - name: "String" - } - }, - shareName: { + ...ProvisionedResourceProperties.type.modelProperties, + kind: { required: true, - serializedName: "shareName", + serializedName: "kind", type: { name: "String" } @@ -304,170 +307,246 @@ export const VolumeProviderParametersAzureFile: msRest.CompositeMapper = { } }; -export const VolumeResourceDescription: msRest.CompositeMapper = { - serializedName: "VolumeResourceDescription", +export const SecretResourceProperties: msRest.CompositeMapper = { + serializedName: "SecretResourceProperties", type: { name: "Composite", - className: "VolumeResourceDescription", + className: "SecretResourceProperties", modelProperties: { - ...TrackedResource.type.modelProperties, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + ...SecretResourcePropertiesBase.type.modelProperties, + description: { + serializedName: "description", type: { name: "String" } }, - description: { - serializedName: "properties.description", + status: { + readOnly: true, + serializedName: "status", type: { name: "String" } }, - provider: { - required: true, - isConstant: true, - serializedName: "properties.provider", - defaultValue: 'SFAzureFile', + statusDetails: { + readOnly: true, + serializedName: "statusDetails", type: { name: "String" } }, - azureFileParameters: { - serializedName: "properties.azureFileParameters", + contentType: { + serializedName: "contentType", type: { - name: "Composite", - className: "VolumeProviderParametersAzureFile" + name: "String" } } } } }; -export const VolumeProperties: msRest.CompositeMapper = { - serializedName: "VolumeProperties", +export const InlinedValueSecretResourceProperties: msRest.CompositeMapper = { + serializedName: "inlinedValue", type: { name: "Composite", - className: "VolumeProperties", + className: "InlinedValueSecretResourceProperties", modelProperties: { - description: { - serializedName: "description", - type: { - name: "String" - } - }, - provider: { + ...SecretResourceProperties.type.modelProperties + } + } +}; + +export const SecretResourceDescription: msRest.CompositeMapper = { + serializedName: "SecretResourceDescription", + type: { + name: "Composite", + className: "SecretResourceDescription", + modelProperties: { + ...TrackedResource.type.modelProperties, + properties: { required: true, - isConstant: true, - serializedName: "provider", - defaultValue: 'SFAzureFile', + serializedName: "properties", + type: { + name: "Composite", + className: "SecretResourceProperties" + } + } + } + } +}; + +export const SecretValue: msRest.CompositeMapper = { + serializedName: "SecretValue", + type: { + name: "Composite", + className: "SecretValue", + modelProperties: { + value: { + serializedName: "value", type: { name: "String" } - }, - azureFileParameters: { - serializedName: "azureFileParameters", + } + } + } +}; + +export const SecretValueProperties: msRest.CompositeMapper = { + serializedName: "SecretValueProperties", + type: { + name: "Composite", + className: "SecretValueProperties", + modelProperties: { + value: { + serializedName: "value", type: { - name: "Composite", - className: "VolumeProviderParametersAzureFile" + name: "String" } } } } }; -export const ServiceResourceDescription: msRest.CompositeMapper = { - serializedName: "ServiceResourceDescription", +export const SecretValueResourceDescription: msRest.CompositeMapper = { + serializedName: "SecretValueResourceDescription", type: { name: "Composite", - className: "ServiceResourceDescription", + className: "SecretValueResourceDescription", modelProperties: { - ...ManagedProxyResource.type.modelProperties, - osType: { - required: true, - serializedName: "properties.osType", + ...TrackedResource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } }, - codePackages: { + value: { + serializedName: "properties.value", + type: { + name: "String" + } + } + } + } +}; + +export const VolumeProviderParametersAzureFile: msRest.CompositeMapper = { + serializedName: "VolumeProviderParametersAzureFile", + type: { + name: "Composite", + className: "VolumeProviderParametersAzureFile", + modelProperties: { + accountName: { required: true, - serializedName: "properties.codePackages", + serializedName: "accountName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ContainerCodePackageProperties" - } - } + name: "String" } }, - networkRefs: { - serializedName: "properties.networkRefs", + accountKey: { + serializedName: "accountKey", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NetworkRef" - } - } + name: "String" } }, - diagnostics: { - serializedName: "properties.diagnostics", + shareName: { + required: true, + serializedName: "shareName", type: { - name: "Composite", - className: "DiagnosticsRef" + name: "String" } - }, + } + } + } +}; + +export const VolumeProperties: msRest.CompositeMapper = { + serializedName: "VolumeProperties", + type: { + name: "Composite", + className: "VolumeProperties", + modelProperties: { description: { - serializedName: "properties.description", + serializedName: "description", type: { name: "String" } }, - replicaCount: { - serializedName: "properties.replicaCount", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Number" + name: "String" } }, - healthState: { - serializedName: "properties.healthState", + statusDetails: { + readOnly: true, + serializedName: "statusDetails", type: { name: "String" } }, - status: { - readOnly: true, - serializedName: "properties.status", + provider: { + required: true, + isConstant: true, + serializedName: "provider", + defaultValue: 'SFAzureFile', type: { name: "String" } + }, + azureFileParameters: { + serializedName: "azureFileParameters", + type: { + name: "Composite", + className: "VolumeProviderParametersAzureFile" + } } } } }; -export const DiagnosticsSinkProperties: msRest.CompositeMapper = { - serializedName: "DiagnosticsSinkProperties", +export const VolumeReference: msRest.CompositeMapper = { + serializedName: "VolumeReference", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "DiagnosticsSinkProperties", - className: "DiagnosticsSinkProperties", + className: "VolumeReference", modelProperties: { name: { + required: true, serializedName: "name", type: { name: "String" } }, + readOnly: { + serializedName: "readOnly", + type: { + name: "Boolean" + } + }, + destinationPath: { + required: true, + serializedName: "destinationPath", + type: { + name: "String" + } + } + } + } +}; + +export const ApplicationScopedVolumeCreationParameters: msRest.CompositeMapper = { + serializedName: "ApplicationScopedVolumeCreationParameters", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + uberParent: "ApplicationScopedVolumeCreationParameters", + className: "ApplicationScopedVolumeCreationParameters", + modelProperties: { description: { serializedName: "description", type: { @@ -485,55 +564,50 @@ export const DiagnosticsSinkProperties: msRest.CompositeMapper = { } }; -export const DiagnosticsDescription: msRest.CompositeMapper = { - serializedName: "DiagnosticsDescription", +export const ApplicationScopedVolume: msRest.CompositeMapper = { + serializedName: "ApplicationScopedVolume", type: { name: "Composite", - className: "DiagnosticsDescription", + className: "ApplicationScopedVolume", modelProperties: { - sinks: { - serializedName: "sinks", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "DiagnosticsSinkProperties", - className: "DiagnosticsSinkProperties" - } - } - } - }, - enabled: { - serializedName: "enabled", + ...VolumeReference.type.modelProperties, + creationParameters: { + required: true, + serializedName: "creationParameters", type: { - name: "Boolean" + name: "Composite", + className: "ApplicationScopedVolumeCreationParameters" } - }, - defaultSinkRefs: { - serializedName: "defaultSinkRefs", + } + } + } +}; + +export const ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk: msRest.CompositeMapper = { + serializedName: "ServiceFabricVolumeDisk", + type: { + name: "Composite", + polymorphicDiscriminator: ApplicationScopedVolumeCreationParameters.type.polymorphicDiscriminator, + uberParent: "ApplicationScopedVolumeCreationParameters", + className: "ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk", + modelProperties: { + ...ApplicationScopedVolumeCreationParameters.type.modelProperties, + sizeDisk: { + required: true, + serializedName: "sizeDisk", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const ApplicationResourceDescription: msRest.CompositeMapper = { - serializedName: "ApplicationResourceDescription", +export const VolumeResourceDescription: msRest.CompositeMapper = { + serializedName: "VolumeResourceDescription", type: { name: "Composite", - className: "ApplicationResourceDescription", + className: "VolumeResourceDescription", modelProperties: { ...TrackedResource.type.modelProperties, provisioningState: { @@ -549,38 +623,6 @@ export const ApplicationResourceDescription: msRest.CompositeMapper = { name: "String" } }, - debugParams: { - serializedName: "properties.debugParams", - type: { - name: "String" - } - }, - services: { - serializedName: "properties.services", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServiceResourceDescription" - } - } - } - }, - healthState: { - readOnly: true, - serializedName: "properties.healthState", - type: { - name: "String" - } - }, - unhealthyEvaluation: { - readOnly: true, - serializedName: "properties.unhealthyEvaluation", - type: { - name: "String" - } - }, status: { readOnly: true, serializedName: "properties.status", @@ -595,142 +637,183 @@ export const ApplicationResourceDescription: msRest.CompositeMapper = { name: "String" } }, - serviceNames: { - readOnly: true, - serializedName: "properties.serviceNames", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + provider: { + required: true, + isConstant: true, + serializedName: "properties.provider", + defaultValue: 'SFAzureFile', + type: { + name: "String" } }, - diagnostics: { - serializedName: "properties.diagnostics", + azureFileParameters: { + serializedName: "properties.azureFileParameters", type: { name: "Composite", - className: "DiagnosticsDescription" + className: "VolumeProviderParametersAzureFile" } } } } }; -export const ApplicationProperties: msRest.CompositeMapper = { - serializedName: "ApplicationProperties", +export const NetworkResourcePropertiesBase: msRest.CompositeMapper = { + serializedName: "NetworkResourcePropertiesBase", type: { name: "Composite", - className: "ApplicationProperties", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + uberParent: "NetworkResourcePropertiesBase", + className: "NetworkResourcePropertiesBase", modelProperties: { - description: { - serializedName: "description", + ...ProvisionedResourceProperties.type.modelProperties, + kind: { + required: true, + serializedName: "kind", type: { name: "String" } - }, - debugParams: { - serializedName: "debugParams", + } + } + } +}; + +export const NetworkResourceProperties: msRest.CompositeMapper = { + serializedName: "NetworkResourceProperties", + type: { + name: "Composite", + className: "NetworkResourceProperties", + modelProperties: { + ...NetworkResourcePropertiesBase.type.modelProperties, + description: { + serializedName: "description", type: { name: "String" } }, - services: { - serializedName: "services", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServiceResourceDescription" - } - } + name: "String" } }, - healthState: { + statusDetails: { readOnly: true, - serializedName: "healthState", + serializedName: "statusDetails", type: { name: "String" } - }, - unhealthyEvaluation: { - readOnly: true, - serializedName: "unhealthyEvaluation", + } + } + } +}; + +export const LocalNetworkResourceProperties: msRest.CompositeMapper = { + serializedName: "Local", + type: { + name: "Composite", + className: "LocalNetworkResourceProperties", + modelProperties: { + ...NetworkResourceProperties.type.modelProperties, + networkAddressPrefix: { + serializedName: "networkAddressPrefix", type: { name: "String" } - }, - status: { - readOnly: true, - serializedName: "status", + } + } + } +}; + +export const EndpointRef: msRest.CompositeMapper = { + serializedName: "EndpointRef", + type: { + name: "Composite", + className: "EndpointRef", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } - }, - statusDetails: { - readOnly: true, - serializedName: "statusDetails", + } + } + } +}; + +export const NetworkRef: msRest.CompositeMapper = { + serializedName: "NetworkRef", + type: { + name: "Composite", + className: "NetworkRef", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - serviceNames: { - readOnly: true, - serializedName: "serviceNames", + endpointRefs: { + serializedName: "endpointRefs", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "EndpointRef" } } } - }, - diagnostics: { - serializedName: "diagnostics", + } + } + } +}; + +export const NetworkResourceDescription: msRest.CompositeMapper = { + serializedName: "NetworkResourceDescription", + type: { + name: "Composite", + className: "NetworkResourceDescription", + modelProperties: { + ...TrackedResource.type.modelProperties, + properties: { + required: true, + serializedName: "properties", type: { name: "Composite", - className: "DiagnosticsDescription" + className: "NetworkResourceProperties" } } } } }; -export const ContainerState: msRest.CompositeMapper = { - serializedName: "ContainerState", +export const GatewayDestination: msRest.CompositeMapper = { + serializedName: "GatewayDestination", type: { name: "Composite", - className: "ContainerState", + className: "GatewayDestination", modelProperties: { - state: { - serializedName: "state", + applicationName: { + required: true, + serializedName: "applicationName", type: { name: "String" } }, - startTime: { - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - exitCode: { - serializedName: "exitCode", + serviceName: { + required: true, + serializedName: "serviceName", type: { name: "String" } }, - finishTime: { - serializedName: "finishTime", - type: { - name: "DateTime" - } - }, - detailStatus: { - serializedName: "detailStatus", + endpointName: { + required: true, + serializedName: "endpointName", type: { name: "String" } @@ -739,44 +822,62 @@ export const ContainerState: msRest.CompositeMapper = { } }; -export const ContainerEvent: msRest.CompositeMapper = { - serializedName: "ContainerEvent", +export const TcpConfig: msRest.CompositeMapper = { + serializedName: "TcpConfig", type: { name: "Composite", - className: "ContainerEvent", + className: "TcpConfig", modelProperties: { name: { + required: true, serializedName: "name", type: { name: "String" } }, - count: { - serializedName: "count", + port: { + required: true, + serializedName: "port", type: { name: "Number" } }, - firstTimestamp: { - serializedName: "firstTimestamp", + destination: { + required: true, + serializedName: "destination", type: { - name: "String" + name: "Composite", + className: "GatewayDestination" } - }, - lastTimestamp: { - serializedName: "lastTimestamp", + } + } + } +}; + +export const HttpRouteMatchPath: msRest.CompositeMapper = { + serializedName: "HttpRouteMatchPath", + type: { + name: "Composite", + className: "HttpRouteMatchPath", + modelProperties: { + value: { + required: true, + serializedName: "value", type: { name: "String" } }, - message: { - serializedName: "message", + rewrite: { + serializedName: "rewrite", type: { name: "String" } }, type: { + required: true, + isConstant: true, serializedName: "type", + defaultValue: 'prefix', type: { name: "String" } @@ -785,40 +886,58 @@ export const ContainerEvent: msRest.CompositeMapper = { } }; -export const ContainerInstanceView: msRest.CompositeMapper = { - serializedName: "ContainerInstanceView", +export const HttpRouteMatchHeader: msRest.CompositeMapper = { + serializedName: "HttpRouteMatchHeader", type: { name: "Composite", - className: "ContainerInstanceView", + className: "HttpRouteMatchHeader", modelProperties: { - restartCount: { - serializedName: "restartCount", + name: { + required: true, + serializedName: "name", type: { - name: "Number" + name: "String" } }, - currentState: { - serializedName: "currentState", + value: { + serializedName: "value", type: { - name: "Composite", - className: "ContainerState" + name: "String" } }, - previousState: { - serializedName: "previousState", + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const HttpRouteMatchRule: msRest.CompositeMapper = { + serializedName: "HttpRouteMatchRule", + type: { + name: "Composite", + className: "HttpRouteMatchRule", + modelProperties: { + path: { + required: true, + serializedName: "path", + defaultValue: {}, type: { name: "Composite", - className: "ContainerState" + className: "HttpRouteMatchPath" } }, - events: { - serializedName: "events", + headers: { + serializedName: "headers", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ContainerEvent" + className: "HttpRouteMatchHeader" } } } @@ -827,11 +946,11 @@ export const ContainerInstanceView: msRest.CompositeMapper = { } }; -export const ContainerLabel: msRest.CompositeMapper = { - serializedName: "ContainerLabel", +export const HttpRouteConfig: msRest.CompositeMapper = { + serializedName: "HttpRouteConfig", type: { name: "Composite", - className: "ContainerLabel", + className: "HttpRouteConfig", modelProperties: { name: { required: true, @@ -840,160 +959,248 @@ export const ContainerLabel: msRest.CompositeMapper = { name: "String" } }, - value: { + match: { required: true, - serializedName: "value", + serializedName: "match", + defaultValue: {}, type: { - name: "String" + name: "Composite", + className: "HttpRouteMatchRule" + } + }, + destination: { + required: true, + serializedName: "destination", + type: { + name: "Composite", + className: "GatewayDestination" } } } } }; -export const ContainerLogs: msRest.CompositeMapper = { - serializedName: "ContainerLogs", +export const HttpHostConfig: msRest.CompositeMapper = { + serializedName: "HttpHostConfig", type: { name: "Composite", - className: "ContainerLogs", + className: "HttpHostConfig", modelProperties: { - content: { - serializedName: "content", + name: { + required: true, + serializedName: "name", type: { name: "String" } + }, + routes: { + required: true, + serializedName: "routes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HttpRouteConfig" + } + } + } } } } }; -export const ImageRegistryCredential: msRest.CompositeMapper = { - serializedName: "ImageRegistryCredential", +export const HttpConfig: msRest.CompositeMapper = { + serializedName: "HttpConfig", type: { name: "Composite", - className: "ImageRegistryCredential", + className: "HttpConfig", modelProperties: { - server: { + name: { required: true, - serializedName: "server", + serializedName: "name", type: { name: "String" } }, - username: { + port: { required: true, - serializedName: "username", + serializedName: "port", type: { - name: "String" + name: "Number" } }, - password: { - serializedName: "password", + hosts: { + required: true, + serializedName: "hosts", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HttpHostConfig" + } + } } } } } }; -export const ResourceLimits: msRest.CompositeMapper = { - serializedName: "ResourceLimits", +export const GatewayProperties: msRest.CompositeMapper = { + serializedName: "GatewayProperties", type: { name: "Composite", - className: "ResourceLimits", + className: "GatewayProperties", modelProperties: { - memoryInGB: { - serializedName: "memoryInGB", + description: { + serializedName: "description", type: { - name: "Number" + name: "String" } }, - cpu: { - serializedName: "cpu", + sourceNetwork: { + required: true, + serializedName: "sourceNetwork", type: { - name: "Number" + name: "Composite", + className: "NetworkRef" } - } - } - } -}; - -export const ResourceRequests: msRest.CompositeMapper = { - serializedName: "ResourceRequests", - type: { - name: "Composite", - className: "ResourceRequests", - modelProperties: { - memoryInGB: { + }, + destinationNetwork: { required: true, - serializedName: "memoryInGB", + serializedName: "destinationNetwork", type: { - name: "Number" + name: "Composite", + className: "NetworkRef" } }, - cpu: { - required: true, - serializedName: "cpu", + tcp: { + serializedName: "tcp", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TcpConfig" + } + } + } + }, + http: { + serializedName: "http", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HttpConfig" + } + } + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + }, + statusDetails: { + readOnly: true, + serializedName: "statusDetails", + type: { + name: "String" + } + }, + ipAddress: { + readOnly: true, + serializedName: "ipAddress", + type: { + name: "String" } } } } }; -export const ResourceRequirements: msRest.CompositeMapper = { - serializedName: "ResourceRequirements", +export const GatewayResourceDescription: msRest.CompositeMapper = { + serializedName: "GatewayResourceDescription", type: { name: "Composite", - className: "ResourceRequirements", + className: "GatewayResourceDescription", modelProperties: { - requests: { + ...TrackedResource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + sourceNetwork: { required: true, - serializedName: "requests", + serializedName: "properties.sourceNetwork", type: { name: "Composite", - className: "ResourceRequests" + className: "NetworkRef" } }, - limits: { - serializedName: "limits", + destinationNetwork: { + required: true, + serializedName: "properties.destinationNetwork", type: { name: "Composite", - className: "ResourceLimits" + className: "NetworkRef" } - } - } - } -}; - -export const AvailableOperationDisplay: msRest.CompositeMapper = { - serializedName: "AvailableOperationDisplay", - type: { - name: "Composite", - className: "AvailableOperationDisplay", - modelProperties: { - provider: { - serializedName: "provider", + }, + tcp: { + serializedName: "properties.tcp", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TcpConfig" + } + } } }, - resource: { - serializedName: "resource", + http: { + serializedName: "properties.http", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HttpConfig" + } + } + } + }, + status: { + readOnly: true, + serializedName: "properties.status", type: { name: "String" } }, - operation: { - serializedName: "operation", + statusDetails: { + readOnly: true, + serializedName: "properties.statusDetails", type: { name: "String" } }, - description: { - serializedName: "description", + ipAddress: { + readOnly: true, + serializedName: "properties.ipAddress", type: { name: "String" } @@ -1002,33 +1209,28 @@ export const AvailableOperationDisplay: msRest.CompositeMapper = { } }; -export const OperationResult: msRest.CompositeMapper = { - serializedName: "OperationResult", +export const ImageRegistryCredential: msRest.CompositeMapper = { + serializedName: "ImageRegistryCredential", type: { name: "Composite", - className: "OperationResult", + className: "ImageRegistryCredential", modelProperties: { - name: { - serializedName: "name", + server: { + required: true, + serializedName: "server", type: { name: "String" } }, - display: { - serializedName: "display", - type: { - name: "Composite", - className: "AvailableOperationDisplay" - } - }, - origin: { - serializedName: "origin", + username: { + required: true, + serializedName: "username", type: { name: "String" } }, - nextLink: { - serializedName: "nextLink", + password: { + serializedName: "password", type: { name: "String" } @@ -1037,20 +1239,20 @@ export const OperationResult: msRest.CompositeMapper = { } }; -export const ErrorModel: msRest.CompositeMapper = { - serializedName: "ErrorModel", +export const EnvironmentVariable: msRest.CompositeMapper = { + serializedName: "EnvironmentVariable", type: { name: "Composite", - className: "ErrorModel", + className: "EnvironmentVariable", modelProperties: { - code: { - serializedName: "code", + name: { + serializedName: "name", type: { name: "String" } }, - message: { - serializedName: "message", + value: { + serializedName: "value", type: { name: "String" } @@ -1059,11 +1261,11 @@ export const ErrorModel: msRest.CompositeMapper = { } }; -export const EnvironmentVariable: msRest.CompositeMapper = { - serializedName: "EnvironmentVariable", +export const Setting: msRest.CompositeMapper = { + serializedName: "Setting", type: { name: "Composite", - className: "EnvironmentVariable", + className: "Setting", modelProperties: { name: { serializedName: "name", @@ -1081,19 +1283,21 @@ export const EnvironmentVariable: msRest.CompositeMapper = { } }; -export const Setting: msRest.CompositeMapper = { - serializedName: "Setting", +export const ContainerLabel: msRest.CompositeMapper = { + serializedName: "ContainerLabel", type: { name: "Composite", - className: "Setting", + className: "ContainerLabel", modelProperties: { name: { + required: true, serializedName: "name", type: { name: "String" } }, value: { + required: true, serializedName: "value", type: { name: "String" @@ -1126,57 +1330,249 @@ export const EndpointProperties: msRest.CompositeMapper = { } }; -export const ContainerVolume: msRest.CompositeMapper = { - serializedName: "ContainerVolume", +export const ResourceRequests: msRest.CompositeMapper = { + serializedName: "ResourceRequests", type: { name: "Composite", - className: "ContainerVolume", + className: "ResourceRequests", modelProperties: { - name: { + memoryInGB: { required: true, - serializedName: "name", - type: { - name: "String" - } - }, - readOnly: { - serializedName: "readOnly", + serializedName: "memoryInGB", type: { - name: "Boolean" + name: "Number" } }, - destinationPath: { + cpu: { required: true, - serializedName: "destinationPath", + serializedName: "cpu", type: { - name: "String" + name: "Number" } } } } }; -export const DiagnosticsRef: msRest.CompositeMapper = { - serializedName: "DiagnosticsRef", +export const ResourceLimits: msRest.CompositeMapper = { + serializedName: "ResourceLimits", type: { name: "Composite", - className: "DiagnosticsRef", + className: "ResourceLimits", modelProperties: { - enabled: { - serializedName: "enabled", + memoryInGB: { + serializedName: "memoryInGB", type: { - name: "Boolean" + name: "Number" } }, - sinkRefs: { - serializedName: "sinkRefs", + cpu: { + serializedName: "cpu", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" + } + } + } + } +}; + +export const ResourceRequirements: msRest.CompositeMapper = { + serializedName: "ResourceRequirements", + type: { + name: "Composite", + className: "ResourceRequirements", + modelProperties: { + requests: { + required: true, + serializedName: "requests", + type: { + name: "Composite", + className: "ResourceRequests" + } + }, + limits: { + serializedName: "limits", + type: { + name: "Composite", + className: "ResourceLimits" + } + } + } + } +}; + +export const DiagnosticsRef: msRest.CompositeMapper = { + serializedName: "DiagnosticsRef", + type: { + name: "Composite", + className: "DiagnosticsRef", + modelProperties: { + enabled: { + serializedName: "enabled", + type: { + name: "Boolean" + } + }, + sinkRefs: { + serializedName: "sinkRefs", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ReliableCollectionsRef: msRest.CompositeMapper = { + serializedName: "ReliableCollectionsRef", + type: { + name: "Composite", + className: "ReliableCollectionsRef", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + doNotPersistState: { + serializedName: "doNotPersistState", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ContainerState: msRest.CompositeMapper = { + serializedName: "ContainerState", + type: { + name: "Composite", + className: "ContainerState", + modelProperties: { + state: { + serializedName: "state", + type: { + name: "String" + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + exitCode: { + serializedName: "exitCode", + type: { + name: "String" + } + }, + finishTime: { + serializedName: "finishTime", + type: { + name: "DateTime" + } + }, + detailStatus: { + serializedName: "detailStatus", + type: { + name: "String" + } + } + } + } +}; + +export const ContainerEvent: msRest.CompositeMapper = { + serializedName: "ContainerEvent", + type: { + name: "Composite", + className: "ContainerEvent", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, + firstTimestamp: { + serializedName: "firstTimestamp", + type: { + name: "String" + } + }, + lastTimestamp: { + serializedName: "lastTimestamp", + type: { + name: "String" + } + }, + message: { + serializedName: "message", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const ContainerInstanceView: msRest.CompositeMapper = { + serializedName: "ContainerInstanceView", + type: { + name: "Composite", + className: "ContainerInstanceView", + modelProperties: { + restartCount: { + serializedName: "restartCount", + type: { + name: "Number" + } + }, + currentState: { + serializedName: "currentState", + type: { + name: "Composite", + className: "ContainerState" + } + }, + previousState: { + serializedName: "previousState", + type: { + name: "Composite", + className: "ContainerState" + } + }, + events: { + serializedName: "events", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContainerEvent" + } + } } } } @@ -1187,127 +1583,761 @@ export const ContainerCodePackageProperties: msRest.CompositeMapper = { serializedName: "ContainerCodePackageProperties", type: { name: "Composite", - className: "ContainerCodePackageProperties", + className: "ContainerCodePackageProperties", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + image: { + required: true, + serializedName: "image", + type: { + name: "String" + } + }, + imageRegistryCredential: { + serializedName: "imageRegistryCredential", + type: { + name: "Composite", + className: "ImageRegistryCredential" + } + }, + entrypoint: { + serializedName: "entrypoint", + type: { + name: "String" + } + }, + commands: { + serializedName: "commands", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + environmentVariables: { + serializedName: "environmentVariables", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentVariable" + } + } + } + }, + settings: { + serializedName: "settings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Setting" + } + } + } + }, + labels: { + serializedName: "labels", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContainerLabel" + } + } + } + }, + endpoints: { + serializedName: "endpoints", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointProperties" + } + } + } + }, + resources: { + required: true, + serializedName: "resources", + type: { + name: "Composite", + className: "ResourceRequirements" + } + }, + volumeRefs: { + serializedName: "volumeRefs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VolumeReference" + } + } + } + }, + volumes: { + serializedName: "volumes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationScopedVolume" + } + } + } + }, + diagnostics: { + serializedName: "diagnostics", + type: { + name: "Composite", + className: "DiagnosticsRef" + } + }, + reliableCollectionsRefs: { + serializedName: "reliableCollectionsRefs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReliableCollectionsRef" + } + } + } + }, + instanceView: { + readOnly: true, + serializedName: "instanceView", + type: { + name: "Composite", + className: "ContainerInstanceView" + } + } + } + } +}; + +export const AutoScalingTrigger: msRest.CompositeMapper = { + serializedName: "AutoScalingTrigger", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + uberParent: "AutoScalingTrigger", + className: "AutoScalingTrigger", + modelProperties: { + kind: { + required: true, + serializedName: "kind", + type: { + name: "String" + } + } + } + } +}; + +export const AutoScalingMechanism: msRest.CompositeMapper = { + serializedName: "AutoScalingMechanism", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + uberParent: "AutoScalingMechanism", + className: "AutoScalingMechanism", + modelProperties: { + kind: { + required: true, + serializedName: "kind", + type: { + name: "String" + } + } + } + } +}; + +export const AutoScalingPolicy: msRest.CompositeMapper = { + serializedName: "AutoScalingPolicy", + type: { + name: "Composite", + className: "AutoScalingPolicy", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + trigger: { + required: true, + serializedName: "trigger", + type: { + name: "Composite", + className: "AutoScalingTrigger" + } + }, + mechanism: { + required: true, + serializedName: "mechanism", + type: { + name: "Composite", + className: "AutoScalingMechanism" + } + } + } + } +}; + +export const ServiceResourceDescription: msRest.CompositeMapper = { + serializedName: "ServiceResourceDescription", + type: { + name: "Composite", + className: "ServiceResourceDescription", + modelProperties: { + ...ManagedProxyResource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + osType: { + required: true, + serializedName: "properties.osType", + type: { + name: "String" + } + }, + codePackages: { + required: true, + serializedName: "properties.codePackages", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContainerCodePackageProperties" + } + } + } + }, + networkRefs: { + serializedName: "properties.networkRefs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkRef" + } + } + } + }, + diagnostics: { + serializedName: "properties.diagnostics", + type: { + name: "Composite", + className: "DiagnosticsRef" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + replicaCount: { + serializedName: "properties.replicaCount", + type: { + name: "Number" + } + }, + autoScalingPolicies: { + serializedName: "properties.autoScalingPolicies", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AutoScalingPolicy" + } + } + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + statusDetails: { + readOnly: true, + serializedName: "properties.statusDetails", + type: { + name: "String" + } + }, + healthState: { + readOnly: true, + serializedName: "properties.healthState", + type: { + name: "String" + } + }, + unhealthyEvaluation: { + readOnly: true, + serializedName: "properties.unhealthyEvaluation", + type: { + name: "String" + } + } + } + } +}; + +export const DiagnosticsSinkProperties: msRest.CompositeMapper = { + serializedName: "DiagnosticsSinkProperties", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + uberParent: "DiagnosticsSinkProperties", + className: "DiagnosticsSinkProperties", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + kind: { + required: true, + serializedName: "kind", + type: { + name: "String" + } + } + } + } +}; + +export const DiagnosticsDescription: msRest.CompositeMapper = { + serializedName: "DiagnosticsDescription", + type: { + name: "Composite", + className: "DiagnosticsDescription", + modelProperties: { + sinks: { + serializedName: "sinks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnosticsSinkProperties" + } + } + } + }, + enabled: { + serializedName: "enabled", + type: { + name: "Boolean" + } + }, + defaultSinkRefs: { + serializedName: "defaultSinkRefs", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ApplicationProperties: msRest.CompositeMapper = { + serializedName: "ApplicationProperties", + type: { + name: "Composite", + className: "ApplicationProperties", + modelProperties: { + description: { + serializedName: "description", + type: { + name: "String" + } + }, + services: { + serializedName: "services", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServiceResourceDescription" + } + } + } + }, + diagnostics: { + serializedName: "diagnostics", + type: { + name: "Composite", + className: "DiagnosticsDescription" + } + }, + debugParams: { + serializedName: "debugParams", + type: { + name: "String" + } + }, + serviceNames: { + readOnly: true, + serializedName: "serviceNames", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + }, + statusDetails: { + readOnly: true, + serializedName: "statusDetails", + type: { + name: "String" + } + }, + healthState: { + readOnly: true, + serializedName: "healthState", + type: { + name: "String" + } + }, + unhealthyEvaluation: { + readOnly: true, + serializedName: "unhealthyEvaluation", + type: { + name: "String" + } + } + } + } +}; + +export const AzureInternalMonitoringPipelineSinkDescription: msRest.CompositeMapper = { + serializedName: "AzureInternalMonitoringPipeline", + type: { + name: "Composite", + polymorphicDiscriminator: DiagnosticsSinkProperties.type.polymorphicDiscriminator, + uberParent: "DiagnosticsSinkProperties", + className: "AzureInternalMonitoringPipelineSinkDescription", + modelProperties: { + ...DiagnosticsSinkProperties.type.modelProperties, + accountName: { + serializedName: "accountName", + type: { + name: "String" + } + }, + namespace: { + serializedName: "namespace", + type: { + name: "String" + } + }, + maConfigUrl: { + serializedName: "maConfigUrl", + type: { + name: "String" + } + }, + fluentdConfigUrl: { + serializedName: "fluentdConfigUrl", + type: { + name: "Object" + } + }, + autoKeyConfigUrl: { + serializedName: "autoKeyConfigUrl", + type: { + name: "String" + } + } + } + } +}; + +export const ApplicationResourceDescription: msRest.CompositeMapper = { + serializedName: "ApplicationResourceDescription", + type: { + name: "Composite", + className: "ApplicationResourceDescription", + modelProperties: { + ...TrackedResource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + services: { + serializedName: "properties.services", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServiceResourceDescription" + } + } + } + }, + diagnostics: { + serializedName: "properties.diagnostics", + type: { + name: "Composite", + className: "DiagnosticsDescription" + } + }, + debugParams: { + serializedName: "properties.debugParams", + type: { + name: "String" + } + }, + serviceNames: { + readOnly: true, + serializedName: "properties.serviceNames", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + statusDetails: { + readOnly: true, + serializedName: "properties.statusDetails", + type: { + name: "String" + } + }, + healthState: { + readOnly: true, + serializedName: "properties.healthState", + type: { + name: "String" + } + }, + unhealthyEvaluation: { + readOnly: true, + serializedName: "properties.unhealthyEvaluation", + type: { + name: "String" + } + } + } + } +}; + +export const AddRemoveReplicaScalingMechanism: msRest.CompositeMapper = { + serializedName: "AddRemoveReplica", + type: { + name: "Composite", + polymorphicDiscriminator: AutoScalingMechanism.type.polymorphicDiscriminator, + uberParent: "AutoScalingMechanism", + className: "AddRemoveReplicaScalingMechanism", + modelProperties: { + ...AutoScalingMechanism.type.modelProperties, + minCount: { + required: true, + serializedName: "minCount", + type: { + name: "Number" + } + }, + maxCount: { + required: true, + serializedName: "maxCount", + type: { + name: "Number" + } + }, + scaleIncrement: { + required: true, + serializedName: "scaleIncrement", + type: { + name: "Number" + } + } + } + } +}; + +export const AutoScalingMetric: msRest.CompositeMapper = { + serializedName: "AutoScalingMetric", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + uberParent: "AutoScalingMetric", + className: "AutoScalingMetric", + modelProperties: { + kind: { + required: true, + serializedName: "kind", + type: { + name: "String" + } + } + } + } +}; + +export const AutoScalingResourceMetric: msRest.CompositeMapper = { + serializedName: "Resource", + type: { + name: "Composite", + polymorphicDiscriminator: AutoScalingMetric.type.polymorphicDiscriminator, + uberParent: "AutoScalingMetric", + className: "AutoScalingResourceMetric", modelProperties: { + ...AutoScalingMetric.type.modelProperties, name: { required: true, serializedName: "name", type: { name: "String" } - }, - image: { - required: true, - serializedName: "image", - type: { - name: "String" - } - }, - imageRegistryCredential: { - serializedName: "imageRegistryCredential", - type: { - name: "Composite", - className: "ImageRegistryCredential" - } - }, - entrypoint: { - serializedName: "entrypoint", + } + } + } +}; + +export const ServiceProperties: msRest.CompositeMapper = { + serializedName: "ServiceProperties", + type: { + name: "Composite", + className: "ServiceProperties", + modelProperties: { + description: { + serializedName: "description", type: { name: "String" } }, - commands: { - serializedName: "commands", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - environmentVariables: { - serializedName: "environmentVariables", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentVariable" - } - } - } - }, - settings: { - serializedName: "settings", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Setting" - } - } - } - }, - labels: { - serializedName: "labels", + replicaCount: { + serializedName: "replicaCount", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ContainerLabel" - } - } + name: "Number" } }, - endpoints: { - serializedName: "endpoints", + autoScalingPolicies: { + serializedName: "autoScalingPolicies", type: { name: "Sequence", element: { type: { name: "Composite", - className: "EndpointProperties" + className: "AutoScalingPolicy" } } } }, - resources: { - required: true, - serializedName: "resources", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Composite", - className: "ResourceRequirements" + name: "String" } }, - volumeRefs: { - serializedName: "volumeRefs", + statusDetails: { + readOnly: true, + serializedName: "statusDetails", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ContainerVolume" - } - } + name: "String" } }, - instanceView: { + healthState: { readOnly: true, - serializedName: "instanceView", + serializedName: "healthState", type: { - name: "Composite", - className: "ContainerInstanceView" + name: "String" } }, - diagnostics: { - serializedName: "diagnostics", + unhealthyEvaluation: { + readOnly: true, + serializedName: "unhealthyEvaluation", type: { - name: "Composite", - className: "DiagnosticsRef" + name: "String" } } } @@ -1371,6 +2401,7 @@ export const ServiceReplicaDescription: msRest.CompositeMapper = { modelProperties: { ...ServiceReplicaProperties.type.modelProperties, replicaName: { + required: true, serializedName: "replicaName", type: { name: "String" @@ -1380,57 +2411,144 @@ export const ServiceReplicaDescription: msRest.CompositeMapper = { } }; -export const NetworkRef: msRest.CompositeMapper = { - serializedName: "NetworkRef", +export const AverageLoadScalingTrigger: msRest.CompositeMapper = { + serializedName: "AverageLoad", type: { name: "Composite", - className: "NetworkRef", + polymorphicDiscriminator: AutoScalingTrigger.type.polymorphicDiscriminator, + uberParent: "AutoScalingTrigger", + className: "AverageLoadScalingTrigger", modelProperties: { - name: { - serializedName: "name", + ...AutoScalingTrigger.type.modelProperties, + metric: { + required: true, + serializedName: "metric", type: { - name: "String" + name: "Composite", + className: "AutoScalingMetric" + } + }, + lowerLoadThreshold: { + required: true, + serializedName: "lowerLoadThreshold", + type: { + name: "Number" + } + }, + upperLoadThreshold: { + required: true, + serializedName: "upperLoadThreshold", + type: { + name: "Number" + } + }, + scaleIntervalInSeconds: { + required: true, + serializedName: "scaleIntervalInSeconds", + constraints: { + InclusiveMinimum: 60 + }, + type: { + name: "Number" } } } } }; -export const AzureInternalMonitoringPipelineSinkDescription: msRest.CompositeMapper = { - serializedName: "AzureInternalMonitoringPipeline", +export const ContainerLogs: msRest.CompositeMapper = { + serializedName: "ContainerLogs", type: { name: "Composite", - polymorphicDiscriminator: DiagnosticsSinkProperties.type.polymorphicDiscriminator, - uberParent: "DiagnosticsSinkProperties", - className: "AzureInternalMonitoringPipelineSinkDescription", + className: "ContainerLogs", modelProperties: { - ...DiagnosticsSinkProperties.type.modelProperties, - accountName: { - serializedName: "accountName", + content: { + serializedName: "content", type: { name: "String" } + } + } + } +}; + +export const OperationListResult: msRest.CompositeMapper = { + serializedName: "OperationListResult", + type: { + name: "Composite", + className: "OperationListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OperationResult" + } + } + } }, - namespace: { - serializedName: "namespace", + nextLink: { + readOnly: true, + serializedName: "nextLink", type: { name: "String" } + } + } + } +}; + +export const SecretResourceDescriptionList: msRest.CompositeMapper = { + serializedName: "SecretResourceDescriptionList", + type: { + name: "Composite", + className: "SecretResourceDescriptionList", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SecretResourceDescription" + } + } + } }, - maConfigUrl: { - serializedName: "maConfigUrl", + nextLink: { + serializedName: "nextLink", type: { name: "String" } - }, - fluentdConfigUrl: { - serializedName: "fluentdConfigUrl", + } + } + } +}; + +export const SecretValueResourceDescriptionList: msRest.CompositeMapper = { + serializedName: "SecretValueResourceDescriptionList", + type: { + name: "Composite", + className: "SecretValueResourceDescriptionList", + modelProperties: { + value: { + serializedName: "", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SecretValueResourceDescription" + } + } } }, - autoKeyConfigUrl: { - serializedName: "autoKeyConfigUrl", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -1439,11 +2557,11 @@ export const AzureInternalMonitoringPipelineSinkDescription: msRest.CompositeMap } }; -export const ApplicationResourceDescriptionList: msRest.CompositeMapper = { - serializedName: "ApplicationResourceDescriptionList", +export const VolumeResourceDescriptionList: msRest.CompositeMapper = { + serializedName: "VolumeResourceDescriptionList", type: { name: "Composite", - className: "ApplicationResourceDescriptionList", + className: "VolumeResourceDescriptionList", modelProperties: { value: { serializedName: "", @@ -1452,7 +2570,7 @@ export const ApplicationResourceDescriptionList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ApplicationResourceDescription" + className: "VolumeResourceDescription" } } } @@ -1467,11 +2585,11 @@ export const ApplicationResourceDescriptionList: msRest.CompositeMapper = { } }; -export const ServiceList: msRest.CompositeMapper = { - serializedName: "ServiceList", +export const NetworkResourceDescriptionList: msRest.CompositeMapper = { + serializedName: "NetworkResourceDescriptionList", type: { name: "Composite", - className: "ServiceList", + className: "NetworkResourceDescriptionList", modelProperties: { value: { serializedName: "", @@ -1480,7 +2598,7 @@ export const ServiceList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ServiceResourceDescription" + className: "NetworkResourceDescription" } } } @@ -1495,11 +2613,11 @@ export const ServiceList: msRest.CompositeMapper = { } }; -export const ServiceReplicaList: msRest.CompositeMapper = { - serializedName: "ServiceReplicaList", +export const GatewayResourceDescriptionList: msRest.CompositeMapper = { + serializedName: "GatewayResourceDescriptionList", type: { name: "Composite", - className: "ServiceReplicaList", + className: "GatewayResourceDescriptionList", modelProperties: { value: { serializedName: "", @@ -1508,7 +2626,7 @@ export const ServiceReplicaList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ServiceReplicaDescription" + className: "GatewayResourceDescription" } } } @@ -1523,11 +2641,11 @@ export const ServiceReplicaList: msRest.CompositeMapper = { } }; -export const OperationListResult: msRest.CompositeMapper = { - serializedName: "OperationListResult", +export const ApplicationResourceDescriptionList: msRest.CompositeMapper = { + serializedName: "ApplicationResourceDescriptionList", type: { name: "Composite", - className: "OperationListResult", + className: "ApplicationResourceDescriptionList", modelProperties: { value: { serializedName: "", @@ -1536,13 +2654,12 @@ export const OperationListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "OperationResult" + className: "ApplicationResourceDescription" } } } }, nextLink: { - readOnly: true, serializedName: "nextLink", type: { name: "String" @@ -1552,11 +2669,11 @@ export const OperationListResult: msRest.CompositeMapper = { } }; -export const NetworkResourceDescriptionList: msRest.CompositeMapper = { - serializedName: "NetworkResourceDescriptionList", +export const ServiceResourceDescriptionList: msRest.CompositeMapper = { + serializedName: "ServiceResourceDescriptionList", type: { name: "Composite", - className: "NetworkResourceDescriptionList", + className: "ServiceResourceDescriptionList", modelProperties: { value: { serializedName: "", @@ -1565,7 +2682,7 @@ export const NetworkResourceDescriptionList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "NetworkResourceDescription" + className: "ServiceResourceDescription" } } } @@ -1580,11 +2697,11 @@ export const NetworkResourceDescriptionList: msRest.CompositeMapper = { } }; -export const VolumeResourceDescriptionList: msRest.CompositeMapper = { - serializedName: "VolumeResourceDescriptionList", +export const ServiceReplicaDescriptionList: msRest.CompositeMapper = { + serializedName: "ServiceReplicaDescriptionList", type: { name: "Composite", - className: "VolumeResourceDescriptionList", + className: "ServiceReplicaDescriptionList", modelProperties: { value: { serializedName: "", @@ -1593,7 +2710,7 @@ export const VolumeResourceDescriptionList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "VolumeResourceDescription" + className: "ServiceReplicaDescription" } } } @@ -1609,6 +2726,20 @@ export const VolumeResourceDescriptionList: msRest.CompositeMapper = { }; export const discriminators = { + 'ProvisionedResourceProperties.SecretResourceProperties' : SecretResourceProperties, + 'ProvisionedResourceProperties.inlinedValue' : InlinedValueSecretResourceProperties, + 'ProvisionedResourceProperties.SecretResourcePropertiesBase' : SecretResourcePropertiesBase, + 'ApplicationScopedVolumeCreationParameters' : ApplicationScopedVolumeCreationParameters, + 'ApplicationScopedVolumeCreationParameters.ServiceFabricVolumeDisk' : ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk, + 'ProvisionedResourceProperties.NetworkResourceProperties' : NetworkResourceProperties, + 'ProvisionedResourceProperties.Local' : LocalNetworkResourceProperties, + 'ProvisionedResourceProperties.NetworkResourcePropertiesBase' : NetworkResourcePropertiesBase, + 'AutoScalingTrigger' : AutoScalingTrigger, + 'AutoScalingMechanism' : AutoScalingMechanism, 'DiagnosticsSinkProperties' : DiagnosticsSinkProperties, - 'DiagnosticsSinkProperties.AzureInternalMonitoringPipeline' : AzureInternalMonitoringPipelineSinkDescription + 'DiagnosticsSinkProperties.AzureInternalMonitoringPipeline' : AzureInternalMonitoringPipelineSinkDescription, + 'AutoScalingMechanism.AddRemoveReplica' : AddRemoveReplicaScalingMechanism, + 'AutoScalingMetric' : AutoScalingMetric, + 'AutoScalingMetric.Resource' : AutoScalingResourceMetric, + 'AutoScalingTrigger.AverageLoad' : AverageLoadScalingTrigger }; diff --git a/packages/@azure/arm-servicefabricmesh/lib/models/networkMappers.ts b/packages/@azure/arm-servicefabricmesh/lib/models/networkMappers.ts index b9ffba8b8bac..c5307534f360 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/models/networkMappers.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/models/networkMappers.ts @@ -14,14 +14,33 @@ export { TrackedResource, Resource, BaseResource, - IngressConfig, - Layer4IngressConfig, + NetworkResourceProperties, + NetworkResourcePropertiesBase, + ProvisionedResourceProperties, ErrorModel, + ErrorErrorModel, + ErrorDetailsModel, NetworkResourceDescriptionList, ProxyResource, ManagedProxyResource, + SecretResourcePropertiesBase, + SecretResourceDescription, + SecretResourceProperties, + SecretValueResourceDescription, VolumeResourceDescription, VolumeProviderParametersAzureFile, + LocalNetworkResourceProperties, + GatewayResourceDescription, + NetworkRef, + EndpointRef, + TcpConfig, + GatewayDestination, + HttpConfig, + HttpHostConfig, + HttpRouteConfig, + HttpRouteMatchRule, + HttpRouteMatchPath, + HttpRouteMatchHeader, ServiceResourceDescription, ContainerCodePackageProperties, ImageRegistryCredential, @@ -32,15 +51,26 @@ export { ResourceRequirements, ResourceRequests, ResourceLimits, - ContainerVolume, + VolumeReference, + ApplicationScopedVolume, + ApplicationScopedVolumeCreationParameters, + DiagnosticsRef, + ReliableCollectionsRef, ContainerInstanceView, ContainerState, ContainerEvent, - DiagnosticsRef, - NetworkRef, + AutoScalingPolicy, + AutoScalingTrigger, + AutoScalingMechanism, ApplicationResourceDescription, DiagnosticsDescription, DiagnosticsSinkProperties, - AzureInternalMonitoringPipelineSinkDescription + AddRemoveReplicaScalingMechanism, + AverageLoadScalingTrigger, + AutoScalingMetric, + InlinedValueSecretResourceProperties, + ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk, + AzureInternalMonitoringPipelineSinkDescription, + AutoScalingResourceMetric } from "../models/mappers"; diff --git a/packages/@azure/arm-servicefabricmesh/lib/models/operationsMappers.ts b/packages/@azure/arm-servicefabricmesh/lib/models/operationsMappers.ts index a48f9f61212e..80541a59adc7 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/models/operationsMappers.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/models/operationsMappers.ts @@ -13,6 +13,8 @@ export { OperationListResult, OperationResult, AvailableOperationDisplay, - ErrorModel + ErrorModel, + ErrorErrorModel, + ErrorDetailsModel } from "../models/mappers"; diff --git a/packages/@azure/arm-servicefabricmesh/lib/models/parameters.ts b/packages/@azure/arm-servicefabricmesh/lib/models/parameters.ts index c2226bd9a8c6..dcfd388fd023 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/models/parameters.ts +++ b/packages/@azure/arm-servicefabricmesh/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", @@ -26,17 +26,17 @@ export const apiVersion: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2018-07-01-preview', + defaultValue: '2018-09-01-preview', type: { name: "String" } } }; -export const applicationName: msRest.OperationURLParameter = { - parameterPath: "applicationName", +export const applicationResourceName: msRest.OperationURLParameter = { + parameterPath: "applicationResourceName", mapper: { required: true, - serializedName: "applicationName", + serializedName: "applicationResourceName", type: { name: "String" } @@ -51,14 +51,24 @@ export const codePackageName: msRest.OperationURLParameter = { type: { name: "String" } + } +}; +export const gatewayResourceName: msRest.OperationURLParameter = { + parameterPath: "gatewayResourceName", + mapper: { + required: true, + serializedName: "gatewayResourceName", + type: { + name: "String" + } }, skipEncoding: true }; -export const networkName: msRest.OperationURLParameter = { - parameterPath: "networkName", +export const networkResourceName: msRest.OperationURLParameter = { + parameterPath: "networkResourceName", mapper: { required: true, - serializedName: "networkName", + serializedName: "networkResourceName", type: { name: "String" } @@ -97,11 +107,33 @@ export const resourceGroupName: msRest.OperationURLParameter = { } } }; -export const serviceName: msRest.OperationURLParameter = { - parameterPath: "serviceName", +export const secretResourceName: msRest.OperationURLParameter = { + parameterPath: "secretResourceName", + mapper: { + required: true, + serializedName: "secretResourceName", + type: { + name: "String" + } + }, + skipEncoding: true +}; +export const secretValueResourceName: msRest.OperationURLParameter = { + parameterPath: "secretValueResourceName", + mapper: { + required: true, + serializedName: "secretValueResourceName", + type: { + name: "String" + } + }, + skipEncoding: true +}; +export const serviceResourceName: msRest.OperationURLParameter = { + parameterPath: "serviceResourceName", mapper: { required: true, - serializedName: "serviceName", + serializedName: "serviceResourceName", type: { name: "String" } @@ -130,11 +162,11 @@ export const tail: msRest.OperationQueryParameter = { } } }; -export const volumeName: msRest.OperationURLParameter = { - parameterPath: "volumeName", +export const volumeResourceName: msRest.OperationURLParameter = { + parameterPath: "volumeResourceName", mapper: { required: true, - serializedName: "volumeName", + serializedName: "volumeResourceName", type: { name: "String" } diff --git a/packages/@azure/arm-servicefabricmesh/lib/models/secretMappers.ts b/packages/@azure/arm-servicefabricmesh/lib/models/secretMappers.ts new file mode 100644 index 000000000000..11a005c7dec5 --- /dev/null +++ b/packages/@azure/arm-servicefabricmesh/lib/models/secretMappers.ts @@ -0,0 +1,76 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export { + discriminators, + SecretResourceDescription, + TrackedResource, + Resource, + BaseResource, + SecretResourceProperties, + SecretResourcePropertiesBase, + ProvisionedResourceProperties, + ErrorModel, + ErrorErrorModel, + ErrorDetailsModel, + SecretResourceDescriptionList, + ProxyResource, + ManagedProxyResource, + InlinedValueSecretResourceProperties, + SecretValueResourceDescription, + VolumeResourceDescription, + VolumeProviderParametersAzureFile, + NetworkResourcePropertiesBase, + NetworkResourceDescription, + NetworkResourceProperties, + GatewayResourceDescription, + NetworkRef, + EndpointRef, + TcpConfig, + GatewayDestination, + HttpConfig, + HttpHostConfig, + HttpRouteConfig, + HttpRouteMatchRule, + HttpRouteMatchPath, + HttpRouteMatchHeader, + ServiceResourceDescription, + ContainerCodePackageProperties, + ImageRegistryCredential, + EnvironmentVariable, + Setting, + ContainerLabel, + EndpointProperties, + ResourceRequirements, + ResourceRequests, + ResourceLimits, + VolumeReference, + ApplicationScopedVolume, + ApplicationScopedVolumeCreationParameters, + DiagnosticsRef, + ReliableCollectionsRef, + ContainerInstanceView, + ContainerState, + ContainerEvent, + AutoScalingPolicy, + AutoScalingTrigger, + AutoScalingMechanism, + ApplicationResourceDescription, + DiagnosticsDescription, + DiagnosticsSinkProperties, + AddRemoveReplicaScalingMechanism, + AverageLoadScalingTrigger, + AutoScalingMetric, + ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk, + LocalNetworkResourceProperties, + AzureInternalMonitoringPipelineSinkDescription, + AutoScalingResourceMetric +} from "../models/mappers"; + diff --git a/packages/@azure/arm-servicefabricmesh/lib/models/secretValueOperationsMappers.ts b/packages/@azure/arm-servicefabricmesh/lib/models/secretValueOperationsMappers.ts new file mode 100644 index 000000000000..b3b67405aa6b --- /dev/null +++ b/packages/@azure/arm-servicefabricmesh/lib/models/secretValueOperationsMappers.ts @@ -0,0 +1,77 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export { + discriminators, + SecretValueResourceDescription, + TrackedResource, + Resource, + BaseResource, + ErrorModel, + ErrorErrorModel, + ErrorDetailsModel, + SecretValueResourceDescriptionList, + SecretValue, + ProxyResource, + ManagedProxyResource, + SecretResourceDescription, + SecretResourceProperties, + SecretResourcePropertiesBase, + ProvisionedResourceProperties, + VolumeResourceDescription, + VolumeProviderParametersAzureFile, + NetworkResourcePropertiesBase, + NetworkResourceDescription, + NetworkResourceProperties, + GatewayResourceDescription, + NetworkRef, + EndpointRef, + TcpConfig, + GatewayDestination, + HttpConfig, + HttpHostConfig, + HttpRouteConfig, + HttpRouteMatchRule, + HttpRouteMatchPath, + HttpRouteMatchHeader, + ServiceResourceDescription, + ContainerCodePackageProperties, + ImageRegistryCredential, + EnvironmentVariable, + Setting, + ContainerLabel, + EndpointProperties, + ResourceRequirements, + ResourceRequests, + ResourceLimits, + VolumeReference, + ApplicationScopedVolume, + ApplicationScopedVolumeCreationParameters, + DiagnosticsRef, + ReliableCollectionsRef, + ContainerInstanceView, + ContainerState, + ContainerEvent, + AutoScalingPolicy, + AutoScalingTrigger, + AutoScalingMechanism, + ApplicationResourceDescription, + DiagnosticsDescription, + DiagnosticsSinkProperties, + AddRemoveReplicaScalingMechanism, + AverageLoadScalingTrigger, + AutoScalingMetric, + InlinedValueSecretResourceProperties, + ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk, + LocalNetworkResourceProperties, + AzureInternalMonitoringPipelineSinkDescription, + AutoScalingResourceMetric +} from "../models/mappers"; + diff --git a/packages/@azure/arm-servicefabricmesh/lib/models/serviceMappers.ts b/packages/@azure/arm-servicefabricmesh/lib/models/serviceMappers.ts index fe4403a2c73f..230b4d39bb9e 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/models/serviceMappers.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/models/serviceMappers.ts @@ -10,7 +10,6 @@ export { discriminators, - ServiceList, ServiceResourceDescription, ManagedProxyResource, BaseResource, @@ -23,24 +22,55 @@ export { ResourceRequirements, ResourceRequests, ResourceLimits, - ContainerVolume, + VolumeReference, + ApplicationScopedVolume, + ApplicationScopedVolumeCreationParameters, + DiagnosticsRef, + ReliableCollectionsRef, ContainerInstanceView, ContainerState, ContainerEvent, - DiagnosticsRef, NetworkRef, - CloudError, + EndpointRef, + AutoScalingPolicy, + AutoScalingTrigger, + AutoScalingMechanism, + ErrorModel, + ErrorErrorModel, + ErrorDetailsModel, + ServiceResourceDescriptionList, Resource, - ProxyResource, TrackedResource, - NetworkResourceDescription, - IngressConfig, - Layer4IngressConfig, + SecretResourceDescription, + SecretResourceProperties, + SecretResourcePropertiesBase, + ProvisionedResourceProperties, + SecretValueResourceDescription, + ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk, VolumeResourceDescription, VolumeProviderParametersAzureFile, + NetworkResourcePropertiesBase, + NetworkResourceDescription, + NetworkResourceProperties, + GatewayResourceDescription, + TcpConfig, + GatewayDestination, + HttpConfig, + HttpHostConfig, + HttpRouteConfig, + HttpRouteMatchRule, + HttpRouteMatchPath, + HttpRouteMatchHeader, ApplicationResourceDescription, DiagnosticsDescription, DiagnosticsSinkProperties, - AzureInternalMonitoringPipelineSinkDescription + AddRemoveReplicaScalingMechanism, + AverageLoadScalingTrigger, + AutoScalingMetric, + ProxyResource, + InlinedValueSecretResourceProperties, + LocalNetworkResourceProperties, + AzureInternalMonitoringPipelineSinkDescription, + AutoScalingResourceMetric } from "../models/mappers"; diff --git a/packages/@azure/arm-servicefabricmesh/lib/models/replicaMappers.ts b/packages/@azure/arm-servicefabricmesh/lib/models/serviceReplicaMappers.ts similarity index 71% rename from packages/@azure/arm-servicefabricmesh/lib/models/replicaMappers.ts rename to packages/@azure/arm-servicefabricmesh/lib/models/serviceReplicaMappers.ts index fd3d10020a2a..8a983b09e048 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/models/replicaMappers.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/models/serviceReplicaMappers.ts @@ -10,7 +10,6 @@ export { discriminators, - ServiceReplicaList, ServiceReplicaDescription, ServiceReplicaProperties, ContainerCodePackageProperties, @@ -22,12 +21,20 @@ export { ResourceRequirements, ResourceRequests, ResourceLimits, - ContainerVolume, + VolumeReference, + ApplicationScopedVolume, + ApplicationScopedVolumeCreationParameters, + DiagnosticsRef, + ReliableCollectionsRef, ContainerInstanceView, ContainerState, ContainerEvent, - DiagnosticsRef, NetworkRef, - CloudError + EndpointRef, + ErrorModel, + ErrorErrorModel, + ErrorDetailsModel, + ServiceReplicaDescriptionList, + ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk } from "../models/mappers"; diff --git a/packages/@azure/arm-servicefabricmesh/lib/models/volumeMappers.ts b/packages/@azure/arm-servicefabricmesh/lib/models/volumeMappers.ts index d3f3a1a4fbe0..c3ba86d7eb11 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/models/volumeMappers.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/models/volumeMappers.ts @@ -16,12 +16,30 @@ export { BaseResource, VolumeProviderParametersAzureFile, ErrorModel, + ErrorErrorModel, + ErrorDetailsModel, VolumeResourceDescriptionList, ProxyResource, ManagedProxyResource, + SecretResourceDescription, + SecretResourceProperties, + SecretResourcePropertiesBase, + ProvisionedResourceProperties, + SecretValueResourceDescription, + NetworkResourcePropertiesBase, NetworkResourceDescription, - IngressConfig, - Layer4IngressConfig, + NetworkResourceProperties, + GatewayResourceDescription, + NetworkRef, + EndpointRef, + TcpConfig, + GatewayDestination, + HttpConfig, + HttpHostConfig, + HttpRouteConfig, + HttpRouteMatchRule, + HttpRouteMatchPath, + HttpRouteMatchHeader, ServiceResourceDescription, ContainerCodePackageProperties, ImageRegistryCredential, @@ -32,15 +50,27 @@ export { ResourceRequirements, ResourceRequests, ResourceLimits, - ContainerVolume, + VolumeReference, + ApplicationScopedVolume, + ApplicationScopedVolumeCreationParameters, + DiagnosticsRef, + ReliableCollectionsRef, ContainerInstanceView, ContainerState, ContainerEvent, - DiagnosticsRef, - NetworkRef, + AutoScalingPolicy, + AutoScalingTrigger, + AutoScalingMechanism, ApplicationResourceDescription, DiagnosticsDescription, DiagnosticsSinkProperties, - AzureInternalMonitoringPipelineSinkDescription + AddRemoveReplicaScalingMechanism, + AverageLoadScalingTrigger, + AutoScalingMetric, + InlinedValueSecretResourceProperties, + ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk, + LocalNetworkResourceProperties, + AzureInternalMonitoringPipelineSinkDescription, + AutoScalingResourceMetric } from "../models/mappers"; diff --git a/packages/@azure/arm-servicefabricmesh/lib/operations/application.ts b/packages/@azure/arm-servicefabricmesh/lib/operations/application.ts index 7824215980ea..c02b0082e687 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/operations/application.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/operations/application.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/applicationMappers"; import * as Parameters from "../models/parameters"; @@ -27,40 +27,37 @@ export class Application { } /** - * Creates an application resource with the specified name and description. If an application with - * the same name already exists, then its description is updated to the one indicated in this - * request. - * - * Use network resources to provide public connectivity to the services of an application. - * + * Creates an application resource with the specified name, description and properties. If an + * application resource with the same name exists, then it is updated with the specified + * description and properties. * @summary Creates or updates an application resource. * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param applicationResourceDescription Description for creating an application resource. + * @param applicationResourceName The identity of the application. + * @param applicationResourceDescription Description for creating a Application resource. * @param [options] The optional parameters * @returns Promise */ - create(resourceGroupName: string, applicationName: string, applicationResourceDescription: Models.ApplicationResourceDescription, options?: msRest.RequestOptionsBase): Promise; + create(resourceGroupName: string, applicationResourceName: string, applicationResourceDescription: Models.ApplicationResourceDescription, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param applicationResourceDescription Description for creating an application resource. + * @param applicationResourceName The identity of the application. + * @param applicationResourceDescription Description for creating a Application resource. * @param callback The callback */ - create(resourceGroupName: string, applicationName: string, applicationResourceDescription: Models.ApplicationResourceDescription, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, applicationResourceName: string, applicationResourceDescription: Models.ApplicationResourceDescription, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param applicationResourceDescription Description for creating an application resource. + * @param applicationResourceName The identity of the application. + * @param applicationResourceDescription Description for creating a Application resource. * @param options The optional parameters * @param callback The callback */ - create(resourceGroupName: string, applicationName: string, applicationResourceDescription: Models.ApplicationResourceDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, applicationName: string, applicationResourceDescription: Models.ApplicationResourceDescription, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, applicationResourceName: string, applicationResourceDescription: Models.ApplicationResourceDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, applicationResourceName: string, applicationResourceDescription: Models.ApplicationResourceDescription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, - applicationName, + applicationResourceName, applicationResourceDescription, options }, @@ -69,33 +66,33 @@ export class Application { } /** - * Gets the information about the application resource with a given name. The information includes - * the information about the application's services and other runtime properties. - * @summary Gets the application resource. + * Gets the information about the application resource with the given name. The information include + * the description and other properties of the application. + * @summary Gets the application resource with the given name. * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. + * @param applicationResourceName The identity of the application. * @param [options] The optional parameters * @returns Promise */ - get(resourceGroupName: string, applicationName: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, applicationResourceName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. + * @param applicationResourceName The identity of the application. * @param callback The callback */ - get(resourceGroupName: string, applicationName: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, applicationResourceName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. + * @param applicationResourceName The identity of the application. * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, applicationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, applicationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, applicationResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, applicationResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, - applicationName, + applicationResourceName, options }, getOperationSpec, @@ -106,29 +103,29 @@ export class Application { * Deletes the application resource identified by the name. * @summary Deletes the application resource. * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. + * @param applicationResourceName The identity of the application. * @param [options] The optional parameters * @returns Promise */ - deleteMethod(resourceGroupName: string, applicationName: string, options?: msRest.RequestOptionsBase): Promise; + deleteMethod(resourceGroupName: string, applicationResourceName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. + * @param applicationResourceName The identity of the application. * @param callback The callback */ - deleteMethod(resourceGroupName: string, applicationName: string, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, applicationResourceName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. + * @param applicationResourceName The identity of the application. * @param options The optional parameters * @param callback The callback */ - deleteMethod(resourceGroupName: string, applicationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, applicationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, applicationResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, applicationResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, - applicationName, + applicationResourceName, options }, deleteMethodOperationSpec, @@ -137,7 +134,7 @@ export class Application { /** * Gets the information about all application resources in a given resource group. The information - * includes the information about the application's services and other runtime properties. + * include the description and other properties of the Application. * @summary Gets all the application resources in a given resource group. * @param resourceGroupName Azure resource group name * @param [options] The optional parameters @@ -155,7 +152,7 @@ export class Application { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -166,8 +163,8 @@ export class Application { } /** - * Gets the information about all application resources in a given subscription. The information - * includes the information about the application's services and other runtime properties. + * Gets the information about all application resources in a given resource group. The information + * include the description and other properties of the application. * @summary Gets all the application resources in a given subscription. * @param [options] The optional parameters * @returns Promise @@ -182,7 +179,7 @@ export class Application { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -193,7 +190,7 @@ export class Application { /** * Gets the information about all application resources in a given resource group. The information - * includes the information about the application's services and other runtime properties. + * include the description and other properties of the Application. * @summary Gets all the application resources in a given resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -211,7 +208,7 @@ export class Application { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -222,8 +219,8 @@ export class Application { } /** - * Gets the information about all application resources in a given subscription. The information - * includes the information about the application's services and other runtime properties. + * Gets the information about all application resources in a given resource group. The information + * include the description and other properties of the application. * @summary Gets all the application resources in a given subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -241,7 +238,7 @@ export class Application { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -256,11 +253,11 @@ export class Application { const serializer = new msRest.Serializer(Mappers); const createOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.applicationName + Parameters.applicationResourceName ], queryParameters: [ Parameters.apiVersion @@ -282,6 +279,7 @@ const createOperationSpec: msRest.OperationSpec = { 201: { bodyMapper: Mappers.ApplicationResourceDescription }, + 202: {}, default: { bodyMapper: Mappers.ErrorModel } @@ -291,11 +289,11 @@ const createOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.applicationName + Parameters.applicationResourceName ], queryParameters: [ Parameters.apiVersion @@ -316,11 +314,11 @@ const getOperationSpec: msRest.OperationSpec = { const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.applicationName + Parameters.applicationResourceName ], queryParameters: [ Parameters.apiVersion @@ -330,6 +328,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { ], responses: { 200: {}, + 202: {}, 204: {}, default: { bodyMapper: Mappers.ErrorModel diff --git a/packages/@azure/arm-servicefabricmesh/lib/operations/codePackage.ts b/packages/@azure/arm-servicefabricmesh/lib/operations/codePackage.ts index d284116dd1f8..88a70aea520d 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/operations/codePackage.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/operations/codePackage.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/codePackageMappers"; import * as Parameters from "../models/parameters"; @@ -27,61 +27,61 @@ export class CodePackage { } /** - * Get the logs for the container of a given code package of an application. - * @summary Gets the logs for the container. + * Gets the logs for the container of the specified code package of the service replica. + * @summary Gets the logs from the container. * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param serviceName The identity of the service. - * @param replicaName The identity of the service replica. - * @param codePackageName The name of the code package. + * @param applicationResourceName The identity of the application. + * @param serviceResourceName The identity of the service. + * @param replicaName Service Fabric replica name. + * @param codePackageName The name of code package of the service. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - getContainerLog(resourceGroupName: string, applicationName: string, serviceName: string, replicaName: string, codePackageName: string, options?: Models.CodePackageGetContainerLogOptionalParams): Promise; + getContainerLogs(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, codePackageName: string, options?: Models.CodePackageGetContainerLogsOptionalParams): Promise; /** * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param serviceName The identity of the service. - * @param replicaName The identity of the service replica. - * @param codePackageName The name of the code package. + * @param applicationResourceName The identity of the application. + * @param serviceResourceName The identity of the service. + * @param replicaName Service Fabric replica name. + * @param codePackageName The name of code package of the service. * @param callback The callback */ - getContainerLog(resourceGroupName: string, applicationName: string, serviceName: string, replicaName: string, codePackageName: string, callback: msRest.ServiceCallback): void; + getContainerLogs(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, codePackageName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param serviceName The identity of the service. - * @param replicaName The identity of the service replica. - * @param codePackageName The name of the code package. + * @param applicationResourceName The identity of the application. + * @param serviceResourceName The identity of the service. + * @param replicaName Service Fabric replica name. + * @param codePackageName The name of code package of the service. * @param options The optional parameters * @param callback The callback */ - getContainerLog(resourceGroupName: string, applicationName: string, serviceName: string, replicaName: string, codePackageName: string, options: Models.CodePackageGetContainerLogOptionalParams, callback: msRest.ServiceCallback): void; - getContainerLog(resourceGroupName: string, applicationName: string, serviceName: string, replicaName: string, codePackageName: string, options?: Models.CodePackageGetContainerLogOptionalParams, callback?: msRest.ServiceCallback): Promise { + getContainerLogs(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, codePackageName: string, options: Models.CodePackageGetContainerLogsOptionalParams, callback: msRest.ServiceCallback): void; + getContainerLogs(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, codePackageName: string, options?: Models.CodePackageGetContainerLogsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, - applicationName, - serviceName, + applicationResourceName, + serviceResourceName, replicaName, codePackageName, options }, - getContainerLogOperationSpec, - callback) as Promise; + getContainerLogsOperationSpec, + callback) as Promise; } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); -const getContainerLogOperationSpec: msRest.OperationSpec = { +const getContainerLogsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationName}/services/{serviceName}/replicas/{replicaName}/codePackages/{codePackageName}/logs", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}/services/{serviceResourceName}/replicas/{replicaName}/codePackages/{codePackageName}/logs", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.applicationName, - Parameters.serviceName, + Parameters.applicationResourceName, + Parameters.serviceResourceName, Parameters.replicaName, Parameters.codePackageName ], diff --git a/packages/@azure/arm-servicefabricmesh/lib/operations/gateway.ts b/packages/@azure/arm-servicefabricmesh/lib/operations/gateway.ts new file mode 100644 index 000000000000..ac874d4eb3c7 --- /dev/null +++ b/packages/@azure/arm-servicefabricmesh/lib/operations/gateway.ts @@ -0,0 +1,428 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/gatewayMappers"; +import * as Parameters from "../models/parameters"; +import { ServiceFabricMeshManagementClientContext } from "../serviceFabricMeshManagementClientContext"; + +/** Class representing a Gateway. */ +export class Gateway { + private readonly client: ServiceFabricMeshManagementClientContext; + + /** + * Create a Gateway. + * @param {ServiceFabricMeshManagementClientContext} client Reference to the service client. + */ + constructor(client: ServiceFabricMeshManagementClientContext) { + this.client = client; + } + + /** + * Creates a gateway resource with the specified name, description and properties. If a gateway + * resource with the same name exists, then it is updated with the specified description and + * properties. Use gateway resources to create a gateway for public connectivity for services + * within your application. + * @summary Creates or updates a gateway resource. + * @param resourceGroupName Azure resource group name + * @param gatewayResourceName The identity of the gateway. + * @param gatewayResourceDescription Description for creating a Gateway resource. + * @param [options] The optional parameters + * @returns Promise + */ + create(resourceGroupName: string, gatewayResourceName: string, gatewayResourceDescription: Models.GatewayResourceDescription, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param gatewayResourceName The identity of the gateway. + * @param gatewayResourceDescription Description for creating a Gateway resource. + * @param callback The callback + */ + create(resourceGroupName: string, gatewayResourceName: string, gatewayResourceDescription: Models.GatewayResourceDescription, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param gatewayResourceName The identity of the gateway. + * @param gatewayResourceDescription Description for creating a Gateway resource. + * @param options The optional parameters + * @param callback The callback + */ + create(resourceGroupName: string, gatewayResourceName: string, gatewayResourceDescription: Models.GatewayResourceDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, gatewayResourceName: string, gatewayResourceDescription: Models.GatewayResourceDescription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + gatewayResourceName, + gatewayResourceDescription, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Gets the information about the gateway resource with the given name. The information include the + * description and other properties of the gateway. + * @summary Gets the gateway resource with the given name. + * @param resourceGroupName Azure resource group name + * @param gatewayResourceName The identity of the gateway. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, gatewayResourceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param gatewayResourceName The identity of the gateway. + * @param callback The callback + */ + get(resourceGroupName: string, gatewayResourceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param gatewayResourceName The identity of the gateway. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, gatewayResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, gatewayResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + gatewayResourceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Deletes the gateway resource identified by the name. + * @summary Deletes the gateway resource. + * @param resourceGroupName Azure resource group name + * @param gatewayResourceName The identity of the gateway. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, gatewayResourceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param gatewayResourceName The identity of the gateway. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, gatewayResourceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param gatewayResourceName The identity of the gateway. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, gatewayResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, gatewayResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + gatewayResourceName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Gets the information about all gateway resources in a given resource group. The information + * include the description and other properties of the Gateway. + * @summary Gets all the gateway resources in a given resource group. + * @param resourceGroupName Azure resource group name + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Gets the information about all gateway resources in a given resource group. The information + * include the description and other properties of the gateway. + * @summary Gets all the gateway resources in a given subscription. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Gets the information about all gateway resources in a given resource group. The information + * include the description and other properties of the Gateway. + * @summary Gets all the gateway resources in a given resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } + + /** + * Gets the information about all gateway resources in a given resource group. The information + * include the description and other properties of the gateway. + * @summary Gets all the gateway resources in a given subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.gatewayResourceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "gatewayResourceDescription", + mapper: { + ...Mappers.GatewayResourceDescription, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.GatewayResourceDescription + }, + 201: { + bodyMapper: Mappers.GatewayResourceDescription + }, + 202: {}, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.gatewayResourceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.GatewayResourceDescription + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.gatewayResourceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.GatewayResourceDescriptionList + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/gateways", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.GatewayResourceDescriptionList + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.GatewayResourceDescriptionList + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.GatewayResourceDescriptionList + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; diff --git a/packages/@azure/arm-servicefabricmesh/lib/operations/index.ts b/packages/@azure/arm-servicefabricmesh/lib/operations/index.ts index 9453eb383b24..1a2c974d3ca3 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/operations/index.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/operations/index.ts @@ -8,10 +8,13 @@ * regenerated. */ +export * from "./operations"; +export * from "./secret"; +export * from "./secretValueOperations"; +export * from "./volume"; +export * from "./network"; +export * from "./gateway"; export * from "./application"; export * from "./service"; -export * from "./replica"; +export * from "./serviceReplica"; export * from "./codePackage"; -export * from "./operations"; -export * from "./network"; -export * from "./volume"; diff --git a/packages/@azure/arm-servicefabricmesh/lib/operations/network.ts b/packages/@azure/arm-servicefabricmesh/lib/operations/network.ts index be5c48b28c78..dd3ca893982b 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/operations/network.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/operations/network.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/networkMappers"; import * as Parameters from "../models/parameters"; @@ -27,40 +27,37 @@ export class Network { } /** - * Creates a network resource with the specified name and description. If a network with the same - * name already exists, then its description is updated to the one indicated in this request. - * - * Use network resources to create private network and configure public connectivity for services - * within your application. - * + * Creates a network resource with the specified name, description and properties. If a network + * resource with the same name exists, then it is updated with the specified description and + * properties. * @summary Creates or updates a network resource. * @param resourceGroupName Azure resource group name - * @param networkName The identity of the network. - * @param networkResourceDescription Description for creating a network resource. + * @param networkResourceName The identity of the network. + * @param networkResourceDescription Description for creating a Network resource. * @param [options] The optional parameters * @returns Promise */ - create(resourceGroupName: string, networkName: string, networkResourceDescription: Models.NetworkResourceDescription, options?: msRest.RequestOptionsBase): Promise; + create(resourceGroupName: string, networkResourceName: string, networkResourceDescription: Models.NetworkResourceDescription, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Azure resource group name - * @param networkName The identity of the network. - * @param networkResourceDescription Description for creating a network resource. + * @param networkResourceName The identity of the network. + * @param networkResourceDescription Description for creating a Network resource. * @param callback The callback */ - create(resourceGroupName: string, networkName: string, networkResourceDescription: Models.NetworkResourceDescription, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, networkResourceName: string, networkResourceDescription: Models.NetworkResourceDescription, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Azure resource group name - * @param networkName The identity of the network. - * @param networkResourceDescription Description for creating a network resource. + * @param networkResourceName The identity of the network. + * @param networkResourceDescription Description for creating a Network resource. * @param options The optional parameters * @param callback The callback */ - create(resourceGroupName: string, networkName: string, networkResourceDescription: Models.NetworkResourceDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, networkName: string, networkResourceDescription: Models.NetworkResourceDescription, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, networkResourceName: string, networkResourceDescription: Models.NetworkResourceDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, networkResourceName: string, networkResourceDescription: Models.NetworkResourceDescription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, - networkName, + networkResourceName, networkResourceDescription, options }, @@ -69,34 +66,33 @@ export class Network { } /** - * Gets the information about the network resource with a given name. This information includes the - * network description and other runtime information. - * - * @summary Gets the network resource. + * Gets the information about the network resource with the given name. The information include the + * description and other properties of the network. + * @summary Gets the network resource with the given name. * @param resourceGroupName Azure resource group name - * @param networkName The identity of the network. + * @param networkResourceName The identity of the network. * @param [options] The optional parameters * @returns Promise */ - get(resourceGroupName: string, networkName: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, networkResourceName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Azure resource group name - * @param networkName The identity of the network. + * @param networkResourceName The identity of the network. * @param callback The callback */ - get(resourceGroupName: string, networkName: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, networkResourceName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Azure resource group name - * @param networkName The identity of the network. + * @param networkResourceName The identity of the network. * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, networkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, networkName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, networkResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, networkResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, - networkName, + networkResourceName, options }, getOperationSpec, @@ -107,29 +103,29 @@ export class Network { * Deletes the network resource identified by the name. * @summary Deletes the network resource. * @param resourceGroupName Azure resource group name - * @param networkName The identity of the network. + * @param networkResourceName The identity of the network. * @param [options] The optional parameters * @returns Promise */ - deleteMethod(resourceGroupName: string, networkName: string, options?: msRest.RequestOptionsBase): Promise; + deleteMethod(resourceGroupName: string, networkResourceName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Azure resource group name - * @param networkName The identity of the network. + * @param networkResourceName The identity of the network. * @param callback The callback */ - deleteMethod(resourceGroupName: string, networkName: string, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, networkResourceName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Azure resource group name - * @param networkName The identity of the network. + * @param networkResourceName The identity of the network. * @param options The optional parameters * @param callback The callback */ - deleteMethod(resourceGroupName: string, networkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, networkName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, networkResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, networkResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, - networkName, + networkResourceName, options }, deleteMethodOperationSpec, @@ -138,8 +134,7 @@ export class Network { /** * Gets the information about all network resources in a given resource group. The information - * includes the network description and other runtime properties. - * + * include the description and other properties of the Network. * @summary Gets all the network resources in a given resource group. * @param resourceGroupName Azure resource group name * @param [options] The optional parameters @@ -157,7 +152,7 @@ export class Network { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -168,8 +163,8 @@ export class Network { } /** - * Gets the information about all network resources in a given subscription. The information - * includes the network description and other runtime properties. + * Gets the information about all network resources in a given resource group. The information + * include the description and other properties of the network. * @summary Gets all the network resources in a given subscription. * @param [options] The optional parameters * @returns Promise @@ -184,7 +179,7 @@ export class Network { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -195,8 +190,7 @@ export class Network { /** * Gets the information about all network resources in a given resource group. The information - * includes the network description and other runtime properties. - * + * include the description and other properties of the Network. * @summary Gets all the network resources in a given resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -214,7 +208,7 @@ export class Network { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -225,8 +219,8 @@ export class Network { } /** - * Gets the information about all network resources in a given subscription. The information - * includes the network description and other runtime properties. + * Gets the information about all network resources in a given resource group. The information + * include the description and other properties of the network. * @summary Gets all the network resources in a given subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -244,7 +238,7 @@ export class Network { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -259,11 +253,11 @@ export class Network { const serializer = new msRest.Serializer(Mappers); const createOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks/{networkName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks/{networkResourceName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.networkName + Parameters.networkResourceName ], queryParameters: [ Parameters.apiVersion @@ -285,6 +279,7 @@ const createOperationSpec: msRest.OperationSpec = { 201: { bodyMapper: Mappers.NetworkResourceDescription }, + 202: {}, default: { bodyMapper: Mappers.ErrorModel } @@ -294,11 +289,11 @@ const createOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks/{networkName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks/{networkResourceName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.networkName + Parameters.networkResourceName ], queryParameters: [ Parameters.apiVersion @@ -319,11 +314,11 @@ const getOperationSpec: msRest.OperationSpec = { const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks/{networkName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks/{networkResourceName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.networkName + Parameters.networkResourceName ], queryParameters: [ Parameters.apiVersion @@ -333,6 +328,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { ], responses: { 200: {}, + 202: {}, 204: {}, default: { bodyMapper: Mappers.ErrorModel diff --git a/packages/@azure/arm-servicefabricmesh/lib/operations/operations.ts b/packages/@azure/arm-servicefabricmesh/lib/operations/operations.ts index a7058c999310..5302e5124434 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/operations/operations.ts +++ b/packages/@azure/arm-servicefabricmesh/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"; @@ -42,7 +42,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicefabricmesh/lib/operations/replica.ts b/packages/@azure/arm-servicefabricmesh/lib/operations/replica.ts deleted file mode 100644 index 660c8b54cf9f..000000000000 --- a/packages/@azure/arm-servicefabricmesh/lib/operations/replica.ts +++ /dev/null @@ -1,214 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - -import * as msRest from "ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/replicaMappers"; -import * as Parameters from "../models/parameters"; -import { ServiceFabricMeshManagementClientContext } from "../serviceFabricMeshManagementClientContext"; - -/** Class representing a Replica. */ -export class Replica { - private readonly client: ServiceFabricMeshManagementClientContext; - - /** - * Create a Replica. - * @param {ServiceFabricMeshManagementClientContext} client Reference to the service client. - */ - constructor(client: ServiceFabricMeshManagementClientContext) { - this.client = client; - } - - /** - * Gets the information about all replicas of a given service of an application. The information - * includes the runtime properties of the replica instance. - * @summary Gets replicas of a given service. - * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param serviceName The identity of the service. - * @param [options] The optional parameters - * @returns Promise - */ - listByServiceName(resourceGroupName: string, applicationName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param serviceName The identity of the service. - * @param callback The callback - */ - listByServiceName(resourceGroupName: string, applicationName: string, serviceName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param serviceName The identity of the service. - * @param options The optional parameters - * @param callback The callback - */ - listByServiceName(resourceGroupName: string, applicationName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceName(resourceGroupName: string, applicationName: string, serviceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - applicationName, - serviceName, - options - }, - listByServiceNameOperationSpec, - callback) as Promise; - } - - /** - * Gets the information about the specified replica of a given service of an application. The - * information includes the runtime properties of the replica instance. - * @summary Gets a specific replica of a given service. - * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param serviceName The identity of the service. - * @param replicaName The identity of the service replica. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, applicationName: string, serviceName: string, replicaName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param serviceName The identity of the service. - * @param replicaName The identity of the service replica. - * @param callback The callback - */ - get(resourceGroupName: string, applicationName: string, serviceName: string, replicaName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param serviceName The identity of the service. - * @param replicaName The identity of the service replica. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, applicationName: string, serviceName: string, replicaName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, applicationName: string, serviceName: string, replicaName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - applicationName, - serviceName, - replicaName, - options - }, - getOperationSpec, - callback) as Promise; - } - - /** - * Gets the information about all replicas of a given service of an application. The information - * includes the runtime properties of the replica instance. - * @summary Gets replicas of a given service. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByServiceNameNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByServiceNameNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listByServiceNameNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNameNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByServiceNameNextOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listByServiceNameOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationName}/services/{serviceName}/replicas", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.applicationName, - Parameters.serviceName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ServiceReplicaList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationName}/services/{serviceName}/replicas/{replicaName}", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.applicationName, - Parameters.serviceName, - Parameters.replicaName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ServiceReplicaDescription - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listByServiceNameNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ServiceReplicaList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/packages/@azure/arm-servicefabricmesh/lib/operations/secret.ts b/packages/@azure/arm-servicefabricmesh/lib/operations/secret.ts new file mode 100644 index 000000000000..38892e703862 --- /dev/null +++ b/packages/@azure/arm-servicefabricmesh/lib/operations/secret.ts @@ -0,0 +1,427 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/secretMappers"; +import * as Parameters from "../models/parameters"; +import { ServiceFabricMeshManagementClientContext } from "../serviceFabricMeshManagementClientContext"; + +/** Class representing a Secret. */ +export class Secret { + private readonly client: ServiceFabricMeshManagementClientContext; + + /** + * Create a Secret. + * @param {ServiceFabricMeshManagementClientContext} client Reference to the service client. + */ + constructor(client: ServiceFabricMeshManagementClientContext) { + this.client = client; + } + + /** + * Creates a secret resource with the specified name, description and properties. If a secret + * resource with the same name exists, then it is updated with the specified description and + * properties. + * @summary Creates or updates a secret resource. + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretResourceDescription Description for creating a secret resource. + * @param [options] The optional parameters + * @returns Promise + */ + create(resourceGroupName: string, secretResourceName: string, secretResourceDescription: Models.SecretResourceDescription, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretResourceDescription Description for creating a secret resource. + * @param callback The callback + */ + create(resourceGroupName: string, secretResourceName: string, secretResourceDescription: Models.SecretResourceDescription, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretResourceDescription Description for creating a secret resource. + * @param options The optional parameters + * @param callback The callback + */ + create(resourceGroupName: string, secretResourceName: string, secretResourceDescription: Models.SecretResourceDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, secretResourceName: string, secretResourceDescription: Models.SecretResourceDescription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + secretResourceName, + secretResourceDescription, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Gets the information about the secret resource with the given name. The information include the + * description and other properties of the secret. + * @summary Gets the secret resource with the given name. + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, secretResourceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param callback The callback + */ + get(resourceGroupName: string, secretResourceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, secretResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, secretResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + secretResourceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Deletes the secret resource identified by the name. + * @summary Deletes the secret resource. + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, secretResourceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, secretResourceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, secretResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, secretResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + secretResourceName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Gets the information about all secret resources in a given resource group. The information + * include the description and other properties of the Secret. + * @summary Gets all the secret resources in a given resource group. + * @param resourceGroupName Azure resource group name + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Gets the information about all secret resources in a given resource group. The information + * include the description and other properties of the secret. + * @summary Gets all the secret resources in a given subscription. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Gets the information about all secret resources in a given resource group. The information + * include the description and other properties of the Secret. + * @summary Gets all the secret resources in a given resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } + + /** + * Gets the information about all secret resources in a given resource group. The information + * include the description and other properties of the secret. + * @summary Gets all the secret resources in a given subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.secretResourceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "secretResourceDescription", + mapper: { + ...Mappers.SecretResourceDescription, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.SecretResourceDescription + }, + 201: { + bodyMapper: Mappers.SecretResourceDescription + }, + 202: {}, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.secretResourceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecretResourceDescription + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.secretResourceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecretResourceDescriptionList + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/secrets", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecretResourceDescriptionList + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecretResourceDescriptionList + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecretResourceDescriptionList + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; diff --git a/packages/@azure/arm-servicefabricmesh/lib/operations/secretValueOperations.ts b/packages/@azure/arm-servicefabricmesh/lib/operations/secretValueOperations.ts new file mode 100644 index 000000000000..f67862c131f6 --- /dev/null +++ b/packages/@azure/arm-servicefabricmesh/lib/operations/secretValueOperations.ts @@ -0,0 +1,423 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/secretValueOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { ServiceFabricMeshManagementClientContext } from "../serviceFabricMeshManagementClientContext"; + +/** Class representing a SecretValueOperations. */ +export class SecretValueOperations { + private readonly client: ServiceFabricMeshManagementClientContext; + + /** + * Create a SecretValueOperations. + * @param {ServiceFabricMeshManagementClientContext} client Reference to the service client. + */ + constructor(client: ServiceFabricMeshManagementClientContext) { + this.client = client; + } + + /** + * Creates a new value of the specified secret resource. The name of the value is typically the + * version identifier. Once created the value cannot be changed. + * @summary Adds the specified value as a new version of the specified secret resource. + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretValueResourceName The name of the secret resource value which is typically the + * version identifier for the value. + * @param secretValueResourceDescription Description for creating a value of a secret resource. + * @param [options] The optional parameters + * @returns Promise + */ + create(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, secretValueResourceDescription: Models.SecretValueResourceDescription, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretValueResourceName The name of the secret resource value which is typically the + * version identifier for the value. + * @param secretValueResourceDescription Description for creating a value of a secret resource. + * @param callback The callback + */ + create(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, secretValueResourceDescription: Models.SecretValueResourceDescription, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretValueResourceName The name of the secret resource value which is typically the + * version identifier for the value. + * @param secretValueResourceDescription Description for creating a value of a secret resource. + * @param options The optional parameters + * @param callback The callback + */ + create(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, secretValueResourceDescription: Models.SecretValueResourceDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, secretValueResourceDescription: Models.SecretValueResourceDescription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + secretResourceName, + secretValueResourceName, + secretValueResourceDescription, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Get the information about the specified named secret value resources. The information does not + * include the actual value of the secret. + * @summary Gets the specified secret value resource. + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretValueResourceName The name of the secret resource value which is typically the + * version identifier for the value. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretValueResourceName The name of the secret resource value which is typically the + * version identifier for the value. + * @param callback The callback + */ + get(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretValueResourceName The name of the secret resource value which is typically the + * version identifier for the value. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + secretResourceName, + secretValueResourceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Deletes the secret value resource identified by the name. The name of the resource is typically + * the version associated with that value. Deletion will fail if the specified value is in use. + * @summary Deletes the specified value of the named secret resource. + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretValueResourceName The name of the secret resource value which is typically the + * version identifier for the value. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretValueResourceName The name of the secret resource value which is typically the + * version identifier for the value. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretValueResourceName The name of the secret resource value which is typically the + * version identifier for the value. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + secretResourceName, + secretValueResourceName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Gets information about all secret value resources of the specified secret resource. The + * information includes the names of the secret value resources, but not the actual values. + * @summary List names of all values of the the specified secret resource. + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, secretResourceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param callback The callback + */ + list(resourceGroupName: string, secretResourceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, secretResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, secretResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + secretResourceName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Lists the decrypted value of the specified named value of the secret resource. This is a + * privileged operation. + * @summary Lists the specified value of the secret resource. + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretValueResourceName The name of the secret resource value which is typically the + * version identifier for the value. + * @param [options] The optional parameters + * @returns Promise + */ + listValue(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretValueResourceName The name of the secret resource value which is typically the + * version identifier for the value. + * @param callback The callback + */ + listValue(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param secretResourceName The name of the secret resource. + * @param secretValueResourceName The name of the secret resource value which is typically the + * version identifier for the value. + * @param options The optional parameters + * @param callback The callback + */ + listValue(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listValue(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + secretResourceName, + secretValueResourceName, + options + }, + listValueOperationSpec, + callback) as Promise; + } + + /** + * Gets information about all secret value resources of the specified secret resource. The + * information includes the names of the secret value resources, but not the actual values. + * @summary List names of all values of the the specified secret resource. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.secretResourceName, + Parameters.secretValueResourceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "secretValueResourceDescription", + mapper: { + ...Mappers.SecretValueResourceDescription, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.SecretValueResourceDescription + }, + 201: { + bodyMapper: Mappers.SecretValueResourceDescription + }, + 202: {}, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.secretResourceName, + Parameters.secretValueResourceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecretValueResourceDescription + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.secretResourceName, + Parameters.secretValueResourceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.secretResourceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecretValueResourceDescriptionList + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listValueOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}/list_value", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.secretResourceName, + Parameters.secretValueResourceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecretValue + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecretValueResourceDescriptionList + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; diff --git a/packages/@azure/arm-servicefabricmesh/lib/operations/service.ts b/packages/@azure/arm-servicefabricmesh/lib/operations/service.ts index a70be308d6a3..f672ecb49814 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/operations/service.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/operations/service.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/serviceMappers"; import * as Parameters from "../models/parameters"; @@ -27,116 +27,118 @@ export class Service { } /** - * Gets the information about all services of a given service of an application. The information - * includes the runtime properties of the service instance. - * @summary Gets services of a given application. + * Gets the information about the service resource with the given name. The information include the + * description and other properties of the service. + * @summary Gets the service resource with the given name. * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. + * @param applicationResourceName The identity of the application. + * @param serviceResourceName The identity of the service. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByApplicationName(resourceGroupName: string, applicationName: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. + * @param applicationResourceName The identity of the application. + * @param serviceResourceName The identity of the service. * @param callback The callback */ - listByApplicationName(resourceGroupName: string, applicationName: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. + * @param applicationResourceName The identity of the application. + * @param serviceResourceName The identity of the service. * @param options The optional parameters * @param callback The callback */ - listByApplicationName(resourceGroupName: string, applicationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByApplicationName(resourceGroupName: string, applicationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, - applicationName, + applicationResourceName, + serviceResourceName, options }, - listByApplicationNameOperationSpec, - callback) as Promise; + getOperationSpec, + callback) as Promise; } /** - * The operation returns the properties of the service. - * @summary Gets the properties of the service. + * Gets the information about all services of an application resource. The information include the + * description and other properties of the Service. + * @summary Lists all the service resources. * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param serviceName The identity of the service. + * @param applicationResourceName The identity of the application. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - get(resourceGroupName: string, applicationName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + list(resourceGroupName: string, applicationResourceName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param serviceName The identity of the service. + * @param applicationResourceName The identity of the application. * @param callback The callback */ - get(resourceGroupName: string, applicationName: string, serviceName: string, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, applicationResourceName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Azure resource group name - * @param applicationName The identity of the application. - * @param serviceName The identity of the service. + * @param applicationResourceName The identity of the application. * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, applicationName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, applicationName: string, serviceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, applicationResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, applicationResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, - applicationName, - serviceName, + applicationResourceName, options }, - getOperationSpec, - callback) as Promise; + listOperationSpec, + callback) as Promise; } /** - * Gets the information about all services of a given service of an application. The information - * includes the runtime properties of the service instance. - * @summary Gets services of a given application. + * Gets the information about all services of an application resource. The information include the + * description and other properties of the Service. + * @summary Lists all the service resources. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByApplicationNameNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listByApplicationNameNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listByApplicationNameNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByApplicationNameNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listByApplicationNameNextOperationSpec, - callback) as Promise; + listNextOperationSpec, + callback) as Promise; } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); -const listByApplicationNameOperationSpec: msRest.OperationSpec = { +const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationName}/services", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}/services/{serviceResourceName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.applicationName + Parameters.applicationResourceName, + Parameters.serviceResourceName ], queryParameters: [ Parameters.apiVersion @@ -146,23 +148,22 @@ const listByApplicationNameOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.ServiceList + bodyMapper: Mappers.ServiceResourceDescription }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorModel } }, serializer }; -const getOperationSpec: msRest.OperationSpec = { +const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationName}/services/{serviceName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}/services", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.applicationName, - Parameters.serviceName + Parameters.applicationResourceName ], queryParameters: [ Parameters.apiVersion @@ -172,16 +173,16 @@ const getOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.ServiceResourceDescription + bodyMapper: Mappers.ServiceResourceDescriptionList }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorModel } }, serializer }; -const listByApplicationNameNextOperationSpec: msRest.OperationSpec = { +const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", @@ -193,10 +194,10 @@ const listByApplicationNameNextOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.ServiceList + bodyMapper: Mappers.ServiceResourceDescriptionList }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorModel } }, serializer diff --git a/packages/@azure/arm-servicefabricmesh/lib/operations/serviceReplica.ts b/packages/@azure/arm-servicefabricmesh/lib/operations/serviceReplica.ts new file mode 100644 index 000000000000..0593e6567886 --- /dev/null +++ b/packages/@azure/arm-servicefabricmesh/lib/operations/serviceReplica.ts @@ -0,0 +1,214 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/serviceReplicaMappers"; +import * as Parameters from "../models/parameters"; +import { ServiceFabricMeshManagementClientContext } from "../serviceFabricMeshManagementClientContext"; + +/** Class representing a ServiceReplica. */ +export class ServiceReplica { + private readonly client: ServiceFabricMeshManagementClientContext; + + /** + * Create a ServiceReplica. + * @param {ServiceFabricMeshManagementClientContext} client Reference to the service client. + */ + constructor(client: ServiceFabricMeshManagementClientContext) { + this.client = client; + } + + /** + * Gets the information about the service replica with the given name. The information include the + * description and other properties of the service replica. + * @summary Gets the given replica of the service of an application. + * @param resourceGroupName Azure resource group name + * @param applicationResourceName The identity of the application. + * @param serviceResourceName The identity of the service. + * @param replicaName Service Fabric replica name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param applicationResourceName The identity of the application. + * @param serviceResourceName The identity of the service. + * @param replicaName Service Fabric replica name. + * @param callback The callback + */ + get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param applicationResourceName The identity of the application. + * @param serviceResourceName The identity of the service. + * @param replicaName Service Fabric replica name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + applicationResourceName, + serviceResourceName, + replicaName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Gets the information about all replicas of a given service of an application. The information + * includes the runtime properties of the replica instance. + * @summary Gets replicas of a given service. + * @param resourceGroupName Azure resource group name + * @param applicationResourceName The identity of the application. + * @param serviceResourceName The identity of the service. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Azure resource group name + * @param applicationResourceName The identity of the application. + * @param serviceResourceName The identity of the service. + * @param callback The callback + */ + list(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Azure resource group name + * @param applicationResourceName The identity of the application. + * @param serviceResourceName The identity of the service. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + applicationResourceName, + serviceResourceName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets the information about all replicas of a given service of an application. The information + * includes the runtime properties of the replica instance. + * @summary Gets replicas of a given service. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}/services/{serviceResourceName}/replicas/{replicaName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.applicationResourceName, + Parameters.serviceResourceName, + Parameters.replicaName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServiceReplicaDescription + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}/services/{serviceResourceName}/replicas", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.applicationResourceName, + Parameters.serviceResourceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServiceReplicaDescriptionList + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServiceReplicaDescriptionList + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; diff --git a/packages/@azure/arm-servicefabricmesh/lib/operations/volume.ts b/packages/@azure/arm-servicefabricmesh/lib/operations/volume.ts index 30d6e3c7b3f6..ed6dbe246ba8 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/operations/volume.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/operations/volume.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/volumeMappers"; import * as Parameters from "../models/parameters"; @@ -27,37 +27,37 @@ export class Volume { } /** - * Creates a volume resource with the specified name and description. If a volume with the same - * name already exists, then its description is updated to the one indicated in this request. - * + * Creates a volume resource with the specified name, description and properties. If a volume + * resource with the same name exists, then it is updated with the specified description and + * properties. * @summary Creates or updates a volume resource. * @param resourceGroupName Azure resource group name - * @param volumeName The identity of the volume. - * @param volumeResourceDescription Description for creating a volume resource. + * @param volumeResourceName The identity of the volume. + * @param volumeResourceDescription Description for creating a Volume resource. * @param [options] The optional parameters * @returns Promise */ - create(resourceGroupName: string, volumeName: string, volumeResourceDescription: Models.VolumeResourceDescription, options?: msRest.RequestOptionsBase): Promise; + create(resourceGroupName: string, volumeResourceName: string, volumeResourceDescription: Models.VolumeResourceDescription, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Azure resource group name - * @param volumeName The identity of the volume. - * @param volumeResourceDescription Description for creating a volume resource. + * @param volumeResourceName The identity of the volume. + * @param volumeResourceDescription Description for creating a Volume resource. * @param callback The callback */ - create(resourceGroupName: string, volumeName: string, volumeResourceDescription: Models.VolumeResourceDescription, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, volumeResourceName: string, volumeResourceDescription: Models.VolumeResourceDescription, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Azure resource group name - * @param volumeName The identity of the volume. - * @param volumeResourceDescription Description for creating a volume resource. + * @param volumeResourceName The identity of the volume. + * @param volumeResourceDescription Description for creating a Volume resource. * @param options The optional parameters * @param callback The callback */ - create(resourceGroupName: string, volumeName: string, volumeResourceDescription: Models.VolumeResourceDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, volumeName: string, volumeResourceDescription: Models.VolumeResourceDescription, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, volumeResourceName: string, volumeResourceDescription: Models.VolumeResourceDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, volumeResourceName: string, volumeResourceDescription: Models.VolumeResourceDescription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, - volumeName, + volumeResourceName, volumeResourceDescription, options }, @@ -66,34 +66,33 @@ export class Volume { } /** - * Gets the information about the volume resource with a given name. This information includes the - * volume description and other runtime information. - * - * @summary Gets the volume resource. + * Gets the information about the volume resource with the given name. The information include the + * description and other properties of the volume. + * @summary Gets the volume resource with the given name. * @param resourceGroupName Azure resource group name - * @param volumeName The identity of the volume. + * @param volumeResourceName The identity of the volume. * @param [options] The optional parameters * @returns Promise */ - get(resourceGroupName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, volumeResourceName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Azure resource group name - * @param volumeName The identity of the volume. + * @param volumeResourceName The identity of the volume. * @param callback The callback */ - get(resourceGroupName: string, volumeName: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, volumeResourceName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Azure resource group name - * @param volumeName The identity of the volume. + * @param volumeResourceName The identity of the volume. * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, volumeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, volumeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, volumeResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, volumeResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, - volumeName, + volumeResourceName, options }, getOperationSpec, @@ -101,32 +100,32 @@ export class Volume { } /** - * Deletes the volume identified by the name. + * Deletes the volume resource identified by the name. * @summary Deletes the volume resource. * @param resourceGroupName Azure resource group name - * @param volumeName The identity of the volume. + * @param volumeResourceName The identity of the volume. * @param [options] The optional parameters * @returns Promise */ - deleteMethod(resourceGroupName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise; + deleteMethod(resourceGroupName: string, volumeResourceName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Azure resource group name - * @param volumeName The identity of the volume. + * @param volumeResourceName The identity of the volume. * @param callback The callback */ - deleteMethod(resourceGroupName: string, volumeName: string, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, volumeResourceName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Azure resource group name - * @param volumeName The identity of the volume. + * @param volumeResourceName The identity of the volume. * @param options The optional parameters * @param callback The callback */ - deleteMethod(resourceGroupName: string, volumeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, volumeName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, volumeResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, volumeResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, - volumeName, + volumeResourceName, options }, deleteMethodOperationSpec, @@ -135,8 +134,7 @@ export class Volume { /** * Gets the information about all volume resources in a given resource group. The information - * includes the volume description and other runtime information. - * + * include the description and other properties of the Volume. * @summary Gets all the volume resources in a given resource group. * @param resourceGroupName Azure resource group name * @param [options] The optional parameters @@ -154,7 +152,7 @@ export class Volume { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -165,9 +163,8 @@ export class Volume { } /** - * Gets the information about all volume resources in a given subscription. The information - * includes the volume description and other runtime information. - * + * Gets the information about all volume resources in a given resource group. The information + * include the description and other properties of the volume. * @summary Gets all the volume resources in a given subscription. * @param [options] The optional parameters * @returns Promise @@ -182,7 +179,7 @@ export class Volume { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -193,8 +190,7 @@ export class Volume { /** * Gets the information about all volume resources in a given resource group. The information - * includes the volume description and other runtime information. - * + * include the description and other properties of the Volume. * @summary Gets all the volume resources in a given resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -212,7 +208,7 @@ export class Volume { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -223,9 +219,8 @@ export class Volume { } /** - * Gets the information about all volume resources in a given subscription. The information - * includes the volume description and other runtime information. - * + * Gets the information about all volume resources in a given resource group. The information + * include the description and other properties of the volume. * @summary Gets all the volume resources in a given subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -243,7 +238,7 @@ export class Volume { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -258,11 +253,11 @@ export class Volume { const serializer = new msRest.Serializer(Mappers); const createOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/volumes/{volumeName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/volumes/{volumeResourceName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.volumeName + Parameters.volumeResourceName ], queryParameters: [ Parameters.apiVersion @@ -284,6 +279,7 @@ const createOperationSpec: msRest.OperationSpec = { 201: { bodyMapper: Mappers.VolumeResourceDescription }, + 202: {}, default: { bodyMapper: Mappers.ErrorModel } @@ -293,11 +289,11 @@ const createOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/volumes/{volumeName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/volumes/{volumeResourceName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.volumeName + Parameters.volumeResourceName ], queryParameters: [ Parameters.apiVersion @@ -318,11 +314,11 @@ const getOperationSpec: msRest.OperationSpec = { const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/volumes/{volumeName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/volumes/{volumeResourceName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.volumeName + Parameters.volumeResourceName ], queryParameters: [ Parameters.apiVersion @@ -332,6 +328,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { ], responses: { 200: {}, + 202: {}, 204: {}, default: { bodyMapper: Mappers.ErrorModel diff --git a/packages/@azure/arm-servicefabricmesh/lib/serviceFabricMeshManagementClient.ts b/packages/@azure/arm-servicefabricmesh/lib/serviceFabricMeshManagementClient.ts index be410c323322..d63849585195 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/serviceFabricMeshManagementClient.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/serviceFabricMeshManagementClient.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"; @@ -17,13 +17,16 @@ import { ServiceFabricMeshManagementClientContext } from "./serviceFabricMeshMan class ServiceFabricMeshManagementClient extends ServiceFabricMeshManagementClientContext { // Operation groups + operations: operations.Operations; + secret: operations.Secret; + secretValue: operations.SecretValueOperations; + volume: operations.Volume; + network: operations.Network; + gateway: operations.Gateway; application: operations.Application; service: operations.Service; - replica: operations.Replica; + serviceReplica: operations.ServiceReplica; codePackage: operations.CodePackage; - operations: operations.Operations; - network: operations.Network; - volume: operations.Volume; /** * Initializes a new instance of the ServiceFabricMeshManagementClient class. @@ -33,13 +36,16 @@ class ServiceFabricMeshManagementClient extends ServiceFabricMeshManagementClien */ constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ServiceFabricMeshManagementClientOptions) { super(credentials, subscriptionId, options); + this.operations = new operations.Operations(this); + this.secret = new operations.Secret(this); + this.secretValue = new operations.SecretValueOperations(this); + this.volume = new operations.Volume(this); + this.network = new operations.Network(this); + this.gateway = new operations.Gateway(this); this.application = new operations.Application(this); this.service = new operations.Service(this); - this.replica = new operations.Replica(this); + this.serviceReplica = new operations.ServiceReplica(this); this.codePackage = new operations.CodePackage(this); - this.operations = new operations.Operations(this); - this.network = new operations.Network(this); - this.volume = new operations.Volume(this); } } diff --git a/packages/@azure/arm-servicefabricmesh/lib/serviceFabricMeshManagementClientContext.ts b/packages/@azure/arm-servicefabricmesh/lib/serviceFabricMeshManagementClientContext.ts index 0f43e743f7b0..2cb5036ab674 100644 --- a/packages/@azure/arm-servicefabricmesh/lib/serviceFabricMeshManagementClientContext.ts +++ b/packages/@azure/arm-servicefabricmesh/lib/serviceFabricMeshManagementClientContext.ts @@ -9,24 +9,17 @@ */ 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-servicefabricmesh"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class ServiceFabricMeshManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - - apiVersion: string; - + apiVersion?: string; subscriptionId: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the ServiceFabricMeshManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -44,9 +37,14 @@ export class ServiceFabricMeshManagementClientContext extends msRestAzure.AzureS if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); - this.apiVersion = '2018-07-01-preview'; + this.apiVersion = '2018-09-01-preview'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; @@ -54,7 +52,6 @@ export class ServiceFabricMeshManagementClientContext extends msRestAzure.AzureS this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-servicefabricmesh/package.json b/packages/@azure/arm-servicefabricmesh/package.json index 2215fe7647ef..171659c14ece 100644 --- a/packages/@azure/arm-servicefabricmesh/package.json +++ b/packages/@azure/arm-servicefabricmesh/package.json @@ -4,8 +4,8 @@ "description": "ServiceFabricMeshManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-servicefabricmesh.js.map'\" -o ./dist/arm-servicefabricmesh.min.js ./dist/arm-servicefabricmesh.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-servicefabricmesh/rollup.config.js b/packages/@azure/arm-servicefabricmesh/rollup.config.js index 19a418d9fe01..1cf206c99b54 100644 --- a/packages/@azure/arm-servicefabricmesh/rollup.config.js +++ b/packages/@azure/arm-servicefabricmesh/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/serviceFabricMeshManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-servicefabricmesh.js", format: "umd", name: "Azure.ArmServicefabricmesh", 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-servicefabricmesh/tsconfig.json b/packages/@azure/arm-servicefabricmesh/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-servicefabricmesh/tsconfig.json +++ b/packages/@azure/arm-servicefabricmesh/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-servicemap/.npmignore b/packages/@azure/arm-servicemap/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-servicemap/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-servicemap/README.md b/packages/@azure/arm-servicemap/README.md index 8c35df79ca6a..2c2937a215fb 100644 --- a/packages/@azure/arm-servicemap/README.md +++ b/packages/@azure/arm-servicemap/README.md @@ -1,24 +1,34 @@ -# Azure ServicemapManagementClient SDK for JavaScript +## Azure ServicemapManagementClient SDK for JavaScript + This package contains an isomorphic SDK for ServicemapManagementClient. -## 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-servicemap ``` +### How to use + +#### nodejs - Authentication, client creation and listByWorkspace machines as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and listByWorkspace machines as an example written in TypeScript. +##### Sample code ```ts -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 { ServicemapManagementClient, ServicemapManagementModels, ServicemapManagementMappers } from "@azure/arm-servicemap"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -40,7 +50,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and listByWorkspace machines as an example written in JavaScript. +#### browser - Authentication, client creation and listByWorkspace machines as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -49,11 +68,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-servicemap 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-servicemap/lib/models/index.ts b/packages/@azure/arm-servicemap/lib/models/index.ts index f8aeb5de1a32..ce2d81fb3109 100644 --- a/packages/@azure/arm-servicemap/lib/models/index.ts +++ b/packages/@azure/arm-servicemap/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -2384,13 +2384,7 @@ export interface ClientGroupMembersCollection extends Array { * @readonly * @enum {string} */ -export enum OperatingSystemFamily { - Unknown = 'unknown', - Windows = 'windows', - Linux = 'linux', - Solaris = 'solaris', - Aix = 'aix', -} +export type OperatingSystemFamily = 'unknown' | 'windows' | 'linux' | 'solaris' | 'aix'; /** * Defines values for MonitoringState. @@ -2398,10 +2392,7 @@ export enum OperatingSystemFamily { * @readonly * @enum {string} */ -export enum MonitoringState { - Monitored = 'monitored', - Discovered = 'discovered', -} +export type MonitoringState = 'monitored' | 'discovered'; /** * Defines values for VirtualizationState. @@ -2409,12 +2400,7 @@ export enum MonitoringState { * @readonly * @enum {string} */ -export enum VirtualizationState { - Unknown = 'unknown', - Physical = 'physical', - Virtual = 'virtual', - Hypervisor = 'hypervisor', -} +export type VirtualizationState = 'unknown' | 'physical' | 'virtual' | 'hypervisor'; /** * Defines values for MachineRebootStatus. @@ -2422,11 +2408,7 @@ export enum VirtualizationState { * @readonly * @enum {string} */ -export enum MachineRebootStatus { - Unknown = 'unknown', - Rebooted = 'rebooted', - NotRebooted = 'notRebooted', -} +export type MachineRebootStatus = 'unknown' | 'rebooted' | 'notRebooted'; /** * Defines values for Accuracy. @@ -2434,10 +2416,7 @@ export enum MachineRebootStatus { * @readonly * @enum {string} */ -export enum Accuracy { - Actual = 'actual', - Estimated = 'estimated', -} +export type Accuracy = 'actual' | 'estimated'; /** * Defines values for Bitness. @@ -2445,27 +2424,15 @@ export enum Accuracy { * @readonly * @enum {string} */ -export enum Bitness { - ThreeTwobit = '32bit', - SixFourbit = '64bit', -} +export type Bitness = '32bit' | '64bit'; /** * Defines values for VirtualMachineType. - * Possible values include: 'unknown', 'hyperv', 'ldom', 'lpar', 'vmware', - * 'virtualPc', 'xen' + * Possible values include: 'unknown', 'hyperv', 'ldom', 'lpar', 'vmware', 'virtualPc', 'xen' * @readonly * @enum {string} */ -export enum VirtualMachineType { - Unknown = 'unknown', - Hyperv = 'hyperv', - Ldom = 'ldom', - Lpar = 'lpar', - Vmware = 'vmware', - VirtualPc = 'virtualPc', - Xen = 'xen', -} +export type VirtualMachineType = 'unknown' | 'hyperv' | 'ldom' | 'lpar' | 'vmware' | 'virtualPc' | 'xen'; /** * Defines values for HypervisorType. @@ -2473,50 +2440,23 @@ export enum VirtualMachineType { * @readonly * @enum {string} */ -export enum HypervisorType { - Unknown = 'unknown', - Hyperv = 'hyperv', -} +export type HypervisorType = 'unknown' | 'hyperv'; /** * Defines values for ProcessRole. - * Possible values include: 'webServer', 'appServer', 'databaseServer', - * 'ldapServer', 'smbServer' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProcessRole = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'webServer', 'appServer', 'databaseServer', 'ldapServer', 'smbServer' * @readonly * @enum {string} */ -export enum ProcessRole { - WebServer = 'webServer', - AppServer = 'appServer', - DatabaseServer = 'databaseServer', - LdapServer = 'ldapServer', - SmbServer = 'smbServer', -} +export type ProcessRole = 'webServer' | 'appServer' | 'databaseServer' | 'ldapServer' | 'smbServer'; /** * Defines values for MachineGroupType. - * Possible values include: 'unknown', 'azure-cs', 'azure-sf', 'azure-vmss', - * 'user-static' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MachineGroupType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'unknown', 'azure-cs', 'azure-sf', 'azure-vmss', 'user-static' * @readonly * @enum {string} */ -export enum MachineGroupType { - Unknown = 'unknown', - AzureCs = 'azure-cs', - AzureSf = 'azure-sf', - AzureVmss = 'azure-vmss', - UserStatic = 'user-static', -} +export type MachineGroupType = 'unknown' | 'azure-cs' | 'azure-sf' | 'azure-vmss' | 'user-static'; /** * Defines values for ConnectionFailureState. @@ -2524,11 +2464,7 @@ export enum MachineGroupType { * @readonly * @enum {string} */ -export enum ConnectionFailureState { - Ok = 'ok', - Failed = 'failed', - Mixed = 'mixed', -} +export type ConnectionFailureState = 'ok' | 'failed' | 'mixed'; /** * Defines values for AzureCloudServiceRoleType. @@ -2536,39 +2472,23 @@ export enum ConnectionFailureState { * @readonly * @enum {string} */ -export enum AzureCloudServiceRoleType { - Unknown = 'unknown', - Worker = 'worker', - Web = 'web', -} +export type AzureCloudServiceRoleType = 'unknown' | 'worker' | 'web'; /** * Defines values for Provider. * Possible values include: 'azure' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Provider = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Provider { - Azure = 'azure', -} +export type Provider = 'azure'; /** * Defines values for Provider1. * Possible values include: 'azure' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Provider1 = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Provider1 { - Azure = 'azure', -} +export type Provider1 = 'azure'; /** * Contains response data for the listByWorkspace operation. diff --git a/packages/@azure/arm-servicemap/lib/models/mappers.ts b/packages/@azure/arm-servicemap/lib/models/mappers.ts index f6af21084bb8..62ea9f57137e 100644 --- a/packages/@azure/arm-servicemap/lib/models/mappers.ts +++ b/packages/@azure/arm-servicemap/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -115,8 +115,6 @@ export const ProcessReference: msRest.CompositeMapper = { serializedName: "properties.machine", type: { name: "Composite", - polymorphicDiscriminator: ResourceReference.type.polymorphicDiscriminator, - uberParent: "ResourceReference", className: "MachineReference" } } @@ -138,8 +136,6 @@ export const PortReference: msRest.CompositeMapper = { serializedName: "properties.machine", type: { name: "Composite", - polymorphicDiscriminator: ResourceReference.type.polymorphicDiscriminator, - uberParent: "ResourceReference", className: "MachineReference" } }, @@ -701,11 +697,6 @@ export const Machine: msRest.CompositeMapper = { serializedName: "properties.hosting", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "HostingConfiguration", className: "HostingConfiguration" } } @@ -912,11 +903,6 @@ export const Process: msRest.CompositeMapper = { serializedName: "properties.machine", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "ResourceReference", className: "ResourceReference" } }, @@ -968,11 +954,6 @@ export const Process: msRest.CompositeMapper = { serializedName: "properties.clientOf", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "ResourceReference", className: "ResourceReference" } }, @@ -980,11 +961,6 @@ export const Process: msRest.CompositeMapper = { serializedName: "properties.acceptorOf", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "ResourceReference", className: "ResourceReference" } }, @@ -992,11 +968,6 @@ export const Process: msRest.CompositeMapper = { serializedName: "properties.hosting", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "ProcessHostingConfiguration", className: "ProcessHostingConfiguration" } } @@ -1025,11 +996,6 @@ export const Port: msRest.CompositeMapper = { serializedName: "properties.machine", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "ResourceReference", className: "ResourceReference" } }, @@ -1067,11 +1033,6 @@ export const ClientGroup: msRest.CompositeMapper = { serializedName: "properties.clientsOf", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "ResourceReference", className: "ResourceReference" } } @@ -1096,8 +1057,6 @@ export const ClientGroupMember: msRest.CompositeMapper = { serializedName: "properties.port", type: { name: "Composite", - polymorphicDiscriminator: ResourceReference.type.polymorphicDiscriminator, - uberParent: "ResourceReference", className: "PortReference" } }, @@ -1108,8 +1067,6 @@ export const ClientGroupMember: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResourceReference.type.polymorphicDiscriminator, - uberParent: "ResourceReference", className: "ProcessReference" } } @@ -1156,8 +1113,6 @@ export const MachineGroup: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResourceReference.type.polymorphicDiscriminator, - uberParent: "ResourceReference", className: "MachineReferenceWithHints" } } @@ -1284,11 +1239,6 @@ export const Connection: msRest.CompositeMapper = { serializedName: "properties.source", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "ResourceReference", className: "ResourceReference" } }, @@ -1297,11 +1247,6 @@ export const Connection: msRest.CompositeMapper = { serializedName: "properties.destination", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "ResourceReference", className: "ResourceReference" } }, @@ -1321,8 +1266,6 @@ export const Connection: msRest.CompositeMapper = { serializedName: "properties.serverPort", type: { name: "Composite", - polymorphicDiscriminator: ResourceReference.type.polymorphicDiscriminator, - uberParent: "ResourceReference", className: "PortReference" } }, @@ -1353,8 +1296,6 @@ export const Acceptor: msRest.CompositeMapper = { serializedName: "properties.source", type: { name: "Composite", - polymorphicDiscriminator: ResourceReference.type.polymorphicDiscriminator, - uberParent: "ResourceReference", className: "PortReference" } }, @@ -1363,8 +1304,6 @@ export const Acceptor: msRest.CompositeMapper = { serializedName: "properties.destination", type: { name: "Composite", - polymorphicDiscriminator: ResourceReference.type.polymorphicDiscriminator, - uberParent: "ResourceReference", className: "ProcessReference" } }, @@ -1419,11 +1358,6 @@ export const RelationshipProperties: msRest.CompositeMapper = { serializedName: "source", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "ResourceReference", className: "ResourceReference" } }, @@ -1432,11 +1366,6 @@ export const RelationshipProperties: msRest.CompositeMapper = { serializedName: "destination", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "ResourceReference", className: "ResourceReference" } }, diff --git a/packages/@azure/arm-servicemap/lib/models/parameters.ts b/packages/@azure/arm-servicemap/lib/models/parameters.ts index a2be0053ab1f..1dd34272265c 100644 --- a/packages/@azure/arm-servicemap/lib/models/parameters.ts +++ b/packages/@azure/arm-servicemap/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-servicemap/lib/operations/clientGroups.ts b/packages/@azure/arm-servicemap/lib/operations/clientGroups.ts index cdb70f3b79e3..fe38b7858d51 100644 --- a/packages/@azure/arm-servicemap/lib/operations/clientGroups.ts +++ b/packages/@azure/arm-servicemap/lib/operations/clientGroups.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/clientGroupsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ClientGroups { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, clientGroupName: string, options: Models.ClientGroupsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: Models.ClientGroupsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: Models.ClientGroupsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -86,7 +86,7 @@ export class ClientGroups { * @param callback The callback */ getMembersCount(resourceGroupName: string, workspaceName: string, clientGroupName: string, options: Models.ClientGroupsGetMembersCountOptionalParams, callback: msRest.ServiceCallback): void; - getMembersCount(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: Models.ClientGroupsGetMembersCountOptionalParams, callback?: msRest.ServiceCallback): Promise { + getMembersCount(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: Models.ClientGroupsGetMembersCountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -122,7 +122,7 @@ export class ClientGroups { * @param callback The callback */ listMembers(resourceGroupName: string, workspaceName: string, clientGroupName: string, options: Models.ClientGroupsListMembersOptionalParams, callback: msRest.ServiceCallback): void; - listMembers(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: Models.ClientGroupsListMembersOptionalParams, callback?: msRest.ServiceCallback): Promise { + listMembers(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: Models.ClientGroupsListMembersOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -152,7 +152,7 @@ export class ClientGroups { * @param callback The callback */ listMembersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMembersNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMembersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicemap/lib/operations/machineGroups.ts b/packages/@azure/arm-servicemap/lib/operations/machineGroups.ts index 8da36433d344..7db8d22f0de9 100644 --- a/packages/@azure/arm-servicemap/lib/operations/machineGroups.ts +++ b/packages/@azure/arm-servicemap/lib/operations/machineGroups.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/machineGroupsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class MachineGroups { * @param callback The callback */ listByWorkspace(resourceGroupName: string, workspaceName: string, options: Models.MachineGroupsListByWorkspaceOptionalParams, callback: msRest.ServiceCallback): void; - listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.MachineGroupsListByWorkspaceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.MachineGroupsListByWorkspaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class MachineGroups { * @param callback The callback */ create(resourceGroupName: string, workspaceName: string, machineGroup: Models.MachineGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, workspaceName: string, machineGroup: Models.MachineGroup, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, workspaceName: string, machineGroup: Models.MachineGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -118,7 +118,7 @@ export class MachineGroups { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, machineGroupName: string, options: Models.MachineGroupsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, machineGroupName: string, options?: Models.MachineGroupsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, machineGroupName: string, options?: Models.MachineGroupsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -157,7 +157,7 @@ export class MachineGroups { * @param callback The callback */ update(resourceGroupName: string, workspaceName: string, machineGroupName: string, machineGroup: Models.MachineGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, workspaceName: string, machineGroupName: string, machineGroup: Models.MachineGroup, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, workspaceName: string, machineGroupName: string, machineGroup: Models.MachineGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -194,7 +194,7 @@ export class MachineGroups { * @param callback The callback */ deleteMethod(resourceGroupName: string, workspaceName: string, machineGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, workspaceName: string, machineGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, workspaceName: string, machineGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -224,7 +224,7 @@ export class MachineGroups { * @param callback The callback */ listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicemap/lib/operations/machines.ts b/packages/@azure/arm-servicemap/lib/operations/machines.ts index 1ae1a3271209..7ea3e0605339 100644 --- a/packages/@azure/arm-servicemap/lib/operations/machines.ts +++ b/packages/@azure/arm-servicemap/lib/operations/machines.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/machinesMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Machines { * @param callback The callback */ listByWorkspace(resourceGroupName: string, workspaceName: string, options: Models.MachinesListByWorkspaceOptionalParams, callback: msRest.ServiceCallback): void; - listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.MachinesListByWorkspaceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.MachinesListByWorkspaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,7 +85,7 @@ export class Machines { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, machineName: string, options: Models.MachinesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -121,7 +121,7 @@ export class Machines { * @param callback The callback */ getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, options: Models.MachinesGetLivenessOptionalParams, callback: msRest.ServiceCallback): void; - getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesGetLivenessOptionalParams, callback?: msRest.ServiceCallback): Promise { + getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesGetLivenessOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -157,7 +157,7 @@ export class Machines { * @param callback The callback */ listConnections(resourceGroupName: string, workspaceName: string, machineName: string, options: Models.MachinesListConnectionsOptionalParams, callback: msRest.ServiceCallback): void; - listConnections(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListConnectionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listConnections(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListConnectionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -197,7 +197,7 @@ export class Machines { * @param callback The callback */ listProcesses(resourceGroupName: string, workspaceName: string, machineName: string, options: Models.MachinesListProcessesOptionalParams, callback: msRest.ServiceCallback): void; - listProcesses(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListProcessesOptionalParams, callback?: msRest.ServiceCallback): Promise { + listProcesses(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListProcessesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -233,7 +233,7 @@ export class Machines { * @param callback The callback */ listPorts(resourceGroupName: string, workspaceName: string, machineName: string, options: Models.MachinesListPortsOptionalParams, callback: msRest.ServiceCallback): void; - listPorts(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListPortsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listPorts(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListPortsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -270,7 +270,7 @@ export class Machines { * @param callback The callback */ listMachineGroupMembership(resourceGroupName: string, workspaceName: string, machineName: string, options: Models.MachinesListMachineGroupMembershipOptionalParams, callback: msRest.ServiceCallback): void; - listMachineGroupMembership(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListMachineGroupMembershipOptionalParams, callback?: msRest.ServiceCallback): Promise { + listMachineGroupMembership(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListMachineGroupMembershipOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -303,7 +303,7 @@ export class Machines { * @param callback The callback */ listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -331,7 +331,7 @@ export class Machines { * @param callback The callback */ listConnectionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConnectionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConnectionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -363,7 +363,7 @@ export class Machines { * @param callback The callback */ listProcessesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listProcessesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listProcessesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -391,7 +391,7 @@ export class Machines { * @param callback The callback */ listPortsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPortsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPortsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -420,7 +420,7 @@ export class Machines { * @param callback The callback */ listMachineGroupMembershipNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMachineGroupMembershipNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMachineGroupMembershipNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicemap/lib/operations/maps.ts b/packages/@azure/arm-servicemap/lib/operations/maps.ts index fb3050f7e04c..db19321cb341 100644 --- a/packages/@azure/arm-servicemap/lib/operations/maps.ts +++ b/packages/@azure/arm-servicemap/lib/operations/maps.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/mapsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Maps { * @param callback The callback */ generate(resourceGroupName: string, workspaceName: string, request: Models.MapRequestUnion, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - generate(resourceGroupName: string, workspaceName: string, request: Models.MapRequestUnion, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + generate(resourceGroupName: string, workspaceName: string, request: Models.MapRequestUnion, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-servicemap/lib/operations/ports.ts b/packages/@azure/arm-servicemap/lib/operations/ports.ts index 087a5ff330c3..ddf5fc3765ed 100644 --- a/packages/@azure/arm-servicemap/lib/operations/ports.ts +++ b/packages/@azure/arm-servicemap/lib/operations/ports.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/portsMappers"; import * as Parameters from "../models/parameters"; @@ -54,7 +54,7 @@ export class Ports { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options: Models.PortsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options?: Models.PortsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options?: Models.PortsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -94,7 +94,7 @@ export class Ports { * @param callback The callback */ getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options: Models.PortsGetLivenessOptionalParams, callback: msRest.ServiceCallback): void; - getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options?: Models.PortsGetLivenessOptionalParams, callback?: msRest.ServiceCallback): Promise { + getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options?: Models.PortsGetLivenessOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -134,7 +134,7 @@ export class Ports { * @param callback The callback */ listAcceptingProcesses(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options: Models.PortsListAcceptingProcessesOptionalParams, callback: msRest.ServiceCallback): void; - listAcceptingProcesses(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options?: Models.PortsListAcceptingProcessesOptionalParams, callback?: msRest.ServiceCallback): Promise { + listAcceptingProcesses(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options?: Models.PortsListAcceptingProcessesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -174,7 +174,7 @@ export class Ports { * @param callback The callback */ listConnections(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options: Models.PortsListConnectionsOptionalParams, callback: msRest.ServiceCallback): void; - listConnections(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options?: Models.PortsListConnectionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listConnections(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options?: Models.PortsListConnectionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -205,7 +205,7 @@ export class Ports { * @param callback The callback */ listAcceptingProcessesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAcceptingProcessesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAcceptingProcessesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -233,7 +233,7 @@ export class Ports { * @param callback The callback */ listConnectionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConnectionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConnectionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicemap/lib/operations/processes.ts b/packages/@azure/arm-servicemap/lib/operations/processes.ts index e31d6da1a71d..5c34f1fec16b 100644 --- a/packages/@azure/arm-servicemap/lib/operations/processes.ts +++ b/packages/@azure/arm-servicemap/lib/operations/processes.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/processesMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class Processes { * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options: Models.ProcessesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: Models.ProcessesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: Models.ProcessesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -93,7 +93,7 @@ export class Processes { * @param callback The callback */ getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options: Models.ProcessesGetLivenessOptionalParams, callback: msRest.ServiceCallback): void; - getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: Models.ProcessesGetLivenessOptionalParams, callback?: msRest.ServiceCallback): Promise { + getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: Models.ProcessesGetLivenessOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -133,7 +133,7 @@ export class Processes { * @param callback The callback */ listAcceptingPorts(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options: Models.ProcessesListAcceptingPortsOptionalParams, callback: msRest.ServiceCallback): void; - listAcceptingPorts(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: Models.ProcessesListAcceptingPortsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listAcceptingPorts(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: Models.ProcessesListAcceptingPortsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -173,7 +173,7 @@ export class Processes { * @param callback The callback */ listConnections(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options: Models.ProcessesListConnectionsOptionalParams, callback: msRest.ServiceCallback): void; - listConnections(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: Models.ProcessesListConnectionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listConnections(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: Models.ProcessesListConnectionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -204,7 +204,7 @@ export class Processes { * @param callback The callback */ listAcceptingPortsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAcceptingPortsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAcceptingPortsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -232,7 +232,7 @@ export class Processes { * @param callback The callback */ listConnectionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listConnectionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listConnectionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-servicemap/lib/operations/summaries.ts b/packages/@azure/arm-servicemap/lib/operations/summaries.ts index ce93052a8836..578b8264a0db 100644 --- a/packages/@azure/arm-servicemap/lib/operations/summaries.ts +++ b/packages/@azure/arm-servicemap/lib/operations/summaries.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/summariesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Summaries { * @param callback The callback */ getMachines(resourceGroupName: string, workspaceName: string, options: Models.SummariesGetMachinesOptionalParams, callback: msRest.ServiceCallback): void; - getMachines(resourceGroupName: string, workspaceName: string, options?: Models.SummariesGetMachinesOptionalParams, callback?: msRest.ServiceCallback): Promise { + getMachines(resourceGroupName: string, workspaceName: string, options?: Models.SummariesGetMachinesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-servicemap/lib/servicemapManagementClient.ts b/packages/@azure/arm-servicemap/lib/servicemapManagementClient.ts index 66f37a50d727..22ab164d4ac2 100644 --- a/packages/@azure/arm-servicemap/lib/servicemapManagementClient.ts +++ b/packages/@azure/arm-servicemap/lib/servicemapManagementClient.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-servicemap/lib/servicemapManagementClientContext.ts b/packages/@azure/arm-servicemap/lib/servicemapManagementClientContext.ts index 73b45289885f..f8de5ae717ed 100644 --- a/packages/@azure/arm-servicemap/lib/servicemapManagementClientContext.ts +++ b/packages/@azure/arm-servicemap/lib/servicemapManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-servicemap"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class ServicemapManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the ServicemapManagementClient class. @@ -44,6 +37,11 @@ export class ServicemapManagementClientContext extends msRestAzure.AzureServiceC if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2015-11-01-preview'; @@ -54,7 +52,6 @@ export class ServicemapManagementClientContext extends msRestAzure.AzureServiceC this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-servicemap/package.json b/packages/@azure/arm-servicemap/package.json index 68cdfae0f798..7d75cf1eb5ef 100644 --- a/packages/@azure/arm-servicemap/package.json +++ b/packages/@azure/arm-servicemap/package.json @@ -4,8 +4,8 @@ "description": "ServicemapManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-servicemap.js.map'\" -o ./dist/arm-servicemap.min.js ./dist/arm-servicemap.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-servicemap/rollup.config.js b/packages/@azure/arm-servicemap/rollup.config.js index c775f6c02e54..8b0acefa9745 100644 --- a/packages/@azure/arm-servicemap/rollup.config.js +++ b/packages/@azure/arm-servicemap/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/servicemapManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-servicemap.js", format: "umd", name: "Azure.ArmServicemap", 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-servicemap/tsconfig.esm.json b/packages/@azure/arm-servicemap/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/arm-servicemap/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/arm-servicemap/tsconfig.json b/packages/@azure/arm-servicemap/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-servicemap/tsconfig.json +++ b/packages/@azure/arm-servicemap/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-servicemap/webpack.config.js b/packages/@azure/arm-servicemap/webpack.config.js deleted file mode 100644 index d1a124be8ef3..000000000000 --- a/packages/@azure/arm-servicemap/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/servicemapManagementClient.js', - devtool: 'source-map', - output: { - filename: 'servicemapManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'servicemapManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/arm-signalr/.npmignore b/packages/@azure/arm-signalr/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-signalr/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-signalr/README.md b/packages/@azure/arm-signalr/README.md index 69f8265a9871..5ad04525b5ef 100644 --- a/packages/@azure/arm-signalr/README.md +++ b/packages/@azure/arm-signalr/README.md @@ -1,24 +1,34 @@ -# Azure SignalRManagementClient SDK for JavaScript +## Azure SignalRManagementClient SDK for JavaScript + This package contains an isomorphic SDK for SignalRManagementClient. -## 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-signalr ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { SignalRManagementClient, SignalRManagementModels, SignalRManagementMappers } from "@azure/arm-signalr"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-signalr 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-signalr/lib/models/index.ts b/packages/@azure/arm-signalr/lib/models/index.ts index 117fa9174f1e..1af7d1a71449 100644 --- a/packages/@azure/arm-signalr/lib/models/index.ts +++ b/packages/@azure/arm-signalr/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -693,234 +693,115 @@ export interface SignalRUsageList extends Array { /** * Defines values for SignalRSkuTier. * Possible values include: 'Free', 'Basic', 'Standard', 'Premium' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SignalRSkuTier = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SignalRSkuTier { - Free = 'Free', - Basic = 'Basic', - Standard = 'Standard', - Premium = 'Premium', -} +export type SignalRSkuTier = 'Free' | 'Basic' | 'Standard' | 'Premium'; /** * Defines values for ProvisioningState. - * Possible values include: 'Unknown', 'Succeeded', 'Failed', 'Canceled', - * 'Running', 'Creating', 'Updating', 'Deleting', 'Moving' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisioningState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'Succeeded', 'Failed', 'Canceled', 'Running', 'Creating', + * 'Updating', 'Deleting', 'Moving' * @readonly * @enum {string} */ -export enum ProvisioningState { - Unknown = 'Unknown', - Succeeded = 'Succeeded', - Failed = 'Failed', - Canceled = 'Canceled', - Running = 'Running', - Creating = 'Creating', - Updating = 'Updating', - Deleting = 'Deleting', - Moving = 'Moving', -} +export type ProvisioningState = 'Unknown' | 'Succeeded' | 'Failed' | 'Canceled' | 'Running' | 'Creating' | 'Updating' | 'Deleting' | 'Moving'; /** * Defines values for KeyType. * Possible values include: 'Primary', 'Secondary' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: KeyType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum KeyType { - Primary = 'Primary', - Secondary = 'Secondary', -} +export type KeyType = 'Primary' | 'Secondary'; /** * Defines values for ApiVersion. * Possible values include: '2018-03-01-preview', '2018-10-01' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApiVersion = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ApiVersion { - TwoZeroOneEightHyphenMinusZeroThreeHyphenMinusZeroOneHyphenMinuspreview = '2018-03-01-preview', - TwoZeroOneEightHyphenMinusOneZeroHyphenMinusZeroOne = '2018-10-01', -} +export type ApiVersion = '2018-03-01-preview' | '2018-10-01'; /** * Defines values for ApiVersion1. * Possible values include: '2018-03-01-preview', '2018-10-01' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApiVersion1 = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ApiVersion1 { - TwoZeroOneEightHyphenMinusZeroThreeHyphenMinusZeroOneHyphenMinuspreview = '2018-03-01-preview', - TwoZeroOneEightHyphenMinusOneZeroHyphenMinusZeroOne = '2018-10-01', -} +export type ApiVersion1 = '2018-03-01-preview' | '2018-10-01'; /** * Defines values for ApiVersion2. * Possible values include: '2018-03-01-preview', '2018-10-01' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApiVersion2 = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ApiVersion2 { - TwoZeroOneEightHyphenMinusZeroThreeHyphenMinusZeroOneHyphenMinuspreview = '2018-03-01-preview', - TwoZeroOneEightHyphenMinusOneZeroHyphenMinusZeroOne = '2018-10-01', -} +export type ApiVersion2 = '2018-03-01-preview' | '2018-10-01'; /** * Defines values for ApiVersion3. * Possible values include: '2018-03-01-preview', '2018-10-01' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApiVersion3 = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ApiVersion3 { - TwoZeroOneEightHyphenMinusZeroThreeHyphenMinusZeroOneHyphenMinuspreview = '2018-03-01-preview', - TwoZeroOneEightHyphenMinusOneZeroHyphenMinusZeroOne = '2018-10-01', -} +export type ApiVersion3 = '2018-03-01-preview' | '2018-10-01'; /** * Defines values for ApiVersion4. * Possible values include: '2018-03-01-preview', '2018-10-01' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApiVersion4 = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ApiVersion4 { - TwoZeroOneEightHyphenMinusZeroThreeHyphenMinusZeroOneHyphenMinuspreview = '2018-03-01-preview', - TwoZeroOneEightHyphenMinusOneZeroHyphenMinusZeroOne = '2018-10-01', -} +export type ApiVersion4 = '2018-03-01-preview' | '2018-10-01'; /** * Defines values for ApiVersion5. * Possible values include: '2018-03-01-preview', '2018-10-01' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApiVersion5 = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ApiVersion5 { - TwoZeroOneEightHyphenMinusZeroThreeHyphenMinusZeroOneHyphenMinuspreview = '2018-03-01-preview', - TwoZeroOneEightHyphenMinusOneZeroHyphenMinusZeroOne = '2018-10-01', -} +export type ApiVersion5 = '2018-03-01-preview' | '2018-10-01'; /** * Defines values for ApiVersion6. * Possible values include: '2018-03-01-preview', '2018-10-01' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApiVersion6 = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ApiVersion6 { - TwoZeroOneEightHyphenMinusZeroThreeHyphenMinusZeroOneHyphenMinuspreview = '2018-03-01-preview', - TwoZeroOneEightHyphenMinusOneZeroHyphenMinusZeroOne = '2018-10-01', -} +export type ApiVersion6 = '2018-03-01-preview' | '2018-10-01'; /** * Defines values for ApiVersion7. * Possible values include: '2018-03-01-preview', '2018-10-01' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApiVersion7 = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ApiVersion7 { - TwoZeroOneEightHyphenMinusZeroThreeHyphenMinusZeroOneHyphenMinuspreview = '2018-03-01-preview', - TwoZeroOneEightHyphenMinusOneZeroHyphenMinusZeroOne = '2018-10-01', -} +export type ApiVersion7 = '2018-03-01-preview' | '2018-10-01'; /** * Defines values for ApiVersion8. * Possible values include: '2018-03-01-preview', '2018-10-01' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApiVersion8 = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ApiVersion8 { - TwoZeroOneEightHyphenMinusZeroThreeHyphenMinusZeroOneHyphenMinuspreview = '2018-03-01-preview', - TwoZeroOneEightHyphenMinusOneZeroHyphenMinusZeroOne = '2018-10-01', -} +export type ApiVersion8 = '2018-03-01-preview' | '2018-10-01'; /** * Defines values for ApiVersion9. * Possible values include: '2018-03-01-preview', '2018-10-01' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApiVersion9 = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ApiVersion9 { - TwoZeroOneEightHyphenMinusZeroThreeHyphenMinusZeroOneHyphenMinuspreview = '2018-03-01-preview', - TwoZeroOneEightHyphenMinusOneZeroHyphenMinusZeroOne = '2018-10-01', -} +export type ApiVersion9 = '2018-03-01-preview' | '2018-10-01'; /** * Defines values for ApiVersion10. * Possible values include: '2018-03-01-preview', '2018-10-01' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApiVersion10 = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ApiVersion10 { - TwoZeroOneEightHyphenMinusZeroThreeHyphenMinusZeroOneHyphenMinuspreview = '2018-03-01-preview', - TwoZeroOneEightHyphenMinusOneZeroHyphenMinusZeroOne = '2018-10-01', -} +export type ApiVersion10 = '2018-03-01-preview' | '2018-10-01'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-signalr/lib/models/mappers.ts b/packages/@azure/arm-signalr/lib/models/mappers.ts index 98a28ec8463a..f672cadc85b5 100644 --- a/packages/@azure/arm-signalr/lib/models/mappers.ts +++ b/packages/@azure/arm-signalr/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-signalr/lib/models/parameters.ts b/packages/@azure/arm-signalr/lib/models/parameters.ts index 4db5179b40c4..ec86d0d978e4 100644 --- a/packages/@azure/arm-signalr/lib/models/parameters.ts +++ b/packages/@azure/arm-signalr/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-signalr/lib/operations/operations.ts b/packages/@azure/arm-signalr/lib/operations/operations.ts index 541de1bd7b11..b2828462ae65 100644 --- a/packages/@azure/arm-signalr/lib/operations/operations.ts +++ b/packages/@azure/arm-signalr/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-signalr/lib/operations/signalR.ts b/packages/@azure/arm-signalr/lib/operations/signalR.ts index e560f9cd2d7e..fca3f4028825 100644 --- a/packages/@azure/arm-signalr/lib/operations/signalR.ts +++ b/packages/@azure/arm-signalr/lib/operations/signalR.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/signalRMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class SignalR { * @param callback The callback */ checkNameAvailability(location: string, options: Models.SignalRCheckNameAvailabilityOptionalParams, callback: msRest.ServiceCallback): void; - checkNameAvailability(location: string, options?: Models.SignalRCheckNameAvailabilityOptionalParams, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(location: string, options?: Models.SignalRCheckNameAvailabilityOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -70,7 +70,7 @@ export class SignalR { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -100,7 +100,7 @@ export class SignalR { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -134,7 +134,7 @@ export class SignalR { * @param callback The callback */ listKeys(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -183,7 +183,7 @@ export class SignalR { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -328,7 +328,7 @@ export class SignalR { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -356,7 +356,7 @@ export class SignalR { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-signalr/lib/operations/usages.ts b/packages/@azure/arm-signalr/lib/operations/usages.ts index af6f87c482ce..e7fab0c70031 100644 --- a/packages/@azure/arm-signalr/lib/operations/usages.ts +++ b/packages/@azure/arm-signalr/lib/operations/usages.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/usagesMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class Usages { * @param callback The callback */ list(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, @@ -72,7 +72,7 @@ export class Usages { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-signalr/lib/signalRManagementClient.ts b/packages/@azure/arm-signalr/lib/signalRManagementClient.ts index 07fd5cd73f51..f83378e7b55b 100644 --- a/packages/@azure/arm-signalr/lib/signalRManagementClient.ts +++ b/packages/@azure/arm-signalr/lib/signalRManagementClient.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-signalr/lib/signalRManagementClientContext.ts b/packages/@azure/arm-signalr/lib/signalRManagementClientContext.ts index ebd33bd23b04..9552ff25fe77 100644 --- a/packages/@azure/arm-signalr/lib/signalRManagementClientContext.ts +++ b/packages/@azure/arm-signalr/lib/signalRManagementClientContext.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-signalr"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class SignalRManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -38,6 +38,11 @@ export class SignalRManagementClientContext extends msRestAzure.AzureServiceClie if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-10-01'; @@ -48,7 +53,6 @@ export class SignalRManagementClientContext extends msRestAzure.AzureServiceClie this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-signalr/package.json b/packages/@azure/arm-signalr/package.json index 8abcc030cfe6..67ad83814f26 100644 --- a/packages/@azure/arm-signalr/package.json +++ b/packages/@azure/arm-signalr/package.json @@ -4,8 +4,8 @@ "description": "SignalRManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-signalr/rollup.config.js b/packages/@azure/arm-signalr/rollup.config.js index 35b201b0b5e3..5ce4fd696a08 100644 --- a/packages/@azure/arm-signalr/rollup.config.js +++ b/packages/@azure/arm-signalr/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/signalRManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-signalr.js", format: "umd", name: "Azure.ArmSignalr", 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-signalr/tsconfig.json b/packages/@azure/arm-signalr/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-signalr/tsconfig.json +++ b/packages/@azure/arm-signalr/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-sql/.npmignore b/packages/@azure/arm-sql/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/arm-sql/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-sql/README.md b/packages/@azure/arm-sql/README.md index 53d21b390613..e9e4a7606d40 100644 --- a/packages/@azure/arm-sql/README.md +++ b/packages/@azure/arm-sql/README.md @@ -1,24 +1,34 @@ -# Azure SqlManagementClient SDK for JavaScript +## Azure SqlManagementClient SDK for JavaScript + This package contains an isomorphic SDK for SqlManagementClient. -## 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-sql ``` +### How to use + +#### nodejs - Authentication, client creation and get recoverableDatabases as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get recoverableDatabases as an example written in TypeScript. +##### Sample code ```ts -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 { SqlManagementClient, SqlManagementModels, SqlManagementMappers } from "@azure/arm-sql"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -36,7 +46,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get recoverableDatabases as an example written in JavaScript. +#### browser - Authentication, client creation and get recoverableDatabases as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -45,11 +64,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-sql 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-sql/lib/models/backupLongTermRetentionPoliciesMappers.ts b/packages/@azure/arm-sql/lib/models/backupLongTermRetentionPoliciesMappers.ts index a09c582f9269..9b1e7e497ee1 100644 --- a/packages/@azure/arm-sql/lib/models/backupLongTermRetentionPoliciesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/backupLongTermRetentionPoliciesMappers.ts @@ -81,6 +81,7 @@ export { JobTarget, JobVersion, LongTermRetentionBackup, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/backupShortTermRetentionPoliciesMappers.ts b/packages/@azure/arm-sql/lib/models/backupShortTermRetentionPoliciesMappers.ts index 985692de5c30..2a8d93a2f100 100644 --- a/packages/@azure/arm-sql/lib/models/backupShortTermRetentionPoliciesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/backupShortTermRetentionPoliciesMappers.ts @@ -83,6 +83,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { ManagedInstancePairInfo, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/dataMaskingPoliciesMappers.ts b/packages/@azure/arm-sql/lib/models/dataMaskingPoliciesMappers.ts index eda43c81873a..6d6b6e4a3641 100644 --- a/packages/@azure/arm-sql/lib/models/dataMaskingPoliciesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/dataMaskingPoliciesMappers.ts @@ -81,6 +81,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/dataMaskingRulesMappers.ts b/packages/@azure/arm-sql/lib/models/dataMaskingRulesMappers.ts index 4fbb90b32443..d8c6fac89cee 100644 --- a/packages/@azure/arm-sql/lib/models/dataMaskingRulesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/dataMaskingRulesMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/databaseAutomaticTuningOperationsMappers.ts b/packages/@azure/arm-sql/lib/models/databaseAutomaticTuningOperationsMappers.ts index 579ba89ecdaa..64fb0c24de1b 100644 --- a/packages/@azure/arm-sql/lib/models/databaseAutomaticTuningOperationsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/databaseAutomaticTuningOperationsMappers.ts @@ -81,6 +81,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/databaseBlobAuditingPoliciesMappers.ts b/packages/@azure/arm-sql/lib/models/databaseBlobAuditingPoliciesMappers.ts index 6b4400adf181..54308c74c9e1 100644 --- a/packages/@azure/arm-sql/lib/models/databaseBlobAuditingPoliciesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/databaseBlobAuditingPoliciesMappers.ts @@ -81,6 +81,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/databaseOperationsMappers.ts b/packages/@azure/arm-sql/lib/models/databaseOperationsMappers.ts index 042817f7425f..a49d7ae98f15 100644 --- a/packages/@azure/arm-sql/lib/models/databaseOperationsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/databaseOperationsMappers.ts @@ -83,6 +83,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/databaseThreatDetectionPoliciesMappers.ts b/packages/@azure/arm-sql/lib/models/databaseThreatDetectionPoliciesMappers.ts index cba431838474..3b0bc1dabeb2 100644 --- a/packages/@azure/arm-sql/lib/models/databaseThreatDetectionPoliciesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/databaseThreatDetectionPoliciesMappers.ts @@ -81,6 +81,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts b/packages/@azure/arm-sql/lib/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts index 4c01b9b1ced7..c4b8fc420135 100644 --- a/packages/@azure/arm-sql/lib/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -81,6 +81,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/databaseVulnerabilityAssessmentScansMappers.ts b/packages/@azure/arm-sql/lib/models/databaseVulnerabilityAssessmentScansMappers.ts index 4918050ab296..6b99eba6b730 100644 --- a/packages/@azure/arm-sql/lib/models/databaseVulnerabilityAssessmentScansMappers.ts +++ b/packages/@azure/arm-sql/lib/models/databaseVulnerabilityAssessmentScansMappers.ts @@ -85,6 +85,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/databaseVulnerabilityAssessmentsMappers.ts b/packages/@azure/arm-sql/lib/models/databaseVulnerabilityAssessmentsMappers.ts index d3613306eb3f..4e767e46ed81 100644 --- a/packages/@azure/arm-sql/lib/models/databaseVulnerabilityAssessmentsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/databaseVulnerabilityAssessmentsMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/databasesMappers.ts b/packages/@azure/arm-sql/lib/models/databasesMappers.ts index 216a5e2dd05d..668002d4229f 100644 --- a/packages/@azure/arm-sql/lib/models/databasesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/databasesMappers.ts @@ -95,6 +95,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -116,6 +117,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/elasticPoolActivitiesMappers.ts b/packages/@azure/arm-sql/lib/models/elasticPoolActivitiesMappers.ts index a189635bf1b2..ef41e5151659 100644 --- a/packages/@azure/arm-sql/lib/models/elasticPoolActivitiesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/elasticPoolActivitiesMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/elasticPoolDatabaseActivitiesMappers.ts b/packages/@azure/arm-sql/lib/models/elasticPoolDatabaseActivitiesMappers.ts index 029a6e2fd0a1..c5040266d207 100644 --- a/packages/@azure/arm-sql/lib/models/elasticPoolDatabaseActivitiesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/elasticPoolDatabaseActivitiesMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/elasticPoolOperationsMappers.ts b/packages/@azure/arm-sql/lib/models/elasticPoolOperationsMappers.ts index c3b8d853cafe..f18dd19eed3d 100644 --- a/packages/@azure/arm-sql/lib/models/elasticPoolOperationsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/elasticPoolOperationsMappers.ts @@ -83,6 +83,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/elasticPoolsMappers.ts b/packages/@azure/arm-sql/lib/models/elasticPoolsMappers.ts index ff12f3d54084..ed00a94c0f0b 100644 --- a/packages/@azure/arm-sql/lib/models/elasticPoolsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/elasticPoolsMappers.ts @@ -90,6 +90,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -111,6 +112,8 @@ export { TdeCertificate, ManagedInstanceKey, ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment, RecoverableDatabase, RestorableDroppedDatabase } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/encryptionProtectorsMappers.ts b/packages/@azure/arm-sql/lib/models/encryptionProtectorsMappers.ts index 6951d4d277fb..04630bc8fa5f 100644 --- a/packages/@azure/arm-sql/lib/models/encryptionProtectorsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/encryptionProtectorsMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/extendedDatabaseBlobAuditingPoliciesMappers.ts b/packages/@azure/arm-sql/lib/models/extendedDatabaseBlobAuditingPoliciesMappers.ts index 80cbb3136b7c..2f67a923a3a9 100644 --- a/packages/@azure/arm-sql/lib/models/extendedDatabaseBlobAuditingPoliciesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/extendedDatabaseBlobAuditingPoliciesMappers.ts @@ -81,6 +81,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/extendedServerBlobAuditingPoliciesMappers.ts b/packages/@azure/arm-sql/lib/models/extendedServerBlobAuditingPoliciesMappers.ts index cc7d3826c6fe..3616f3fae898 100644 --- a/packages/@azure/arm-sql/lib/models/extendedServerBlobAuditingPoliciesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/extendedServerBlobAuditingPoliciesMappers.ts @@ -81,6 +81,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/failoverGroupsMappers.ts b/packages/@azure/arm-sql/lib/models/failoverGroupsMappers.ts index 5225a1732e31..b3a9432519e5 100644 --- a/packages/@azure/arm-sql/lib/models/failoverGroupsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/failoverGroupsMappers.ts @@ -83,6 +83,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -105,6 +106,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/firewallRulesMappers.ts b/packages/@azure/arm-sql/lib/models/firewallRulesMappers.ts index 7c013619255f..88d7b858534c 100644 --- a/packages/@azure/arm-sql/lib/models/firewallRulesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/firewallRulesMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/geoBackupPoliciesMappers.ts b/packages/@azure/arm-sql/lib/models/geoBackupPoliciesMappers.ts index 9796347add17..a0d76bd5bf45 100644 --- a/packages/@azure/arm-sql/lib/models/geoBackupPoliciesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/geoBackupPoliciesMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/index.ts b/packages/@azure/arm-sql/lib/models/index.ts index 3188a585decb..d9a4855881f0 100644 --- a/packages/@azure/arm-sql/lib/models/index.ts +++ b/packages/@azure/arm-sql/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -2301,10 +2301,8 @@ export interface ManagedInstance extends TrackedResource { storageSizeInGB?: number; /** * @member {string} [collation] Collation of the managed instance. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** */ - readonly collation?: string; + collation?: string; /** * @member {string} [dnsZone] The Dns Zone that the managed instance is in. * **NOTE: This property will not be serialized. It can only be populated by @@ -2372,10 +2370,8 @@ export interface ManagedInstanceUpdate { storageSizeInGB?: number; /** * @member {string} [collation] Collation of the managed instance. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** */ - readonly collation?: string; + collation?: string; /** * @member {string} [dnsZone] The Dns Zone that the managed instance is in. * **NOTE: This property will not be serialized. It can only be populated by @@ -4322,6 +4318,21 @@ export interface BackupLongTermRetentionPolicy extends ProxyResource { weekOfYear?: number; } +/** + * @interface + * An interface representing ManagedBackupShortTermRetentionPolicy. + * A short term retention policy. + * + * @extends ProxyResource + */ +export interface ManagedBackupShortTermRetentionPolicy extends ProxyResource { + /** + * @member {number} [retentionDays] The backup retention period in days. This + * is how many days Point-in-Time Restore will be supported. + */ + retentionDays?: number; +} + /** * @interface * An interface representing CompleteDatabaseRestoreDefinition. @@ -6492,6 +6503,76 @@ export interface ManagedInstanceEncryptionProtector extends ProxyResource { readonly thumbprint?: string; } +/** + * @interface + * An interface representing ManagedInstanceVulnerabilityAssessment. + * A managed instance vulnerability assessment. + * + * @extends ProxyResource + */ +export interface ManagedInstanceVulnerabilityAssessment extends ProxyResource { + /** + * @member {string} storageContainerPath A blob storage container path to + * hold the scan results (e.g. + * https://myStorage.blob.core.windows.net/VaScans/). + */ + storageContainerPath: string; + /** + * @member {string} [storageContainerSasKey] A shared access signature (SAS + * Key) that has write access to the blob container specified in + * 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't + * specified, StorageContainerSasKey is required. + */ + storageContainerSasKey?: string; + /** + * @member {string} [storageAccountAccessKey] Specifies the identifier key of + * the storage account for vulnerability assessment scan results. If + * 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is + * required. + */ + storageAccountAccessKey?: string; + /** + * @member {VulnerabilityAssessmentRecurringScansProperties} [recurringScans] + * The recurring scans settings + */ + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; +} + +/** + * @interface + * An interface representing ServerVulnerabilityAssessment. + * A server vulnerability assessment. + * + * @extends ProxyResource + */ +export interface ServerVulnerabilityAssessment extends ProxyResource { + /** + * @member {string} storageContainerPath A blob storage container path to + * hold the scan results (e.g. + * https://myStorage.blob.core.windows.net/VaScans/). + */ + storageContainerPath: string; + /** + * @member {string} [storageContainerSasKey] A shared access signature (SAS + * Key) that has write access to the blob container specified in + * 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't + * specified, StorageContainerSasKey is required. + */ + storageContainerSasKey?: string; + /** + * @member {string} [storageAccountAccessKey] Specifies the identifier key of + * the storage account for vulnerability assessment scan results. If + * 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is + * required. + */ + storageAccountAccessKey?: string; + /** + * @member {VulnerabilityAssessmentRecurringScansProperties} [recurringScans] + * The recurring scans settings + */ + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; +} + /** * @interface * An interface representing ElasticPoolsListByServerOptionalParams. @@ -7456,6 +7537,22 @@ export interface LongTermRetentionBackupListResult extends Array + */ +export interface ManagedBackupShortTermRetentionPolicyListResult extends Array { + /** + * @member {string} [nextLink] Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly nextLink?: string; +} + /** * @interface * An interface representing the ManagedDatabaseListResult. @@ -7616,6 +7713,38 @@ export interface ManagedInstanceEncryptionProtectorListResult extends Array + */ +export interface ManagedInstanceVulnerabilityAssessmentListResult extends Array { + /** + * @member {string} [nextLink] Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * An interface representing the ServerVulnerabilityAssessmentListResult. + * A list of the server's vulnerability assessments. + * + * @extends Array + */ +export interface ServerVulnerabilityAssessmentListResult extends Array { + /** + * @member {string} [nextLink] Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly nextLink?: string; +} + /** * Defines values for CheckNameAvailabilityReason. * Possible values include: 'Invalid', 'AlreadyExists' @@ -12607,6 +12736,139 @@ export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupL }; }; +/** + * Contains response data for the get operation. + */ +export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedBackupShortTermRetentionPolicy; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedBackupShortTermRetentionPolicy; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedBackupShortTermRetentionPolicy; + }; +}; + +/** + * Contains response data for the listByDatabase operation. + */ +export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedBackupShortTermRetentionPolicy; + }; +}; + +/** + * Contains response data for the beginUpdate operation. + */ +export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedBackupShortTermRetentionPolicy; + }; +}; + +/** + * Contains response data for the listByDatabaseNext operation. + */ +export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + }; +}; + /** * Contains response data for the listByInstance operation. */ @@ -13860,3 +14122,155 @@ export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = Mana parsedBody: ManagedInstanceEncryptionProtectorListResult; }; }; + +/** + * Contains response data for the get operation. + */ +export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstanceVulnerabilityAssessment & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedInstanceVulnerabilityAssessment; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = ManagedInstanceVulnerabilityAssessment & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedInstanceVulnerabilityAssessment; + }; +}; + +/** + * Contains response data for the listByInstance operation. + */ +export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = ManagedInstanceVulnerabilityAssessmentListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; + }; +}; + +/** + * Contains response data for the listByInstanceNext operation. + */ +export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = ManagedInstanceVulnerabilityAssessmentListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerVulnerabilityAssessment; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerVulnerabilityAssessment; + }; +}; + +/** + * Contains response data for the listByServer operation. + */ +export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabilityAssessmentListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerVulnerabilityAssessmentListResult; + }; +}; + +/** + * Contains response data for the listByServerNext operation. + */ +export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulnerabilityAssessmentListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerVulnerabilityAssessmentListResult; + }; +}; diff --git a/packages/@azure/arm-sql/lib/models/instanceFailoverGroupsMappers.ts b/packages/@azure/arm-sql/lib/models/instanceFailoverGroupsMappers.ts index 21872b9f4454..ce87cb35438d 100644 --- a/packages/@azure/arm-sql/lib/models/instanceFailoverGroupsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/instanceFailoverGroupsMappers.ts @@ -87,6 +87,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/jobAgentsMappers.ts b/packages/@azure/arm-sql/lib/models/jobAgentsMappers.ts index fdabb78d4b4e..d0613502a046 100644 --- a/packages/@azure/arm-sql/lib/models/jobAgentsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/jobAgentsMappers.ts @@ -81,6 +81,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { TdeCertificate, ManagedInstanceKey, ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment, RecoverableDatabase, RestorableDroppedDatabase } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/jobCredentialsMappers.ts b/packages/@azure/arm-sql/lib/models/jobCredentialsMappers.ts index 9e79daee09a1..d29ab9c04220 100644 --- a/packages/@azure/arm-sql/lib/models/jobCredentialsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/jobCredentialsMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/jobExecutionsMappers.ts b/packages/@azure/arm-sql/lib/models/jobExecutionsMappers.ts index b37ae1e45107..b7d3b2922eca 100644 --- a/packages/@azure/arm-sql/lib/models/jobExecutionsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/jobExecutionsMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/jobStepExecutionsMappers.ts b/packages/@azure/arm-sql/lib/models/jobStepExecutionsMappers.ts index b37ae1e45107..b7d3b2922eca 100644 --- a/packages/@azure/arm-sql/lib/models/jobStepExecutionsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/jobStepExecutionsMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/jobStepsMappers.ts b/packages/@azure/arm-sql/lib/models/jobStepsMappers.ts index fef095ca4076..f07f3b7b93f4 100644 --- a/packages/@azure/arm-sql/lib/models/jobStepsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/jobStepsMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/jobTargetExecutionsMappers.ts b/packages/@azure/arm-sql/lib/models/jobTargetExecutionsMappers.ts index b37ae1e45107..b7d3b2922eca 100644 --- a/packages/@azure/arm-sql/lib/models/jobTargetExecutionsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/jobTargetExecutionsMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/jobTargetGroupsMappers.ts b/packages/@azure/arm-sql/lib/models/jobTargetGroupsMappers.ts index 9d112c9c9928..607c64d8a5ad 100644 --- a/packages/@azure/arm-sql/lib/models/jobTargetGroupsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/jobTargetGroupsMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/jobVersionsMappers.ts b/packages/@azure/arm-sql/lib/models/jobVersionsMappers.ts index 265896547b44..d298b791cac8 100644 --- a/packages/@azure/arm-sql/lib/models/jobVersionsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/jobVersionsMappers.ts @@ -82,6 +82,7 @@ export { JobTarget, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/jobsMappers.ts b/packages/@azure/arm-sql/lib/models/jobsMappers.ts index d5b9817bf6a4..08c36a6b1477 100644 --- a/packages/@azure/arm-sql/lib/models/jobsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/jobsMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/longTermRetentionBackupsMappers.ts b/packages/@azure/arm-sql/lib/models/longTermRetentionBackupsMappers.ts index 7de5e8e8fe70..7ea32d42e40d 100644 --- a/packages/@azure/arm-sql/lib/models/longTermRetentionBackupsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/longTermRetentionBackupsMappers.ts @@ -82,6 +82,7 @@ export { JobTarget, JobVersion, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/managedBackupShortTermRetentionPoliciesMappers.ts b/packages/@azure/arm-sql/lib/models/managedBackupShortTermRetentionPoliciesMappers.ts new file mode 100644 index 000000000000..724f7030df6f --- /dev/null +++ b/packages/@azure/arm-sql/lib/models/managedBackupShortTermRetentionPoliciesMappers.ts @@ -0,0 +1,112 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export { + ManagedBackupShortTermRetentionPolicy, + ProxyResource, + Resource, + BaseResource, + CloudError, + ManagedBackupShortTermRetentionPolicyListResult, + RecoverableDatabase, + RestorableDroppedDatabase, + TrackedResource, + ServerConnectionPolicy, + DatabaseSecurityAlertPolicy, + DataMaskingPolicy, + DataMaskingRule, + FirewallRule, + GeoBackupPolicy, + ImportExportResponse, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + ReplicationLink, + ServerAzureADAdministrator, + ServerCommunicationLink, + ServiceObjective, + ElasticPoolActivity, + ElasticPoolDatabaseActivity, + RecommendedIndex, + OperationImpact, + TransparentDataEncryption, + ServiceTierAdvisor, + SloUsageMetric, + TransparentDataEncryptionActivity, + DatabaseAutomaticTuning, + AutomaticTuningOptions, + EncryptionProtector, + FailoverGroup, + FailoverGroupReadWriteEndpoint, + FailoverGroupReadOnlyEndpoint, + PartnerInfo, + ManagedInstance, + ResourceIdentity, + Sku, + ServerKey, + Server, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + SubscriptionUsage, + VirtualNetworkRule, + ExtendedDatabaseBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicy, + ServerBlobAuditingPolicy, + DatabaseBlobAuditingPolicy, + DatabaseVulnerabilityAssessmentRuleBaseline, + DatabaseVulnerabilityAssessmentRuleBaselineItem, + DatabaseVulnerabilityAssessment, + VulnerabilityAssessmentRecurringScansProperties, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + Job, + JobSchedule, + JobStep, + JobStepAction, + JobStepOutput, + JobStepExecutionOptions, + JobTargetGroup, + JobTarget, + JobVersion, + LongTermRetentionBackup, + BackupLongTermRetentionPolicy, + ManagedDatabase, + ServerAutomaticTuning, + AutomaticTuningServerOptions, + ServerDnsAlias, + ServerSecurityAlertPolicy, + RestorePoint, + DatabaseOperation, + ElasticPoolOperation, + Database, + ElasticPool, + ElasticPoolPerDatabaseSettings, + VulnerabilityAssessmentScanRecord, + VulnerabilityAssessmentScanError, + DatabaseVulnerabilityAssessmentScansExport, + InstanceFailoverGroup, + InstanceFailoverGroupReadWriteEndpoint, + InstanceFailoverGroupReadOnlyEndpoint, + PartnerRegionInfo, + ManagedInstancePairInfo, + BackupShortTermRetentionPolicy, + TdeCertificate, + ManagedInstanceKey, + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment +} from "../models/mappers"; + diff --git a/packages/@azure/arm-sql/lib/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts b/packages/@azure/arm-sql/lib/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts index 4c01b9b1ced7..c4b8fc420135 100644 --- a/packages/@azure/arm-sql/lib/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -81,6 +81,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts b/packages/@azure/arm-sql/lib/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts index 4918050ab296..6b99eba6b730 100644 --- a/packages/@azure/arm-sql/lib/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts +++ b/packages/@azure/arm-sql/lib/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts @@ -85,6 +85,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/managedDatabaseVulnerabilityAssessmentsMappers.ts b/packages/@azure/arm-sql/lib/models/managedDatabaseVulnerabilityAssessmentsMappers.ts index d3613306eb3f..4e767e46ed81 100644 --- a/packages/@azure/arm-sql/lib/models/managedDatabaseVulnerabilityAssessmentsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/managedDatabaseVulnerabilityAssessmentsMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/managedDatabasesMappers.ts b/packages/@azure/arm-sql/lib/models/managedDatabasesMappers.ts index e30516255f47..fa03e83b738d 100644 --- a/packages/@azure/arm-sql/lib/models/managedDatabasesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/managedDatabasesMappers.ts @@ -83,6 +83,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ServerAutomaticTuning, AutomaticTuningServerOptions, ServerDnsAlias, @@ -105,6 +106,8 @@ export { TdeCertificate, ManagedInstanceKey, ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment, RecoverableDatabase, RestorableDroppedDatabase } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/managedInstanceEncryptionProtectorsMappers.ts b/packages/@azure/arm-sql/lib/models/managedInstanceEncryptionProtectorsMappers.ts index fb45e33327ea..0e500b5bfb76 100644 --- a/packages/@azure/arm-sql/lib/models/managedInstanceEncryptionProtectorsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/managedInstanceEncryptionProtectorsMappers.ts @@ -83,6 +83,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { ManagedInstancePairInfo, BackupShortTermRetentionPolicy, TdeCertificate, - ManagedInstanceKey + ManagedInstanceKey, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/managedInstanceKeysMappers.ts b/packages/@azure/arm-sql/lib/models/managedInstanceKeysMappers.ts index ce8df033adde..954dae46a692 100644 --- a/packages/@azure/arm-sql/lib/models/managedInstanceKeysMappers.ts +++ b/packages/@azure/arm-sql/lib/models/managedInstanceKeysMappers.ts @@ -83,6 +83,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { ManagedInstancePairInfo, BackupShortTermRetentionPolicy, TdeCertificate, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/managedInstanceTdeCertificatesMappers.ts b/packages/@azure/arm-sql/lib/models/managedInstanceTdeCertificatesMappers.ts index 875aa490c155..e1e0b32f7b00 100644 --- a/packages/@azure/arm-sql/lib/models/managedInstanceTdeCertificatesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/managedInstanceTdeCertificatesMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { ManagedInstancePairInfo, BackupShortTermRetentionPolicy, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/managedInstanceVulnerabilityAssessmentsMappers.ts b/packages/@azure/arm-sql/lib/models/managedInstanceVulnerabilityAssessmentsMappers.ts new file mode 100644 index 000000000000..91783db44ed1 --- /dev/null +++ b/packages/@azure/arm-sql/lib/models/managedInstanceVulnerabilityAssessmentsMappers.ts @@ -0,0 +1,112 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export { + ManagedInstanceVulnerabilityAssessment, + ProxyResource, + Resource, + BaseResource, + VulnerabilityAssessmentRecurringScansProperties, + CloudError, + ManagedInstanceVulnerabilityAssessmentListResult, + RecoverableDatabase, + RestorableDroppedDatabase, + TrackedResource, + ServerConnectionPolicy, + DatabaseSecurityAlertPolicy, + DataMaskingPolicy, + DataMaskingRule, + FirewallRule, + GeoBackupPolicy, + ImportExportResponse, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + ReplicationLink, + ServerAzureADAdministrator, + ServerCommunicationLink, + ServiceObjective, + ElasticPoolActivity, + ElasticPoolDatabaseActivity, + RecommendedIndex, + OperationImpact, + TransparentDataEncryption, + ServiceTierAdvisor, + SloUsageMetric, + TransparentDataEncryptionActivity, + DatabaseAutomaticTuning, + AutomaticTuningOptions, + EncryptionProtector, + FailoverGroup, + FailoverGroupReadWriteEndpoint, + FailoverGroupReadOnlyEndpoint, + PartnerInfo, + ManagedInstance, + ResourceIdentity, + Sku, + ServerKey, + Server, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + SubscriptionUsage, + VirtualNetworkRule, + ExtendedDatabaseBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicy, + ServerBlobAuditingPolicy, + DatabaseBlobAuditingPolicy, + DatabaseVulnerabilityAssessmentRuleBaseline, + DatabaseVulnerabilityAssessmentRuleBaselineItem, + DatabaseVulnerabilityAssessment, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + Job, + JobSchedule, + JobStep, + JobStepAction, + JobStepOutput, + JobStepExecutionOptions, + JobTargetGroup, + JobTarget, + JobVersion, + LongTermRetentionBackup, + BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ServerAutomaticTuning, + AutomaticTuningServerOptions, + ServerDnsAlias, + ServerSecurityAlertPolicy, + RestorePoint, + DatabaseOperation, + ElasticPoolOperation, + Database, + ElasticPool, + ElasticPoolPerDatabaseSettings, + VulnerabilityAssessmentScanRecord, + VulnerabilityAssessmentScanError, + DatabaseVulnerabilityAssessmentScansExport, + InstanceFailoverGroup, + InstanceFailoverGroupReadWriteEndpoint, + InstanceFailoverGroupReadOnlyEndpoint, + PartnerRegionInfo, + ManagedInstancePairInfo, + BackupShortTermRetentionPolicy, + TdeCertificate, + ManagedInstanceKey, + ManagedInstanceEncryptionProtector, + ServerVulnerabilityAssessment +} from "../models/mappers"; + diff --git a/packages/@azure/arm-sql/lib/models/managedInstancesMappers.ts b/packages/@azure/arm-sql/lib/models/managedInstancesMappers.ts index deca7f4a5cb0..07f90634313f 100644 --- a/packages/@azure/arm-sql/lib/models/managedInstancesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/managedInstancesMappers.ts @@ -81,6 +81,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { TdeCertificate, ManagedInstanceKey, ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment, RecoverableDatabase, RestorableDroppedDatabase } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/mappers.ts b/packages/@azure/arm-sql/lib/models/mappers.ts index fe6bdb437e26..c4f7b62250b9 100644 --- a/packages/@azure/arm-sql/lib/models/mappers.ts +++ b/packages/@azure/arm-sql/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -2785,7 +2785,6 @@ export const ManagedInstance: msRest.CompositeMapper = { } }, collation: { - readOnly: true, serializedName: "properties.collation", type: { name: "String" @@ -2872,7 +2871,6 @@ export const ManagedInstanceUpdate: msRest.CompositeMapper = { } }, collation: { - readOnly: true, serializedName: "properties.collation", type: { name: "String" @@ -4849,6 +4847,23 @@ export const BackupLongTermRetentionPolicy: msRest.CompositeMapper = { } }; +export const ManagedBackupShortTermRetentionPolicy: msRest.CompositeMapper = { + serializedName: "ManagedBackupShortTermRetentionPolicy", + type: { + name: "Composite", + className: "ManagedBackupShortTermRetentionPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + retentionDays: { + serializedName: "properties.retentionDays", + type: { + name: "Number" + } + } + } + } +}; + export const CompleteDatabaseRestoreDefinition: msRest.CompositeMapper = { serializedName: "CompleteDatabaseRestoreDefinition", type: { @@ -7423,6 +7438,80 @@ export const ManagedInstanceEncryptionProtector: msRest.CompositeMapper = { } }; +export const ManagedInstanceVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVulnerabilityAssessment", + type: { + name: "Composite", + className: "ManagedInstanceVulnerabilityAssessment", + modelProperties: { + ...ProxyResource.type.modelProperties, + storageContainerPath: { + required: true, + serializedName: "properties.storageContainerPath", + type: { + name: "String" + } + }, + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", + type: { + name: "String" + } + }, + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", + type: { + name: "String" + } + }, + recurringScans: { + serializedName: "properties.recurringScans", + type: { + name: "Composite", + className: "VulnerabilityAssessmentRecurringScansProperties" + } + } + } + } +}; + +export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessment", + type: { + name: "Composite", + className: "ServerVulnerabilityAssessment", + modelProperties: { + ...ProxyResource.type.modelProperties, + storageContainerPath: { + required: true, + serializedName: "properties.storageContainerPath", + type: { + name: "String" + } + }, + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", + type: { + name: "String" + } + }, + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", + type: { + name: "String" + } + }, + recurringScans: { + serializedName: "properties.recurringScans", + type: { + name: "Composite", + className: "VulnerabilityAssessmentRecurringScansProperties" + } + } + } + } +}; + export const RecoverableDatabaseListResult: msRest.CompositeMapper = { serializedName: "RecoverableDatabaseListResult", type: { @@ -8634,6 +8723,36 @@ export const LongTermRetentionBackupListResult: msRest.CompositeMapper = { } }; +export const ManagedBackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = { + serializedName: "ManagedBackupShortTermRetentionPolicyListResult", + type: { + name: "Composite", + className: "ManagedBackupShortTermRetentionPolicyListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedBackupShortTermRetentionPolicy" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ManagedDatabaseListResult: msRest.CompositeMapper = { serializedName: "ManagedDatabaseListResult", type: { @@ -8926,3 +9045,63 @@ export const ManagedInstanceEncryptionProtectorListResult: msRest.CompositeMappe } } }; + +export const ManagedInstanceVulnerabilityAssessmentListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVulnerabilityAssessmentListResult", + type: { + name: "Composite", + className: "ManagedInstanceVulnerabilityAssessmentListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceVulnerabilityAssessment" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessmentListResult", + type: { + name: "Composite", + className: "ServerVulnerabilityAssessmentListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerVulnerabilityAssessment" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; diff --git a/packages/@azure/arm-sql/lib/models/parameters.ts b/packages/@azure/arm-sql/lib/models/parameters.ts index 3f364f4f144d..e764e120d4ed 100644 --- a/packages/@azure/arm-sql/lib/models/parameters.ts +++ b/packages/@azure/arm-sql/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", @@ -80,6 +80,18 @@ export const apiVersion3: msRest.OperationQueryParameter = { } } }; +export const apiVersion4: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2018-06-01-preview', + type: { + name: "String" + } + } +}; export const backupName: msRest.OperationURLParameter = { parameterPath: "backupName", mapper: { @@ -184,45 +196,45 @@ export const credentialName: msRest.OperationURLParameter = { } } }; -export const dataMaskingPolicyName: msRest.OperationURLParameter = { - parameterPath: "dataMaskingPolicyName", +export const databaseName: msRest.OperationURLParameter = { + parameterPath: "databaseName", mapper: { required: true, - isConstant: true, - serializedName: "dataMaskingPolicyName", - defaultValue: 'Default', + serializedName: "databaseName", type: { name: "String" } } }; -export const dataMaskingRuleName: msRest.OperationURLParameter = { - parameterPath: "dataMaskingRuleName", +export const databaseState: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "databaseState" + ], mapper: { - required: true, - serializedName: "dataMaskingRuleName", + serializedName: "databaseState", type: { name: "String" } } }; -export const databaseName: msRest.OperationURLParameter = { - parameterPath: "databaseName", +export const dataMaskingPolicyName: msRest.OperationURLParameter = { + parameterPath: "dataMaskingPolicyName", mapper: { required: true, - serializedName: "databaseName", + isConstant: true, + serializedName: "dataMaskingPolicyName", + defaultValue: 'Default', type: { name: "String" } } }; -export const databaseState: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "databaseState" - ], +export const dataMaskingRuleName: msRest.OperationURLParameter = { + parameterPath: "dataMaskingRuleName", mapper: { - serializedName: "databaseState", + required: true, + serializedName: "dataMaskingRuleName", type: { name: "String" } diff --git a/packages/@azure/arm-sql/lib/models/recommendedElasticPoolsMappers.ts b/packages/@azure/arm-sql/lib/models/recommendedElasticPoolsMappers.ts index c44a4ce9075c..9cd8d02f8c66 100644 --- a/packages/@azure/arm-sql/lib/models/recommendedElasticPoolsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/recommendedElasticPoolsMappers.ts @@ -83,6 +83,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -105,6 +106,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/recoverableDatabasesMappers.ts b/packages/@azure/arm-sql/lib/models/recoverableDatabasesMappers.ts index c08d7907f332..9d713efa6044 100644 --- a/packages/@azure/arm-sql/lib/models/recoverableDatabasesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/recoverableDatabasesMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/replicationLinksMappers.ts b/packages/@azure/arm-sql/lib/models/replicationLinksMappers.ts index fad71cb6222b..6942e12ddccf 100644 --- a/packages/@azure/arm-sql/lib/models/replicationLinksMappers.ts +++ b/packages/@azure/arm-sql/lib/models/replicationLinksMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/restorableDroppedDatabasesMappers.ts b/packages/@azure/arm-sql/lib/models/restorableDroppedDatabasesMappers.ts index 92757142e66a..9dbecc2a8f91 100644 --- a/packages/@azure/arm-sql/lib/models/restorableDroppedDatabasesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/restorableDroppedDatabasesMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/restorePointsMappers.ts b/packages/@azure/arm-sql/lib/models/restorePointsMappers.ts index 69cda7589ffd..b5764c0fcdef 100644 --- a/packages/@azure/arm-sql/lib/models/restorePointsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/restorePointsMappers.ts @@ -84,6 +84,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -105,6 +106,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/serverAutomaticTuningOperationsMappers.ts b/packages/@azure/arm-sql/lib/models/serverAutomaticTuningOperationsMappers.ts index 418d63556f00..05c9a659f19a 100644 --- a/packages/@azure/arm-sql/lib/models/serverAutomaticTuningOperationsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/serverAutomaticTuningOperationsMappers.ts @@ -83,6 +83,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerDnsAlias, ServerSecurityAlertPolicy, @@ -103,6 +104,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/serverAzureADAdministratorsMappers.ts b/packages/@azure/arm-sql/lib/models/serverAzureADAdministratorsMappers.ts index 204de81eb9a8..19b4ec5a515e 100644 --- a/packages/@azure/arm-sql/lib/models/serverAzureADAdministratorsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/serverAzureADAdministratorsMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/serverBlobAuditingPoliciesMappers.ts b/packages/@azure/arm-sql/lib/models/serverBlobAuditingPoliciesMappers.ts index dd50d42daa89..9829e70bd5e1 100644 --- a/packages/@azure/arm-sql/lib/models/serverBlobAuditingPoliciesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/serverBlobAuditingPoliciesMappers.ts @@ -81,6 +81,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/serverCommunicationLinksMappers.ts b/packages/@azure/arm-sql/lib/models/serverCommunicationLinksMappers.ts index 32a466fb0cfe..cbbb6f378ff2 100644 --- a/packages/@azure/arm-sql/lib/models/serverCommunicationLinksMappers.ts +++ b/packages/@azure/arm-sql/lib/models/serverCommunicationLinksMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/serverConnectionPoliciesMappers.ts b/packages/@azure/arm-sql/lib/models/serverConnectionPoliciesMappers.ts index 46bb1b102496..5022a8a45cba 100644 --- a/packages/@azure/arm-sql/lib/models/serverConnectionPoliciesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/serverConnectionPoliciesMappers.ts @@ -81,6 +81,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/serverDnsAliasesMappers.ts b/packages/@azure/arm-sql/lib/models/serverDnsAliasesMappers.ts index dc58e238402b..2e4fa617017c 100644 --- a/packages/@azure/arm-sql/lib/models/serverDnsAliasesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/serverDnsAliasesMappers.ts @@ -84,6 +84,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -105,6 +106,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/serverKeysMappers.ts b/packages/@azure/arm-sql/lib/models/serverKeysMappers.ts index 1834ee2570b6..af7e6700afed 100644 --- a/packages/@azure/arm-sql/lib/models/serverKeysMappers.ts +++ b/packages/@azure/arm-sql/lib/models/serverKeysMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/serverSecurityAlertPoliciesMappers.ts b/packages/@azure/arm-sql/lib/models/serverSecurityAlertPoliciesMappers.ts index 799f71f87054..b2840d088a2d 100644 --- a/packages/@azure/arm-sql/lib/models/serverSecurityAlertPoliciesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/serverSecurityAlertPoliciesMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/serverVulnerabilityAssessmentsMappers.ts b/packages/@azure/arm-sql/lib/models/serverVulnerabilityAssessmentsMappers.ts new file mode 100644 index 000000000000..cbc70e42a093 --- /dev/null +++ b/packages/@azure/arm-sql/lib/models/serverVulnerabilityAssessmentsMappers.ts @@ -0,0 +1,112 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export { + ServerVulnerabilityAssessment, + ProxyResource, + Resource, + BaseResource, + VulnerabilityAssessmentRecurringScansProperties, + CloudError, + ServerVulnerabilityAssessmentListResult, + RecoverableDatabase, + RestorableDroppedDatabase, + TrackedResource, + ServerConnectionPolicy, + DatabaseSecurityAlertPolicy, + DataMaskingPolicy, + DataMaskingRule, + FirewallRule, + GeoBackupPolicy, + ImportExportResponse, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + ReplicationLink, + ServerAzureADAdministrator, + ServerCommunicationLink, + ServiceObjective, + ElasticPoolActivity, + ElasticPoolDatabaseActivity, + RecommendedIndex, + OperationImpact, + TransparentDataEncryption, + ServiceTierAdvisor, + SloUsageMetric, + TransparentDataEncryptionActivity, + DatabaseAutomaticTuning, + AutomaticTuningOptions, + EncryptionProtector, + FailoverGroup, + FailoverGroupReadWriteEndpoint, + FailoverGroupReadOnlyEndpoint, + PartnerInfo, + ManagedInstance, + ResourceIdentity, + Sku, + ServerKey, + Server, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + SubscriptionUsage, + VirtualNetworkRule, + ExtendedDatabaseBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicy, + ServerBlobAuditingPolicy, + DatabaseBlobAuditingPolicy, + DatabaseVulnerabilityAssessmentRuleBaseline, + DatabaseVulnerabilityAssessmentRuleBaselineItem, + DatabaseVulnerabilityAssessment, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + Job, + JobSchedule, + JobStep, + JobStepAction, + JobStepOutput, + JobStepExecutionOptions, + JobTargetGroup, + JobTarget, + JobVersion, + LongTermRetentionBackup, + BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ServerAutomaticTuning, + AutomaticTuningServerOptions, + ServerDnsAlias, + ServerSecurityAlertPolicy, + RestorePoint, + DatabaseOperation, + ElasticPoolOperation, + Database, + ElasticPool, + ElasticPoolPerDatabaseSettings, + VulnerabilityAssessmentScanRecord, + VulnerabilityAssessmentScanError, + DatabaseVulnerabilityAssessmentScansExport, + InstanceFailoverGroup, + InstanceFailoverGroupReadWriteEndpoint, + InstanceFailoverGroupReadOnlyEndpoint, + PartnerRegionInfo, + ManagedInstancePairInfo, + BackupShortTermRetentionPolicy, + TdeCertificate, + ManagedInstanceKey, + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment +} from "../models/mappers"; + diff --git a/packages/@azure/arm-sql/lib/models/serversMappers.ts b/packages/@azure/arm-sql/lib/models/serversMappers.ts index 793b518f5559..d382b7bbb6b8 100644 --- a/packages/@azure/arm-sql/lib/models/serversMappers.ts +++ b/packages/@azure/arm-sql/lib/models/serversMappers.ts @@ -83,6 +83,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -106,6 +107,8 @@ export { TdeCertificate, ManagedInstanceKey, ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment, RecoverableDatabase, RestorableDroppedDatabase } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/serviceObjectivesMappers.ts b/packages/@azure/arm-sql/lib/models/serviceObjectivesMappers.ts index 8071f9fe25a0..7e2e4feac2ac 100644 --- a/packages/@azure/arm-sql/lib/models/serviceObjectivesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/serviceObjectivesMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/serviceTierAdvisorsMappers.ts b/packages/@azure/arm-sql/lib/models/serviceTierAdvisorsMappers.ts index 542af796420d..b456ee206a29 100644 --- a/packages/@azure/arm-sql/lib/models/serviceTierAdvisorsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/serviceTierAdvisorsMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/subscriptionUsagesMappers.ts b/packages/@azure/arm-sql/lib/models/subscriptionUsagesMappers.ts index 19456d922e37..be525cff5a60 100644 --- a/packages/@azure/arm-sql/lib/models/subscriptionUsagesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/subscriptionUsagesMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/syncAgentsMappers.ts b/packages/@azure/arm-sql/lib/models/syncAgentsMappers.ts index 037fbf44a7ed..58719da5a670 100644 --- a/packages/@azure/arm-sql/lib/models/syncAgentsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/syncAgentsMappers.ts @@ -84,6 +84,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -106,6 +107,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/syncGroupsMappers.ts b/packages/@azure/arm-sql/lib/models/syncGroupsMappers.ts index a9158744d062..a54f341fa249 100644 --- a/packages/@azure/arm-sql/lib/models/syncGroupsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/syncGroupsMappers.ts @@ -90,6 +90,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -112,6 +113,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/syncMembersMappers.ts b/packages/@azure/arm-sql/lib/models/syncMembersMappers.ts index ad32fedffee3..2ccdc5c7e409 100644 --- a/packages/@azure/arm-sql/lib/models/syncMembersMappers.ts +++ b/packages/@azure/arm-sql/lib/models/syncMembersMappers.ts @@ -86,6 +86,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -108,6 +109,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/tdeCertificatesMappers.ts b/packages/@azure/arm-sql/lib/models/tdeCertificatesMappers.ts index 875aa490c155..e1e0b32f7b00 100644 --- a/packages/@azure/arm-sql/lib/models/tdeCertificatesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/tdeCertificatesMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { ManagedInstancePairInfo, BackupShortTermRetentionPolicy, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/transparentDataEncryptionActivitiesMappers.ts b/packages/@azure/arm-sql/lib/models/transparentDataEncryptionActivitiesMappers.ts index 99956ae75547..b67953576615 100644 --- a/packages/@azure/arm-sql/lib/models/transparentDataEncryptionActivitiesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/transparentDataEncryptionActivitiesMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/transparentDataEncryptionsMappers.ts b/packages/@azure/arm-sql/lib/models/transparentDataEncryptionsMappers.ts index 006bc91d1400..dabe4371928b 100644 --- a/packages/@azure/arm-sql/lib/models/transparentDataEncryptionsMappers.ts +++ b/packages/@azure/arm-sql/lib/models/transparentDataEncryptionsMappers.ts @@ -81,6 +81,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -103,6 +104,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/models/virtualNetworkRulesMappers.ts b/packages/@azure/arm-sql/lib/models/virtualNetworkRulesMappers.ts index d886f8a0accd..aa6ced318b5e 100644 --- a/packages/@azure/arm-sql/lib/models/virtualNetworkRulesMappers.ts +++ b/packages/@azure/arm-sql/lib/models/virtualNetworkRulesMappers.ts @@ -82,6 +82,7 @@ export { JobVersion, LongTermRetentionBackup, BackupLongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ServerAutomaticTuning, AutomaticTuningServerOptions, @@ -104,6 +105,8 @@ export { BackupShortTermRetentionPolicy, TdeCertificate, ManagedInstanceKey, - ManagedInstanceEncryptionProtector + ManagedInstanceEncryptionProtector, + ManagedInstanceVulnerabilityAssessment, + ServerVulnerabilityAssessment } from "../models/mappers"; diff --git a/packages/@azure/arm-sql/lib/operations/backupLongTermRetentionPolicies.ts b/packages/@azure/arm-sql/lib/operations/backupLongTermRetentionPolicies.ts index 9d9003c73522..687cf8ee48d2 100644 --- a/packages/@azure/arm-sql/lib/operations/backupLongTermRetentionPolicies.ts +++ b/packages/@azure/arm-sql/lib/operations/backupLongTermRetentionPolicies.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/backupLongTermRetentionPoliciesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/backupShortTermRetentionPolicies.ts b/packages/@azure/arm-sql/lib/operations/backupShortTermRetentionPolicies.ts index a617ad949a8a..a91d73b39445 100644 --- a/packages/@azure/arm-sql/lib/operations/backupShortTermRetentionPolicies.ts +++ b/packages/@azure/arm-sql/lib/operations/backupShortTermRetentionPolicies.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/backupShortTermRetentionPoliciesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/capabilities.ts b/packages/@azure/arm-sql/lib/operations/capabilities.ts index 8ae55f07de98..56cbe7ea343b 100644 --- a/packages/@azure/arm-sql/lib/operations/capabilities.ts +++ b/packages/@azure/arm-sql/lib/operations/capabilities.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/capabilitiesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/dataMaskingPolicies.ts b/packages/@azure/arm-sql/lib/operations/dataMaskingPolicies.ts index f3c1b6bbf0ac..66ddab401ec4 100644 --- a/packages/@azure/arm-sql/lib/operations/dataMaskingPolicies.ts +++ b/packages/@azure/arm-sql/lib/operations/dataMaskingPolicies.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/dataMaskingPoliciesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/dataMaskingRules.ts b/packages/@azure/arm-sql/lib/operations/dataMaskingRules.ts index e43e8d5d1b42..730fb4fa3c41 100644 --- a/packages/@azure/arm-sql/lib/operations/dataMaskingRules.ts +++ b/packages/@azure/arm-sql/lib/operations/dataMaskingRules.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/dataMaskingRulesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/databaseAutomaticTuningOperations.ts b/packages/@azure/arm-sql/lib/operations/databaseAutomaticTuningOperations.ts index cfaeb9ddfa3a..c8538356092a 100644 --- a/packages/@azure/arm-sql/lib/operations/databaseAutomaticTuningOperations.ts +++ b/packages/@azure/arm-sql/lib/operations/databaseAutomaticTuningOperations.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/databaseAutomaticTuningOperationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/databaseBlobAuditingPolicies.ts b/packages/@azure/arm-sql/lib/operations/databaseBlobAuditingPolicies.ts index a21faa8f104e..180f70963210 100644 --- a/packages/@azure/arm-sql/lib/operations/databaseBlobAuditingPolicies.ts +++ b/packages/@azure/arm-sql/lib/operations/databaseBlobAuditingPolicies.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/databaseBlobAuditingPoliciesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/databaseOperations.ts b/packages/@azure/arm-sql/lib/operations/databaseOperations.ts index 160c00f10eca..73da08119974 100644 --- a/packages/@azure/arm-sql/lib/operations/databaseOperations.ts +++ b/packages/@azure/arm-sql/lib/operations/databaseOperations.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/databaseOperationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/databaseThreatDetectionPolicies.ts b/packages/@azure/arm-sql/lib/operations/databaseThreatDetectionPolicies.ts index 632378db57f0..13565e880d9b 100644 --- a/packages/@azure/arm-sql/lib/operations/databaseThreatDetectionPolicies.ts +++ b/packages/@azure/arm-sql/lib/operations/databaseThreatDetectionPolicies.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/databaseThreatDetectionPoliciesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/databaseUsages.ts b/packages/@azure/arm-sql/lib/operations/databaseUsages.ts index 1371a7ef1350..a7146aee6cb0 100644 --- a/packages/@azure/arm-sql/lib/operations/databaseUsages.ts +++ b/packages/@azure/arm-sql/lib/operations/databaseUsages.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/databaseUsagesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/databaseVulnerabilityAssessmentRuleBaselines.ts b/packages/@azure/arm-sql/lib/operations/databaseVulnerabilityAssessmentRuleBaselines.ts index 4f53146a5e9c..f51ea0cf4bd7 100644 --- a/packages/@azure/arm-sql/lib/operations/databaseVulnerabilityAssessmentRuleBaselines.ts +++ b/packages/@azure/arm-sql/lib/operations/databaseVulnerabilityAssessmentRuleBaselines.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/databaseVulnerabilityAssessmentRuleBaselinesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/databaseVulnerabilityAssessmentScans.ts b/packages/@azure/arm-sql/lib/operations/databaseVulnerabilityAssessmentScans.ts index 8ee776567460..20c44d8e1471 100644 --- a/packages/@azure/arm-sql/lib/operations/databaseVulnerabilityAssessmentScans.ts +++ b/packages/@azure/arm-sql/lib/operations/databaseVulnerabilityAssessmentScans.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/databaseVulnerabilityAssessmentScansMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/databaseVulnerabilityAssessments.ts b/packages/@azure/arm-sql/lib/operations/databaseVulnerabilityAssessments.ts index 89ea1f41fd7d..621d018f2bc6 100644 --- a/packages/@azure/arm-sql/lib/operations/databaseVulnerabilityAssessments.ts +++ b/packages/@azure/arm-sql/lib/operations/databaseVulnerabilityAssessments.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/databaseVulnerabilityAssessmentsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/databases.ts b/packages/@azure/arm-sql/lib/operations/databases.ts index fceebf768045..677d089b03c2 100644 --- a/packages/@azure/arm-sql/lib/operations/databases.ts +++ b/packages/@azure/arm-sql/lib/operations/databases.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/databasesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/elasticPoolActivities.ts b/packages/@azure/arm-sql/lib/operations/elasticPoolActivities.ts index b92a53a28564..41b02ce1dc7a 100644 --- a/packages/@azure/arm-sql/lib/operations/elasticPoolActivities.ts +++ b/packages/@azure/arm-sql/lib/operations/elasticPoolActivities.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/elasticPoolActivitiesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/elasticPoolDatabaseActivities.ts b/packages/@azure/arm-sql/lib/operations/elasticPoolDatabaseActivities.ts index ce192573ba8f..12a137296830 100644 --- a/packages/@azure/arm-sql/lib/operations/elasticPoolDatabaseActivities.ts +++ b/packages/@azure/arm-sql/lib/operations/elasticPoolDatabaseActivities.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/elasticPoolDatabaseActivitiesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/elasticPoolOperations.ts b/packages/@azure/arm-sql/lib/operations/elasticPoolOperations.ts index 466c2521e191..049f74e667db 100644 --- a/packages/@azure/arm-sql/lib/operations/elasticPoolOperations.ts +++ b/packages/@azure/arm-sql/lib/operations/elasticPoolOperations.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/elasticPoolOperationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/elasticPools.ts b/packages/@azure/arm-sql/lib/operations/elasticPools.ts index 7cbca290d4a0..a76c54524e24 100644 --- a/packages/@azure/arm-sql/lib/operations/elasticPools.ts +++ b/packages/@azure/arm-sql/lib/operations/elasticPools.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/elasticPoolsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/encryptionProtectors.ts b/packages/@azure/arm-sql/lib/operations/encryptionProtectors.ts index c71397cbefbd..cf551537ce79 100644 --- a/packages/@azure/arm-sql/lib/operations/encryptionProtectors.ts +++ b/packages/@azure/arm-sql/lib/operations/encryptionProtectors.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/encryptionProtectorsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/extendedDatabaseBlobAuditingPolicies.ts b/packages/@azure/arm-sql/lib/operations/extendedDatabaseBlobAuditingPolicies.ts index 9159678a491c..9ef57481318c 100644 --- a/packages/@azure/arm-sql/lib/operations/extendedDatabaseBlobAuditingPolicies.ts +++ b/packages/@azure/arm-sql/lib/operations/extendedDatabaseBlobAuditingPolicies.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/extendedDatabaseBlobAuditingPoliciesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/extendedServerBlobAuditingPolicies.ts b/packages/@azure/arm-sql/lib/operations/extendedServerBlobAuditingPolicies.ts index 1c5750a89df1..b870dc3035db 100644 --- a/packages/@azure/arm-sql/lib/operations/extendedServerBlobAuditingPolicies.ts +++ b/packages/@azure/arm-sql/lib/operations/extendedServerBlobAuditingPolicies.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/extendedServerBlobAuditingPoliciesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/failoverGroups.ts b/packages/@azure/arm-sql/lib/operations/failoverGroups.ts index 21e1271e129b..6d848d2f2018 100644 --- a/packages/@azure/arm-sql/lib/operations/failoverGroups.ts +++ b/packages/@azure/arm-sql/lib/operations/failoverGroups.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/failoverGroupsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/firewallRules.ts b/packages/@azure/arm-sql/lib/operations/firewallRules.ts index 973727b6c7b6..af4cf9ddac0c 100644 --- a/packages/@azure/arm-sql/lib/operations/firewallRules.ts +++ b/packages/@azure/arm-sql/lib/operations/firewallRules.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/firewallRulesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/geoBackupPolicies.ts b/packages/@azure/arm-sql/lib/operations/geoBackupPolicies.ts index 1d5e8530fe2b..661201b459fb 100644 --- a/packages/@azure/arm-sql/lib/operations/geoBackupPolicies.ts +++ b/packages/@azure/arm-sql/lib/operations/geoBackupPolicies.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/geoBackupPoliciesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/index.ts b/packages/@azure/arm-sql/lib/operations/index.ts index 7630dd61d64a..576b99f82d7c 100644 --- a/packages/@azure/arm-sql/lib/operations/index.ts +++ b/packages/@azure/arm-sql/lib/operations/index.ts @@ -59,6 +59,7 @@ export * from "./jobTargetGroups"; export * from "./jobVersions"; export * from "./longTermRetentionBackups"; export * from "./backupLongTermRetentionPolicies"; +export * from "./managedBackupShortTermRetentionPolicies"; export * from "./managedDatabases"; export * from "./serverAutomaticTuningOperations"; export * from "./serverDnsAliases"; @@ -77,3 +78,5 @@ export * from "./tdeCertificates"; export * from "./managedInstanceTdeCertificates"; export * from "./managedInstanceKeys"; export * from "./managedInstanceEncryptionProtectors"; +export * from "./managedInstanceVulnerabilityAssessments"; +export * from "./serverVulnerabilityAssessments"; diff --git a/packages/@azure/arm-sql/lib/operations/instanceFailoverGroups.ts b/packages/@azure/arm-sql/lib/operations/instanceFailoverGroups.ts index 49859eecb3ef..be0ae243f7f4 100644 --- a/packages/@azure/arm-sql/lib/operations/instanceFailoverGroups.ts +++ b/packages/@azure/arm-sql/lib/operations/instanceFailoverGroups.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/instanceFailoverGroupsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/jobAgents.ts b/packages/@azure/arm-sql/lib/operations/jobAgents.ts index 903641d6f319..6867ba6018b4 100644 --- a/packages/@azure/arm-sql/lib/operations/jobAgents.ts +++ b/packages/@azure/arm-sql/lib/operations/jobAgents.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/jobAgentsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/jobCredentials.ts b/packages/@azure/arm-sql/lib/operations/jobCredentials.ts index 53c8197733f4..da33732cbf94 100644 --- a/packages/@azure/arm-sql/lib/operations/jobCredentials.ts +++ b/packages/@azure/arm-sql/lib/operations/jobCredentials.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/jobCredentialsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/jobExecutions.ts b/packages/@azure/arm-sql/lib/operations/jobExecutions.ts index 1e929e52832a..474848bba6a5 100644 --- a/packages/@azure/arm-sql/lib/operations/jobExecutions.ts +++ b/packages/@azure/arm-sql/lib/operations/jobExecutions.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/jobExecutionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/jobStepExecutions.ts b/packages/@azure/arm-sql/lib/operations/jobStepExecutions.ts index 6054ec657780..225f9da48067 100644 --- a/packages/@azure/arm-sql/lib/operations/jobStepExecutions.ts +++ b/packages/@azure/arm-sql/lib/operations/jobStepExecutions.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/jobStepExecutionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/jobSteps.ts b/packages/@azure/arm-sql/lib/operations/jobSteps.ts index 81d830892008..5510e9a639ff 100644 --- a/packages/@azure/arm-sql/lib/operations/jobSteps.ts +++ b/packages/@azure/arm-sql/lib/operations/jobSteps.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/jobStepsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/jobTargetExecutions.ts b/packages/@azure/arm-sql/lib/operations/jobTargetExecutions.ts index 96d69772ca6d..b026251e445c 100644 --- a/packages/@azure/arm-sql/lib/operations/jobTargetExecutions.ts +++ b/packages/@azure/arm-sql/lib/operations/jobTargetExecutions.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/jobTargetExecutionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/jobTargetGroups.ts b/packages/@azure/arm-sql/lib/operations/jobTargetGroups.ts index e2db4c4a0853..8ffff9a406fa 100644 --- a/packages/@azure/arm-sql/lib/operations/jobTargetGroups.ts +++ b/packages/@azure/arm-sql/lib/operations/jobTargetGroups.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/jobTargetGroupsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/jobVersions.ts b/packages/@azure/arm-sql/lib/operations/jobVersions.ts index 31016c7f1429..b8d28f5ac641 100644 --- a/packages/@azure/arm-sql/lib/operations/jobVersions.ts +++ b/packages/@azure/arm-sql/lib/operations/jobVersions.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/jobVersionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/jobs.ts b/packages/@azure/arm-sql/lib/operations/jobs.ts index c4c46ebb7525..ba62a7a9c6c3 100644 --- a/packages/@azure/arm-sql/lib/operations/jobs.ts +++ b/packages/@azure/arm-sql/lib/operations/jobs.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/jobsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/longTermRetentionBackups.ts b/packages/@azure/arm-sql/lib/operations/longTermRetentionBackups.ts index 01641e38b809..0f966123f36a 100644 --- a/packages/@azure/arm-sql/lib/operations/longTermRetentionBackups.ts +++ b/packages/@azure/arm-sql/lib/operations/longTermRetentionBackups.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/longTermRetentionBackupsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/managedBackupShortTermRetentionPolicies.ts b/packages/@azure/arm-sql/lib/operations/managedBackupShortTermRetentionPolicies.ts new file mode 100644 index 000000000000..7b8abd6c5c25 --- /dev/null +++ b/packages/@azure/arm-sql/lib/operations/managedBackupShortTermRetentionPolicies.ts @@ -0,0 +1,357 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +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/managedBackupShortTermRetentionPoliciesMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a ManagedBackupShortTermRetentionPolicies. */ +export class ManagedBackupShortTermRetentionPolicies { + private readonly client: SqlManagementClientContext; + + /** + * Create a ManagedBackupShortTermRetentionPolicies. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Gets a managed database's short term retention policy. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param callback The callback + */ + get(resourceGroupName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + databaseName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Updates a managed database's short term retention policy. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param parameters The short term retention policy info. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.ManagedBackupShortTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,managedInstanceName,databaseName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Updates a managed database's short term retention policy. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param parameters The short term retention policy info. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.ManagedBackupShortTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(resourceGroupName,managedInstanceName,databaseName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Gets a managed database's short term retention policy list. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param [options] The optional parameters + * @returns Promise + */ + listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param callback The callback + */ + listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param options The optional parameters + * @param callback The callback + */ + listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + databaseName, + options + }, + listByDatabaseOperationSpec, + callback) as Promise; + } + + /** + * Updates a managed database's short term retention policy. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param parameters The short term retention policy info. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.ManagedBackupShortTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + managedInstanceName, + databaseName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Updates a managed database's short term retention policy. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param parameters The short term retention policy info. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.ManagedBackupShortTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + managedInstanceName, + databaseName, + parameters, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * Gets a managed database's short term retention policy list. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByDatabaseNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.policyName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedBackupShortTermRetentionPolicy + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByDatabaseOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupShortTermRetentionPolicies", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedBackupShortTermRetentionPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.policyName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ManagedBackupShortTermRetentionPolicy, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ManagedBackupShortTermRetentionPolicy + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.policyName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ManagedBackupShortTermRetentionPolicy, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ManagedBackupShortTermRetentionPolicy + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByDatabaseNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedBackupShortTermRetentionPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-sql/lib/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts b/packages/@azure/arm-sql/lib/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts index c896f162e50f..2cff3b673b3f 100644 --- a/packages/@azure/arm-sql/lib/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts +++ b/packages/@azure/arm-sql/lib/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.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/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/managedDatabaseVulnerabilityAssessmentScans.ts b/packages/@azure/arm-sql/lib/operations/managedDatabaseVulnerabilityAssessmentScans.ts index 0e0d7b3a6690..9cdc67c4f9f3 100644 --- a/packages/@azure/arm-sql/lib/operations/managedDatabaseVulnerabilityAssessmentScans.ts +++ b/packages/@azure/arm-sql/lib/operations/managedDatabaseVulnerabilityAssessmentScans.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/managedDatabaseVulnerabilityAssessmentScansMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/managedDatabaseVulnerabilityAssessments.ts b/packages/@azure/arm-sql/lib/operations/managedDatabaseVulnerabilityAssessments.ts index 1c8ea822e78b..7880f42b6616 100644 --- a/packages/@azure/arm-sql/lib/operations/managedDatabaseVulnerabilityAssessments.ts +++ b/packages/@azure/arm-sql/lib/operations/managedDatabaseVulnerabilityAssessments.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/managedDatabaseVulnerabilityAssessmentsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/managedDatabases.ts b/packages/@azure/arm-sql/lib/operations/managedDatabases.ts index d8a6f60e4a10..ecee4e4585eb 100644 --- a/packages/@azure/arm-sql/lib/operations/managedDatabases.ts +++ b/packages/@azure/arm-sql/lib/operations/managedDatabases.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/managedDatabasesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/managedInstanceEncryptionProtectors.ts b/packages/@azure/arm-sql/lib/operations/managedInstanceEncryptionProtectors.ts index 4246958c299b..fd56a36eea4b 100644 --- a/packages/@azure/arm-sql/lib/operations/managedInstanceEncryptionProtectors.ts +++ b/packages/@azure/arm-sql/lib/operations/managedInstanceEncryptionProtectors.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/managedInstanceEncryptionProtectorsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/managedInstanceKeys.ts b/packages/@azure/arm-sql/lib/operations/managedInstanceKeys.ts index 7c47dbcbde46..36bd7ef28283 100644 --- a/packages/@azure/arm-sql/lib/operations/managedInstanceKeys.ts +++ b/packages/@azure/arm-sql/lib/operations/managedInstanceKeys.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/managedInstanceKeysMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/managedInstanceTdeCertificates.ts b/packages/@azure/arm-sql/lib/operations/managedInstanceTdeCertificates.ts index 10cd1f26d747..3f394c1ad151 100644 --- a/packages/@azure/arm-sql/lib/operations/managedInstanceTdeCertificates.ts +++ b/packages/@azure/arm-sql/lib/operations/managedInstanceTdeCertificates.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/managedInstanceTdeCertificatesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/managedInstanceVulnerabilityAssessments.ts b/packages/@azure/arm-sql/lib/operations/managedInstanceVulnerabilityAssessments.ts new file mode 100644 index 000000000000..ceed6a0b8c10 --- /dev/null +++ b/packages/@azure/arm-sql/lib/operations/managedInstanceVulnerabilityAssessments.ts @@ -0,0 +1,346 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/managedInstanceVulnerabilityAssessmentsMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a ManagedInstanceVulnerabilityAssessments. */ +export class ManagedInstanceVulnerabilityAssessments { + private readonly client: SqlManagementClientContext; + + /** + * Create a ManagedInstanceVulnerabilityAssessments. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Gets the managed instance's vulnerability assessment. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance for which the vulnerability + * assessment is defined. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance for which the vulnerability + * assessment is defined. + * @param callback The callback + */ + get(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance for which the vulnerability + * assessment is defined. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates the managed instance's vulnerability assessment. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance for which the vulnerability + * assessment is defined. + * @param parameters The requested resource. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, managedInstanceName: string, parameters: Models.ManagedInstanceVulnerabilityAssessment, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance for which the vulnerability + * assessment is defined. + * @param parameters The requested resource. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, managedInstanceName: string, parameters: Models.ManagedInstanceVulnerabilityAssessment, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance for which the vulnerability + * assessment is defined. + * @param parameters The requested resource. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, managedInstanceName: string, parameters: Models.ManagedInstanceVulnerabilityAssessment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, managedInstanceName: string, parameters: Models.ManagedInstanceVulnerabilityAssessment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Removes the managed instance's vulnerability assessment. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance for which the vulnerability + * assessment is defined. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance for which the vulnerability + * assessment is defined. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance for which the vulnerability + * assessment is defined. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Gets the managed instance's vulnerability assessment policies. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance for which the vulnerability + * assessments is defined. + * @param [options] The optional parameters + * @returns Promise + */ + listByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance for which the vulnerability + * assessments is defined. + * @param callback The callback + */ + listByInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance for which the vulnerability + * assessments is defined. + * @param options The optional parameters + * @param callback The callback + */ + listByInstance(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + options + }, + listByInstanceOperationSpec, + callback) as Promise; + } + + /** + * Gets the managed instance's vulnerability assessment policies. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByInstanceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByInstanceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.vulnerabilityAssessmentName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceVulnerabilityAssessment + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.vulnerabilityAssessmentName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ManagedInstanceVulnerabilityAssessment, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceVulnerabilityAssessment + }, + 201: { + bodyMapper: Mappers.ManagedInstanceVulnerabilityAssessment + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.vulnerabilityAssessmentName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByInstanceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceVulnerabilityAssessmentListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByInstanceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceVulnerabilityAssessmentListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-sql/lib/operations/managedInstances.ts b/packages/@azure/arm-sql/lib/operations/managedInstances.ts index 552a3c69f748..55a0e5ed91fc 100644 --- a/packages/@azure/arm-sql/lib/operations/managedInstances.ts +++ b/packages/@azure/arm-sql/lib/operations/managedInstances.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/managedInstancesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/operations.ts b/packages/@azure/arm-sql/lib/operations/operations.ts index 177a37976b51..21acf86ad037 100644 --- a/packages/@azure/arm-sql/lib/operations/operations.ts +++ b/packages/@azure/arm-sql/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-sql/lib/operations/recommendedElasticPools.ts b/packages/@azure/arm-sql/lib/operations/recommendedElasticPools.ts index 460b515c9db3..8fc720afebb9 100644 --- a/packages/@azure/arm-sql/lib/operations/recommendedElasticPools.ts +++ b/packages/@azure/arm-sql/lib/operations/recommendedElasticPools.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/recommendedElasticPoolsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/recoverableDatabases.ts b/packages/@azure/arm-sql/lib/operations/recoverableDatabases.ts index 95d777731ee6..698f705aec79 100644 --- a/packages/@azure/arm-sql/lib/operations/recoverableDatabases.ts +++ b/packages/@azure/arm-sql/lib/operations/recoverableDatabases.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/recoverableDatabasesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/replicationLinks.ts b/packages/@azure/arm-sql/lib/operations/replicationLinks.ts index 4be73d0fc290..2e3b76a6773e 100644 --- a/packages/@azure/arm-sql/lib/operations/replicationLinks.ts +++ b/packages/@azure/arm-sql/lib/operations/replicationLinks.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/replicationLinksMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/restorableDroppedDatabases.ts b/packages/@azure/arm-sql/lib/operations/restorableDroppedDatabases.ts index d1799028da81..8cead12893dd 100644 --- a/packages/@azure/arm-sql/lib/operations/restorableDroppedDatabases.ts +++ b/packages/@azure/arm-sql/lib/operations/restorableDroppedDatabases.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/restorableDroppedDatabasesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/restorePoints.ts b/packages/@azure/arm-sql/lib/operations/restorePoints.ts index a1496af0b04e..bedade5c5328 100644 --- a/packages/@azure/arm-sql/lib/operations/restorePoints.ts +++ b/packages/@azure/arm-sql/lib/operations/restorePoints.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/restorePointsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/serverAutomaticTuningOperations.ts b/packages/@azure/arm-sql/lib/operations/serverAutomaticTuningOperations.ts index 0b9405cc7914..c347854122df 100644 --- a/packages/@azure/arm-sql/lib/operations/serverAutomaticTuningOperations.ts +++ b/packages/@azure/arm-sql/lib/operations/serverAutomaticTuningOperations.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/serverAutomaticTuningOperationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/serverAzureADAdministrators.ts b/packages/@azure/arm-sql/lib/operations/serverAzureADAdministrators.ts index 7d0c9c6730d5..2e768b74c370 100644 --- a/packages/@azure/arm-sql/lib/operations/serverAzureADAdministrators.ts +++ b/packages/@azure/arm-sql/lib/operations/serverAzureADAdministrators.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/serverAzureADAdministratorsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/serverBlobAuditingPolicies.ts b/packages/@azure/arm-sql/lib/operations/serverBlobAuditingPolicies.ts index 9ea90510f866..edb5fd10756d 100644 --- a/packages/@azure/arm-sql/lib/operations/serverBlobAuditingPolicies.ts +++ b/packages/@azure/arm-sql/lib/operations/serverBlobAuditingPolicies.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/serverBlobAuditingPoliciesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/serverCommunicationLinks.ts b/packages/@azure/arm-sql/lib/operations/serverCommunicationLinks.ts index ea566ec6ee37..e334e3dba6e2 100644 --- a/packages/@azure/arm-sql/lib/operations/serverCommunicationLinks.ts +++ b/packages/@azure/arm-sql/lib/operations/serverCommunicationLinks.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/serverCommunicationLinksMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/serverConnectionPolicies.ts b/packages/@azure/arm-sql/lib/operations/serverConnectionPolicies.ts index 571b5136ad20..8cd96ee36a74 100644 --- a/packages/@azure/arm-sql/lib/operations/serverConnectionPolicies.ts +++ b/packages/@azure/arm-sql/lib/operations/serverConnectionPolicies.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/serverConnectionPoliciesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/serverDnsAliases.ts b/packages/@azure/arm-sql/lib/operations/serverDnsAliases.ts index 39f226ebecdf..86a7063d4306 100644 --- a/packages/@azure/arm-sql/lib/operations/serverDnsAliases.ts +++ b/packages/@azure/arm-sql/lib/operations/serverDnsAliases.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/serverDnsAliasesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/serverKeys.ts b/packages/@azure/arm-sql/lib/operations/serverKeys.ts index 794bac8879a7..b53497dcea66 100644 --- a/packages/@azure/arm-sql/lib/operations/serverKeys.ts +++ b/packages/@azure/arm-sql/lib/operations/serverKeys.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/serverKeysMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/serverSecurityAlertPolicies.ts b/packages/@azure/arm-sql/lib/operations/serverSecurityAlertPolicies.ts index f1f28b579fa3..0c68bcd6919e 100644 --- a/packages/@azure/arm-sql/lib/operations/serverSecurityAlertPolicies.ts +++ b/packages/@azure/arm-sql/lib/operations/serverSecurityAlertPolicies.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/serverSecurityAlertPoliciesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/serverUsages.ts b/packages/@azure/arm-sql/lib/operations/serverUsages.ts index 66f08058d052..ca3991457707 100644 --- a/packages/@azure/arm-sql/lib/operations/serverUsages.ts +++ b/packages/@azure/arm-sql/lib/operations/serverUsages.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/serverUsagesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/serverVulnerabilityAssessments.ts b/packages/@azure/arm-sql/lib/operations/serverVulnerabilityAssessments.ts new file mode 100644 index 000000000000..4a025168ad2d --- /dev/null +++ b/packages/@azure/arm-sql/lib/operations/serverVulnerabilityAssessments.ts @@ -0,0 +1,334 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/serverVulnerabilityAssessmentsMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a ServerVulnerabilityAssessments. */ +export class ServerVulnerabilityAssessments { + private readonly client: SqlManagementClientContext; + + /** + * Create a ServerVulnerabilityAssessments. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Gets the server's vulnerability assessment. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server for which the vulnerability assessment is defined. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server for which the vulnerability assessment is defined. + * @param callback The callback + */ + get(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server for which the vulnerability assessment is defined. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates the server's vulnerability assessment. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server for which the vulnerability assessment is defined. + * @param parameters The requested resource. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerVulnerabilityAssessment, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server for which the vulnerability assessment is defined. + * @param parameters The requested resource. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerVulnerabilityAssessment, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server for which the vulnerability assessment is defined. + * @param parameters The requested resource. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerVulnerabilityAssessment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerVulnerabilityAssessment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Removes the server's vulnerability assessment. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server for which the vulnerability assessment is defined. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server for which the vulnerability assessment is defined. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server for which the vulnerability assessment is defined. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Lists the vulnerability assessment policies associated with a server. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param [options] The optional parameters + * @returns Promise + */ + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param callback The callback + */ + listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param options The optional parameters + * @param callback The callback + */ + listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + options + }, + listByServerOperationSpec, + callback) as Promise; + } + + /** + * Lists the vulnerability assessment policies associated with a server. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServerNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.vulnerabilityAssessmentName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerVulnerabilityAssessment + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.vulnerabilityAssessmentName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ServerVulnerabilityAssessment, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ServerVulnerabilityAssessment + }, + 201: { + bodyMapper: Mappers.ServerVulnerabilityAssessment + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.vulnerabilityAssessmentName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByServerOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/vulnerabilityAssessments", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerVulnerabilityAssessmentListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByServerNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerVulnerabilityAssessmentListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-sql/lib/operations/servers.ts b/packages/@azure/arm-sql/lib/operations/servers.ts index 9f0f2065699c..734cb28282b2 100644 --- a/packages/@azure/arm-sql/lib/operations/servers.ts +++ b/packages/@azure/arm-sql/lib/operations/servers.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/serversMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/serviceObjectives.ts b/packages/@azure/arm-sql/lib/operations/serviceObjectives.ts index a4f56319eac3..d10a6be2ddd5 100644 --- a/packages/@azure/arm-sql/lib/operations/serviceObjectives.ts +++ b/packages/@azure/arm-sql/lib/operations/serviceObjectives.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/serviceObjectivesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/serviceTierAdvisors.ts b/packages/@azure/arm-sql/lib/operations/serviceTierAdvisors.ts index 397138fe3422..ab2ce84c5fa4 100644 --- a/packages/@azure/arm-sql/lib/operations/serviceTierAdvisors.ts +++ b/packages/@azure/arm-sql/lib/operations/serviceTierAdvisors.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/serviceTierAdvisorsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/subscriptionUsages.ts b/packages/@azure/arm-sql/lib/operations/subscriptionUsages.ts index d840a52e73e7..34dc34fce3ad 100644 --- a/packages/@azure/arm-sql/lib/operations/subscriptionUsages.ts +++ b/packages/@azure/arm-sql/lib/operations/subscriptionUsages.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/subscriptionUsagesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/syncAgents.ts b/packages/@azure/arm-sql/lib/operations/syncAgents.ts index c54e459b1be4..5cbc4360dda4 100644 --- a/packages/@azure/arm-sql/lib/operations/syncAgents.ts +++ b/packages/@azure/arm-sql/lib/operations/syncAgents.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/syncAgentsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/syncGroups.ts b/packages/@azure/arm-sql/lib/operations/syncGroups.ts index 166c242dea88..5824e0f64925 100644 --- a/packages/@azure/arm-sql/lib/operations/syncGroups.ts +++ b/packages/@azure/arm-sql/lib/operations/syncGroups.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/syncGroupsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/syncMembers.ts b/packages/@azure/arm-sql/lib/operations/syncMembers.ts index e5c80427fb1c..76a574df56e0 100644 --- a/packages/@azure/arm-sql/lib/operations/syncMembers.ts +++ b/packages/@azure/arm-sql/lib/operations/syncMembers.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/syncMembersMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/tdeCertificates.ts b/packages/@azure/arm-sql/lib/operations/tdeCertificates.ts index 6ac154ae06f0..0fef38e26455 100644 --- a/packages/@azure/arm-sql/lib/operations/tdeCertificates.ts +++ b/packages/@azure/arm-sql/lib/operations/tdeCertificates.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/tdeCertificatesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/transparentDataEncryptionActivities.ts b/packages/@azure/arm-sql/lib/operations/transparentDataEncryptionActivities.ts index 7aa76fa6f621..35545b94cc76 100644 --- a/packages/@azure/arm-sql/lib/operations/transparentDataEncryptionActivities.ts +++ b/packages/@azure/arm-sql/lib/operations/transparentDataEncryptionActivities.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/transparentDataEncryptionActivitiesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/transparentDataEncryptions.ts b/packages/@azure/arm-sql/lib/operations/transparentDataEncryptions.ts index 6298b9c5ac7e..29f3d63bbf1b 100644 --- a/packages/@azure/arm-sql/lib/operations/transparentDataEncryptions.ts +++ b/packages/@azure/arm-sql/lib/operations/transparentDataEncryptions.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/transparentDataEncryptionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/operations/virtualNetworkRules.ts b/packages/@azure/arm-sql/lib/operations/virtualNetworkRules.ts index c54904291fd9..bc25e2b3fb62 100644 --- a/packages/@azure/arm-sql/lib/operations/virtualNetworkRules.ts +++ b/packages/@azure/arm-sql/lib/operations/virtualNetworkRules.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/virtualNetworkRulesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-sql/lib/sqlManagementClient.ts b/packages/@azure/arm-sql/lib/sqlManagementClient.ts index fd97feb168df..19846265a45a 100644 --- a/packages/@azure/arm-sql/lib/sqlManagementClient.ts +++ b/packages/@azure/arm-sql/lib/sqlManagementClient.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"; @@ -68,6 +68,7 @@ class SqlManagementClient extends SqlManagementClientContext { jobVersions: operations.JobVersions; longTermRetentionBackups: operations.LongTermRetentionBackups; backupLongTermRetentionPolicies: operations.BackupLongTermRetentionPolicies; + managedBackupShortTermRetentionPolicies: operations.ManagedBackupShortTermRetentionPolicies; managedDatabases: operations.ManagedDatabases; serverAutomaticTuning: operations.ServerAutomaticTuningOperations; serverDnsAliases: operations.ServerDnsAliases; @@ -86,6 +87,8 @@ class SqlManagementClient extends SqlManagementClientContext { managedInstanceTdeCertificates: operations.ManagedInstanceTdeCertificates; managedInstanceKeys: operations.ManagedInstanceKeys; managedInstanceEncryptionProtectors: operations.ManagedInstanceEncryptionProtectors; + managedInstanceVulnerabilityAssessments: operations.ManagedInstanceVulnerabilityAssessments; + serverVulnerabilityAssessments: operations.ServerVulnerabilityAssessments; /** * Initializes a new instance of the SqlManagementClient class. @@ -146,6 +149,7 @@ class SqlManagementClient extends SqlManagementClientContext { this.jobVersions = new operations.JobVersions(this); this.longTermRetentionBackups = new operations.LongTermRetentionBackups(this); this.backupLongTermRetentionPolicies = new operations.BackupLongTermRetentionPolicies(this); + this.managedBackupShortTermRetentionPolicies = new operations.ManagedBackupShortTermRetentionPolicies(this); this.managedDatabases = new operations.ManagedDatabases(this); this.serverAutomaticTuning = new operations.ServerAutomaticTuningOperations(this); this.serverDnsAliases = new operations.ServerDnsAliases(this); @@ -164,6 +168,8 @@ class SqlManagementClient extends SqlManagementClientContext { this.managedInstanceTdeCertificates = new operations.ManagedInstanceTdeCertificates(this); this.managedInstanceKeys = new operations.ManagedInstanceKeys(this); this.managedInstanceEncryptionProtectors = new operations.ManagedInstanceEncryptionProtectors(this); + this.managedInstanceVulnerabilityAssessments = new operations.ManagedInstanceVulnerabilityAssessments(this); + this.serverVulnerabilityAssessments = new operations.ServerVulnerabilityAssessments(this); } } diff --git a/packages/@azure/arm-sql/lib/sqlManagementClientContext.ts b/packages/@azure/arm-sql/lib/sqlManagementClientContext.ts index 7a2ae0da6264..a2de8c70b729 100644 --- a/packages/@azure/arm-sql/lib/sqlManagementClientContext.ts +++ b/packages/@azure/arm-sql/lib/sqlManagementClientContext.ts @@ -9,8 +9,8 @@ */ 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-sql"; const packageVersion = "0.1.0"; diff --git a/packages/@azure/arm-sql/package.json b/packages/@azure/arm-sql/package.json index 1132efc12f51..28039b7b260a 100644 --- a/packages/@azure/arm-sql/package.json +++ b/packages/@azure/arm-sql/package.json @@ -4,8 +4,8 @@ "description": "SqlManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.461", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ diff --git a/packages/@azure/arm-sql/rollup.config.js b/packages/@azure/arm-sql/rollup.config.js index 640da604eb8c..156da7625869 100644 --- a/packages/@azure/arm-sql/rollup.config.js +++ b/packages/@azure/arm-sql/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/sqlManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-sql.js", format: "umd", name: "Azure.ArmSql", 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-sql/tsconfig.json b/packages/@azure/arm-sql/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-sql/tsconfig.json +++ b/packages/@azure/arm-sql/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-storage/README.md b/packages/@azure/arm-storage/README.md index 7e4ffefa24c4..a696aea75b46 100644 --- a/packages/@azure/arm-storage/README.md +++ b/packages/@azure/arm-storage/README.md @@ -1,24 +1,34 @@ -# Azure StorageManagementClient SDK for JavaScript +## Azure StorageManagementClient SDK for JavaScript + This package contains an isomorphic SDK for StorageManagementClient. -## 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-storage ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { StorageManagementClient, StorageManagementModels, StorageManagementMappers } from "@azure/arm-storage"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-storage 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-storage/lib/models/blobServiceMappers.ts b/packages/@azure/arm-storage/lib/models/blobServiceMappers.ts deleted file mode 100644 index 7b23c884d348..000000000000 --- a/packages/@azure/arm-storage/lib/models/blobServiceMappers.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - -export { - BlobServiceProperties, - Resource, - BaseResource, - CorsRules, - CorsRule, - DeleteRetentionPolicy, - CloudError, - ProxyResource, - AzureEntityResource, - TrackedResource, - BlobContainer, - ImmutabilityPolicyProperties, - UpdateHistoryProperty, - LegalHoldProperties, - TagProperty, - ImmutabilityPolicy, - ListContainerItem, - StorageAccountManagementPolicies, - StorageAccount, - Sku, - SKUCapability, - Restriction, - Identity, - Endpoints, - CustomDomain, - Encryption, - EncryptionServices, - EncryptionService, - KeyVaultProperties, - NetworkRuleSet, - VirtualNetworkRule, - IPRule -} from "../models/mappers"; - diff --git a/packages/@azure/arm-storage/lib/models/index.ts b/packages/@azure/arm-storage/lib/models/index.ts index e1a99b5055bf..d02c00cac16e 100644 --- a/packages/@azure/arm-storage/lib/models/index.ts +++ b/packages/@azure/arm-storage/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1995,33 +1995,19 @@ export interface UsageListResult extends Array { /** * Defines values for ReasonCode. * Possible values include: 'QuotaId', 'NotAvailableForSubscription' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReasonCode = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ReasonCode { - QuotaId = 'QuotaId', - NotAvailableForSubscription = 'NotAvailableForSubscription', -} +export type ReasonCode = 'QuotaId' | 'NotAvailableForSubscription'; /** * Defines values for SkuName. - * Possible values include: 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', - * 'Standard_ZRS', 'Premium_LRS', 'Premium_ZRS' + * Possible values include: 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', + * 'Premium_LRS', 'Premium_ZRS' * @readonly * @enum {string} */ -export enum SkuName { - StandardLRS = 'Standard_LRS', - StandardGRS = 'Standard_GRS', - StandardRAGRS = 'Standard_RAGRS', - StandardZRS = 'Standard_ZRS', - PremiumLRS = 'Premium_LRS', - PremiumZRS = 'Premium_ZRS', -} +export type SkuName = 'Standard_LRS' | 'Standard_GRS' | 'Standard_RAGRS' | 'Standard_ZRS' | 'Premium_LRS' | 'Premium_ZRS'; /** * Defines values for SkuTier. @@ -2029,25 +2015,16 @@ export enum SkuName { * @readonly * @enum {string} */ -export enum SkuTier { - Standard = 'Standard', - Premium = 'Premium', -} +export type SkuTier = 'Standard' | 'Premium'; /** * Defines values for Kind. - * Possible values include: 'Storage', 'StorageV2', 'BlobStorage', - * 'FileStorage', 'BlockBlobStorage' + * Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', + * 'BlockBlobStorage' * @readonly * @enum {string} */ -export enum Kind { - Storage = 'Storage', - StorageV2 = 'StorageV2', - BlobStorage = 'BlobStorage', - FileStorage = 'FileStorage', - BlockBlobStorage = 'BlockBlobStorage', -} +export type Kind = 'Storage' | 'StorageV2' | 'BlobStorage' | 'FileStorage' | 'BlockBlobStorage'; /** * Defines values for Reason. @@ -2055,25 +2032,15 @@ export enum Kind { * @readonly * @enum {string} */ -export enum Reason { - AccountNameInvalid = 'AccountNameInvalid', - AlreadyExists = 'AlreadyExists', -} +export type Reason = 'AccountNameInvalid' | 'AlreadyExists'; /** * Defines values for KeySource. * Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: KeySource = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum KeySource { - MicrosoftStorage = 'Microsoft.Storage', - MicrosoftKeyvault = 'Microsoft.Keyvault', -} +export type KeySource = 'Microsoft.Storage' | 'Microsoft.Keyvault'; /** * Defines values for Action. @@ -2081,41 +2048,24 @@ export enum KeySource { * @readonly * @enum {string} */ -export enum Action { - Allow = 'Allow', -} +export type Action = 'Allow'; /** * Defines values for State. - * Possible values include: 'provisioning', 'deprovisioning', 'succeeded', - * 'failed', 'networkSourceDeleted' + * Possible values include: 'provisioning', 'deprovisioning', 'succeeded', 'failed', + * 'networkSourceDeleted' * @readonly * @enum {string} */ -export enum State { - Provisioning = 'provisioning', - Deprovisioning = 'deprovisioning', - Succeeded = 'succeeded', - Failed = 'failed', - NetworkSourceDeleted = 'networkSourceDeleted', -} +export type State = 'provisioning' | 'deprovisioning' | 'succeeded' | 'failed' | 'networkSourceDeleted'; /** * Defines values for Bypass. * Possible values include: 'None', 'Logging', 'Metrics', 'AzureServices' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Bypass = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Bypass { - None = 'None', - Logging = 'Logging', - Metrics = 'Metrics', - AzureServices = 'AzureServices', -} +export type Bypass = 'None' | 'Logging' | 'Metrics' | 'AzureServices'; /** * Defines values for DefaultAction. @@ -2123,10 +2073,7 @@ export enum Bypass { * @readonly * @enum {string} */ -export enum DefaultAction { - Allow = 'Allow', - Deny = 'Deny', -} +export type DefaultAction = 'Allow' | 'Deny'; /** * Defines values for AccessTier. @@ -2134,10 +2081,7 @@ export enum DefaultAction { * @readonly * @enum {string} */ -export enum AccessTier { - Hot = 'Hot', - Cool = 'Cool', -} +export type AccessTier = 'Hot' | 'Cool'; /** * Defines values for ProvisioningState. @@ -2145,11 +2089,7 @@ export enum AccessTier { * @readonly * @enum {string} */ -export enum ProvisioningState { - Creating = 'Creating', - ResolvingDNS = 'ResolvingDNS', - Succeeded = 'Succeeded', -} +export type ProvisioningState = 'Creating' | 'ResolvingDNS' | 'Succeeded'; /** * Defines values for AccountStatus. @@ -2157,10 +2097,7 @@ export enum ProvisioningState { * @readonly * @enum {string} */ -export enum AccountStatus { - Available = 'available', - Unavailable = 'unavailable', -} +export type AccountStatus = 'available' | 'unavailable'; /** * Defines values for KeyPermission. @@ -2168,82 +2105,40 @@ export enum AccountStatus { * @readonly * @enum {string} */ -export enum KeyPermission { - Read = 'Read', - Full = 'Full', -} +export type KeyPermission = 'Read' | 'Full'; /** * Defines values for UsageUnit. - * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', - * 'CountsPerSecond', 'BytesPerSecond' + * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountsPerSecond', + * 'BytesPerSecond' * @readonly * @enum {string} */ -export enum UsageUnit { - Count = 'Count', - Bytes = 'Bytes', - Seconds = 'Seconds', - Percent = 'Percent', - CountsPerSecond = 'CountsPerSecond', - BytesPerSecond = 'BytesPerSecond', -} +export type UsageUnit = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountsPerSecond' | 'BytesPerSecond'; /** * Defines values for Services. * Possible values include: 'b', 'q', 't', 'f' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Services = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Services { - B = 'b', - Q = 'q', - T = 't', - F = 'f', -} +export type Services = 'b' | 'q' | 't' | 'f'; /** * Defines values for SignedResourceTypes. * Possible values include: 's', 'c', 'o' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SignedResourceTypes = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SignedResourceTypes { - S = 's', - C = 'c', - O = 'o', -} +export type SignedResourceTypes = 's' | 'c' | 'o'; /** * Defines values for Permissions. * Possible values include: 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Permissions = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Permissions { - R = 'r', - D = 'd', - W = 'w', - L = 'l', - A = 'a', - C = 'c', - U = 'u', - P = 'p', -} +export type Permissions = 'r' | 'd' | 'w' | 'l' | 'a' | 'c' | 'u' | 'p'; /** * Defines values for HttpProtocol. @@ -2251,28 +2146,15 @@ export enum Permissions { * @readonly * @enum {string} */ -export enum HttpProtocol { - Httpshttp = 'https,http', - Https = 'https', -} +export type HttpProtocol = 'https,http' | 'https'; /** * Defines values for SignedResource. * Possible values include: 'b', 'c', 'f', 's' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SignedResource = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SignedResource { - B = 'b', - C = 'c', - F = 'f', - S = 's', -} +export type SignedResource = 'b' | 'c' | 'f' | 's'; /** * Defines values for PublicAccess. @@ -2280,95 +2162,47 @@ export enum SignedResource { * @readonly * @enum {string} */ -export enum PublicAccess { - Container = 'Container', - Blob = 'Blob', - None = 'None', -} +export type PublicAccess = 'Container' | 'Blob' | 'None'; /** * Defines values for LeaseStatus. * Possible values include: 'Locked', 'Unlocked' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: LeaseStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum LeaseStatus { - Locked = 'Locked', - Unlocked = 'Unlocked', -} +export type LeaseStatus = 'Locked' | 'Unlocked'; /** * Defines values for LeaseState. - * Possible values include: 'Available', 'Leased', 'Expired', 'Breaking', - * 'Broken' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: LeaseState = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Available', 'Leased', 'Expired', 'Breaking', 'Broken' * @readonly * @enum {string} */ -export enum LeaseState { - Available = 'Available', - Leased = 'Leased', - Expired = 'Expired', - Breaking = 'Breaking', - Broken = 'Broken', -} +export type LeaseState = 'Available' | 'Leased' | 'Expired' | 'Breaking' | 'Broken'; /** * Defines values for LeaseDuration. * Possible values include: 'Infinite', 'Fixed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: LeaseDuration = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum LeaseDuration { - Infinite = 'Infinite', - Fixed = 'Fixed', -} +export type LeaseDuration = 'Infinite' | 'Fixed'; /** * Defines values for ImmutabilityPolicyState. * Possible values include: 'Locked', 'Unlocked' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImmutabilityPolicyState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ImmutabilityPolicyState { - Locked = 'Locked', - Unlocked = 'Unlocked', -} +export type ImmutabilityPolicyState = 'Locked' | 'Unlocked'; /** * Defines values for ImmutabilityPolicyUpdateType. * Possible values include: 'put', 'lock', 'extend' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImmutabilityPolicyUpdateType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ImmutabilityPolicyUpdateType { - Put = 'put', - Lock = 'lock', - Extend = 'extend', -} +export type ImmutabilityPolicyUpdateType = 'put' | 'lock' | 'extend'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-storage/lib/models/mappers.ts b/packages/@azure/arm-storage/lib/models/mappers.ts index 08bb747f0fb1..626553102ba3 100644 --- a/packages/@azure/arm-storage/lib/models/mappers.ts +++ b/packages/@azure/arm-storage/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-storage/lib/models/parameters.ts b/packages/@azure/arm-storage/lib/models/parameters.ts index dfd46ced604f..3f9e0c06e4dc 100644 --- a/packages/@azure/arm-storage/lib/models/parameters.ts +++ b/packages/@azure/arm-storage/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-storage/lib/operations/blobContainers.ts b/packages/@azure/arm-storage/lib/operations/blobContainers.ts index ee1db28141c7..f7a64dc2d663 100644 --- a/packages/@azure/arm-storage/lib/operations/blobContainers.ts +++ b/packages/@azure/arm-storage/lib/operations/blobContainers.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/blobContainersMappers"; import * as Parameters from "../models/parameters"; @@ -57,7 +57,7 @@ export class BlobContainers { * @param callback The callback */ list(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -112,7 +112,7 @@ export class BlobContainers { * @param callback The callback */ create(resourceGroupName: string, accountName: string, containerName: string, options: Models.BlobContainersCreateOptionalParams, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, accountName: string, containerName: string, options?: Models.BlobContainersCreateOptionalParams, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, accountName: string, containerName: string, options?: Models.BlobContainersCreateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -167,7 +167,7 @@ export class BlobContainers { * @param callback The callback */ update(resourceGroupName: string, accountName: string, containerName: string, options: Models.BlobContainersUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, containerName: string, options?: Models.BlobContainersUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, containerName: string, options?: Models.BlobContainersUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -221,7 +221,7 @@ export class BlobContainers { * @param callback The callback */ get(resourceGroupName: string, accountName: string, containerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, containerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, containerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -275,7 +275,7 @@ export class BlobContainers { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, containerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, containerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, containerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -337,7 +337,7 @@ export class BlobContainers { * @param callback The callback */ setLegalHold(resourceGroupName: string, accountName: string, containerName: string, tags: string[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - setLegalHold(resourceGroupName: string, accountName: string, containerName: string, tags: string[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + setLegalHold(resourceGroupName: string, accountName: string, containerName: string, tags: string[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -399,7 +399,7 @@ export class BlobContainers { * @param callback The callback */ clearLegalHold(resourceGroupName: string, accountName: string, containerName: string, tags: string[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - clearLegalHold(resourceGroupName: string, accountName: string, containerName: string, tags: string[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + clearLegalHold(resourceGroupName: string, accountName: string, containerName: string, tags: string[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -461,7 +461,7 @@ export class BlobContainers { * @param callback The callback */ createOrUpdateImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, immutabilityPeriodSinceCreationInDays: number, options: Models.BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdateImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, immutabilityPeriodSinceCreationInDays: number, options?: Models.BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams, callback?: msRest.ServiceCallback): Promise { + createOrUpdateImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, immutabilityPeriodSinceCreationInDays: number, options?: Models.BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -517,7 +517,7 @@ export class BlobContainers { * @param callback The callback */ getImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, options: Models.BlobContainersGetImmutabilityPolicyOptionalParams, callback: msRest.ServiceCallback): void; - getImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, options?: Models.BlobContainersGetImmutabilityPolicyOptionalParams, callback?: msRest.ServiceCallback): Promise { + getImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, options?: Models.BlobContainersGetImmutabilityPolicyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -583,7 +583,7 @@ export class BlobContainers { * @param callback The callback */ deleteImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -648,7 +648,7 @@ export class BlobContainers { * @param callback The callback */ lockImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - lockImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + lockImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -720,7 +720,7 @@ export class BlobContainers { * @param callback The callback */ extendImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, immutabilityPeriodSinceCreationInDays: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - extendImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, immutabilityPeriodSinceCreationInDays: number, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + extendImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, immutabilityPeriodSinceCreationInDays: number, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-storage/lib/operations/blobService.ts b/packages/@azure/arm-storage/lib/operations/blobService.ts deleted file mode 100644 index 71488c378f12..000000000000 --- a/packages/@azure/arm-storage/lib/operations/blobService.ts +++ /dev/null @@ -1,180 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * 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. - */ - -import * as msRest from "ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/blobServiceMappers"; -import * as Parameters from "../models/parameters"; -import { StorageManagementClientContext } from "../storageManagementClientContext"; - -/** Class representing a BlobService. */ -export class BlobService { - private readonly client: StorageManagementClientContext; - - /** - * Create a BlobService. - * @param {StorageManagementClientContext} client Reference to the service client. - */ - constructor(client: StorageManagementClientContext) { - this.client = client; - } - - /** - * Sets the properties of a storage account’s Blob service, including properties for Storage - * Analytics and CORS (Cross-Origin Resource Sharing) rules. - * @param resourceGroupName The name of the resource group within the user's subscription. The name - * is case insensitive. - * @param accountName The name of the storage account within the specified resource group. Storage - * account names must be between 3 and 24 characters in length and use numbers and lower-case - * letters only. - * @param parameters The properties of a storage account’s Blob service, including properties for - * Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * @param [options] The optional parameters - * @returns Promise - */ - setServiceProperties(resourceGroupName: string, accountName: string, parameters: Models.BlobServiceProperties, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group within the user's subscription. The name - * is case insensitive. - * @param accountName The name of the storage account within the specified resource group. Storage - * account names must be between 3 and 24 characters in length and use numbers and lower-case - * letters only. - * @param parameters The properties of a storage account’s Blob service, including properties for - * Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * @param callback The callback - */ - setServiceProperties(resourceGroupName: string, accountName: string, parameters: Models.BlobServiceProperties, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group within the user's subscription. The name - * is case insensitive. - * @param accountName The name of the storage account within the specified resource group. Storage - * account names must be between 3 and 24 characters in length and use numbers and lower-case - * letters only. - * @param parameters The properties of a storage account’s Blob service, including properties for - * Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * @param options The optional parameters - * @param callback The callback - */ - setServiceProperties(resourceGroupName: string, accountName: string, parameters: Models.BlobServiceProperties, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - setServiceProperties(resourceGroupName: string, accountName: string, parameters: Models.BlobServiceProperties, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - accountName, - parameters, - options - }, - setServicePropertiesOperationSpec, - callback) as Promise; - } - - /** - * Gets the properties of a storage account’s Blob service, including properties for Storage - * Analytics and CORS (Cross-Origin Resource Sharing) rules. - * @param resourceGroupName The name of the resource group within the user's subscription. The name - * is case insensitive. - * @param accountName The name of the storage account within the specified resource group. Storage - * account names must be between 3 and 24 characters in length and use numbers and lower-case - * letters only. - * @param [options] The optional parameters - * @returns Promise - */ - getServiceProperties(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group within the user's subscription. The name - * is case insensitive. - * @param accountName The name of the storage account within the specified resource group. Storage - * account names must be between 3 and 24 characters in length and use numbers and lower-case - * letters only. - * @param callback The callback - */ - getServiceProperties(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group within the user's subscription. The name - * is case insensitive. - * @param accountName The name of the storage account within the specified resource group. Storage - * account names must be between 3 and 24 characters in length and use numbers and lower-case - * letters only. - * @param options The optional parameters - * @param callback The callback - */ - getServiceProperties(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getServiceProperties(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - accountName, - options - }, - getServicePropertiesOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const setServicePropertiesOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.accountName, - Parameters.subscriptionId, - Parameters.blobServicesName - ], - queryParameters: [ - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.BlobServiceProperties, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.BlobServiceProperties - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getServicePropertiesOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.accountName, - Parameters.subscriptionId, - Parameters.blobServicesName - ], - queryParameters: [ - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.BlobServiceProperties - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/packages/@azure/arm-storage/lib/operations/blobServices.ts b/packages/@azure/arm-storage/lib/operations/blobServices.ts index 6635c25a2d5f..ba0563ff7be8 100644 --- a/packages/@azure/arm-storage/lib/operations/blobServices.ts +++ b/packages/@azure/arm-storage/lib/operations/blobServices.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/blobServicesMappers"; import * as Parameters from "../models/parameters"; @@ -63,7 +63,7 @@ export class BlobServices { * @param callback The callback */ setServiceProperties(resourceGroupName: string, accountName: string, parameters: Models.BlobServiceProperties, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - setServiceProperties(resourceGroupName: string, accountName: string, parameters: Models.BlobServiceProperties, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + setServiceProperties(resourceGroupName: string, accountName: string, parameters: Models.BlobServiceProperties, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -106,7 +106,7 @@ export class BlobServices { * @param callback The callback */ getServiceProperties(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getServiceProperties(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getServiceProperties(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-storage/lib/operations/managementPolicies.ts b/packages/@azure/arm-storage/lib/operations/managementPolicies.ts index 24b1374190a3..126df173f398 100644 --- a/packages/@azure/arm-storage/lib/operations/managementPolicies.ts +++ b/packages/@azure/arm-storage/lib/operations/managementPolicies.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/managementPoliciesMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class ManagementPolicies { * @param callback The callback */ get(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -97,7 +97,7 @@ export class ManagementPolicies { * @param callback The callback */ createOrUpdate(resourceGroupName: string, accountName: string, options: Models.ManagementPoliciesCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, accountName: string, options?: Models.ManagementPoliciesCreateOrUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, accountName: string, options?: Models.ManagementPoliciesCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -138,7 +138,7 @@ export class ManagementPolicies { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-storage/lib/operations/operations.ts b/packages/@azure/arm-storage/lib/operations/operations.ts index edf731229cfa..6e9b3e3ce79f 100644 --- a/packages/@azure/arm-storage/lib/operations/operations.ts +++ b/packages/@azure/arm-storage/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-storage/lib/operations/skus.ts b/packages/@azure/arm-storage/lib/operations/skus.ts index ddbdf9774b99..144ccca33d4d 100644 --- a/packages/@azure/arm-storage/lib/operations/skus.ts +++ b/packages/@azure/arm-storage/lib/operations/skus.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/skusMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class Skus { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-storage/lib/operations/storageAccounts.ts b/packages/@azure/arm-storage/lib/operations/storageAccounts.ts index 6d4db740fad9..b986165d70ce 100644 --- a/packages/@azure/arm-storage/lib/operations/storageAccounts.ts +++ b/packages/@azure/arm-storage/lib/operations/storageAccounts.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/storageAccountsMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class StorageAccounts { * @param callback The callback */ checkNameAvailability(name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { name, @@ -104,7 +104,7 @@ export class StorageAccounts { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -147,7 +147,7 @@ export class StorageAccounts { * @param callback The callback */ getProperties(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getProperties(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getProperties(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -198,7 +198,7 @@ export class StorageAccounts { * @param callback The callback */ update(resourceGroupName: string, accountName: string, parameters: Models.StorageAccountUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, accountName: string, parameters: Models.StorageAccountUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, accountName: string, parameters: Models.StorageAccountUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -226,7 +226,7 @@ export class StorageAccounts { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -257,7 +257,7 @@ export class StorageAccounts { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -297,7 +297,7 @@ export class StorageAccounts { * @param callback The callback */ listKeys(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -344,7 +344,7 @@ export class StorageAccounts { * @param callback The callback */ regenerateKey(resourceGroupName: string, accountName: string, keyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateKey(resourceGroupName: string, accountName: string, keyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateKey(resourceGroupName: string, accountName: string, keyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -389,7 +389,7 @@ export class StorageAccounts { * @param callback The callback */ listAccountSAS(resourceGroupName: string, accountName: string, parameters: Models.AccountSasParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAccountSAS(resourceGroupName: string, accountName: string, parameters: Models.AccountSasParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAccountSAS(resourceGroupName: string, accountName: string, parameters: Models.AccountSasParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -434,7 +434,7 @@ export class StorageAccounts { * @param callback The callback */ listServiceSAS(resourceGroupName: string, accountName: string, parameters: Models.ServiceSasParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listServiceSAS(resourceGroupName: string, accountName: string, parameters: Models.ServiceSasParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listServiceSAS(resourceGroupName: string, accountName: string, parameters: Models.ServiceSasParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-storage/lib/operations/usages.ts b/packages/@azure/arm-storage/lib/operations/usages.ts index 6bb918e9efa5..cbeeaa6a2b5a 100644 --- a/packages/@azure/arm-storage/lib/operations/usages.ts +++ b/packages/@azure/arm-storage/lib/operations/usages.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/usagesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Usages { * @param callback The callback */ listByLocation(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByLocation(location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByLocation(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, diff --git a/packages/@azure/arm-storage/lib/storageManagementClient.ts b/packages/@azure/arm-storage/lib/storageManagementClient.ts index 5b16c605cc07..eef218a689df 100644 --- a/packages/@azure/arm-storage/lib/storageManagementClient.ts +++ b/packages/@azure/arm-storage/lib/storageManagementClient.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-storage/lib/storageManagementClientContext.ts b/packages/@azure/arm-storage/lib/storageManagementClientContext.ts index 1e77a264d69d..56d659e0322a 100644 --- a/packages/@azure/arm-storage/lib/storageManagementClientContext.ts +++ b/packages/@azure/arm-storage/lib/storageManagementClientContext.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-storage"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class StorageManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -36,6 +36,11 @@ export class StorageManagementClientContext extends msRestAzure.AzureServiceClie if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.acceptLanguage = 'en-US'; @@ -45,7 +50,6 @@ export class StorageManagementClientContext extends msRestAzure.AzureServiceClie this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-storage/package.json b/packages/@azure/arm-storage/package.json index 2f19c2b59418..b05dc94c4c7a 100644 --- a/packages/@azure/arm-storage/package.json +++ b/packages/@azure/arm-storage/package.json @@ -4,8 +4,8 @@ "description": "StorageManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-storage/rollup.config.js b/packages/@azure/arm-storage/rollup.config.js index 2e994b3a23f6..f9b90f0a9667 100644 --- a/packages/@azure/arm-storage/rollup.config.js +++ b/packages/@azure/arm-storage/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/storageManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-storage.js", format: "umd", name: "Azure.ArmStorage", 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-storage/tsconfig.json b/packages/@azure/arm-storage/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-storage/tsconfig.json +++ b/packages/@azure/arm-storage/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-storageimportexport/.npmignore b/packages/@azure/arm-storageimportexport/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-storageimportexport/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-storageimportexport/README.md b/packages/@azure/arm-storageimportexport/README.md index c6c37508d90c..71dca97a1a16 100644 --- a/packages/@azure/arm-storageimportexport/README.md +++ b/packages/@azure/arm-storageimportexport/README.md @@ -1,24 +1,34 @@ -# Azure StorageImportExportManagementClient SDK for JavaScript +## Azure StorageImportExportManagementClient SDK for JavaScript + This package contains an isomorphic SDK for StorageImportExportManagementClient. -## 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-storageimportexport ``` +### How to use + +#### nodejs - Authentication, client creation and list locations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list locations as an example written in TypeScript. +##### Sample code ```ts -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 { StorageImportExportManagementClient, StorageImportExportManagementModels, StorageImportExportManagementMappers } from "@azure/arm-storageimportexport"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list locations as an example written in JavaScript. +#### browser - Authentication, client creation and list locations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-storageimportexport 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-storageimportexport/lib/models/index.ts b/packages/@azure/arm-storageimportexport/lib/models/index.ts index efb13b9676e3..70a9a4fbdb5f 100644 --- a/packages/@azure/arm-storageimportexport/lib/models/index.ts +++ b/packages/@azure/arm-storageimportexport/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -758,24 +758,12 @@ export interface ListOperationsResponse extends Array { /** * Defines values for DriveState. - * Possible values include: 'Specified', 'Received', 'NeverReceived', - * 'Transferring', 'Completed', 'CompletedMoreInfo', 'ShippedBack' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DriveState = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Specified', 'Received', 'NeverReceived', 'Transferring', 'Completed', + * 'CompletedMoreInfo', 'ShippedBack' * @readonly * @enum {string} */ -export enum DriveState { - Specified = 'Specified', - Received = 'Received', - NeverReceived = 'NeverReceived', - Transferring = 'Transferring', - Completed = 'Completed', - CompletedMoreInfo = 'CompletedMoreInfo', - ShippedBack = 'ShippedBack', -} +export type DriveState = 'Specified' | 'Received' | 'NeverReceived' | 'Transferring' | 'Completed' | 'CompletedMoreInfo' | 'ShippedBack'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-storageimportexport/lib/models/mappers.ts b/packages/@azure/arm-storageimportexport/lib/models/mappers.ts index fff3929d79bf..3aef69f61164 100644 --- a/packages/@azure/arm-storageimportexport/lib/models/mappers.ts +++ b/packages/@azure/arm-storageimportexport/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-storageimportexport/lib/models/parameters.ts b/packages/@azure/arm-storageimportexport/lib/models/parameters.ts index 90fd16298257..7a39376106a9 100644 --- a/packages/@azure/arm-storageimportexport/lib/models/parameters.ts +++ b/packages/@azure/arm-storageimportexport/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-storageimportexport/lib/operations/bitLockerKeys.ts b/packages/@azure/arm-storageimportexport/lib/operations/bitLockerKeys.ts index 675485f62e8b..017fde106268 100644 --- a/packages/@azure/arm-storageimportexport/lib/operations/bitLockerKeys.ts +++ b/packages/@azure/arm-storageimportexport/lib/operations/bitLockerKeys.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/bitLockerKeysMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class BitLockerKeys { * @param callback The callback */ list(jobName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(jobName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(jobName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobName, diff --git a/packages/@azure/arm-storageimportexport/lib/operations/jobs.ts b/packages/@azure/arm-storageimportexport/lib/operations/jobs.ts index c5bdffc653cd..13102ad4e34e 100644 --- a/packages/@azure/arm-storageimportexport/lib/operations/jobs.ts +++ b/packages/@azure/arm-storageimportexport/lib/operations/jobs.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/jobsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class Jobs { * @param callback The callback */ listBySubscription(options: Models.JobsListBySubscriptionOptionalParams, callback: msRest.ServiceCallback): void; - listBySubscription(options?: Models.JobsListBySubscriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: Models.JobsListBySubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -71,7 +71,7 @@ export class Jobs { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.JobsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.JobsListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.JobsListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -105,7 +105,7 @@ export class Jobs { * @param callback The callback */ get(jobName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(jobName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(jobName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobName, @@ -145,7 +145,7 @@ export class Jobs { * @param callback The callback */ update(jobName: string, resourceGroupName: string, body: Models.UpdateJobParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(jobName: string, resourceGroupName: string, body: Models.UpdateJobParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(jobName: string, resourceGroupName: string, body: Models.UpdateJobParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobName, @@ -184,7 +184,7 @@ export class Jobs { * @param callback The callback */ create(jobName: string, resourceGroupName: string, body: Models.PutJobParameters, options: Models.JobsCreateOptionalParams, callback: msRest.ServiceCallback): void; - create(jobName: string, resourceGroupName: string, body: Models.PutJobParameters, options?: Models.JobsCreateOptionalParams, callback?: msRest.ServiceCallback): Promise { + create(jobName: string, resourceGroupName: string, body: Models.PutJobParameters, options?: Models.JobsCreateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobName, @@ -220,7 +220,7 @@ export class Jobs { * @param callback The callback */ deleteMethod(jobName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(jobName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(jobName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobName, @@ -249,7 +249,7 @@ export class Jobs { * @param callback The callback */ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -277,7 +277,7 @@ export class Jobs { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-storageimportexport/lib/operations/locations.ts b/packages/@azure/arm-storageimportexport/lib/operations/locations.ts index d7b667412e8c..66d5f3cfd809 100644 --- a/packages/@azure/arm-storageimportexport/lib/operations/locations.ts +++ b/packages/@azure/arm-storageimportexport/lib/operations/locations.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/locationsMappers"; import * as Parameters from "../models/parameters"; @@ -42,7 +42,7 @@ export class Locations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -70,7 +70,7 @@ export class Locations { * @param callback The callback */ get(locationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(locationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(locationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { locationName, diff --git a/packages/@azure/arm-storageimportexport/lib/operations/operations.ts b/packages/@azure/arm-storageimportexport/lib/operations/operations.ts index 4cb9c64b3aa1..3d85bf6e3dc3 100644 --- a/packages/@azure/arm-storageimportexport/lib/operations/operations.ts +++ b/packages/@azure/arm-storageimportexport/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-storageimportexport/lib/storageImportExportManagementClient.ts b/packages/@azure/arm-storageimportexport/lib/storageImportExportManagementClient.ts index 945c62b7f69f..fdc10047f102 100644 --- a/packages/@azure/arm-storageimportexport/lib/storageImportExportManagementClient.ts +++ b/packages/@azure/arm-storageimportexport/lib/storageImportExportManagementClient.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-storageimportexport/lib/storageImportExportManagementClientContext.ts b/packages/@azure/arm-storageimportexport/lib/storageImportExportManagementClientContext.ts index 448d5a0ea7a4..08a5786a8d6a 100644 --- a/packages/@azure/arm-storageimportexport/lib/storageImportExportManagementClientContext.ts +++ b/packages/@azure/arm-storageimportexport/lib/storageImportExportManagementClientContext.ts @@ -9,24 +9,17 @@ */ 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-storageimportexport"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class StorageImportExportManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - - apiVersion: string; - + apiVersion?: string; subscriptionId: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the StorageImportExportManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -44,6 +37,11 @@ export class StorageImportExportManagementClientContext extends msRestAzure.Azur if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2016-11-01'; @@ -53,7 +51,6 @@ export class StorageImportExportManagementClientContext extends msRestAzure.Azur this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-storageimportexport/package.json b/packages/@azure/arm-storageimportexport/package.json index 68bc95678e77..04611ef93602 100644 --- a/packages/@azure/arm-storageimportexport/package.json +++ b/packages/@azure/arm-storageimportexport/package.json @@ -4,8 +4,8 @@ "description": "StorageImportExportManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-storageimportexport.js.map'\" -o ./dist/arm-storageimportexport.min.js ./dist/arm-storageimportexport.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-storageimportexport/rollup.config.js b/packages/@azure/arm-storageimportexport/rollup.config.js index f63d71b102a8..1c54cf6388e1 100644 --- a/packages/@azure/arm-storageimportexport/rollup.config.js +++ b/packages/@azure/arm-storageimportexport/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/storageImportExportManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-storageimportexport.js", format: "umd", name: "Azure.ArmStorageimportexport", 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-storageimportexport/tsconfig.json b/packages/@azure/arm-storageimportexport/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-storageimportexport/tsconfig.json +++ b/packages/@azure/arm-storageimportexport/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-storagesync/README.md b/packages/@azure/arm-storagesync/README.md index f682a0eed731..bdb8efa96f9e 100644 --- a/packages/@azure/arm-storagesync/README.md +++ b/packages/@azure/arm-storagesync/README.md @@ -1,24 +1,34 @@ -# Azure StorageSyncManagementClient SDK for JavaScript +## Azure StorageSyncManagementClient SDK for JavaScript + This package contains an isomorphic SDK for StorageSyncManagementClient. -## 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-storagesync ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { StorageSyncManagementClient, StorageSyncManagementModels, StorageSyncManagementMappers } from "@azure/arm-storagesync"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-storagesync 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-storagesync/lib/models/index.ts b/packages/@azure/arm-storagesync/lib/models/index.ts index bce4321111d1..a4b7caaa32cd 100644 --- a/packages/@azure/arm-storagesync/lib/models/index.ts +++ b/packages/@azure/arm-storagesync/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; diff --git a/packages/@azure/arm-storagesync/lib/models/mappers.ts b/packages/@azure/arm-storagesync/lib/models/mappers.ts index b98c5aafd0da..9c6a819678a4 100644 --- a/packages/@azure/arm-storagesync/lib/models/mappers.ts +++ b/packages/@azure/arm-storagesync/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-storagesync/lib/models/parameters.ts b/packages/@azure/arm-storagesync/lib/models/parameters.ts index c3bdbe9ed0f3..98f424bce0df 100644 --- a/packages/@azure/arm-storagesync/lib/models/parameters.ts +++ b/packages/@azure/arm-storagesync/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-storagesync/lib/operations/cloudEndpoints.ts b/packages/@azure/arm-storagesync/lib/operations/cloudEndpoints.ts index 8561b8e11629..95bc504e1f5a 100644 --- a/packages/@azure/arm-storagesync/lib/operations/cloudEndpoints.ts +++ b/packages/@azure/arm-storagesync/lib/operations/cloudEndpoints.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/cloudEndpointsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-storagesync/lib/operations/operations.ts b/packages/@azure/arm-storagesync/lib/operations/operations.ts index 1e1fd071ad65..5e526f5a7e9c 100644 --- a/packages/@azure/arm-storagesync/lib/operations/operations.ts +++ b/packages/@azure/arm-storagesync/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-storagesync/lib/operations/registeredServers.ts b/packages/@azure/arm-storagesync/lib/operations/registeredServers.ts index c983e8b1a884..a82543597dcd 100644 --- a/packages/@azure/arm-storagesync/lib/operations/registeredServers.ts +++ b/packages/@azure/arm-storagesync/lib/operations/registeredServers.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/registeredServersMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-storagesync/lib/operations/serverEndpoints.ts b/packages/@azure/arm-storagesync/lib/operations/serverEndpoints.ts index bec75975dd34..88917d1c6856 100644 --- a/packages/@azure/arm-storagesync/lib/operations/serverEndpoints.ts +++ b/packages/@azure/arm-storagesync/lib/operations/serverEndpoints.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/serverEndpointsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-storagesync/lib/operations/storageSyncServices.ts b/packages/@azure/arm-storagesync/lib/operations/storageSyncServices.ts index 9a9eddc97dac..4b38dbe1496f 100644 --- a/packages/@azure/arm-storagesync/lib/operations/storageSyncServices.ts +++ b/packages/@azure/arm-storagesync/lib/operations/storageSyncServices.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/storageSyncServicesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-storagesync/lib/operations/syncGroups.ts b/packages/@azure/arm-storagesync/lib/operations/syncGroups.ts index baced33e9b39..b8af33870b65 100644 --- a/packages/@azure/arm-storagesync/lib/operations/syncGroups.ts +++ b/packages/@azure/arm-storagesync/lib/operations/syncGroups.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/syncGroupsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-storagesync/lib/operations/workflows.ts b/packages/@azure/arm-storagesync/lib/operations/workflows.ts index 2f911b791162..a2b8c6bbfe2d 100644 --- a/packages/@azure/arm-storagesync/lib/operations/workflows.ts +++ b/packages/@azure/arm-storagesync/lib/operations/workflows.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/workflowsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-storagesync/lib/storageSyncManagementClient.ts b/packages/@azure/arm-storagesync/lib/storageSyncManagementClient.ts index 698278ccb859..06e1e464840d 100644 --- a/packages/@azure/arm-storagesync/lib/storageSyncManagementClient.ts +++ b/packages/@azure/arm-storagesync/lib/storageSyncManagementClient.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-storagesync/lib/storageSyncManagementClientContext.ts b/packages/@azure/arm-storagesync/lib/storageSyncManagementClientContext.ts index 91cc5014c708..dd8ce39fcf48 100644 --- a/packages/@azure/arm-storagesync/lib/storageSyncManagementClientContext.ts +++ b/packages/@azure/arm-storagesync/lib/storageSyncManagementClientContext.ts @@ -9,8 +9,8 @@ */ 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-storagesync"; const packageVersion = "0.1.0"; diff --git a/packages/@azure/arm-storagesync/package.json b/packages/@azure/arm-storagesync/package.json index 58f23b156dc1..0430e9425365 100644 --- a/packages/@azure/arm-storagesync/package.json +++ b/packages/@azure/arm-storagesync/package.json @@ -4,8 +4,8 @@ "description": "StorageSyncManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.461", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ diff --git a/packages/@azure/arm-storagesync/rollup.config.js b/packages/@azure/arm-storagesync/rollup.config.js index 80249e811af8..30d696ff365e 100644 --- a/packages/@azure/arm-storagesync/rollup.config.js +++ b/packages/@azure/arm-storagesync/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/storageSyncManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-storagesync.js", format: "umd", name: "Azure.ArmStoragesync", 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-storagesync/tsconfig.json b/packages/@azure/arm-storagesync/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-storagesync/tsconfig.json +++ b/packages/@azure/arm-storagesync/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-storsimple1200series/.npmignore b/packages/@azure/arm-storsimple1200series/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-storsimple1200series/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-storsimple1200series/README.md b/packages/@azure/arm-storsimple1200series/README.md index 2ffc24328893..a77daf6abfd3 100644 --- a/packages/@azure/arm-storsimple1200series/README.md +++ b/packages/@azure/arm-storsimple1200series/README.md @@ -1,24 +1,34 @@ -# Azure StorSimpleManagementClient SDK for JavaScript +## Azure StorSimpleManagementClient SDK for JavaScript + This package contains an isomorphic SDK for StorSimpleManagementClient. -## 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-storsimple1200series ``` +### How to use + +#### nodejs - Authentication, client creation and list managers as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list managers as an example written in TypeScript. +##### Sample code ```ts -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 { StorSimpleManagementClient, StorSimpleManagementModels, StorSimpleManagementMappers } from "@azure/arm-storsimple1200series"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list managers as an example written in JavaScript. +#### browser - Authentication, client creation and list managers as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-storsimple1200series 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-storsimple1200series/lib/models/index.ts b/packages/@azure/arm-storsimple1200series/lib/models/index.ts index b047a06b72f3..a0b83d1b2fba 100644 --- a/packages/@azure/arm-storsimple1200series/lib/models/index.ts +++ b/packages/@azure/arm-storsimple1200series/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -2411,10 +2411,7 @@ export interface StorageDomainList extends Array { * @readonly * @enum {string} */ -export enum AlertScope { - Resource = 'Resource', - Device = 'Device', -} +export type AlertScope = 'Resource' | 'Device'; /** * Defines values for AlertSourceType. @@ -2422,10 +2419,7 @@ export enum AlertScope { * @readonly * @enum {string} */ -export enum AlertSourceType { - Resource = 'Resource', - Device = 'Device', -} +export type AlertSourceType = 'Resource' | 'Device'; /** * Defines values for AlertSeverity. @@ -2433,11 +2427,7 @@ export enum AlertSourceType { * @readonly * @enum {string} */ -export enum AlertSeverity { - Informational = 'Informational', - Warning = 'Warning', - Critical = 'Critical', -} +export type AlertSeverity = 'Informational' | 'Warning' | 'Critical'; /** * Defines values for AlertStatus. @@ -2445,10 +2435,7 @@ export enum AlertSeverity { * @readonly * @enum {string} */ -export enum AlertStatus { - Active = 'Active', - Cleared = 'Cleared', -} +export type AlertStatus = 'Active' | 'Cleared'; /** * Defines values for AlertEmailNotificationStatus. @@ -2456,10 +2443,7 @@ export enum AlertStatus { * @readonly * @enum {string} */ -export enum AlertEmailNotificationStatus { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type AlertEmailNotificationStatus = 'Enabled' | 'Disabled'; /** * Defines values for ServiceOwnersAlertNotificationStatus. @@ -2467,10 +2451,7 @@ export enum AlertEmailNotificationStatus { * @readonly * @enum {string} */ -export enum ServiceOwnersAlertNotificationStatus { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type ServiceOwnersAlertNotificationStatus = 'Enabled' | 'Disabled'; /** * Defines values for EncryptionAlgorithm. @@ -2478,11 +2459,7 @@ export enum ServiceOwnersAlertNotificationStatus { * @readonly * @enum {string} */ -export enum EncryptionAlgorithm { - None = 'None', - AES256 = 'AES256', - RSAESPKCS1V15 = 'RSAES_PKCS1_v_1_5', -} +export type EncryptionAlgorithm = 'None' | 'AES256' | 'RSAES_PKCS1_v_1_5'; /** * Defines values for InitiatedBy. @@ -2490,10 +2467,7 @@ export enum EncryptionAlgorithm { * @readonly * @enum {string} */ -export enum InitiatedBy { - Manual = 'Manual', - Scheduled = 'Scheduled', -} +export type InitiatedBy = 'Manual' | 'Scheduled'; /** * Defines values for DataPolicy. @@ -2501,12 +2475,7 @@ export enum InitiatedBy { * @readonly * @enum {string} */ -export enum DataPolicy { - Invalid = 'Invalid', - Local = 'Local', - Tiered = 'Tiered', - Cloud = 'Cloud', -} +export type DataPolicy = 'Invalid' | 'Local' | 'Tiered' | 'Cloud'; /** * Defines values for ShareStatus. @@ -2514,10 +2483,7 @@ export enum DataPolicy { * @readonly * @enum {string} */ -export enum ShareStatus { - Online = 'Online', - Offline = 'Offline', -} +export type ShareStatus = 'Online' | 'Offline'; /** * Defines values for MonitoringStatus. @@ -2525,10 +2491,7 @@ export enum ShareStatus { * @readonly * @enum {string} */ -export enum MonitoringStatus { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type MonitoringStatus = 'Enabled' | 'Disabled'; /** * Defines values for DiskStatus. @@ -2536,28 +2499,16 @@ export enum MonitoringStatus { * @readonly * @enum {string} */ -export enum DiskStatus { - Online = 'Online', - Offline = 'Offline', -} +export type DiskStatus = 'Online' | 'Offline'; /** * Defines values for DeviceOperation. - * Possible values include: 'None', 'Delete', 'DeleteWithWarning', 'DRSource', - * 'DRTarget', 'Browsable', 'ReadOnlyForDR', 'Deactivate' + * Possible values include: 'None', 'Delete', 'DeleteWithWarning', 'DRSource', 'DRTarget', + * 'Browsable', 'ReadOnlyForDR', 'Deactivate' * @readonly * @enum {string} */ -export enum DeviceOperation { - None = 'None', - Delete = 'Delete', - DeleteWithWarning = 'DeleteWithWarning', - DRSource = 'DRSource', - DRTarget = 'DRTarget', - Browsable = 'Browsable', - ReadOnlyForDR = 'ReadOnlyForDR', - Deactivate = 'Deactivate', -} +export type DeviceOperation = 'None' | 'Delete' | 'DeleteWithWarning' | 'DRSource' | 'DRTarget' | 'Browsable' | 'ReadOnlyForDR' | 'Deactivate'; /** * Defines values for SupportedDeviceCapabilities. @@ -2565,11 +2516,7 @@ export enum DeviceOperation { * @readonly * @enum {string} */ -export enum SupportedDeviceCapabilities { - Invalid = 'Invalid', - FileServer = 'FileServer', - IscsiServer = 'IscsiServer', -} +export type SupportedDeviceCapabilities = 'Invalid' | 'FileServer' | 'IscsiServer'; /** * Defines values for DeviceConfigurationStatus. @@ -2577,49 +2524,25 @@ export enum SupportedDeviceCapabilities { * @readonly * @enum {string} */ -export enum DeviceConfigurationStatus { - Complete = 'Complete', - Pending = 'Pending', -} +export type DeviceConfigurationStatus = 'Complete' | 'Pending'; /** * Defines values for DeviceStatus. - * Possible values include: 'Unknown', 'Online', 'Offline', - * 'RequiresAttention', 'MaintenanceMode', 'Creating', 'Provisioning', - * 'Deleted', 'ReadyToSetup', 'Deactivated', 'Deactivating' + * Possible values include: 'Unknown', 'Online', 'Offline', 'RequiresAttention', 'MaintenanceMode', + * 'Creating', 'Provisioning', 'Deleted', 'ReadyToSetup', 'Deactivated', 'Deactivating' * @readonly * @enum {string} */ -export enum DeviceStatus { - Unknown = 'Unknown', - Online = 'Online', - Offline = 'Offline', - RequiresAttention = 'RequiresAttention', - MaintenanceMode = 'MaintenanceMode', - Creating = 'Creating', - Provisioning = 'Provisioning', - Deleted = 'Deleted', - ReadyToSetup = 'ReadyToSetup', - Deactivated = 'Deactivated', - Deactivating = 'Deactivating', -} +export type DeviceStatus = 'Unknown' | 'Online' | 'Offline' | 'RequiresAttention' | 'MaintenanceMode' | 'Creating' | 'Provisioning' | 'Deleted' | 'ReadyToSetup' | 'Deactivated' | 'Deactivating'; /** * Defines values for DeviceType. * Possible values include: 'Invalid', 'Appliance', 'VirtualAppliance', - * 'Series9000OnPremVirtualAppliance', 'Series9000VirtualAppliance', - * 'Series9000PhysicalAppliance' + * 'Series9000OnPremVirtualAppliance', 'Series9000VirtualAppliance', 'Series9000PhysicalAppliance' * @readonly * @enum {string} */ -export enum DeviceType { - Invalid = 'Invalid', - Appliance = 'Appliance', - VirtualAppliance = 'VirtualAppliance', - Series9000OnPremVirtualAppliance = 'Series9000OnPremVirtualAppliance', - Series9000VirtualAppliance = 'Series9000VirtualAppliance', - Series9000PhysicalAppliance = 'Series9000PhysicalAppliance', -} +export type DeviceType = 'Invalid' | 'Appliance' | 'VirtualAppliance' | 'Series9000OnPremVirtualAppliance' | 'Series9000VirtualAppliance' | 'Series9000PhysicalAppliance'; /** * Defines values for EncryptionStatus. @@ -2627,10 +2550,7 @@ export enum DeviceType { * @readonly * @enum {string} */ -export enum EncryptionStatus { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type EncryptionStatus = 'Enabled' | 'Disabled'; /** * Defines values for KeyRolloverStatus. @@ -2638,42 +2558,24 @@ export enum EncryptionStatus { * @readonly * @enum {string} */ -export enum KeyRolloverStatus { - Required = 'Required', - NotRequired = 'NotRequired', -} +export type KeyRolloverStatus = 'Required' | 'NotRequired'; /** * Defines values for JobStatus. - * Possible values include: 'Invalid', 'Running', 'Succeeded', 'Failed', - * 'Canceled', 'Paused', 'Scheduled' + * Possible values include: 'Invalid', 'Running', 'Succeeded', 'Failed', 'Canceled', 'Paused', + * 'Scheduled' * @readonly * @enum {string} */ -export enum JobStatus { - Invalid = 'Invalid', - Running = 'Running', - Succeeded = 'Succeeded', - Failed = 'Failed', - Canceled = 'Canceled', - Paused = 'Paused', - Scheduled = 'Scheduled', -} +export type JobStatus = 'Invalid' | 'Running' | 'Succeeded' | 'Failed' | 'Canceled' | 'Paused' | 'Scheduled'; /** * Defines values for JobType. - * Possible values include: 'Backup', 'Clone', 'Failover', 'DownloadUpdates', - * 'InstallUpdates' + * Possible values include: 'Backup', 'Clone', 'Failover', 'DownloadUpdates', 'InstallUpdates' * @readonly * @enum {string} */ -export enum JobType { - Backup = 'Backup', - Clone = 'Clone', - Failover = 'Failover', - DownloadUpdates = 'DownloadUpdates', - InstallUpdates = 'InstallUpdates', -} +export type JobType = 'Backup' | 'Clone' | 'Failover' | 'DownloadUpdates' | 'InstallUpdates'; /** * Defines values for TargetType. @@ -2681,24 +2583,15 @@ export enum JobType { * @readonly * @enum {string} */ -export enum TargetType { - FileServer = 'FileServer', - DiskServer = 'DiskServer', -} +export type TargetType = 'FileServer' | 'DiskServer'; /** * Defines values for DownloadPhase. - * Possible values include: 'Unknown', 'Initializing', 'Downloading', - * 'Verifying' + * Possible values include: 'Unknown', 'Initializing', 'Downloading', 'Verifying' * @readonly * @enum {string} */ -export enum DownloadPhase { - Unknown = 'Unknown', - Initializing = 'Initializing', - Downloading = 'Downloading', - Verifying = 'Verifying', -} +export type DownloadPhase = 'Unknown' | 'Initializing' | 'Downloading' | 'Verifying'; /** * Defines values for ManagerType. @@ -2706,42 +2599,24 @@ export enum DownloadPhase { * @readonly * @enum {string} */ -export enum ManagerType { - GardaV1 = 'GardaV1', - HelsinkiV1 = 'HelsinkiV1', -} +export type ManagerType = 'GardaV1' | 'HelsinkiV1'; /** * Defines values for MetricUnit. - * Possible values include: 'Bytes', 'BytesPerSecond', 'Count', - * 'CountPerSecond', 'Percent', 'Seconds' + * Possible values include: 'Bytes', 'BytesPerSecond', 'Count', 'CountPerSecond', 'Percent', + * 'Seconds' * @readonly * @enum {string} */ -export enum MetricUnit { - Bytes = 'Bytes', - BytesPerSecond = 'BytesPerSecond', - Count = 'Count', - CountPerSecond = 'CountPerSecond', - Percent = 'Percent', - Seconds = 'Seconds', -} +export type MetricUnit = 'Bytes' | 'BytesPerSecond' | 'Count' | 'CountPerSecond' | 'Percent' | 'Seconds'; /** * Defines values for MetricAggregationType. - * Possible values include: 'Average', 'Last', 'Maximum', 'Minimum', 'None', - * 'Total' + * Possible values include: 'Average', 'Last', 'Maximum', 'Minimum', 'None', 'Total' * @readonly * @enum {string} */ -export enum MetricAggregationType { - Average = 'Average', - Last = 'Last', - Maximum = 'Maximum', - Minimum = 'Minimum', - None = 'None', - Total = 'Total', -} +export type MetricAggregationType = 'Average' | 'Last' | 'Maximum' | 'Minimum' | 'None' | 'Total'; /** * Defines values for DhcpStatus. @@ -2749,23 +2624,15 @@ export enum MetricAggregationType { * @readonly * @enum {string} */ -export enum DhcpStatus { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type DhcpStatus = 'Enabled' | 'Disabled'; /** * Defines values for AuthType. - * Possible values include: 'Invalid', 'AccessControlService', - * 'AzureActiveDirectory' + * Possible values include: 'Invalid', 'AccessControlService', 'AzureActiveDirectory' * @readonly * @enum {string} */ -export enum AuthType { - Invalid = 'Invalid', - AccessControlService = 'AccessControlService', - AzureActiveDirectory = 'AzureActiveDirectory', -} +export type AuthType = 'Invalid' | 'AccessControlService' | 'AzureActiveDirectory'; /** * Defines values for CloudType. @@ -2773,13 +2640,7 @@ export enum AuthType { * @readonly * @enum {string} */ -export enum CloudType { - Azure = 'Azure', - S3 = 'S3', - S3RRS = 'S3_RRS', - OpenStack = 'OpenStack', - HP = 'HP', -} +export type CloudType = 'Azure' | 'S3' | 'S3_RRS' | 'OpenStack' | 'HP'; /** * Defines values for SslStatus. @@ -2787,10 +2648,7 @@ export enum CloudType { * @readonly * @enum {string} */ -export enum SslStatus { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type SslStatus = 'Enabled' | 'Disabled'; /** * Defines values for UpdateOperation. @@ -2798,55 +2656,18 @@ export enum SslStatus { * @readonly * @enum {string} */ -export enum UpdateOperation { - Idle = 'Idle', - Scanning = 'Scanning', - Downloading = 'Downloading', - Installing = 'Installing', -} +export type UpdateOperation = 'Idle' | 'Scanning' | 'Downloading' | 'Installing'; /** * Defines values for ContractVersions. - * Possible values include: 'InvalidVersion', 'V2011_09', 'V2012_02', - * 'V2012_05', 'V2012_12', 'V2013_04', 'V2013_10', 'V2013_11', 'V2014_04', - * 'V2014_06', 'V2014_07', 'V2014_09', 'V2014_10', 'V2014_12', 'V2015_01', - * 'V2015_02', 'V2015_04', 'V2015_05', 'V2015_06', 'V2015_07', 'V2015_08', - * 'V2015_10', 'V2015_12', 'V2016_01', 'V2016_02', 'V2016_04', 'V2016_05', - * 'V2016_07', 'V2016_08' + * Possible values include: 'InvalidVersion', 'V2011_09', 'V2012_02', 'V2012_05', 'V2012_12', + * 'V2013_04', 'V2013_10', 'V2013_11', 'V2014_04', 'V2014_06', 'V2014_07', 'V2014_09', 'V2014_10', + * 'V2014_12', 'V2015_01', 'V2015_02', 'V2015_04', 'V2015_05', 'V2015_06', 'V2015_07', 'V2015_08', + * 'V2015_10', 'V2015_12', 'V2016_01', 'V2016_02', 'V2016_04', 'V2016_05', 'V2016_07', 'V2016_08' * @readonly * @enum {string} */ -export enum ContractVersions { - InvalidVersion = 'InvalidVersion', - V201109 = 'V2011_09', - V201202 = 'V2012_02', - V201205 = 'V2012_05', - V201212 = 'V2012_12', - V201304 = 'V2013_04', - V201310 = 'V2013_10', - V201311 = 'V2013_11', - V201404 = 'V2014_04', - V201406 = 'V2014_06', - V201407 = 'V2014_07', - V201409 = 'V2014_09', - V201410 = 'V2014_10', - V201412 = 'V2014_12', - V201501 = 'V2015_01', - V201502 = 'V2015_02', - V201504 = 'V2015_04', - V201505 = 'V2015_05', - V201506 = 'V2015_06', - V201507 = 'V2015_07', - V201508 = 'V2015_08', - V201510 = 'V2015_10', - V201512 = 'V2015_12', - V201601 = 'V2016_01', - V201602 = 'V2016_02', - V201604 = 'V2016_04', - V201605 = 'V2016_05', - V201607 = 'V2016_07', - V201608 = 'V2016_08', -} +export type ContractVersions = 'InvalidVersion' | 'V2011_09' | 'V2012_02' | 'V2012_05' | 'V2012_12' | 'V2013_04' | 'V2013_10' | 'V2013_11' | 'V2014_04' | 'V2014_06' | 'V2014_07' | 'V2014_09' | 'V2014_10' | 'V2014_12' | 'V2015_01' | 'V2015_02' | 'V2015_04' | 'V2015_05' | 'V2015_06' | 'V2015_07' | 'V2015_08' | 'V2015_10' | 'V2015_12' | 'V2016_01' | 'V2016_02' | 'V2016_04' | 'V2016_05' | 'V2016_07' | 'V2016_08'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-storsimple1200series/lib/models/mappers.ts b/packages/@azure/arm-storsimple1200series/lib/models/mappers.ts index d7a345e02747..e61e73cfe057 100644 --- a/packages/@azure/arm-storsimple1200series/lib/models/mappers.ts +++ b/packages/@azure/arm-storsimple1200series/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-storsimple1200series/lib/models/parameters.ts b/packages/@azure/arm-storsimple1200series/lib/models/parameters.ts index c49eb93b2bb8..ebc6c97bd8a8 100644 --- a/packages/@azure/arm-storsimple1200series/lib/models/parameters.ts +++ b/packages/@azure/arm-storsimple1200series/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-storsimple1200series/lib/operations/accessControlRecords.ts b/packages/@azure/arm-storsimple1200series/lib/operations/accessControlRecords.ts index 720403190bb4..ece9c93da883 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/accessControlRecords.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/accessControlRecords.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/accessControlRecordsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class AccessControlRecords { * @param callback The callback */ listByManager(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class AccessControlRecords { * @param callback The callback */ get(accessControlRecordName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(accessControlRecordName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(accessControlRecordName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { accessControlRecordName, diff --git a/packages/@azure/arm-storsimple1200series/lib/operations/alerts.ts b/packages/@azure/arm-storsimple1200series/lib/operations/alerts.ts index c568861ce9e6..04d8e63d3a72 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/alerts.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/alerts.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/alertsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Alerts { * @param callback The callback */ listByManager(resourceGroupName: string, managerName: string, options: Models.AlertsListByManagerOptionalParams, callback: msRest.ServiceCallback): void; - listByManager(resourceGroupName: string, managerName: string, options?: Models.AlertsListByManagerOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: Models.AlertsListByManagerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class Alerts { * @param callback The callback */ clear(request: Models.ClearAlertRequest, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - clear(request: Models.ClearAlertRequest, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + clear(request: Models.ClearAlertRequest, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { request, @@ -121,7 +121,7 @@ export class Alerts { * @param callback The callback */ sendTestEmail(deviceName: string, request: Models.SendTestAlertEmailRequest, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - sendTestEmail(deviceName: string, request: Models.SendTestAlertEmailRequest, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + sendTestEmail(deviceName: string, request: Models.SendTestAlertEmailRequest, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -152,7 +152,7 @@ export class Alerts { * @param callback The callback */ listByManagerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManagerNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManagerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-storsimple1200series/lib/operations/availableProviderOperationsOperations.ts b/packages/@azure/arm-storsimple1200series/lib/operations/availableProviderOperationsOperations.ts index aa6bee90f0cc..1ed18e0f53a4 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/availableProviderOperationsOperations.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/availableProviderOperationsOperations.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/availableProviderOperationsOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class AvailableProviderOperationsOperations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class AvailableProviderOperationsOperations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-storsimple1200series/lib/operations/backupScheduleGroups.ts b/packages/@azure/arm-storsimple1200series/lib/operations/backupScheduleGroups.ts index 770a97e91bc4..42f0f1d76f84 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/backupScheduleGroups.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/backupScheduleGroups.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/backupScheduleGroupsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class BackupScheduleGroups { * @param callback The callback */ listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -90,7 +90,7 @@ export class BackupScheduleGroups { * @param callback The callback */ get(deviceName: string, scheduleGroupName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(deviceName: string, scheduleGroupName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(deviceName: string, scheduleGroupName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, diff --git a/packages/@azure/arm-storsimple1200series/lib/operations/backups.ts b/packages/@azure/arm-storsimple1200series/lib/operations/backups.ts index 2f7b97e89512..2f583e03045c 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/backups.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/backups.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/backupsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Backups { * @param callback The callback */ listByManager(resourceGroupName: string, managerName: string, options: Models.BackupsListByManagerOptionalParams, callback: msRest.ServiceCallback): void; - listByManager(resourceGroupName: string, managerName: string, options?: Models.BackupsListByManagerOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: Models.BackupsListByManagerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class Backups { * @param callback The callback */ listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options: Models.BackupsListByDeviceOptionalParams, callback: msRest.ServiceCallback): void; - listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.BackupsListByDeviceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.BackupsListByDeviceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -191,7 +191,7 @@ export class Backups { * @param callback The callback */ listByManagerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManagerNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManagerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -219,7 +219,7 @@ export class Backups { * @param callback The callback */ listByDeviceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDeviceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDeviceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-storsimple1200series/lib/operations/chapSettingsOperations.ts b/packages/@azure/arm-storsimple1200series/lib/operations/chapSettingsOperations.ts index df668cfab54e..7e10fbc3fcd1 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/chapSettingsOperations.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/chapSettingsOperations.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/chapSettingsOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class ChapSettingsOperations { * @param callback The callback */ listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -90,7 +90,7 @@ export class ChapSettingsOperations { * @param callback The callback */ get(deviceName: string, chapUserName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(deviceName: string, chapUserName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(deviceName: string, chapUserName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, diff --git a/packages/@azure/arm-storsimple1200series/lib/operations/devices.ts b/packages/@azure/arm-storsimple1200series/lib/operations/devices.ts index ae6c9596a4dd..60ef58914998 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/devices.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/devices.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/devicesMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Devices { * @param callback The callback */ listByManager(resourceGroupName: string, managerName: string, options: Models.DevicesListByManagerOptionalParams, callback: msRest.ServiceCallback): void; - listByManager(resourceGroupName: string, managerName: string, options?: Models.DevicesListByManagerOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: Models.DevicesListByManagerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class Devices { * @param callback The callback */ get(deviceName: string, resourceGroupName: string, managerName: string, options: Models.DevicesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.DevicesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.DevicesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -146,7 +146,7 @@ export class Devices { * @param callback The callback */ getAlertSettings(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAlertSettings(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAlertSettings(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -236,7 +236,7 @@ export class Devices { * @param callback The callback */ listFailoverTarget(deviceName: string, resourceGroupName: string, managerName: string, options: Models.DevicesListFailoverTargetOptionalParams, callback: msRest.ServiceCallback): void; - listFailoverTarget(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.DevicesListFailoverTargetOptionalParams, callback?: msRest.ServiceCallback): Promise { + listFailoverTarget(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.DevicesListFailoverTargetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -285,7 +285,7 @@ export class Devices { * @param callback The callback */ listMetrics(deviceName: string, resourceGroupName: string, managerName: string, options: Models.DevicesListMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMetrics(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.DevicesListMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listMetrics(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.DevicesListMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -321,7 +321,7 @@ export class Devices { * @param callback The callback */ listMetricDefinition(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinition(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinition(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -357,7 +357,7 @@ export class Devices { * @param callback The callback */ getNetworkSettings(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getNetworkSettings(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getNetworkSettings(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -420,7 +420,7 @@ export class Devices { * @param callback The callback */ getTimeSettings(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getTimeSettings(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getTimeSettings(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -456,7 +456,7 @@ export class Devices { * @param callback The callback */ getUpdateSummary(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getUpdateSummary(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getUpdateSummary(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, diff --git a/packages/@azure/arm-storsimple1200series/lib/operations/fileServers.ts b/packages/@azure/arm-storsimple1200series/lib/operations/fileServers.ts index aeec2bec697a..49325933d14d 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/fileServers.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/fileServers.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/fileServersMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class FileServers { * @param callback The callback */ listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -90,7 +90,7 @@ export class FileServers { * @param callback The callback */ get(deviceName: string, fileServerName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(deviceName: string, fileServerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(deviceName: string, fileServerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -173,7 +173,7 @@ export class FileServers { * @param callback The callback */ listMetrics(deviceName: string, fileServerName: string, resourceGroupName: string, managerName: string, options: Models.FileServersListMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMetrics(deviceName: string, fileServerName: string, resourceGroupName: string, managerName: string, options?: Models.FileServersListMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listMetrics(deviceName: string, fileServerName: string, resourceGroupName: string, managerName: string, options?: Models.FileServersListMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -213,7 +213,7 @@ export class FileServers { * @param callback The callback */ listMetricDefinition(deviceName: string, fileServerName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinition(deviceName: string, fileServerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinition(deviceName: string, fileServerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -247,7 +247,7 @@ export class FileServers { * @param callback The callback */ listByManager(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-storsimple1200series/lib/operations/fileShares.ts b/packages/@azure/arm-storsimple1200series/lib/operations/fileShares.ts index 51742b75a921..706edc98ba95 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/fileShares.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/fileShares.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/fileSharesMappers"; import * as Parameters from "../models/parameters"; @@ -54,7 +54,7 @@ export class FileShares { * @param callback The callback */ listByFileServer(deviceName: string, fileServerName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFileServer(deviceName: string, fileServerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByFileServer(deviceName: string, fileServerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -97,7 +97,7 @@ export class FileShares { * @param callback The callback */ get(deviceName: string, fileServerName: string, shareName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(deviceName: string, fileServerName: string, shareName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(deviceName: string, fileServerName: string, shareName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -172,7 +172,7 @@ export class FileShares { * @param callback The callback */ listMetrics(deviceName: string, fileServerName: string, shareName: string, resourceGroupName: string, managerName: string, options: Models.FileSharesListMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMetrics(deviceName: string, fileServerName: string, shareName: string, resourceGroupName: string, managerName: string, options?: Models.FileSharesListMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listMetrics(deviceName: string, fileServerName: string, shareName: string, resourceGroupName: string, managerName: string, options?: Models.FileSharesListMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -216,7 +216,7 @@ export class FileShares { * @param callback The callback */ listMetricDefinition(deviceName: string, fileServerName: string, shareName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinition(deviceName: string, fileServerName: string, shareName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinition(deviceName: string, fileServerName: string, shareName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -254,7 +254,7 @@ export class FileShares { * @param callback The callback */ listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, diff --git a/packages/@azure/arm-storsimple1200series/lib/operations/iscsiDisks.ts b/packages/@azure/arm-storsimple1200series/lib/operations/iscsiDisks.ts index 1e9b4dc30307..77baed1a242c 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/iscsiDisks.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/iscsiDisks.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/iscsiDisksMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class IscsiDisks { * @param callback The callback */ listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -90,7 +90,7 @@ export class IscsiDisks { * @param callback The callback */ listByIscsiServer(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByIscsiServer(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByIscsiServer(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -133,7 +133,7 @@ export class IscsiDisks { * @param callback The callback */ get(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -208,7 +208,7 @@ export class IscsiDisks { * @param callback The callback */ listMetrics(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, options: Models.IscsiDisksListMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMetrics(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, options?: Models.IscsiDisksListMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listMetrics(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, options?: Models.IscsiDisksListMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -252,7 +252,7 @@ export class IscsiDisks { * @param callback The callback */ listMetricDefinition(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinition(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinition(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, diff --git a/packages/@azure/arm-storsimple1200series/lib/operations/iscsiServers.ts b/packages/@azure/arm-storsimple1200series/lib/operations/iscsiServers.ts index f3404299882b..d273cc78086c 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/iscsiServers.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/iscsiServers.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/iscsiServersMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class IscsiServers { * @param callback The callback */ listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -90,7 +90,7 @@ export class IscsiServers { * @param callback The callback */ get(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -173,7 +173,7 @@ export class IscsiServers { * @param callback The callback */ listMetrics(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options: Models.IscsiServersListMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMetrics(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: Models.IscsiServersListMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listMetrics(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: Models.IscsiServersListMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -213,7 +213,7 @@ export class IscsiServers { * @param callback The callback */ listMetricDefinition(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinition(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinition(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -247,7 +247,7 @@ export class IscsiServers { * @param callback The callback */ listByManager(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-storsimple1200series/lib/operations/jobs.ts b/packages/@azure/arm-storsimple1200series/lib/operations/jobs.ts index 651f4efa5a0b..42185a78a85a 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/jobs.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/jobs.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/jobsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Jobs { * @param callback The callback */ listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options: Models.JobsListByDeviceOptionalParams, callback: msRest.ServiceCallback): void; - listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.JobsListByDeviceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.JobsListByDeviceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -89,7 +89,7 @@ export class Jobs { * @param callback The callback */ get(deviceName: string, jobName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(deviceName: string, jobName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(deviceName: string, jobName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -123,7 +123,7 @@ export class Jobs { * @param callback The callback */ listByManager(resourceGroupName: string, managerName: string, options: Models.JobsListByManagerOptionalParams, callback: msRest.ServiceCallback): void; - listByManager(resourceGroupName: string, managerName: string, options?: Models.JobsListByManagerOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: Models.JobsListByManagerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -152,7 +152,7 @@ export class Jobs { * @param callback The callback */ listByDeviceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDeviceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDeviceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -180,7 +180,7 @@ export class Jobs { * @param callback The callback */ listByManagerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManagerNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManagerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-storsimple1200series/lib/operations/managers.ts b/packages/@azure/arm-storsimple1200series/lib/operations/managers.ts index 965fbc335eec..dab50d47db43 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/managers.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/managers.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/managersMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class Managers { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Managers { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -99,7 +99,7 @@ export class Managers { * @param callback The callback */ get(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -134,7 +134,7 @@ export class Managers { * @param callback The callback */ createOrUpdate(manager: Models.Manager, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(manager: Models.Manager, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(manager: Models.Manager, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { manager, @@ -167,7 +167,7 @@ export class Managers { * @param callback The callback */ deleteMethod(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -202,7 +202,7 @@ export class Managers { * @param callback The callback */ update(parameters: Models.ManagerPatch, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(parameters: Models.ManagerPatch, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(parameters: Models.ManagerPatch, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -242,7 +242,7 @@ export class Managers { * @param callback The callback */ uploadRegistrationCertificate(certificateName: string, uploadCertificateRequestrequest: Models.UploadCertificateRequest, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - uploadRegistrationCertificate(certificateName: string, uploadCertificateRequestrequest: Models.UploadCertificateRequest, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + uploadRegistrationCertificate(certificateName: string, uploadCertificateRequestrequest: Models.UploadCertificateRequest, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { certificateName, @@ -276,7 +276,7 @@ export class Managers { * @param callback The callback */ getEncryptionSettings(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getEncryptionSettings(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getEncryptionSettings(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -308,7 +308,7 @@ export class Managers { * @param callback The callback */ getExtendedInfo(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getExtendedInfo(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getExtendedInfo(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -343,7 +343,7 @@ export class Managers { * @param callback The callback */ createExtendedInfo(managerExtendedInfo: Models.ManagerExtendedInfo, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createExtendedInfo(managerExtendedInfo: Models.ManagerExtendedInfo, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createExtendedInfo(managerExtendedInfo: Models.ManagerExtendedInfo, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managerExtendedInfo, @@ -376,7 +376,7 @@ export class Managers { * @param callback The callback */ deleteExtendedInfo(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteExtendedInfo(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteExtendedInfo(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -414,7 +414,7 @@ export class Managers { * @param callback The callback */ updateExtendedInfo(managerExtendedInfo: Models.ManagerExtendedInfo, resourceGroupName: string, managerName: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateExtendedInfo(managerExtendedInfo: Models.ManagerExtendedInfo, resourceGroupName: string, managerName: string, ifMatch: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateExtendedInfo(managerExtendedInfo: Models.ManagerExtendedInfo, resourceGroupName: string, managerName: string, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { managerExtendedInfo, @@ -448,7 +448,7 @@ export class Managers { * @param callback The callback */ getEncryptionKey(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getEncryptionKey(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getEncryptionKey(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -480,7 +480,7 @@ export class Managers { * @param callback The callback */ listMetrics(resourceGroupName: string, managerName: string, options: Models.ManagersListMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, managerName: string, options?: Models.ManagersListMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, managerName: string, options?: Models.ManagersListMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -512,7 +512,7 @@ export class Managers { * @param callback The callback */ listMetricDefinition(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinition(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinition(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-storsimple1200series/lib/operations/storageAccountCredentials.ts b/packages/@azure/arm-storsimple1200series/lib/operations/storageAccountCredentials.ts index d91a72acb940..6af5266ef3d2 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/storageAccountCredentials.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/storageAccountCredentials.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/storageAccountCredentialsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class StorageAccountCredentials { * @param callback The callback */ listByManager(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class StorageAccountCredentials { * @param callback The callback */ get(credentialName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(credentialName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(credentialName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { credentialName, diff --git a/packages/@azure/arm-storsimple1200series/lib/operations/storageDomains.ts b/packages/@azure/arm-storsimple1200series/lib/operations/storageDomains.ts index 6ad583d21485..b0d97f7e19e4 100644 --- a/packages/@azure/arm-storsimple1200series/lib/operations/storageDomains.ts +++ b/packages/@azure/arm-storsimple1200series/lib/operations/storageDomains.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/storageDomainsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class StorageDomains { * @param callback The callback */ listByManager(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class StorageDomains { * @param callback The callback */ get(storageDomainName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(storageDomainName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(storageDomainName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { storageDomainName, diff --git a/packages/@azure/arm-storsimple1200series/lib/storSimpleManagementClient.ts b/packages/@azure/arm-storsimple1200series/lib/storSimpleManagementClient.ts index 2daaf0ce5430..142f5f4dd5e2 100644 --- a/packages/@azure/arm-storsimple1200series/lib/storSimpleManagementClient.ts +++ b/packages/@azure/arm-storsimple1200series/lib/storSimpleManagementClient.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-storsimple1200series/lib/storSimpleManagementClientContext.ts b/packages/@azure/arm-storsimple1200series/lib/storSimpleManagementClientContext.ts index 4ac2228d8175..4d4df0919526 100644 --- a/packages/@azure/arm-storsimple1200series/lib/storSimpleManagementClientContext.ts +++ b/packages/@azure/arm-storsimple1200series/lib/storSimpleManagementClientContext.ts @@ -9,24 +9,17 @@ */ 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-storsimple1200series"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class StorSimpleManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - - apiVersion: string; - + apiVersion?: string; subscriptionId: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the StorSimpleManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -44,6 +37,11 @@ export class StorSimpleManagementClientContext extends msRestAzure.AzureServiceC if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2016-10-01'; @@ -54,7 +52,6 @@ export class StorSimpleManagementClientContext extends msRestAzure.AzureServiceC this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-storsimple1200series/package.json b/packages/@azure/arm-storsimple1200series/package.json index ee888de2c857..aec14354b774 100644 --- a/packages/@azure/arm-storsimple1200series/package.json +++ b/packages/@azure/arm-storsimple1200series/package.json @@ -4,8 +4,8 @@ "description": "StorSimpleManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-storsimple1200series.js.map'\" -o ./dist/arm-storsimple1200series.min.js ./dist/arm-storsimple1200series.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-storsimple1200series/rollup.config.js b/packages/@azure/arm-storsimple1200series/rollup.config.js index 4c0de7f92c8a..f5260e972e41 100644 --- a/packages/@azure/arm-storsimple1200series/rollup.config.js +++ b/packages/@azure/arm-storsimple1200series/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/storSimpleManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-storsimple1200series.js", format: "umd", name: "Azure.ArmStorsimple1200series", 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-storsimple1200series/tsconfig.json b/packages/@azure/arm-storsimple1200series/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-storsimple1200series/tsconfig.json +++ b/packages/@azure/arm-storsimple1200series/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-storsimple8000series/.npmignore b/packages/@azure/arm-storsimple8000series/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-storsimple8000series/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-storsimple8000series/README.md b/packages/@azure/arm-storsimple8000series/README.md index e802c245d4f5..e8bc11b8ae4d 100644 --- a/packages/@azure/arm-storsimple8000series/README.md +++ b/packages/@azure/arm-storsimple8000series/README.md @@ -1,24 +1,34 @@ -# Azure StorSimple8000SeriesManagementClient SDK for JavaScript +## Azure StorSimple8000SeriesManagementClient SDK for JavaScript + This package contains an isomorphic SDK for StorSimple8000SeriesManagementClient. -## 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-storsimple8000series ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { StorSimple8000SeriesManagementClient, StorSimple8000SeriesManagementModels, StorSimple8000SeriesManagementMappers } from "@azure/arm-storsimple8000series"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-storsimple8000series 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-storsimple8000series/lib/models/index.ts b/packages/@azure/arm-storsimple8000series/lib/models/index.ts index 7120bfb94d9a..f07aee06f82d 100644 --- a/packages/@azure/arm-storsimple8000series/lib/models/index.ts +++ b/packages/@azure/arm-storsimple8000series/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -3087,10 +3087,7 @@ export interface StorageAccountCredentialList extends Array): void; - listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class AccessControlRecords { * @param callback The callback */ get(accessControlRecordName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(accessControlRecordName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(accessControlRecordName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { accessControlRecordName, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/alerts.ts b/packages/@azure/arm-storsimple8000series/lib/operations/alerts.ts index 6e6b4d334fe9..6fb447d652b2 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/alerts.ts +++ b/packages/@azure/arm-storsimple8000series/lib/operations/alerts.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/alertsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Alerts { * @param callback The callback */ listByManager(resourceGroupName: string, managerName: string, options: Models.AlertsListByManagerOptionalParams, callback: msRest.ServiceCallback): void; - listByManager(resourceGroupName: string, managerName: string, options?: Models.AlertsListByManagerOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: Models.AlertsListByManagerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -82,7 +82,7 @@ export class Alerts { * @param callback The callback */ clear(parameters: Models.ClearAlertRequest, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - clear(parameters: Models.ClearAlertRequest, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + clear(parameters: Models.ClearAlertRequest, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -121,7 +121,7 @@ export class Alerts { * @param callback The callback */ sendTestEmail(deviceName: string, parameters: Models.SendTestAlertEmailRequest, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - sendTestEmail(deviceName: string, parameters: Models.SendTestAlertEmailRequest, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + sendTestEmail(deviceName: string, parameters: Models.SendTestAlertEmailRequest, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -152,7 +152,7 @@ export class Alerts { * @param callback The callback */ listByManagerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManagerNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManagerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/backupPolicies.ts b/packages/@azure/arm-storsimple8000series/lib/operations/backupPolicies.ts index f21a768daf2e..01367182a8fd 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/backupPolicies.ts +++ b/packages/@azure/arm-storsimple8000series/lib/operations/backupPolicies.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/backupPoliciesMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class BackupPolicies { * @param callback The callback */ listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -90,7 +90,7 @@ export class BackupPolicies { * @param callback The callback */ get(deviceName: string, backupPolicyName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(deviceName: string, backupPolicyName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(deviceName: string, backupPolicyName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/backupSchedules.ts b/packages/@azure/arm-storsimple8000series/lib/operations/backupSchedules.ts index 437b7d9193ba..8012162c6f09 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/backupSchedules.ts +++ b/packages/@azure/arm-storsimple8000series/lib/operations/backupSchedules.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/backupSchedulesMappers"; import * as Parameters from "../models/parameters"; @@ -54,7 +54,7 @@ export class BackupSchedules { * @param callback The callback */ listByBackupPolicy(deviceName: string, backupPolicyName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByBackupPolicy(deviceName: string, backupPolicyName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByBackupPolicy(deviceName: string, backupPolicyName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -97,7 +97,7 @@ export class BackupSchedules { * @param callback The callback */ get(deviceName: string, backupPolicyName: string, backupScheduleName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(deviceName: string, backupPolicyName: string, backupScheduleName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(deviceName: string, backupPolicyName: string, backupScheduleName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/backups.ts b/packages/@azure/arm-storsimple8000series/lib/operations/backups.ts index 9f51991ab1ca..60cf331ab4f8 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/backups.ts +++ b/packages/@azure/arm-storsimple8000series/lib/operations/backups.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/backupsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class Backups { * @param callback The callback */ listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options: Models.BackupsListByDeviceOptionalParams, callback: msRest.ServiceCallback): void; - listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.BackupsListByDeviceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.BackupsListByDeviceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -195,7 +195,7 @@ export class Backups { * @param callback The callback */ listByDeviceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDeviceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDeviceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/bandwidthSettings.ts b/packages/@azure/arm-storsimple8000series/lib/operations/bandwidthSettings.ts index c8d71bffd997..d7226e18c2c0 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/bandwidthSettings.ts +++ b/packages/@azure/arm-storsimple8000series/lib/operations/bandwidthSettings.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/bandwidthSettingsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class BandwidthSettings { * @param callback The callback */ listByManager(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class BandwidthSettings { * @param callback The callback */ get(bandwidthSettingName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(bandwidthSettingName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(bandwidthSettingName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { bandwidthSettingName, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/cloudAppliances.ts b/packages/@azure/arm-storsimple8000series/lib/operations/cloudAppliances.ts index 6133f35e6080..fce5b54cd390 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/cloudAppliances.ts +++ b/packages/@azure/arm-storsimple8000series/lib/operations/cloudAppliances.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/cloudAppliancesMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class CloudAppliances { * @param callback The callback */ listSupportedConfigurations(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSupportedConfigurations(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSupportedConfigurations(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/deviceSettings.ts b/packages/@azure/arm-storsimple8000series/lib/operations/deviceSettings.ts index 1c1bc2f066e5..2e537937b1a7 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/deviceSettings.ts +++ b/packages/@azure/arm-storsimple8000series/lib/operations/deviceSettings.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/deviceSettingsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class DeviceSettings { * @param callback The callback */ getAlertSettings(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAlertSettings(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAlertSettings(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -101,7 +101,7 @@ export class DeviceSettings { * @param callback The callback */ getNetworkSettings(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getNetworkSettings(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getNetworkSettings(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -151,7 +151,7 @@ export class DeviceSettings { * @param callback The callback */ getSecuritySettings(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSecuritySettings(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSecuritySettings(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -214,7 +214,7 @@ export class DeviceSettings { * @param callback The callback */ getTimeSettings(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getTimeSettings(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getTimeSettings(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/devices.ts b/packages/@azure/arm-storsimple8000series/lib/operations/devices.ts index 0732a8bf2a3e..2968f4c2a474 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/devices.ts +++ b/packages/@azure/arm-storsimple8000series/lib/operations/devices.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/devicesMappers"; import * as Parameters from "../models/parameters"; @@ -61,7 +61,7 @@ export class Devices { * @param callback The callback */ listByManager(resourceGroupName: string, managerName: string, options: Models.DevicesListByManagerOptionalParams, callback: msRest.ServiceCallback): void; - listByManager(resourceGroupName: string, managerName: string, options?: Models.DevicesListByManagerOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: Models.DevicesListByManagerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -96,7 +96,7 @@ export class Devices { * @param callback The callback */ get(deviceName: string, resourceGroupName: string, managerName: string, options: Models.DevicesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.DevicesGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.DevicesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -148,7 +148,7 @@ export class Devices { * @param callback The callback */ update(deviceName: string, parameters: Models.DevicePatch, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(deviceName: string, parameters: Models.DevicePatch, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(deviceName: string, parameters: Models.DevicePatch, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -185,7 +185,7 @@ export class Devices { * @param callback The callback */ authorizeForServiceEncryptionKeyRollover(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - authorizeForServiceEncryptionKeyRollover(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + authorizeForServiceEncryptionKeyRollover(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -249,7 +249,7 @@ export class Devices { * @param callback The callback */ listFailoverSets(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listFailoverSets(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listFailoverSets(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -288,7 +288,7 @@ export class Devices { * @param callback The callback */ listMetrics(deviceName: string, resourceGroupName: string, managerName: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(deviceName: string, resourceGroupName: string, managerName: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(deviceName: string, resourceGroupName: string, managerName: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -325,7 +325,7 @@ export class Devices { * @param callback The callback */ listMetricDefinition(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinition(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinition(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -374,7 +374,7 @@ export class Devices { * @param callback The callback */ getUpdateSummary(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getUpdateSummary(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getUpdateSummary(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -432,7 +432,7 @@ export class Devices { * @param callback The callback */ listFailoverTargets(sourceDeviceName: string, parameters: Models.ListFailoverTargetsRequest, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listFailoverTargets(sourceDeviceName: string, parameters: Models.ListFailoverTargetsRequest, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listFailoverTargets(sourceDeviceName: string, parameters: Models.ListFailoverTargetsRequest, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { sourceDeviceName, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/hardwareComponentGroups.ts b/packages/@azure/arm-storsimple8000series/lib/operations/hardwareComponentGroups.ts index e199e89ed7ca..4ea0b6a05596 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/hardwareComponentGroups.ts +++ b/packages/@azure/arm-storsimple8000series/lib/operations/hardwareComponentGroups.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/hardwareComponentGroupsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class HardwareComponentGroups { * @param callback The callback */ listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/jobs.ts b/packages/@azure/arm-storsimple8000series/lib/operations/jobs.ts index 3e889d6b8c30..434ac801f946 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/jobs.ts +++ b/packages/@azure/arm-storsimple8000series/lib/operations/jobs.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/jobsMappers"; import * as Parameters from "../models/parameters"; @@ -52,7 +52,7 @@ export class Jobs { * @param callback The callback */ listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options: Models.JobsListByDeviceOptionalParams, callback: msRest.ServiceCallback): void; - listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.JobsListByDeviceOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: Models.JobsListByDeviceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -91,7 +91,7 @@ export class Jobs { * @param callback The callback */ get(deviceName: string, jobName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(deviceName: string, jobName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(deviceName: string, jobName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -140,7 +140,7 @@ export class Jobs { * @param callback The callback */ listByManager(resourceGroupName: string, managerName: string, options: Models.JobsListByManagerOptionalParams, callback: msRest.ServiceCallback): void; - listByManager(resourceGroupName: string, managerName: string, options?: Models.JobsListByManagerOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: Models.JobsListByManagerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -192,7 +192,7 @@ export class Jobs { * @param callback The callback */ listByDeviceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDeviceNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDeviceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -221,7 +221,7 @@ export class Jobs { * @param callback The callback */ listByManagerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManagerNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManagerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/managers.ts b/packages/@azure/arm-storsimple8000series/lib/operations/managers.ts index bc4277fa79a0..c94fae390c9b 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/managers.ts +++ b/packages/@azure/arm-storsimple8000series/lib/operations/managers.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/managersMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class Managers { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Managers { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -99,7 +99,7 @@ export class Managers { * @param callback The callback */ get(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -134,7 +134,7 @@ export class Managers { * @param callback The callback */ createOrUpdate(parameters: Models.Manager, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(parameters: Models.Manager, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(parameters: Models.Manager, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -167,7 +167,7 @@ export class Managers { * @param callback The callback */ deleteMethod(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -202,7 +202,7 @@ export class Managers { * @param callback The callback */ update(parameters: Models.ManagerPatch, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(parameters: Models.ManagerPatch, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(parameters: Models.ManagerPatch, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -238,7 +238,7 @@ export class Managers { * @param callback The callback */ getDevicePublicEncryptionKey(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDevicePublicEncryptionKey(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDevicePublicEncryptionKey(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -271,7 +271,7 @@ export class Managers { * @param callback The callback */ getEncryptionSettings(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getEncryptionSettings(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getEncryptionSettings(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -303,7 +303,7 @@ export class Managers { * @param callback The callback */ getExtendedInfo(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getExtendedInfo(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getExtendedInfo(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -338,7 +338,7 @@ export class Managers { * @param callback The callback */ createExtendedInfo(parameters: Models.ManagerExtendedInfo, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createExtendedInfo(parameters: Models.ManagerExtendedInfo, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createExtendedInfo(parameters: Models.ManagerExtendedInfo, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -371,7 +371,7 @@ export class Managers { * @param callback The callback */ deleteExtendedInfo(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteExtendedInfo(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteExtendedInfo(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -409,7 +409,7 @@ export class Managers { * @param callback The callback */ updateExtendedInfo(parameters: Models.ManagerExtendedInfo, resourceGroupName: string, managerName: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateExtendedInfo(parameters: Models.ManagerExtendedInfo, resourceGroupName: string, managerName: string, ifMatch: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateExtendedInfo(parameters: Models.ManagerExtendedInfo, resourceGroupName: string, managerName: string, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -443,7 +443,7 @@ export class Managers { * @param callback The callback */ listFeatureSupportStatus(resourceGroupName: string, managerName: string, options: Models.ManagersListFeatureSupportStatusOptionalParams, callback: msRest.ServiceCallback): void; - listFeatureSupportStatus(resourceGroupName: string, managerName: string, options?: Models.ManagersListFeatureSupportStatusOptionalParams, callback?: msRest.ServiceCallback): Promise { + listFeatureSupportStatus(resourceGroupName: string, managerName: string, options?: Models.ManagersListFeatureSupportStatusOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -475,7 +475,7 @@ export class Managers { * @param callback The callback */ getActivationKey(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getActivationKey(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getActivationKey(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -507,7 +507,7 @@ export class Managers { * @param callback The callback */ getPublicEncryptionKey(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPublicEncryptionKey(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPublicEncryptionKey(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -542,7 +542,7 @@ export class Managers { * @param callback The callback */ listMetrics(resourceGroupName: string, managerName: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, managerName: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(resourceGroupName: string, managerName: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -575,7 +575,7 @@ export class Managers { * @param callback The callback */ listMetricDefinition(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinition(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinition(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -607,7 +607,7 @@ export class Managers { * @param callback The callback */ regenerateActivationKey(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateActivationKey(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateActivationKey(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/operations.ts b/packages/@azure/arm-storsimple8000series/lib/operations/operations.ts index 7e79eb8f61f6..0ec054845d1a 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/operations.ts +++ b/packages/@azure/arm-storsimple8000series/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/storageAccountCredentials.ts b/packages/@azure/arm-storsimple8000series/lib/operations/storageAccountCredentials.ts index 5415d12271ef..0a42ec912eac 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/storageAccountCredentials.ts +++ b/packages/@azure/arm-storsimple8000series/lib/operations/storageAccountCredentials.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/storageAccountCredentialsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class StorageAccountCredentials { * @param callback The callback */ listByManager(resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByManager(resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -83,7 +83,7 @@ export class StorageAccountCredentials { * @param callback The callback */ get(storageAccountCredentialName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(storageAccountCredentialName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(storageAccountCredentialName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { storageAccountCredentialName, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/volumeContainers.ts b/packages/@azure/arm-storsimple8000series/lib/operations/volumeContainers.ts index 562b1cc28729..a9feae317a84 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/volumeContainers.ts +++ b/packages/@azure/arm-storsimple8000series/lib/operations/volumeContainers.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/volumeContainersMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class VolumeContainers { * @param callback The callback */ listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -90,7 +90,7 @@ export class VolumeContainers { * @param callback The callback */ get(deviceName: string, volumeContainerName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(deviceName: string, volumeContainerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(deviceName: string, volumeContainerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -162,7 +162,7 @@ export class VolumeContainers { * @param callback The callback */ listMetrics(deviceName: string, volumeContainerName: string, resourceGroupName: string, managerName: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(deviceName: string, volumeContainerName: string, resourceGroupName: string, managerName: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(deviceName: string, volumeContainerName: string, resourceGroupName: string, managerName: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -203,7 +203,7 @@ export class VolumeContainers { * @param callback The callback */ listMetricDefinition(deviceName: string, volumeContainerName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinition(deviceName: string, volumeContainerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinition(deviceName: string, volumeContainerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, diff --git a/packages/@azure/arm-storsimple8000series/lib/operations/volumes.ts b/packages/@azure/arm-storsimple8000series/lib/operations/volumes.ts index 78c1dfd84ec2..7b2990997a07 100644 --- a/packages/@azure/arm-storsimple8000series/lib/operations/volumes.ts +++ b/packages/@azure/arm-storsimple8000series/lib/operations/volumes.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/volumesMappers"; import * as Parameters from "../models/parameters"; @@ -54,7 +54,7 @@ export class Volumes { * @param callback The callback */ listByVolumeContainer(deviceName: string, volumeContainerName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByVolumeContainer(deviceName: string, volumeContainerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByVolumeContainer(deviceName: string, volumeContainerName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -97,7 +97,7 @@ export class Volumes { * @param callback The callback */ get(deviceName: string, volumeContainerName: string, volumeName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(deviceName: string, volumeContainerName: string, volumeName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(deviceName: string, volumeContainerName: string, volumeName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -175,7 +175,7 @@ export class Volumes { * @param callback The callback */ listMetrics(deviceName: string, volumeContainerName: string, volumeName: string, resourceGroupName: string, managerName: string, filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetrics(deviceName: string, volumeContainerName: string, volumeName: string, resourceGroupName: string, managerName: string, filter: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetrics(deviceName: string, volumeContainerName: string, volumeName: string, resourceGroupName: string, managerName: string, filter: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -220,7 +220,7 @@ export class Volumes { * @param callback The callback */ listMetricDefinition(deviceName: string, volumeContainerName: string, volumeName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinition(deviceName: string, volumeContainerName: string, volumeName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listMetricDefinition(deviceName: string, volumeContainerName: string, volumeName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, @@ -258,7 +258,7 @@ export class Volumes { * @param callback The callback */ listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { deviceName, diff --git a/packages/@azure/arm-storsimple8000series/lib/storSimple8000SeriesManagementClient.ts b/packages/@azure/arm-storsimple8000series/lib/storSimple8000SeriesManagementClient.ts index 4747669bbe6a..abe8192f1fff 100644 --- a/packages/@azure/arm-storsimple8000series/lib/storSimple8000SeriesManagementClient.ts +++ b/packages/@azure/arm-storsimple8000series/lib/storSimple8000SeriesManagementClient.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-storsimple8000series/lib/storSimple8000SeriesManagementClientContext.ts b/packages/@azure/arm-storsimple8000series/lib/storSimple8000SeriesManagementClientContext.ts index d951da1dd974..3839ad510595 100644 --- a/packages/@azure/arm-storsimple8000series/lib/storSimple8000SeriesManagementClientContext.ts +++ b/packages/@azure/arm-storsimple8000series/lib/storSimple8000SeriesManagementClientContext.ts @@ -9,24 +9,17 @@ */ 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-storsimple8000series"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class StorSimple8000SeriesManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - - apiVersion: string; - + apiVersion?: string; subscriptionId: string; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the StorSimple8000SeriesManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -44,6 +37,11 @@ export class StorSimple8000SeriesManagementClientContext extends msRestAzure.Azu if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-06-01'; @@ -54,7 +52,6 @@ export class StorSimple8000SeriesManagementClientContext extends msRestAzure.Azu this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-storsimple8000series/package.json b/packages/@azure/arm-storsimple8000series/package.json index 3c9fe9aacd61..f2db920d2409 100644 --- a/packages/@azure/arm-storsimple8000series/package.json +++ b/packages/@azure/arm-storsimple8000series/package.json @@ -4,8 +4,8 @@ "description": "StorSimple8000SeriesManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-storsimple8000series.js.map'\" -o ./dist/arm-storsimple8000series.min.js ./dist/arm-storsimple8000series.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-storsimple8000series/rollup.config.js b/packages/@azure/arm-storsimple8000series/rollup.config.js index ced1913cde5b..a8fd715a2068 100644 --- a/packages/@azure/arm-storsimple8000series/rollup.config.js +++ b/packages/@azure/arm-storsimple8000series/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/storSimple8000SeriesManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-storsimple8000series.js", format: "umd", name: "Azure.ArmStorsimple8000series", 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-storsimple8000series/tsconfig.json b/packages/@azure/arm-storsimple8000series/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-storsimple8000series/tsconfig.json +++ b/packages/@azure/arm-storsimple8000series/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-streamanalytics/.npmignore b/packages/@azure/arm-streamanalytics/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-streamanalytics/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-streamanalytics/README.md b/packages/@azure/arm-streamanalytics/README.md index 0d4aa4ac735a..374128b1ab01 100644 --- a/packages/@azure/arm-streamanalytics/README.md +++ b/packages/@azure/arm-streamanalytics/README.md @@ -1,24 +1,34 @@ -# Azure StreamAnalyticsManagementClient SDK for JavaScript +## Azure StreamAnalyticsManagementClient SDK for JavaScript + This package contains an isomorphic SDK for StreamAnalyticsManagementClient. -## 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-streamanalytics ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { StreamAnalyticsManagementClient, StreamAnalyticsManagementModels, StreamAnalyticsManagementMappers } from "@azure/arm-streamanalytics"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-streamanalytics 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-streamanalytics/lib/models/index.ts b/packages/@azure/arm-streamanalytics/lib/models/index.ts index b748f1cd6a1d..261a702c22be 100644 --- a/packages/@azure/arm-streamanalytics/lib/models/index.ts +++ b/packages/@azure/arm-streamanalytics/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -2754,110 +2754,58 @@ export interface FunctionListResult extends Array { /** * Defines values for SkuName. * Possible values include: 'Standard' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SkuName = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SkuName { - Standard = 'Standard', -} +export type SkuName = 'Standard'; /** * Defines values for OutputStartMode. * Possible values include: 'JobStartTime', 'CustomTime', 'LastOutputEventTime' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OutputStartMode = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OutputStartMode { - JobStartTime = 'JobStartTime', - CustomTime = 'CustomTime', - LastOutputEventTime = 'LastOutputEventTime', -} +export type OutputStartMode = 'JobStartTime' | 'CustomTime' | 'LastOutputEventTime'; /** * Defines values for EventsOutOfOrderPolicy. * Possible values include: 'Adjust', 'Drop' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EventsOutOfOrderPolicy = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum EventsOutOfOrderPolicy { - Adjust = 'Adjust', - Drop = 'Drop', -} +export type EventsOutOfOrderPolicy = 'Adjust' | 'Drop'; /** * Defines values for OutputErrorPolicy. * Possible values include: 'Stop', 'Drop' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OutputErrorPolicy = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OutputErrorPolicy { - Stop = 'Stop', - Drop = 'Drop', -} +export type OutputErrorPolicy = 'Stop' | 'Drop'; /** * Defines values for CompatibilityLevel. * Possible values include: '1.0' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CompatibilityLevel = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CompatibilityLevel { - OneFullStopZero = '1.0', -} +export type CompatibilityLevel = '1.0'; /** * Defines values for JsonOutputSerializationFormat. * Possible values include: 'LineSeparated', 'Array' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: JsonOutputSerializationFormat = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum JsonOutputSerializationFormat { - LineSeparated = 'LineSeparated', - Array = 'Array', -} +export type JsonOutputSerializationFormat = 'LineSeparated' | 'Array'; /** * Defines values for Encoding. * Possible values include: 'UTF8' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Encoding = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Encoding { - UTF8 = 'UTF8', -} +export type Encoding = 'UTF8'; /** * Defines values for UdfType. @@ -2865,9 +2813,7 @@ export enum Encoding { * @readonly * @enum {string} */ -export enum UdfType { - Scalar = 'Scalar', -} +export type UdfType = 'Scalar'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-streamanalytics/lib/models/mappers.ts b/packages/@azure/arm-streamanalytics/lib/models/mappers.ts index 04af2c462f63..c013c3e3beb9 100644 --- a/packages/@azure/arm-streamanalytics/lib/models/mappers.ts +++ b/packages/@azure/arm-streamanalytics/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -184,11 +184,6 @@ export const InputProperties: msRest.CompositeMapper = { serializedName: "serialization", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "Serialization", className: "Serialization" } }, @@ -259,11 +254,6 @@ export const Input: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "InputProperties", className: "InputProperties" } } @@ -334,11 +324,6 @@ export const Output: msRest.CompositeMapper = { serializedName: "properties.datasource", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "OutputDataSource", className: "OutputDataSource" } }, @@ -346,11 +331,6 @@ export const Output: msRest.CompositeMapper = { serializedName: "properties.serialization", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "Serialization", className: "Serialization" } }, @@ -413,11 +393,6 @@ export const FunctionModel: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "FunctionProperties", className: "FunctionProperties" } } @@ -885,11 +860,6 @@ export const ScalarFunctionProperties: msRest.CompositeMapper = { serializedName: "properties.binding", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "FunctionBinding", className: "FunctionBinding" } } @@ -1687,11 +1657,6 @@ export const ReferenceInputProperties: msRest.CompositeMapper = { serializedName: "datasource", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "ReferenceInputDataSource", className: "ReferenceInputDataSource" } } @@ -1875,11 +1840,6 @@ export const StreamInputProperties: msRest.CompositeMapper = { serializedName: "datasource", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "StreamInputDataSource", className: "StreamInputDataSource" } } diff --git a/packages/@azure/arm-streamanalytics/lib/models/parameters.ts b/packages/@azure/arm-streamanalytics/lib/models/parameters.ts index cd76a3caed1b..9304d3dddba5 100644 --- a/packages/@azure/arm-streamanalytics/lib/models/parameters.ts +++ b/packages/@azure/arm-streamanalytics/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-streamanalytics/lib/operations/functions.ts b/packages/@azure/arm-streamanalytics/lib/operations/functions.ts index d9089ace9c16..dfb226dfad85 100644 --- a/packages/@azure/arm-streamanalytics/lib/operations/functions.ts +++ b/packages/@azure/arm-streamanalytics/lib/operations/functions.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/functionsMappers"; import * as Parameters from "../models/parameters"; @@ -60,7 +60,7 @@ export class Functions { * @param callback The callback */ createOrReplace(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options: Models.FunctionsCreateOrReplaceOptionalParams, callback: msRest.ServiceCallback): void; - createOrReplace(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsCreateOrReplaceOptionalParams, callback?: msRest.ServiceCallback): Promise { + createOrReplace(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsCreateOrReplaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { functionParameter, @@ -114,7 +114,7 @@ export class Functions { * @param callback The callback */ update(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options: Models.FunctionsUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { functionParameter, @@ -154,7 +154,7 @@ export class Functions { * @param callback The callback */ deleteMethod(resourceGroupName: string, jobName: string, functionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, jobName: string, functionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, jobName: string, functionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -193,7 +193,7 @@ export class Functions { * @param callback The callback */ get(resourceGroupName: string, jobName: string, functionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, jobName: string, functionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, jobName: string, functionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -229,7 +229,7 @@ export class Functions { * @param callback The callback */ listByStreamingJob(resourceGroupName: string, jobName: string, options: Models.FunctionsListByStreamingJobOptionalParams, callback: msRest.ServiceCallback): void; - listByStreamingJob(resourceGroupName: string, jobName: string, options?: Models.FunctionsListByStreamingJobOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByStreamingJob(resourceGroupName: string, jobName: string, options?: Models.FunctionsListByStreamingJobOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -283,7 +283,7 @@ export class Functions { * @param callback The callback */ retrieveDefaultDefinition(resourceGroupName: string, jobName: string, functionName: string, options: Models.FunctionsRetrieveDefaultDefinitionOptionalParams, callback: msRest.ServiceCallback): void; - retrieveDefaultDefinition(resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsRetrieveDefaultDefinitionOptionalParams, callback?: msRest.ServiceCallback): Promise { + retrieveDefaultDefinition(resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsRetrieveDefaultDefinitionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -336,7 +336,7 @@ export class Functions { * @param callback The callback */ listByStreamingJobNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByStreamingJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByStreamingJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-streamanalytics/lib/operations/inputs.ts b/packages/@azure/arm-streamanalytics/lib/operations/inputs.ts index 7c6267dd00e3..76c73c50aeb9 100644 --- a/packages/@azure/arm-streamanalytics/lib/operations/inputs.ts +++ b/packages/@azure/arm-streamanalytics/lib/operations/inputs.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/inputsMappers"; import * as Parameters from "../models/parameters"; @@ -60,7 +60,7 @@ export class Inputs { * @param callback The callback */ createOrReplace(input: Models.Input, resourceGroupName: string, jobName: string, inputName: string, options: Models.InputsCreateOrReplaceOptionalParams, callback: msRest.ServiceCallback): void; - createOrReplace(input: Models.Input, resourceGroupName: string, jobName: string, inputName: string, options?: Models.InputsCreateOrReplaceOptionalParams, callback?: msRest.ServiceCallback): Promise { + createOrReplace(input: Models.Input, resourceGroupName: string, jobName: string, inputName: string, options?: Models.InputsCreateOrReplaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { input, @@ -114,7 +114,7 @@ export class Inputs { * @param callback The callback */ update(input: Models.Input, resourceGroupName: string, jobName: string, inputName: string, options: Models.InputsUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(input: Models.Input, resourceGroupName: string, jobName: string, inputName: string, options?: Models.InputsUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(input: Models.Input, resourceGroupName: string, jobName: string, inputName: string, options?: Models.InputsUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { input, @@ -154,7 +154,7 @@ export class Inputs { * @param callback The callback */ deleteMethod(resourceGroupName: string, jobName: string, inputName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, jobName: string, inputName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, jobName: string, inputName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -193,7 +193,7 @@ export class Inputs { * @param callback The callback */ get(resourceGroupName: string, jobName: string, inputName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, jobName: string, inputName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, jobName: string, inputName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -229,7 +229,7 @@ export class Inputs { * @param callback The callback */ listByStreamingJob(resourceGroupName: string, jobName: string, options: Models.InputsListByStreamingJobOptionalParams, callback: msRest.ServiceCallback): void; - listByStreamingJob(resourceGroupName: string, jobName: string, options?: Models.InputsListByStreamingJobOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByStreamingJob(resourceGroupName: string, jobName: string, options?: Models.InputsListByStreamingJobOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -295,7 +295,7 @@ export class Inputs { * @param callback The callback */ listByStreamingJobNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByStreamingJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByStreamingJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-streamanalytics/lib/operations/operations.ts b/packages/@azure/arm-streamanalytics/lib/operations/operations.ts index 1ca74dd051a2..cb991f763fc5 100644 --- a/packages/@azure/arm-streamanalytics/lib/operations/operations.ts +++ b/packages/@azure/arm-streamanalytics/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-streamanalytics/lib/operations/outputs.ts b/packages/@azure/arm-streamanalytics/lib/operations/outputs.ts index b5c53db0c360..b342ddef09cb 100644 --- a/packages/@azure/arm-streamanalytics/lib/operations/outputs.ts +++ b/packages/@azure/arm-streamanalytics/lib/operations/outputs.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/outputsMappers"; import * as Parameters from "../models/parameters"; @@ -60,7 +60,7 @@ export class Outputs { * @param callback The callback */ createOrReplace(output: Models.Output, resourceGroupName: string, jobName: string, outputName: string, options: Models.OutputsCreateOrReplaceOptionalParams, callback: msRest.ServiceCallback): void; - createOrReplace(output: Models.Output, resourceGroupName: string, jobName: string, outputName: string, options?: Models.OutputsCreateOrReplaceOptionalParams, callback?: msRest.ServiceCallback): Promise { + createOrReplace(output: Models.Output, resourceGroupName: string, jobName: string, outputName: string, options?: Models.OutputsCreateOrReplaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { output, @@ -114,7 +114,7 @@ export class Outputs { * @param callback The callback */ update(output: Models.Output, resourceGroupName: string, jobName: string, outputName: string, options: Models.OutputsUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(output: Models.Output, resourceGroupName: string, jobName: string, outputName: string, options?: Models.OutputsUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(output: Models.Output, resourceGroupName: string, jobName: string, outputName: string, options?: Models.OutputsUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { output, @@ -154,7 +154,7 @@ export class Outputs { * @param callback The callback */ deleteMethod(resourceGroupName: string, jobName: string, outputName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, jobName: string, outputName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, jobName: string, outputName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -193,7 +193,7 @@ export class Outputs { * @param callback The callback */ get(resourceGroupName: string, jobName: string, outputName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, jobName: string, outputName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, jobName: string, outputName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -229,7 +229,7 @@ export class Outputs { * @param callback The callback */ listByStreamingJob(resourceGroupName: string, jobName: string, options: Models.OutputsListByStreamingJobOptionalParams, callback: msRest.ServiceCallback): void; - listByStreamingJob(resourceGroupName: string, jobName: string, options?: Models.OutputsListByStreamingJobOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByStreamingJob(resourceGroupName: string, jobName: string, options?: Models.OutputsListByStreamingJobOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -295,7 +295,7 @@ export class Outputs { * @param callback The callback */ listByStreamingJobNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByStreamingJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByStreamingJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-streamanalytics/lib/operations/streamingJobs.ts b/packages/@azure/arm-streamanalytics/lib/operations/streamingJobs.ts index 54f60d855e12..fe6f5010f3c3 100644 --- a/packages/@azure/arm-streamanalytics/lib/operations/streamingJobs.ts +++ b/packages/@azure/arm-streamanalytics/lib/operations/streamingJobs.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/streamingJobsMappers"; import * as Parameters from "../models/parameters"; @@ -79,7 +79,7 @@ export class StreamingJobs { * @param callback The callback */ update(streamingJob: Models.StreamingJob, resourceGroupName: string, jobName: string, options: Models.StreamingJobsUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(streamingJob: Models.StreamingJob, resourceGroupName: string, jobName: string, options?: Models.StreamingJobsUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(streamingJob: Models.StreamingJob, resourceGroupName: string, jobName: string, options?: Models.StreamingJobsUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { streamingJob, @@ -128,7 +128,7 @@ export class StreamingJobs { * @param callback The callback */ get(resourceGroupName: string, jobName: string, options: Models.StreamingJobsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, jobName: string, options?: Models.StreamingJobsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, jobName: string, options?: Models.StreamingJobsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -160,7 +160,7 @@ export class StreamingJobs { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: Models.StreamingJobsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.StreamingJobsListByResourceGroupOptionalParams, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: Models.StreamingJobsListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -185,7 +185,7 @@ export class StreamingJobs { * @param callback The callback */ list(options: Models.StreamingJobsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.StreamingJobsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.StreamingJobsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -321,7 +321,7 @@ export class StreamingJobs { * @param callback The callback */ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -349,7 +349,7 @@ export class StreamingJobs { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-streamanalytics/lib/operations/subscriptions.ts b/packages/@azure/arm-streamanalytics/lib/operations/subscriptions.ts index 1a960f766d60..c11387981c72 100644 --- a/packages/@azure/arm-streamanalytics/lib/operations/subscriptions.ts +++ b/packages/@azure/arm-streamanalytics/lib/operations/subscriptions.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/subscriptionsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Subscriptions { * @param callback The callback */ listQuotas(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listQuotas(location: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listQuotas(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { location, diff --git a/packages/@azure/arm-streamanalytics/lib/operations/transformations.ts b/packages/@azure/arm-streamanalytics/lib/operations/transformations.ts index 26349d3baa08..99f1290edb8d 100644 --- a/packages/@azure/arm-streamanalytics/lib/operations/transformations.ts +++ b/packages/@azure/arm-streamanalytics/lib/operations/transformations.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/transformationsMappers"; import * as Parameters from "../models/parameters"; @@ -60,7 +60,7 @@ export class Transformations { * @param callback The callback */ createOrReplace(transformation: Models.Transformation, resourceGroupName: string, jobName: string, transformationName: string, options: Models.TransformationsCreateOrReplaceOptionalParams, callback: msRest.ServiceCallback): void; - createOrReplace(transformation: Models.Transformation, resourceGroupName: string, jobName: string, transformationName: string, options?: Models.TransformationsCreateOrReplaceOptionalParams, callback?: msRest.ServiceCallback): Promise { + createOrReplace(transformation: Models.Transformation, resourceGroupName: string, jobName: string, transformationName: string, options?: Models.TransformationsCreateOrReplaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { transformation, @@ -114,7 +114,7 @@ export class Transformations { * @param callback The callback */ update(transformation: Models.Transformation, resourceGroupName: string, jobName: string, transformationName: string, options: Models.TransformationsUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(transformation: Models.Transformation, resourceGroupName: string, jobName: string, transformationName: string, options?: Models.TransformationsUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(transformation: Models.Transformation, resourceGroupName: string, jobName: string, transformationName: string, options?: Models.TransformationsUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { transformation, @@ -154,7 +154,7 @@ export class Transformations { * @param callback The callback */ get(resourceGroupName: string, jobName: string, transformationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, jobName: string, transformationName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, jobName: string, transformationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-streamanalytics/lib/streamAnalyticsManagementClient.ts b/packages/@azure/arm-streamanalytics/lib/streamAnalyticsManagementClient.ts index 441a5defd796..af3155ad2a32 100644 --- a/packages/@azure/arm-streamanalytics/lib/streamAnalyticsManagementClient.ts +++ b/packages/@azure/arm-streamanalytics/lib/streamAnalyticsManagementClient.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-streamanalytics/lib/streamAnalyticsManagementClientContext.ts b/packages/@azure/arm-streamanalytics/lib/streamAnalyticsManagementClientContext.ts index ec28f8e0518b..93be067a6435 100644 --- a/packages/@azure/arm-streamanalytics/lib/streamAnalyticsManagementClientContext.ts +++ b/packages/@azure/arm-streamanalytics/lib/streamAnalyticsManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-streamanalytics"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class StreamAnalyticsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the StreamAnalyticsManagementClient class. @@ -45,6 +38,11 @@ export class StreamAnalyticsManagementClientContext extends msRestAzure.AzureSer if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2016-03-01'; @@ -55,7 +53,6 @@ export class StreamAnalyticsManagementClientContext extends msRestAzure.AzureSer this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-streamanalytics/package.json b/packages/@azure/arm-streamanalytics/package.json index b19f13432402..c10f2f381102 100644 --- a/packages/@azure/arm-streamanalytics/package.json +++ b/packages/@azure/arm-streamanalytics/package.json @@ -4,8 +4,8 @@ "description": "StreamAnalyticsManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-streamanalytics.js.map'\" -o ./dist/arm-streamanalytics.min.js ./dist/arm-streamanalytics.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-streamanalytics/rollup.config.js b/packages/@azure/arm-streamanalytics/rollup.config.js index a75a2909069e..b7b61a5fb1b7 100644 --- a/packages/@azure/arm-streamanalytics/rollup.config.js +++ b/packages/@azure/arm-streamanalytics/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/streamAnalyticsManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-streamanalytics.js", format: "umd", name: "Azure.ArmStreamanalytics", 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-streamanalytics/tsconfig.json b/packages/@azure/arm-streamanalytics/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-streamanalytics/tsconfig.json +++ b/packages/@azure/arm-streamanalytics/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-subscriptions/.npmignore b/packages/@azure/arm-subscriptions/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-subscriptions/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-subscriptions/README.md b/packages/@azure/arm-subscriptions/README.md index 8e457ad83003..c888bbccbd7c 100644 --- a/packages/@azure/arm-subscriptions/README.md +++ b/packages/@azure/arm-subscriptions/README.md @@ -1,24 +1,34 @@ -# Azure SubscriptionClient SDK for JavaScript +## Azure SubscriptionClient SDK for JavaScript + This package contains an isomorphic SDK for SubscriptionClient. -## 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-subscriptions ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { SubscriptionClient, SubscriptionModels, SubscriptionMappers } from "@azure/arm-subscriptions"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-subscriptions 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-subscriptions/lib/models/index.ts b/packages/@azure/arm-subscriptions/lib/models/index.ts index 06be9acea556..58329f3a0f52 100644 --- a/packages/@azure/arm-subscriptions/lib/models/index.ts +++ b/packages/@azure/arm-subscriptions/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -409,32 +409,18 @@ export interface TenantListResult extends Array { /** * Defines values for OfferType. * Possible values include: 'MS-AZR-0017P', 'MS-AZR-0148P' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OfferType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OfferType { - MSAZR0017P = 'MS-AZR-0017P', - MSAZR0148P = 'MS-AZR-0148P', -} +export type OfferType = 'MS-AZR-0017P' | 'MS-AZR-0148P'; /** * Defines values for SubscriptionState. - * Possible values include: 'Enabled', 'Warned', 'PastDue', 'Disabled', - * 'Deleted' + * Possible values include: 'Enabled', 'Warned', 'PastDue', 'Disabled', 'Deleted' * @readonly * @enum {string} */ -export enum SubscriptionState { - Enabled = 'Enabled', - Warned = 'Warned', - PastDue = 'PastDue', - Disabled = 'Disabled', - Deleted = 'Deleted', -} +export type SubscriptionState = 'Enabled' | 'Warned' | 'PastDue' | 'Disabled' | 'Deleted'; /** * Defines values for SpendingLimit. @@ -442,11 +428,7 @@ export enum SubscriptionState { * @readonly * @enum {string} */ -export enum SpendingLimit { - On = 'On', - Off = 'Off', - CurrentPeriodOff = 'CurrentPeriodOff', -} +export type SpendingLimit = 'On' | 'Off' | 'CurrentPeriodOff'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-subscriptions/lib/models/mappers.ts b/packages/@azure/arm-subscriptions/lib/models/mappers.ts index a642658bd3fc..8d029bbac602 100644 --- a/packages/@azure/arm-subscriptions/lib/models/mappers.ts +++ b/packages/@azure/arm-subscriptions/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-subscriptions/lib/models/parameters.ts b/packages/@azure/arm-subscriptions/lib/models/parameters.ts index 409a07213faa..136f82600bfa 100644 --- a/packages/@azure/arm-subscriptions/lib/models/parameters.ts +++ b/packages/@azure/arm-subscriptions/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-subscriptions/lib/operations/operations.ts b/packages/@azure/arm-subscriptions/lib/operations/operations.ts index 04a3357b8784..923fecd89ed7 100644 --- a/packages/@azure/arm-subscriptions/lib/operations/operations.ts +++ b/packages/@azure/arm-subscriptions/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-subscriptions/lib/operations/subscriptionFactory.ts b/packages/@azure/arm-subscriptions/lib/operations/subscriptionFactory.ts index f4fbdc4a7e10..ccfa425796be 100644 --- a/packages/@azure/arm-subscriptions/lib/operations/subscriptionFactory.ts +++ b/packages/@azure/arm-subscriptions/lib/operations/subscriptionFactory.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/subscriptionFactoryMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-subscriptions/lib/operations/subscriptionOperations.ts b/packages/@azure/arm-subscriptions/lib/operations/subscriptionOperations.ts index c59d76ef8ff6..16d04fafe5f3 100644 --- a/packages/@azure/arm-subscriptions/lib/operations/subscriptionOperations.ts +++ b/packages/@azure/arm-subscriptions/lib/operations/subscriptionOperations.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/subscriptionOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class SubscriptionOperations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-subscriptions/lib/operations/subscriptions.ts b/packages/@azure/arm-subscriptions/lib/operations/subscriptions.ts index ca23108a524a..3e978cba8f83 100644 --- a/packages/@azure/arm-subscriptions/lib/operations/subscriptions.ts +++ b/packages/@azure/arm-subscriptions/lib/operations/subscriptions.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/subscriptionsMappers"; import * as Parameters from "../models/parameters"; @@ -46,7 +46,7 @@ export class Subscriptions { * @param callback The callback */ listLocations(subscriptionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listLocations(subscriptionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listLocations(subscriptionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -74,7 +74,7 @@ export class Subscriptions { * @param callback The callback */ get(subscriptionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(subscriptionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(subscriptionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { subscriptionId, @@ -99,7 +99,7 @@ export class Subscriptions { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -126,7 +126,7 @@ export class Subscriptions { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-subscriptions/lib/operations/tenants.ts b/packages/@azure/arm-subscriptions/lib/operations/tenants.ts index 9c615b5f2e22..cd4102be9ebf 100644 --- a/packages/@azure/arm-subscriptions/lib/operations/tenants.ts +++ b/packages/@azure/arm-subscriptions/lib/operations/tenants.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/tenantsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class Tenants { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Tenants { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-subscriptions/lib/subscriptionClient.ts b/packages/@azure/arm-subscriptions/lib/subscriptionClient.ts index 7bb23470de45..6a060c07fcca 100644 --- a/packages/@azure/arm-subscriptions/lib/subscriptionClient.ts +++ b/packages/@azure/arm-subscriptions/lib/subscriptionClient.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-subscriptions/lib/subscriptionClientContext.ts b/packages/@azure/arm-subscriptions/lib/subscriptionClientContext.ts index 16976bb87b20..bc27f46c00cb 100644 --- a/packages/@azure/arm-subscriptions/lib/subscriptionClientContext.ts +++ b/packages/@azure/arm-subscriptions/lib/subscriptionClientContext.ts @@ -9,20 +9,15 @@ */ 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-subscriptions"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class SubscriptionClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; - /** * Initializes a new instance of the SubscriptionClient class. * @param credentials Credentials needed for the client to connect to Azure. @@ -36,6 +31,11 @@ export class SubscriptionClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.acceptLanguage = 'en-US'; @@ -44,7 +44,6 @@ export class SubscriptionClientContext extends msRestAzure.AzureServiceClient { this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-subscriptions/package.json b/packages/@azure/arm-subscriptions/package.json index 5263e9775a32..2ee809f08630 100644 --- a/packages/@azure/arm-subscriptions/package.json +++ b/packages/@azure/arm-subscriptions/package.json @@ -4,8 +4,8 @@ "description": "SubscriptionClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-subscriptions.js.map'\" -o ./dist/arm-subscriptions.min.js ./dist/arm-subscriptions.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-subscriptions/rollup.config.js b/packages/@azure/arm-subscriptions/rollup.config.js index 068be7e7db98..a828255f7f53 100644 --- a/packages/@azure/arm-subscriptions/rollup.config.js +++ b/packages/@azure/arm-subscriptions/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/subscriptionClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-subscriptions.js", format: "umd", name: "Azure.ArmSubscriptions", 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-subscriptions/tsconfig.json b/packages/@azure/arm-subscriptions/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-subscriptions/tsconfig.json +++ b/packages/@azure/arm-subscriptions/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-timeseriesinsights/.npmignore b/packages/@azure/arm-timeseriesinsights/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-timeseriesinsights/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-timeseriesinsights/README.md b/packages/@azure/arm-timeseriesinsights/README.md index 33caa4905dc9..ebda66f65634 100644 --- a/packages/@azure/arm-timeseriesinsights/README.md +++ b/packages/@azure/arm-timeseriesinsights/README.md @@ -1,24 +1,34 @@ -# Azure TimeSeriesInsightsClient SDK for JavaScript +## Azure TimeSeriesInsightsClient SDK for JavaScript + This package contains an isomorphic SDK for TimeSeriesInsightsClient. -## 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-timeseriesinsights ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { TimeSeriesInsightsClient, TimeSeriesInsightsModels, TimeSeriesInsightsMappers } from "@azure/arm-timeseriesinsights"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-timeseriesinsights 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-timeseriesinsights/lib/models/index.ts b/packages/@azure/arm-timeseriesinsights/lib/models/index.ts index 8c89bcceb855..bbf74cdb9db0 100644 --- a/packages/@azure/arm-timeseriesinsights/lib/models/index.ts +++ b/packages/@azure/arm-timeseriesinsights/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1275,19 +1275,11 @@ export interface OperationListResult extends Array { /** * Defines values for ProvisioningState. - * Possible values include: 'Accepted', 'Creating', 'Updating', 'Succeeded', - * 'Failed', 'Deleting' + * Possible values include: 'Accepted', 'Creating', 'Updating', 'Succeeded', 'Failed', 'Deleting' * @readonly * @enum {string} */ -export enum ProvisioningState { - Accepted = 'Accepted', - Creating = 'Creating', - Updating = 'Updating', - Succeeded = 'Succeeded', - Failed = 'Failed', - Deleting = 'Deleting', -} +export type ProvisioningState = 'Accepted' | 'Creating' | 'Updating' | 'Succeeded' | 'Failed' | 'Deleting'; /** * Defines values for SkuName. @@ -1295,10 +1287,7 @@ export enum ProvisioningState { * @readonly * @enum {string} */ -export enum SkuName { - S1 = 'S1', - S2 = 'S2', -} +export type SkuName = 'S1' | 'S2'; /** * Defines values for StorageLimitExceededBehavior. @@ -1306,25 +1295,15 @@ export enum SkuName { * @readonly * @enum {string} */ -export enum StorageLimitExceededBehavior { - PurgeOldData = 'PurgeOldData', - PauseIngress = 'PauseIngress', -} +export type StorageLimitExceededBehavior = 'PurgeOldData' | 'PauseIngress'; /** * Defines values for PropertyType. * Possible values include: 'String' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PropertyType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PropertyType { - String = 'String', -} +export type PropertyType = 'String'; /** * Defines values for IngressState. @@ -1332,13 +1311,7 @@ export enum PropertyType { * @readonly * @enum {string} */ -export enum IngressState { - Disabled = 'Disabled', - Ready = 'Ready', - Running = 'Running', - Paused = 'Paused', - Unknown = 'Unknown', -} +export type IngressState = 'Disabled' | 'Ready' | 'Running' | 'Paused' | 'Unknown'; /** * Defines values for LocalTimestampFormat. @@ -1346,11 +1319,7 @@ export enum IngressState { * @readonly * @enum {string} */ -export enum LocalTimestampFormat { - Embedded = 'Embedded', - Iana = 'Iana', - TimeSpan = 'TimeSpan', -} +export type LocalTimestampFormat = 'Embedded' | 'Iana' | 'TimeSpan'; /** * Defines values for ReferenceDataKeyPropertyType. @@ -1358,12 +1327,7 @@ export enum LocalTimestampFormat { * @readonly * @enum {string} */ -export enum ReferenceDataKeyPropertyType { - String = 'String', - Double = 'Double', - Bool = 'Bool', - DateTime = 'DateTime', -} +export type ReferenceDataKeyPropertyType = 'String' | 'Double' | 'Bool' | 'DateTime'; /** * Defines values for DataStringComparisonBehavior. @@ -1371,10 +1335,7 @@ export enum ReferenceDataKeyPropertyType { * @readonly * @enum {string} */ -export enum DataStringComparisonBehavior { - Ordinal = 'Ordinal', - OrdinalIgnoreCase = 'OrdinalIgnoreCase', -} +export type DataStringComparisonBehavior = 'Ordinal' | 'OrdinalIgnoreCase'; /** * Defines values for AccessPolicyRole. @@ -1382,10 +1343,7 @@ export enum DataStringComparisonBehavior { * @readonly * @enum {string} */ -export enum AccessPolicyRole { - Reader = 'Reader', - Contributor = 'Contributor', -} +export type AccessPolicyRole = 'Reader' | 'Contributor'; /** * Contains response data for the list operation. diff --git a/packages/@azure/arm-timeseriesinsights/lib/models/mappers.ts b/packages/@azure/arm-timeseriesinsights/lib/models/mappers.ts index 473a410ab839..79dc1c8eedbd 100644 --- a/packages/@azure/arm-timeseriesinsights/lib/models/mappers.ts +++ b/packages/@azure/arm-timeseriesinsights/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -827,11 +827,6 @@ export const EventSourceListResponse: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "EventSourceResource", className: "EventSourceResource" } } diff --git a/packages/@azure/arm-timeseriesinsights/lib/models/parameters.ts b/packages/@azure/arm-timeseriesinsights/lib/models/parameters.ts index c56184a00d80..eda54e0771b8 100644 --- a/packages/@azure/arm-timeseriesinsights/lib/models/parameters.ts +++ b/packages/@azure/arm-timeseriesinsights/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-timeseriesinsights/lib/operations/accessPolicies.ts b/packages/@azure/arm-timeseriesinsights/lib/operations/accessPolicies.ts index 75948ed75ca0..801834bf6530 100644 --- a/packages/@azure/arm-timeseriesinsights/lib/operations/accessPolicies.ts +++ b/packages/@azure/arm-timeseriesinsights/lib/operations/accessPolicies.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/accessPoliciesMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class AccessPolicies { * @param callback The callback */ createOrUpdate(resourceGroupName: string, environmentName: string, accessPolicyName: string, parameters: Models.AccessPolicyCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, environmentName: string, accessPolicyName: string, parameters: Models.AccessPolicyCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, environmentName: string, accessPolicyName: string, parameters: Models.AccessPolicyCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -99,7 +99,7 @@ export class AccessPolicies { * @param callback The callback */ get(resourceGroupName: string, environmentName: string, accessPolicyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, environmentName: string, accessPolicyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, environmentName: string, accessPolicyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -148,7 +148,7 @@ export class AccessPolicies { * @param callback The callback */ update(resourceGroupName: string, environmentName: string, accessPolicyName: string, accessPolicyUpdateParameters: Models.AccessPolicyUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, environmentName: string, accessPolicyName: string, accessPolicyUpdateParameters: Models.AccessPolicyUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, environmentName: string, accessPolicyName: string, accessPolicyUpdateParameters: Models.AccessPolicyUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -192,7 +192,7 @@ export class AccessPolicies { * @param callback The callback */ deleteMethod(resourceGroupName: string, environmentName: string, accessPolicyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, environmentName: string, accessPolicyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, environmentName: string, accessPolicyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -228,7 +228,7 @@ export class AccessPolicies { * @param callback The callback */ listByEnvironment(resourceGroupName: string, environmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByEnvironment(resourceGroupName: string, environmentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByEnvironment(resourceGroupName: string, environmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-timeseriesinsights/lib/operations/environments.ts b/packages/@azure/arm-timeseriesinsights/lib/operations/environments.ts index 31c05062971a..375c717d8539 100644 --- a/packages/@azure/arm-timeseriesinsights/lib/operations/environments.ts +++ b/packages/@azure/arm-timeseriesinsights/lib/operations/environments.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/environmentsMappers"; import * as Parameters from "../models/parameters"; @@ -64,7 +64,7 @@ export class Environments { * @param callback The callback */ get(resourceGroupName: string, environmentName: string, options: Models.EnvironmentsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, environmentName: string, options?: Models.EnvironmentsGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, environmentName: string, options?: Models.EnvironmentsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -116,7 +116,7 @@ export class Environments { * @param callback The callback */ deleteMethod(resourceGroupName: string, environmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, environmentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, environmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -146,7 +146,7 @@ export class Environments { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -171,7 +171,7 @@ export class Environments { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-timeseriesinsights/lib/operations/eventSources.ts b/packages/@azure/arm-timeseriesinsights/lib/operations/eventSources.ts index 37590d66292f..dfef5b520b67 100644 --- a/packages/@azure/arm-timeseriesinsights/lib/operations/eventSources.ts +++ b/packages/@azure/arm-timeseriesinsights/lib/operations/eventSources.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/eventSourcesMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class EventSources { * @param callback The callback */ createOrUpdate(resourceGroupName: string, environmentName: string, eventSourceName: string, parameters: Models.EventSourceCreateOrUpdateParametersUnion, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, environmentName: string, eventSourceName: string, parameters: Models.EventSourceCreateOrUpdateParametersUnion, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, environmentName: string, eventSourceName: string, parameters: Models.EventSourceCreateOrUpdateParametersUnion, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -99,7 +99,7 @@ export class EventSources { * @param callback The callback */ get(resourceGroupName: string, environmentName: string, eventSourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, environmentName: string, eventSourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, environmentName: string, eventSourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -148,7 +148,7 @@ export class EventSources { * @param callback The callback */ update(resourceGroupName: string, environmentName: string, eventSourceName: string, eventSourceUpdateParameters: Models.EventSourceUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, environmentName: string, eventSourceName: string, eventSourceUpdateParameters: Models.EventSourceUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, environmentName: string, eventSourceName: string, eventSourceUpdateParameters: Models.EventSourceUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -192,7 +192,7 @@ export class EventSources { * @param callback The callback */ deleteMethod(resourceGroupName: string, environmentName: string, eventSourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, environmentName: string, eventSourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, environmentName: string, eventSourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -229,7 +229,7 @@ export class EventSources { * @param callback The callback */ listByEnvironment(resourceGroupName: string, environmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByEnvironment(resourceGroupName: string, environmentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByEnvironment(resourceGroupName: string, environmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-timeseriesinsights/lib/operations/operations.ts b/packages/@azure/arm-timeseriesinsights/lib/operations/operations.ts index ad9ecdf37b6d..966ed9c30e3d 100644 --- a/packages/@azure/arm-timeseriesinsights/lib/operations/operations.ts +++ b/packages/@azure/arm-timeseriesinsights/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"; @@ -41,7 +41,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Operations { * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/arm-timeseriesinsights/lib/operations/referenceDataSets.ts b/packages/@azure/arm-timeseriesinsights/lib/operations/referenceDataSets.ts index 840c067b06ef..274c8d939f1b 100644 --- a/packages/@azure/arm-timeseriesinsights/lib/operations/referenceDataSets.ts +++ b/packages/@azure/arm-timeseriesinsights/lib/operations/referenceDataSets.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/referenceDataSetsMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class ReferenceDataSets { * @param callback The callback */ createOrUpdate(resourceGroupName: string, environmentName: string, referenceDataSetName: string, parameters: Models.ReferenceDataSetCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, environmentName: string, referenceDataSetName: string, parameters: Models.ReferenceDataSetCreateOrUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, environmentName: string, referenceDataSetName: string, parameters: Models.ReferenceDataSetCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -99,7 +99,7 @@ export class ReferenceDataSets { * @param callback The callback */ get(resourceGroupName: string, environmentName: string, referenceDataSetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, environmentName: string, referenceDataSetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, environmentName: string, referenceDataSetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -148,7 +148,7 @@ export class ReferenceDataSets { * @param callback The callback */ update(resourceGroupName: string, environmentName: string, referenceDataSetName: string, referenceDataSetUpdateParameters: Models.ReferenceDataSetUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, environmentName: string, referenceDataSetName: string, referenceDataSetUpdateParameters: Models.ReferenceDataSetUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, environmentName: string, referenceDataSetName: string, referenceDataSetUpdateParameters: Models.ReferenceDataSetUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -192,7 +192,7 @@ export class ReferenceDataSets { * @param callback The callback */ deleteMethod(resourceGroupName: string, environmentName: string, referenceDataSetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, environmentName: string, referenceDataSetName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, environmentName: string, referenceDataSetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -229,7 +229,7 @@ export class ReferenceDataSets { * @param callback The callback */ listByEnvironment(resourceGroupName: string, environmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByEnvironment(resourceGroupName: string, environmentName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByEnvironment(resourceGroupName: string, environmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-timeseriesinsights/lib/timeSeriesInsightsClient.ts b/packages/@azure/arm-timeseriesinsights/lib/timeSeriesInsightsClient.ts index 7eeec3b83f02..e42685b68999 100644 --- a/packages/@azure/arm-timeseriesinsights/lib/timeSeriesInsightsClient.ts +++ b/packages/@azure/arm-timeseriesinsights/lib/timeSeriesInsightsClient.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-timeseriesinsights/lib/timeSeriesInsightsClientContext.ts b/packages/@azure/arm-timeseriesinsights/lib/timeSeriesInsightsClientContext.ts index 2c693f7e3b5e..474af4442de4 100644 --- a/packages/@azure/arm-timeseriesinsights/lib/timeSeriesInsightsClientContext.ts +++ b/packages/@azure/arm-timeseriesinsights/lib/timeSeriesInsightsClientContext.ts @@ -9,23 +9,16 @@ */ 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-timeseriesinsights"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class TimeSeriesInsightsClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the TimeSeriesInsightsClient class. @@ -44,6 +37,11 @@ export class TimeSeriesInsightsClientContext extends msRestAzure.AzureServiceCli if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2017-11-15'; @@ -54,7 +52,6 @@ export class TimeSeriesInsightsClientContext extends msRestAzure.AzureServiceCli this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-timeseriesinsights/package.json b/packages/@azure/arm-timeseriesinsights/package.json index 46b388dd95ec..0b7a401e4200 100644 --- a/packages/@azure/arm-timeseriesinsights/package.json +++ b/packages/@azure/arm-timeseriesinsights/package.json @@ -4,8 +4,8 @@ "description": "TimeSeriesInsightsClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-timeseriesinsights.js.map'\" -o ./dist/arm-timeseriesinsights.min.js ./dist/arm-timeseriesinsights.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-timeseriesinsights/rollup.config.js b/packages/@azure/arm-timeseriesinsights/rollup.config.js index a429c6f423ef..dd53095ca2a8 100644 --- a/packages/@azure/arm-timeseriesinsights/rollup.config.js +++ b/packages/@azure/arm-timeseriesinsights/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/timeSeriesInsightsClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-timeseriesinsights.js", format: "umd", name: "Azure.ArmTimeseriesinsights", 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-timeseriesinsights/tsconfig.json b/packages/@azure/arm-timeseriesinsights/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-timeseriesinsights/tsconfig.json +++ b/packages/@azure/arm-timeseriesinsights/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-trafficmanager/.npmignore b/packages/@azure/arm-trafficmanager/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-trafficmanager/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-trafficmanager/README.md b/packages/@azure/arm-trafficmanager/README.md index 0d678df5a26c..0f9f521db120 100644 --- a/packages/@azure/arm-trafficmanager/README.md +++ b/packages/@azure/arm-trafficmanager/README.md @@ -1,24 +1,34 @@ -# Azure TrafficManagerManagementClient SDK for JavaScript +## Azure TrafficManagerManagementClient SDK for JavaScript + This package contains an isomorphic SDK for TrafficManagerManagementClient. -## 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-trafficmanager ``` +### How to use + +#### nodejs - Authentication, client creation and get endpoints as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get endpoints as an example written in TypeScript. +##### Sample code ```ts -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 { TrafficManagerManagementClient, TrafficManagerManagementModels, TrafficManagerManagementMappers } from "@azure/arm-trafficmanager"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -37,7 +47,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get endpoints as an example written in JavaScript. +#### browser - Authentication, client creation and get endpoints as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -46,11 +65,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-trafficmanager 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-trafficmanager/lib/models/index.ts b/packages/@azure/arm-trafficmanager/lib/models/index.ts index c57c8798469a..30696b0ccb62 100644 --- a/packages/@azure/arm-trafficmanager/lib/models/index.ts +++ b/packages/@azure/arm-trafficmanager/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -622,129 +622,60 @@ export interface ProfileListResult extends Array { /** * Defines values for EndpointStatus. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EndpointStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum EndpointStatus { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type EndpointStatus = 'Enabled' | 'Disabled'; /** * Defines values for EndpointMonitorStatus. - * Possible values include: 'CheckingEndpoint', 'Online', 'Degraded', - * 'Disabled', 'Inactive', 'Stopped' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EndpointMonitorStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'CheckingEndpoint', 'Online', 'Degraded', 'Disabled', 'Inactive', + * 'Stopped' * @readonly * @enum {string} */ -export enum EndpointMonitorStatus { - CheckingEndpoint = 'CheckingEndpoint', - Online = 'Online', - Degraded = 'Degraded', - Disabled = 'Disabled', - Inactive = 'Inactive', - Stopped = 'Stopped', -} +export type EndpointMonitorStatus = 'CheckingEndpoint' | 'Online' | 'Degraded' | 'Disabled' | 'Inactive' | 'Stopped'; /** * Defines values for ProfileMonitorStatus. - * Possible values include: 'CheckingEndpoints', 'Online', 'Degraded', - * 'Disabled', 'Inactive' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProfileMonitorStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'CheckingEndpoints', 'Online', 'Degraded', 'Disabled', 'Inactive' * @readonly * @enum {string} */ -export enum ProfileMonitorStatus { - CheckingEndpoints = 'CheckingEndpoints', - Online = 'Online', - Degraded = 'Degraded', - Disabled = 'Disabled', - Inactive = 'Inactive', -} +export type ProfileMonitorStatus = 'CheckingEndpoints' | 'Online' | 'Degraded' | 'Disabled' | 'Inactive'; /** * Defines values for MonitorProtocol. * Possible values include: 'HTTP', 'HTTPS', 'TCP' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MonitorProtocol = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum MonitorProtocol { - HTTP = 'HTTP', - HTTPS = 'HTTPS', - TCP = 'TCP', -} +export type MonitorProtocol = 'HTTP' | 'HTTPS' | 'TCP'; /** * Defines values for ProfileStatus. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProfileStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ProfileStatus { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type ProfileStatus = 'Enabled' | 'Disabled'; /** * Defines values for TrafficRoutingMethod. - * Possible values include: 'Performance', 'Priority', 'Weighted', - * 'Geographic', 'MultiValue', 'Subnet' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TrafficRoutingMethod = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Performance', 'Priority', 'Weighted', 'Geographic', 'MultiValue', + * 'Subnet' * @readonly * @enum {string} */ -export enum TrafficRoutingMethod { - Performance = 'Performance', - Priority = 'Priority', - Weighted = 'Weighted', - Geographic = 'Geographic', - MultiValue = 'MultiValue', - Subnet = 'Subnet', -} +export type TrafficRoutingMethod = 'Performance' | 'Priority' | 'Weighted' | 'Geographic' | 'MultiValue' | 'Subnet'; /** * Defines values for TrafficViewEnrollmentStatus. * Possible values include: 'Enabled', 'Disabled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TrafficViewEnrollmentStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TrafficViewEnrollmentStatus { - Enabled = 'Enabled', - Disabled = 'Disabled', -} +export type TrafficViewEnrollmentStatus = 'Enabled' | 'Disabled'; /** * Contains response data for the update operation. diff --git a/packages/@azure/arm-trafficmanager/lib/models/mappers.ts b/packages/@azure/arm-trafficmanager/lib/models/mappers.ts index 7f64e96d089b..dc285d7fe1c8 100644 --- a/packages/@azure/arm-trafficmanager/lib/models/mappers.ts +++ b/packages/@azure/arm-trafficmanager/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-trafficmanager/lib/models/parameters.ts b/packages/@azure/arm-trafficmanager/lib/models/parameters.ts index f2aa4eae5890..e4def72ebab4 100644 --- a/packages/@azure/arm-trafficmanager/lib/models/parameters.ts +++ b/packages/@azure/arm-trafficmanager/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-trafficmanager/lib/operations/endpoints.ts b/packages/@azure/arm-trafficmanager/lib/operations/endpoints.ts index c9f85ac18ea1..a145afda82c4 100644 --- a/packages/@azure/arm-trafficmanager/lib/operations/endpoints.ts +++ b/packages/@azure/arm-trafficmanager/lib/operations/endpoints.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/endpointsMappers"; import * as Parameters from "../models/parameters"; @@ -59,7 +59,7 @@ export class Endpoints { * @param callback The callback */ update(resourceGroupName: string, profileName: string, endpointType: string, endpointName: string, parameters: Models.Endpoint, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, profileName: string, endpointType: string, endpointName: string, parameters: Models.Endpoint, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, profileName: string, endpointType: string, endpointName: string, parameters: Models.Endpoint, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -100,7 +100,7 @@ export class Endpoints { * @param callback The callback */ get(resourceGroupName: string, profileName: string, endpointType: string, endpointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, profileName: string, endpointType: string, endpointName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, profileName: string, endpointType: string, endpointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -149,7 +149,7 @@ export class Endpoints { * @param callback The callback */ createOrUpdate(resourceGroupName: string, profileName: string, endpointType: string, endpointName: string, parameters: Models.Endpoint, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, profileName: string, endpointType: string, endpointName: string, parameters: Models.Endpoint, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, profileName: string, endpointType: string, endpointName: string, parameters: Models.Endpoint, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -193,7 +193,7 @@ export class Endpoints { * @param callback The callback */ deleteMethod(resourceGroupName: string, profileName: string, endpointType: string, endpointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, profileName: string, endpointType: string, endpointName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, profileName: string, endpointType: string, endpointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-trafficmanager/lib/operations/geographicHierarchies.ts b/packages/@azure/arm-trafficmanager/lib/operations/geographicHierarchies.ts index 64e21b18d7ca..23ee086f81d9 100644 --- a/packages/@azure/arm-trafficmanager/lib/operations/geographicHierarchies.ts +++ b/packages/@azure/arm-trafficmanager/lib/operations/geographicHierarchies.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/geographicHierarchiesMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class GeographicHierarchies { * @param callback The callback */ getDefault(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDefault(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDefault(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-trafficmanager/lib/operations/heatMap.ts b/packages/@azure/arm-trafficmanager/lib/operations/heatMap.ts index e40119dfbfda..64f690a2ae0f 100644 --- a/packages/@azure/arm-trafficmanager/lib/operations/heatMap.ts +++ b/packages/@azure/arm-trafficmanager/lib/operations/heatMap.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/heatMapMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class HeatMap { * @param callback The callback */ get(resourceGroupName: string, profileName: string, options: Models.HeatMapGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, profileName: string, options?: Models.HeatMapGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, profileName: string, options?: Models.HeatMapGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-trafficmanager/lib/operations/profiles.ts b/packages/@azure/arm-trafficmanager/lib/operations/profiles.ts index 83472785e3bd..c704f921817e 100644 --- a/packages/@azure/arm-trafficmanager/lib/operations/profiles.ts +++ b/packages/@azure/arm-trafficmanager/lib/operations/profiles.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/profilesMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Profiles { * @param callback The callback */ checkTrafficManagerRelativeDnsNameAvailability(parameters: Models.CheckTrafficManagerRelativeDnsNameAvailabilityParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkTrafficManagerRelativeDnsNameAvailability(parameters: Models.CheckTrafficManagerRelativeDnsNameAvailabilityParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkTrafficManagerRelativeDnsNameAvailability(parameters: Models.CheckTrafficManagerRelativeDnsNameAvailabilityParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -78,7 +78,7 @@ export class Profiles { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -103,7 +103,7 @@ export class Profiles { * @param callback The callback */ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -133,7 +133,7 @@ export class Profiles { * @param callback The callback */ get(resourceGroupName: string, profileName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, profileName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, profileName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -171,7 +171,7 @@ export class Profiles { * @param callback The callback */ createOrUpdate(resourceGroupName: string, profileName: string, parameters: Models.Profile, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, profileName: string, parameters: Models.Profile, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, profileName: string, parameters: Models.Profile, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -207,7 +207,7 @@ export class Profiles { * @param callback The callback */ deleteMethod(resourceGroupName: string, profileName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, profileName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, profileName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -242,7 +242,7 @@ export class Profiles { * @param callback The callback */ update(resourceGroupName: string, profileName: string, parameters: Models.Profile, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, profileName: string, parameters: Models.Profile, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, profileName: string, parameters: Models.Profile, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-trafficmanager/lib/operations/trafficManagerUserMetricsKeys.ts b/packages/@azure/arm-trafficmanager/lib/operations/trafficManagerUserMetricsKeys.ts index 35c8b9cf0421..25f0c0a39267 100644 --- a/packages/@azure/arm-trafficmanager/lib/operations/trafficManagerUserMetricsKeys.ts +++ b/packages/@azure/arm-trafficmanager/lib/operations/trafficManagerUserMetricsKeys.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/trafficManagerUserMetricsKeysMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class TrafficManagerUserMetricsKeys { * @param callback The callback */ get(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -65,7 +65,7 @@ export class TrafficManagerUserMetricsKeys { * @param callback The callback */ createOrUpdate(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -89,7 +89,7 @@ export class TrafficManagerUserMetricsKeys { * @param callback The callback */ deleteMethod(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-trafficmanager/lib/trafficManagerManagementClient.ts b/packages/@azure/arm-trafficmanager/lib/trafficManagerManagementClient.ts index 3d7df3322466..4891f23eaa38 100644 --- a/packages/@azure/arm-trafficmanager/lib/trafficManagerManagementClient.ts +++ b/packages/@azure/arm-trafficmanager/lib/trafficManagerManagementClient.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-trafficmanager/lib/trafficManagerManagementClientContext.ts b/packages/@azure/arm-trafficmanager/lib/trafficManagerManagementClientContext.ts index e86b9d862267..6bd6b7904a81 100644 --- a/packages/@azure/arm-trafficmanager/lib/trafficManagerManagementClientContext.ts +++ b/packages/@azure/arm-trafficmanager/lib/trafficManagerManagementClientContext.ts @@ -9,23 +9,16 @@ */ 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-trafficmanager"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class TrafficManagerManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - subscriptionId: string; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the TrafficManagerManagementClient class. @@ -45,6 +38,11 @@ export class TrafficManagerManagementClientContext extends msRestAzure.AzureServ if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-04-01'; @@ -55,7 +53,6 @@ export class TrafficManagerManagementClientContext extends msRestAzure.AzureServ this.credentials = credentials; this.subscriptionId = subscriptionId; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/arm-trafficmanager/package.json b/packages/@azure/arm-trafficmanager/package.json index d5b3da9f49f8..0233cdc45eef 100644 --- a/packages/@azure/arm-trafficmanager/package.json +++ b/packages/@azure/arm-trafficmanager/package.json @@ -4,8 +4,8 @@ "description": "TrafficManagerManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-trafficmanager.js.map'\" -o ./dist/arm-trafficmanager.min.js ./dist/arm-trafficmanager.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-trafficmanager/rollup.config.js b/packages/@azure/arm-trafficmanager/rollup.config.js index ef8cb08ccab5..32ce3b26af2e 100644 --- a/packages/@azure/arm-trafficmanager/rollup.config.js +++ b/packages/@azure/arm-trafficmanager/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/trafficManagerManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-trafficmanager.js", format: "umd", name: "Azure.ArmTrafficmanager", 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-trafficmanager/tsconfig.json b/packages/@azure/arm-trafficmanager/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-trafficmanager/tsconfig.json +++ b/packages/@azure/arm-trafficmanager/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-visualstudio/.npmignore b/packages/@azure/arm-visualstudio/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/arm-visualstudio/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/arm-visualstudio/README.md b/packages/@azure/arm-visualstudio/README.md index ffe569863e7e..1d9f326f1744 100644 --- a/packages/@azure/arm-visualstudio/README.md +++ b/packages/@azure/arm-visualstudio/README.md @@ -1,24 +1,34 @@ -# Azure VisualStudioResourceProviderClient SDK for JavaScript +## Azure VisualStudioResourceProviderClient SDK for JavaScript + This package contains an isomorphic SDK for VisualStudioResourceProviderClient. -## 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-visualstudio ``` +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +##### Sample code ```ts -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 { VisualStudioResourceProviderClient, VisualStudioResourceProviderModels, VisualStudioResourceProviderMappers } from "@azure/arm-visualstudio"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,11 +61,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-visualstudio 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-visualstudio/lib/models/index.ts b/packages/@azure/arm-visualstudio/lib/models/index.ts index b2bcfadfba96..2764474b175e 100644 --- a/packages/@azure/arm-visualstudio/lib/models/index.ts +++ b/packages/@azure/arm-visualstudio/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; diff --git a/packages/@azure/arm-visualstudio/lib/models/mappers.ts b/packages/@azure/arm-visualstudio/lib/models/mappers.ts index 3c2f97df8d73..53bdfc0a1f0c 100644 --- a/packages/@azure/arm-visualstudio/lib/models/mappers.ts +++ b/packages/@azure/arm-visualstudio/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/arm-visualstudio/lib/models/parameters.ts b/packages/@azure/arm-visualstudio/lib/models/parameters.ts index cad1fde6c606..e21d28a76bc9 100644 --- a/packages/@azure/arm-visualstudio/lib/models/parameters.ts +++ b/packages/@azure/arm-visualstudio/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-visualstudio/lib/operations/accounts.ts b/packages/@azure/arm-visualstudio/lib/operations/accounts.ts index c4f1c9ec510a..7525f3339b0b 100644 --- a/packages/@azure/arm-visualstudio/lib/operations/accounts.ts +++ b/packages/@azure/arm-visualstudio/lib/operations/accounts.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/accountsMappers"; import * as Parameters from "../models/parameters"; @@ -46,7 +46,7 @@ export class Accounts { * @param callback The callback */ checkNameAvailability(body: Models.CheckNameAvailabilityParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(body: Models.CheckNameAvailabilityParameter, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + checkNameAvailability(body: Models.CheckNameAvailabilityParameter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { body, @@ -76,7 +76,7 @@ export class Accounts { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -111,7 +111,7 @@ export class Accounts { * @param callback The callback */ createOrUpdate(resourceGroupName: string, body: Models.AccountResourceRequest, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, body: Models.AccountResourceRequest, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, body: Models.AccountResourceRequest, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -145,7 +145,7 @@ export class Accounts { * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -178,7 +178,7 @@ export class Accounts { * @param callback The callback */ get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -214,7 +214,7 @@ export class Accounts { * @param callback The callback */ update(resourceGroupName: string, body: Models.AccountTagRequest, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, body: Models.AccountTagRequest, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, body: Models.AccountTagRequest, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-visualstudio/lib/operations/extensions.ts b/packages/@azure/arm-visualstudio/lib/operations/extensions.ts index b6e6fbb2fb71..2c77db197caa 100644 --- a/packages/@azure/arm-visualstudio/lib/operations/extensions.ts +++ b/packages/@azure/arm-visualstudio/lib/operations/extensions.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/extensionsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Extensions { * @param callback The callback */ listByAccount(resourceGroupName: string, accountResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAccount(resourceGroupName: string, accountResourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByAccount(resourceGroupName: string, accountResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -87,7 +87,7 @@ export class Extensions { * @param callback The callback */ create(resourceGroupName: string, body: Models.ExtensionResourceRequest, accountResourceName: string, extensionResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, body: Models.ExtensionResourceRequest, accountResourceName: string, extensionResourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(resourceGroupName: string, body: Models.ExtensionResourceRequest, accountResourceName: string, extensionResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -125,7 +125,7 @@ export class Extensions { * @param callback The callback */ deleteMethod(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -162,7 +162,7 @@ export class Extensions { * @param callback The callback */ get(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -202,7 +202,7 @@ export class Extensions { * @param callback The callback */ update(resourceGroupName: string, body: Models.ExtensionResourceRequest, accountResourceName: string, extensionResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, body: Models.ExtensionResourceRequest, accountResourceName: string, extensionResourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, body: Models.ExtensionResourceRequest, accountResourceName: string, extensionResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-visualstudio/lib/operations/operations.ts b/packages/@azure/arm-visualstudio/lib/operations/operations.ts index 87c617353896..d84657394e57 100644 --- a/packages/@azure/arm-visualstudio/lib/operations/operations.ts +++ b/packages/@azure/arm-visualstudio/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"; @@ -42,7 +42,7 @@ export class Operations { * @param callback The callback */ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/arm-visualstudio/lib/operations/projects.ts b/packages/@azure/arm-visualstudio/lib/operations/projects.ts index 2d3d5a803557..47eff4220f89 100644 --- a/packages/@azure/arm-visualstudio/lib/operations/projects.ts +++ b/packages/@azure/arm-visualstudio/lib/operations/projects.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/projectsMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Projects { * @param callback The callback */ listByResourceGroup(resourceGroupName: string, rootResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, rootResourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, rootResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -106,7 +106,7 @@ export class Projects { * @param callback The callback */ get(resourceGroupName: string, rootResourceName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, rootResourceName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, rootResourceName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -146,7 +146,7 @@ export class Projects { * @param callback The callback */ update(resourceGroupName: string, body: Models.ProjectResource, rootResourceName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, body: Models.ProjectResource, rootResourceName: string, resourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, body: Models.ProjectResource, rootResourceName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -190,7 +190,7 @@ export class Projects { * @param callback The callback */ getJobStatus(resourceGroupName: string, rootResourceName: string, resourceName: string, subContainerName: string, operation: string, options: Models.ProjectsGetJobStatusOptionalParams, callback: msRest.ServiceCallback): void; - getJobStatus(resourceGroupName: string, rootResourceName: string, resourceName: string, subContainerName: string, operation: string, options?: Models.ProjectsGetJobStatusOptionalParams, callback?: msRest.ServiceCallback): Promise { + getJobStatus(resourceGroupName: string, rootResourceName: string, resourceName: string, subContainerName: string, operation: string, options?: Models.ProjectsGetJobStatusOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, diff --git a/packages/@azure/arm-visualstudio/lib/visualStudioResourceProviderClient.ts b/packages/@azure/arm-visualstudio/lib/visualStudioResourceProviderClient.ts index 950faa3631ec..f96554b8c9e7 100644 --- a/packages/@azure/arm-visualstudio/lib/visualStudioResourceProviderClient.ts +++ b/packages/@azure/arm-visualstudio/lib/visualStudioResourceProviderClient.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-visualstudio/lib/visualStudioResourceProviderClientContext.ts b/packages/@azure/arm-visualstudio/lib/visualStudioResourceProviderClientContext.ts index 11b58a1a7c64..92491e79696f 100644 --- a/packages/@azure/arm-visualstudio/lib/visualStudioResourceProviderClientContext.ts +++ b/packages/@azure/arm-visualstudio/lib/visualStudioResourceProviderClientContext.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-visualstudio"; -const packageVersion = "1.0.0-preview"; +const packageVersion = "0.1.0"; export class VisualStudioResourceProviderClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/packages/@azure/arm-visualstudio/package.json b/packages/@azure/arm-visualstudio/package.json index 85d3dc39e95c..deddd8270d23 100644 --- a/packages/@azure/arm-visualstudio/package.json +++ b/packages/@azure/arm-visualstudio/package.json @@ -4,8 +4,8 @@ "description": "VisualStudioResourceProviderClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.457", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/arm-visualstudio/rollup.config.js b/packages/@azure/arm-visualstudio/rollup.config.js index b69ae76e2e72..f8a3b90a0bbe 100644 --- a/packages/@azure/arm-visualstudio/rollup.config.js +++ b/packages/@azure/arm-visualstudio/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/visualStudioResourceProviderClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/arm-visualstudio.js", format: "umd", name: "Azure.ArmVisualstudio", 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-visualstudio/tsconfig.json b/packages/@azure/arm-visualstudio/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-visualstudio/tsconfig.json +++ b/packages/@azure/arm-visualstudio/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/arm-webservices/LICENSE.txt b/packages/@azure/arm-webservices/LICENSE.txt new file mode 100644 index 000000000000..a70e8cf66038 --- /dev/null +++ b/packages/@azure/arm-webservices/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/@azure/arm-webservices/README.md b/packages/@azure/arm-webservices/README.md new file mode 100644 index 000000000000..1b3ddea752e0 --- /dev/null +++ b/packages/@azure/arm-webservices/README.md @@ -0,0 +1,96 @@ +## Azure AzureMLWebServicesManagementClient SDK for JavaScript + +This package contains an isomorphic SDK for AzureMLWebServicesManagementClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install + +``` +npm install @azure/arm-webservices +``` + +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code + +```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 { AzureMLWebServicesManagementClient, AzureMLWebServicesManagementModels, AzureMLWebServicesManagementMappers } from "@azure/arm-webservices"; +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; + +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new AzureMLWebServicesManagementClient(creds, subscriptionId); + client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); + }); +}).catch((err) => { + console.error(err); +}); +``` + +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. + +- index.html +```html + + + + @azure/arm-webservices sample + + + + + + + + +``` + +## Related projects + +- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/arm-webservices/lib/azureMLWebServicesManagementClient.ts b/packages/@azure/arm-webservices/lib/azureMLWebServicesManagementClient.ts new file mode 100644 index 000000000000..a90d5d94b74e --- /dev/null +++ b/packages/@azure/arm-webservices/lib/azureMLWebServicesManagementClient.ts @@ -0,0 +1,44 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "./models"; +import * as Mappers from "./models/mappers"; +import * as operations from "./operations"; +import { AzureMLWebServicesManagementClientContext } from "./azureMLWebServicesManagementClientContext"; + + +class AzureMLWebServicesManagementClient extends AzureMLWebServicesManagementClientContext { + // Operation groups + operations: operations.Operations; + webServices: operations.WebServices; + + /** + * Initializes a new instance of the AzureMLWebServicesManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId The Azure subscription ID. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureMLWebServicesManagementClientOptions) { + super(credentials, subscriptionId, options); + this.operations = new operations.Operations(this); + this.webServices = new operations.WebServices(this); + } +} + +// Operation Specifications + +export { + AzureMLWebServicesManagementClient, + AzureMLWebServicesManagementClientContext, + Models as AzureMLWebServicesManagementModels, + Mappers as AzureMLWebServicesManagementMappers +}; +export * from "./operations"; diff --git a/packages/@azure/arm-webservices/lib/azureMLWebServicesManagementClientContext.ts b/packages/@azure/arm-webservices/lib/azureMLWebServicesManagementClientContext.ts new file mode 100644 index 000000000000..e7631338e2ea --- /dev/null +++ b/packages/@azure/arm-webservices/lib/azureMLWebServicesManagementClientContext.ts @@ -0,0 +1,62 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as Models from "./models"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; + +const packageName = "@azure/arm-webservices"; +const packageVersion = "0.1.0"; + +export class AzureMLWebServicesManagementClientContext extends msRestAzure.AzureServiceClient { + credentials: msRest.ServiceClientCredentials; + subscriptionId: string; + apiVersion?: string; + + /** + * Initializes a new instance of the AzureMLWebServicesManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId The Azure subscription ID. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureMLWebServicesManagementClientOptions) { + if (credentials == undefined) { + throw new Error('\'credentials\' cannot be null.'); + } + if (subscriptionId == undefined) { + throw new Error('\'subscriptionId\' cannot be null.'); + } + + if (!options) { + options = {}; + } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + + super(credentials, options); + + this.apiVersion = '2017-01-01'; + this.acceptLanguage = 'en-US'; + this.longRunningOperationRetryTimeout = 30; + this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; + this.requestContentType = "application/json; charset=utf-8"; + this.credentials = credentials; + this.subscriptionId = subscriptionId; + + if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + this.acceptLanguage = options.acceptLanguage; + } + if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; + } + } +} diff --git a/packages/@azure/arm-webservices/lib/models/index.ts b/packages/@azure/arm-webservices/lib/models/index.ts new file mode 100644 index 000000000000..10498bb1304a --- /dev/null +++ b/packages/@azure/arm-webservices/lib/models/index.ts @@ -0,0 +1,1416 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +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 Resource. + * Azure resource. + * + * @extends BaseResource + */ +export interface Resource extends BaseResource { + /** + * @member {string} [id] Specifies the resource ID. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly id?: string; + /** + * @member {string} [name] Specifies 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} location Specifies the location of the resource. + */ + location: string; + /** + * @member {string} [type] Specifies the type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly type?: string; + /** + * @member {{ [propertyName: string]: string }} [tags] Contains resource tags + * defined as key/value pairs. + */ + tags?: { [propertyName: string]: string }; +} + +/** + * @interface + * An interface representing WebServiceKeys. + * Access keys for the web service calls. + * + */ +export interface WebServiceKeys { + /** + * @member {string} [primary] The primary access key. + */ + primary?: string; + /** + * @member {string} [secondary] The secondary access key. + */ + secondary?: string; +} + +/** + * @interface + * An interface representing RealtimeConfiguration. + * Holds the available configuration options for an Azure ML web service + * endpoint. + * + */ +export interface RealtimeConfiguration { + /** + * @member {number} [maxConcurrentCalls] Specifies the maximum concurrent + * calls that can be made to the web service. Minimum value: 4, Maximum + * value: 200. + */ + maxConcurrentCalls?: number; +} + +/** + * @interface + * An interface representing DiagnosticsConfiguration. + * Diagnostics settings for an Azure ML web service. + * + */ +export interface DiagnosticsConfiguration { + /** + * @member {DiagnosticsLevel} level Specifies the verbosity of the diagnostic + * output. Valid values are: None - disables tracing; Error - collects only + * error (stderr) traces; All - collects all traces (stdout and stderr). + * Possible values include: 'None', 'Error', 'All' + */ + level: DiagnosticsLevel; + /** + * @member {Date} [expiry] Specifies the date and time when the logging will + * cease. If null, diagnostic collection is not time limited. + */ + expiry?: Date; +} + +/** + * @interface + * An interface representing StorageAccount. + * Access information for a storage account. + * + */ +export interface StorageAccount { + /** + * @member {string} [name] Specifies the name of the storage account. + */ + name?: string; + /** + * @member {string} [key] Specifies the key used to access the storage + * account. + */ + key?: string; +} + +/** + * @interface + * An interface representing MachineLearningWorkspace. + * Information about the machine learning workspace containing the experiment + * that is source for the web service. + * + */ +export interface MachineLearningWorkspace { + /** + * @member {string} id Specifies the workspace ID of the machine learning + * workspace associated with the web service + */ + id: string; +} + +/** + * @interface + * An interface representing CommitmentPlan. + * Information about the machine learning commitment plan associated with the + * web service. + * + */ +export interface CommitmentPlan { + /** + * @member {string} id Specifies the Azure Resource Manager ID of the + * commitment plan associated with the web service. + */ + id: string; +} + +/** + * @interface + * An interface representing ColumnSpecification. + * Swagger 2.0 schema for a column within the data table representing a web + * service input or output. See Swagger specification: + * http://swagger.io/specification/ + * + */ +export interface ColumnSpecification { + /** + * @member {ColumnType} type Data type of the column. Possible values + * include: 'Boolean', 'Integer', 'Number', 'String' + */ + type: ColumnType; + /** + * @member {ColumnFormat} [format] Additional format information for the data + * type. Possible values include: 'Byte', 'Char', 'Complex64', 'Complex128', + * 'Date-time', 'Date-timeOffset', 'Double', 'Duration', 'Float', 'Int8', + * 'Int16', 'Int32', 'Int64', 'Uint8', 'Uint16', 'Uint32', 'Uint64' + */ + format?: ColumnFormat; + /** + * @member {any[]} [enum] If the data type is categorical, this provides the + * list of accepted categories. + */ + enum?: any[]; + /** + * @member {boolean} [xMsIsnullable] Flag indicating if the type supports + * null values or not. + */ + xMsIsnullable?: boolean; + /** + * @member {boolean} [xMsIsordered] Flag indicating whether the categories + * are treated as an ordered set or not, if this is a categorical column. + */ + xMsIsordered?: boolean; +} + +/** + * @interface + * An interface representing TableSpecification. + * The swagger 2.0 schema describing a single service input or output. See + * Swagger specification: http://swagger.io/specification/ + * + */ +export interface TableSpecification { + /** + * @member {string} [title] Swagger schema title. + */ + title?: string; + /** + * @member {string} [description] Swagger schema description. + */ + description?: string; + /** + * @member {string} type The type of the entity described in swagger. Default + * value: 'object' . + */ + type: string; + /** + * @member {string} [format] The format, if 'type' is not 'object' + */ + format?: string; + /** + * @member {{ [propertyName: string]: ColumnSpecification }} [properties] The + * set of columns within the data table. + */ + properties?: { [propertyName: string]: ColumnSpecification }; +} + +/** + * @interface + * An interface representing ServiceInputOutputSpecification. + * The swagger 2.0 schema describing the service's inputs or outputs. See + * Swagger specification: http://swagger.io/specification/ + * + */ +export interface ServiceInputOutputSpecification { + /** + * @member {string} [title] The title of your Swagger schema. + */ + title?: string; + /** + * @member {string} [description] The description of the Swagger schema. + */ + description?: string; + /** + * @member {string} type The type of the entity described in swagger. Always + * 'object'. Default value: 'object' . + */ + type: string; + /** + * @member {{ [propertyName: string]: TableSpecification }} properties + * Specifies a collection that contains the column schema for each input or + * output of the web service. For more information, see the Swagger + * specification. + */ + properties: { [propertyName: string]: TableSpecification }; +} + +/** + * @interface + * An interface representing ExampleRequest. + * Sample input data for the service's input(s). + * + */ +export interface ExampleRequest { + /** + * @member {{ [propertyName: string]: any[][] }} [inputs] Sample input data + * for the web service's input(s) given as an input name to sample input + * values matrix map. + */ + inputs?: { [propertyName: string]: any[][] }; + /** + * @member {{ [propertyName: string]: any }} [globalParameters] Sample input + * data for the web service's global parameters + */ + globalParameters?: { [propertyName: string]: any }; +} + +/** + * @interface + * An interface representing BlobLocation. + * Describes the access location for a blob. + * + */ +export interface BlobLocation { + /** + * @member {string} uri The URI from which the blob is accessible from. For + * example, aml://abc for system assets or https://xyz for user assets or + * payload. + */ + uri: string; + /** + * @member {string} [credentials] Access credentials for the blob, if + * applicable (e.g. blob specified by storage account connection string + + * blob URI) + */ + credentials?: string; +} + +/** + * @interface + * An interface representing InputPort. + * Asset input port + * + */ +export interface InputPort { + /** + * @member {InputPortType} [type] Port data type. Possible values include: + * 'Dataset'. Default value: 'Dataset' . + */ + type?: InputPortType; +} + +/** + * @interface + * An interface representing OutputPort. + * Asset output port + * + */ +export interface OutputPort { + /** + * @member {OutputPortType} [type] Port data type. Possible values include: + * 'Dataset'. Default value: 'Dataset' . + */ + type?: OutputPortType; +} + +/** + * @interface + * An interface representing ModeValueInfo. + * Nested parameter definition. + * + */ +export interface ModeValueInfo { + /** + * @member {string} [interfaceString] The interface string name for the + * nested parameter. + */ + interfaceString?: string; + /** + * @member {ModuleAssetParameter[]} [parameters] The definition of the + * parameter. + */ + parameters?: ModuleAssetParameter[]; +} + +/** + * @interface + * An interface representing ModuleAssetParameter. + * Parameter definition for a module asset. + * + */ +export interface ModuleAssetParameter { + /** + * @member {string} [name] Parameter name. + */ + name?: string; + /** + * @member {string} [parameterType] Parameter type. + */ + parameterType?: string; + /** + * @member {{ [propertyName: string]: ModeValueInfo }} [modeValuesInfo] + * Definitions for nested interface parameters if this is a complex module + * parameter. + */ + modeValuesInfo?: { [propertyName: string]: ModeValueInfo }; +} + +/** + * @interface + * An interface representing AssetItem. + * Information about an asset associated with the web service. + * + */ +export interface AssetItem { + /** + * @member {string} name Asset's friendly name. + */ + name: string; + /** + * @member {string} [id] Asset's Id. + */ + id?: string; + /** + * @member {AssetType} type Asset's type. Possible values include: 'Module', + * 'Resource' + */ + type: AssetType; + /** + * @member {BlobLocation} locationInfo Access information for the asset. + */ + locationInfo: BlobLocation; + /** + * @member {{ [propertyName: string]: InputPort }} [inputPorts] Information + * about the asset's input ports. + */ + inputPorts?: { [propertyName: string]: InputPort }; + /** + * @member {{ [propertyName: string]: OutputPort }} [outputPorts] Information + * about the asset's output ports. + */ + outputPorts?: { [propertyName: string]: OutputPort }; + /** + * @member {{ [propertyName: string]: string }} [metadata] If the asset is a + * custom module, this holds the module's metadata. + */ + metadata?: { [propertyName: string]: string }; + /** + * @member {ModuleAssetParameter[]} [parameters] If the asset is a custom + * module, this holds the module's parameters. + */ + parameters?: ModuleAssetParameter[]; +} + +/** + * @interface + * An interface representing WebServiceParameter. + * Web Service Parameter object for node and global parameter + * + */ +export interface WebServiceParameter { + /** + * @member {any} [value] The parameter value + */ + value?: any; + /** + * @member {string} [certificateThumbprint] If the parameter value in 'value' + * field is encrypted, the thumbprint of the certificate should be put here. + */ + certificateThumbprint?: string; +} + +/** + * Contains the possible cases for WebServiceProperties. + */ +export type WebServicePropertiesUnion = WebServiceProperties | WebServicePropertiesForGraph; + +/** + * @interface + * An interface representing WebServiceProperties. + * The set of properties specific to the Azure ML web service resource. + * + */ +export interface WebServiceProperties { + /** + * @member {string} packageType Polymorphic Discriminator + */ + packageType: "WebServiceProperties"; + /** + * @member {string} [title] The title of the web service. + */ + title?: string; + /** + * @member {string} [description] The description of the web service. + */ + description?: string; + /** + * @member {Date} [createdOn] Read Only: The date and time when the web + * service was created. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly createdOn?: Date; + /** + * @member {Date} [modifiedOn] Read Only: The date and time when the web + * service was last modified. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly modifiedOn?: Date; + /** + * @member {ProvisioningState} [provisioningState] Read Only: The provision + * state of the web service. Valid values are Unknown, Provisioning, + * Succeeded, and Failed. Possible values include: 'Unknown', 'Provisioning', + * 'Succeeded', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly provisioningState?: ProvisioningState; + /** + * @member {WebServiceKeys} [keys] Contains the web service provisioning + * keys. If you do not specify provisioning keys, the Azure Machine Learning + * system generates them for you. Note: The keys are not returned from calls + * to GET operations. + */ + keys?: WebServiceKeys; + /** + * @member {boolean} [readOnly] When set to true, indicates that the web + * service is read-only and can no longer be updated or patched, only + * removed. Default, is false. Note: Once set to true, you cannot change its + * value. + */ + readOnly?: boolean; + /** + * @member {string} [swaggerLocation] Read Only: Contains the URI of the + * swagger spec associated with this web service. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly swaggerLocation?: string; + /** + * @member {boolean} [exposeSampleData] When set to true, sample data is + * included in the web service's swagger definition. The default value is + * true. + */ + exposeSampleData?: boolean; + /** + * @member {RealtimeConfiguration} [realtimeConfiguration] Contains the + * configuration settings for the web service endpoint. + */ + realtimeConfiguration?: RealtimeConfiguration; + /** + * @member {DiagnosticsConfiguration} [diagnostics] Settings controlling the + * diagnostics traces collection for the web service. + */ + diagnostics?: DiagnosticsConfiguration; + /** + * @member {StorageAccount} [storageAccount] Specifies the storage account + * that Azure Machine Learning uses to store information about the web + * service. Only the name of the storage account is returned from calls to + * GET operations. When updating the storage account information, you must + * ensure that all necessary assets are available in the new storage account + * or calls to your web service will fail. + */ + storageAccount?: StorageAccount; + /** + * @member {MachineLearningWorkspace} [machineLearningWorkspace] Specifies + * the Machine Learning workspace containing the experiment that is source + * for the web service. + */ + machineLearningWorkspace?: MachineLearningWorkspace; + /** + * @member {CommitmentPlan} [commitmentPlan] Contains the commitment plan + * associated with this web service. Set at creation time. Once set, this + * value cannot be changed. Note: The commitment plan is not returned from + * calls to GET operations. + */ + commitmentPlan?: CommitmentPlan; + /** + * @member {ServiceInputOutputSpecification} [input] Contains the Swagger 2.0 + * schema describing one or more of the web service's inputs. For more + * information, see the Swagger specification. + */ + input?: ServiceInputOutputSpecification; + /** + * @member {ServiceInputOutputSpecification} [output] Contains the Swagger + * 2.0 schema describing one or more of the web service's outputs. For more + * information, see the Swagger specification. + */ + output?: ServiceInputOutputSpecification; + /** + * @member {ExampleRequest} [exampleRequest] Defines sample input data for + * one or more of the service's inputs. + */ + exampleRequest?: ExampleRequest; + /** + * @member {{ [propertyName: string]: AssetItem }} [assets] Contains user + * defined properties describing web service assets. Properties are expressed + * as Key/Value pairs. + */ + assets?: { [propertyName: string]: AssetItem }; + /** + * @member {{ [propertyName: string]: WebServiceParameter }} [parameters] The + * set of global parameters values defined for the web service, given as a + * global parameter name to default value map. If no default value is + * specified, the parameter is considered to be required. + */ + parameters?: { [propertyName: string]: WebServiceParameter }; + /** + * @member {boolean} [payloadsInBlobStorage] When set to true, indicates that + * the payload size is larger than 3 MB. Otherwise false. If the payload size + * exceed 3 MB, the payload is stored in a blob and the PayloadsLocation + * parameter contains the URI of the blob. Otherwise, this will be set to + * false and Assets, Input, Output, Package, Parameters, ExampleRequest are + * inline. The Payload sizes is determined by adding the size of the Assets, + * Input, Output, Package, Parameters, and the ExampleRequest. + */ + payloadsInBlobStorage?: boolean; + /** + * @member {BlobLocation} [payloadsLocation] The URI of the payload blob. + * This paramater contains a value only if the payloadsInBlobStorage + * parameter is set to true. Otherwise is set to null. + */ + payloadsLocation?: BlobLocation; +} + +/** + * @interface + * An interface representing WebService. + * Instance of an Azure ML web service resource. + * + * @extends Resource + */ +export interface WebService extends Resource { + /** + * @member {WebServicePropertiesUnion} properties Contains the property + * payload that describes the web service. + */ + properties: WebServicePropertiesUnion; +} + +/** + * @interface + * An interface representing GraphNode. + * Specifies a node in the web service graph. The node can either be an input, + * output or asset node, so only one of the corresponding id properties is + * populated at any given time. + * + */ +export interface GraphNode { + /** + * @member {string} [assetId] The id of the asset represented by this node. + */ + assetId?: string; + /** + * @member {string} [inputId] The id of the input element represented by this + * node. + */ + inputId?: string; + /** + * @member {string} [outputId] The id of the output element represented by + * this node. + */ + outputId?: string; + /** + * @member {{ [propertyName: string]: WebServiceParameter }} [parameters] If + * applicable, parameters of the node. Global graph parameters map into + * these, with values set at runtime. + */ + parameters?: { [propertyName: string]: WebServiceParameter }; +} + +/** + * @interface + * An interface representing GraphEdge. + * Defines an edge within the web service's graph. + * + */ +export interface GraphEdge { + /** + * @member {string} [sourceNodeId] The source graph node's identifier. + */ + sourceNodeId?: string; + /** + * @member {string} [sourcePortId] The identifier of the source node's port + * that the edge connects from. + */ + sourcePortId?: string; + /** + * @member {string} [targetNodeId] The destination graph node's identifier. + */ + targetNodeId?: string; + /** + * @member {string} [targetPortId] The identifier of the destination node's + * port that the edge connects into. + */ + targetPortId?: string; +} + +/** + * @interface + * An interface representing GraphParameterLink. + * Association link for a graph global parameter to a node in the graph. + * + */ +export interface GraphParameterLink { + /** + * @member {string} nodeId The graph node's identifier + */ + nodeId: string; + /** + * @member {string} parameterKey The identifier of the node parameter that + * the global parameter maps to. + */ + parameterKey: string; +} + +/** + * @interface + * An interface representing GraphParameter. + * Defines a global parameter in the graph. + * + */ +export interface GraphParameter { + /** + * @member {string} [description] Description of this graph parameter. + */ + description?: string; + /** + * @member {ParameterType} type Graph parameter's type. Possible values + * include: 'String', 'Int', 'Float', 'Enumerated', 'Script', 'Mode', + * 'Credential', 'Boolean', 'Double', 'ColumnPicker', 'ParameterRange', + * 'DataGatewayName' + */ + type: ParameterType; + /** + * @member {GraphParameterLink[]} links Association links for this parameter + * to nodes in the graph. + */ + links: GraphParameterLink[]; +} + +/** + * @interface + * An interface representing GraphPackage. + * Defines the graph of modules making up the machine learning solution. + * + */ +export interface GraphPackage { + /** + * @member {{ [propertyName: string]: GraphNode }} [nodes] The set of nodes + * making up the graph, provided as a nodeId to GraphNode map + */ + nodes?: { [propertyName: string]: GraphNode }; + /** + * @member {GraphEdge[]} [edges] The list of edges making up the graph. + */ + edges?: GraphEdge[]; + /** + * @member {{ [propertyName: string]: GraphParameter }} [graphParameters] The + * collection of global parameters for the graph, given as a global parameter + * name to GraphParameter map. Each parameter here has a 1:1 match with the + * global parameters values map declared at the WebServiceProperties level. + */ + graphParameters?: { [propertyName: string]: GraphParameter }; +} + +/** + * @interface + * An interface representing WebServicePropertiesForGraph. + * Properties specific to a Graph based web service. + * + */ +export interface WebServicePropertiesForGraph { + /** + * @member {string} packageType Polymorphic Discriminator + */ + packageType: "Graph"; + /** + * @member {string} [title] The title of the web service. + */ + title?: string; + /** + * @member {string} [description] The description of the web service. + */ + description?: string; + /** + * @member {Date} [createdOn] Read Only: The date and time when the web + * service was created. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly createdOn?: Date; + /** + * @member {Date} [modifiedOn] Read Only: The date and time when the web + * service was last modified. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly modifiedOn?: Date; + /** + * @member {ProvisioningState} [provisioningState] Read Only: The provision + * state of the web service. Valid values are Unknown, Provisioning, + * Succeeded, and Failed. Possible values include: 'Unknown', 'Provisioning', + * 'Succeeded', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly provisioningState?: ProvisioningState; + /** + * @member {WebServiceKeys} [keys] Contains the web service provisioning + * keys. If you do not specify provisioning keys, the Azure Machine Learning + * system generates them for you. Note: The keys are not returned from calls + * to GET operations. + */ + keys?: WebServiceKeys; + /** + * @member {boolean} [readOnly] When set to true, indicates that the web + * service is read-only and can no longer be updated or patched, only + * removed. Default, is false. Note: Once set to true, you cannot change its + * value. + */ + readOnly?: boolean; + /** + * @member {string} [swaggerLocation] Read Only: Contains the URI of the + * swagger spec associated with this web service. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly swaggerLocation?: string; + /** + * @member {boolean} [exposeSampleData] When set to true, sample data is + * included in the web service's swagger definition. The default value is + * true. + */ + exposeSampleData?: boolean; + /** + * @member {RealtimeConfiguration} [realtimeConfiguration] Contains the + * configuration settings for the web service endpoint. + */ + realtimeConfiguration?: RealtimeConfiguration; + /** + * @member {DiagnosticsConfiguration} [diagnostics] Settings controlling the + * diagnostics traces collection for the web service. + */ + diagnostics?: DiagnosticsConfiguration; + /** + * @member {StorageAccount} [storageAccount] Specifies the storage account + * that Azure Machine Learning uses to store information about the web + * service. Only the name of the storage account is returned from calls to + * GET operations. When updating the storage account information, you must + * ensure that all necessary assets are available in the new storage account + * or calls to your web service will fail. + */ + storageAccount?: StorageAccount; + /** + * @member {MachineLearningWorkspace} [machineLearningWorkspace] Specifies + * the Machine Learning workspace containing the experiment that is source + * for the web service. + */ + machineLearningWorkspace?: MachineLearningWorkspace; + /** + * @member {CommitmentPlan} [commitmentPlan] Contains the commitment plan + * associated with this web service. Set at creation time. Once set, this + * value cannot be changed. Note: The commitment plan is not returned from + * calls to GET operations. + */ + commitmentPlan?: CommitmentPlan; + /** + * @member {ServiceInputOutputSpecification} [input] Contains the Swagger 2.0 + * schema describing one or more of the web service's inputs. For more + * information, see the Swagger specification. + */ + input?: ServiceInputOutputSpecification; + /** + * @member {ServiceInputOutputSpecification} [output] Contains the Swagger + * 2.0 schema describing one or more of the web service's outputs. For more + * information, see the Swagger specification. + */ + output?: ServiceInputOutputSpecification; + /** + * @member {ExampleRequest} [exampleRequest] Defines sample input data for + * one or more of the service's inputs. + */ + exampleRequest?: ExampleRequest; + /** + * @member {{ [propertyName: string]: AssetItem }} [assets] Contains user + * defined properties describing web service assets. Properties are expressed + * as Key/Value pairs. + */ + assets?: { [propertyName: string]: AssetItem }; + /** + * @member {{ [propertyName: string]: WebServiceParameter }} [parameters] The + * set of global parameters values defined for the web service, given as a + * global parameter name to default value map. If no default value is + * specified, the parameter is considered to be required. + */ + parameters?: { [propertyName: string]: WebServiceParameter }; + /** + * @member {boolean} [payloadsInBlobStorage] When set to true, indicates that + * the payload size is larger than 3 MB. Otherwise false. If the payload size + * exceed 3 MB, the payload is stored in a blob and the PayloadsLocation + * parameter contains the URI of the blob. Otherwise, this will be set to + * false and Assets, Input, Output, Package, Parameters, ExampleRequest are + * inline. The Payload sizes is determined by adding the size of the Assets, + * Input, Output, Package, Parameters, and the ExampleRequest. + */ + payloadsInBlobStorage?: boolean; + /** + * @member {BlobLocation} [payloadsLocation] The URI of the payload blob. + * This paramater contains a value only if the payloadsInBlobStorage + * parameter is set to true. Otherwise is set to null. + */ + payloadsLocation?: BlobLocation; + /** + * @member {GraphPackage} [packageProperty] The definition of the graph + * package making up this web service. + */ + packageProperty?: GraphPackage; +} + +/** + * @interface + * An interface representing AsyncOperationErrorInfo. + * The error detail information for async operation + * + */ +export interface AsyncOperationErrorInfo { + /** + * @member {string} [code] The error code. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly code?: string; + /** + * @member {string} [target] The error target. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly target?: string; + /** + * @member {string} [message] The error message. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly message?: string; + /** + * @member {AsyncOperationErrorInfo[]} [details] An array containing error + * information. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly details?: AsyncOperationErrorInfo[]; +} + +/** + * @interface + * An interface representing AsyncOperationStatus. + * Azure async operation status. + * + */ +export interface AsyncOperationStatus { + /** + * @member {string} [id] Async operation id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly id?: string; + /** + * @member {string} [name] Async operation name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {ProvisioningState} [provisioningState] Read Only: The + * provisioning state of the web service. Valid values are Unknown, + * Provisioning, Succeeded, and Failed. Possible values include: 'Unknown', + * 'Provisioning', 'Succeeded', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly provisioningState?: ProvisioningState; + /** + * @member {Date} [startTime] The date time that the async operation started. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly startTime?: Date; + /** + * @member {Date} [endTime] The date time that the async operation finished. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly endTime?: Date; + /** + * @member {number} [percentComplete] Async operation progress. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly percentComplete?: number; + /** + * @member {AsyncOperationErrorInfo} [errorInfo] If the async operation + * fails, this structure contains the error details. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly errorInfo?: AsyncOperationErrorInfo; +} + +/** + * @interface + * An interface representing OperationDisplayInfo. + * The API operation info. + * + */ +export interface OperationDisplayInfo { + /** + * @member {string} [description] The description of the operation. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly description?: string; + /** + * @member {string} [operation] The action that users can perform, based on + * their permission level. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly operation?: string; + /** + * @member {string} [provider] The service provider. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly provider?: string; + /** + * @member {string} [resource] The resource on which the operation is + * performed. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly resource?: string; +} + +/** + * @interface + * An interface representing OperationEntity. + * An API operation. + * + */ +export interface OperationEntity { + /** + * @member {string} [name] Operation name: {provider}/{resource}/{operation}. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {OperationDisplayInfo} [display] The API operation info. + */ + display?: OperationDisplayInfo; +} + +/** + * @interface + * An interface representing WebServicesGetOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface WebServicesGetOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [region] The region for which encrypted credential + * parameters are valid. + */ + region?: string; +} + +/** + * @interface + * An interface representing WebServicesListByResourceGroupOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface WebServicesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [skiptoken] Continuation token for pagination. + */ + skiptoken?: string; +} + +/** + * @interface + * An interface representing WebServicesListBySubscriptionIdOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface WebServicesListBySubscriptionIdOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [skiptoken] Continuation token for pagination. + */ + skiptoken?: string; +} + +/** + * @interface + * An interface representing AzureMLWebServicesManagementClientOptions. + * @extends AzureServiceClientOptions + */ +export interface AzureMLWebServicesManagementClientOptions extends AzureServiceClientOptions { + /** + * @member {string} [baseUri] + */ + baseUri?: string; +} + + +/** + * @interface + * An interface representing the OperationEntityListResult. + * The list of REST API operations. + * + * @extends Array + */ +export interface OperationEntityListResult extends Array { +} + +/** + * @interface + * An interface representing the PaginatedWebServicesList. + * Paginated list of web services. + * + * @extends Array + */ +export interface PaginatedWebServicesList extends Array { + /** + * @member {string} [nextLink] A continuation link (absolute URI) to the next + * page of results in the list. + */ + nextLink?: string; +} + +/** + * Defines values for ProvisioningState. + * Possible values include: 'Unknown', 'Provisioning', 'Succeeded', 'Failed' + * @readonly + * @enum {string} + */ +export type ProvisioningState = 'Unknown' | 'Provisioning' | 'Succeeded' | 'Failed'; + +/** + * Defines values for DiagnosticsLevel. + * Possible values include: 'None', 'Error', 'All' + * @readonly + * @enum {string} + */ +export type DiagnosticsLevel = 'None' | 'Error' | 'All'; + +/** + * Defines values for ColumnType. + * Possible values include: 'Boolean', 'Integer', 'Number', 'String' + * @readonly + * @enum {string} + */ +export type ColumnType = 'Boolean' | 'Integer' | 'Number' | 'String'; + +/** + * Defines values for ColumnFormat. + * Possible values include: 'Byte', 'Char', 'Complex64', 'Complex128', 'Date-time', + * 'Date-timeOffset', 'Double', 'Duration', 'Float', 'Int8', 'Int16', 'Int32', 'Int64', 'Uint8', + * 'Uint16', 'Uint32', 'Uint64' + * @readonly + * @enum {string} + */ +export type ColumnFormat = 'Byte' | 'Char' | 'Complex64' | 'Complex128' | 'Date-time' | 'Date-timeOffset' | 'Double' | 'Duration' | 'Float' | 'Int8' | 'Int16' | 'Int32' | 'Int64' | 'Uint8' | 'Uint16' | 'Uint32' | 'Uint64'; + +/** + * Defines values for AssetType. + * Possible values include: 'Module', 'Resource' + * @readonly + * @enum {string} + */ +export type AssetType = 'Module' | 'Resource'; + +/** + * Defines values for InputPortType. + * Possible values include: 'Dataset' + * @readonly + * @enum {string} + */ +export type InputPortType = 'Dataset'; + +/** + * Defines values for OutputPortType. + * Possible values include: 'Dataset' + * @readonly + * @enum {string} + */ +export type OutputPortType = 'Dataset'; + +/** + * Defines values for ParameterType. + * Possible values include: 'String', 'Int', 'Float', 'Enumerated', 'Script', 'Mode', 'Credential', + * 'Boolean', 'Double', 'ColumnPicker', 'ParameterRange', 'DataGatewayName' + * @readonly + * @enum {string} + */ +export type ParameterType = 'String' | 'Int' | 'Float' | 'Enumerated' | 'Script' | 'Mode' | 'Credential' | 'Boolean' | 'Double' | 'ColumnPicker' | 'ParameterRange' | 'DataGatewayName'; + +/** + * Contains response data for the list operation. + */ +export type OperationsListResponse = OperationEntityListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationEntityListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type WebServicesCreateOrUpdateResponse = WebService & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WebService; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type WebServicesGetResponse = WebService & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WebService; + }; +}; + +/** + * Contains response data for the patch operation. + */ +export type WebServicesPatchResponse = WebService & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WebService; + }; +}; + +/** + * Contains response data for the createRegionalProperties operation. + */ +export type WebServicesCreateRegionalPropertiesResponse = AsyncOperationStatus & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AsyncOperationStatus; + }; +}; + +/** + * Contains response data for the listKeys operation. + */ +export type WebServicesListKeysResponse = WebServiceKeys & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WebServiceKeys; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type WebServicesListByResourceGroupResponse = PaginatedWebServicesList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PaginatedWebServicesList; + }; +}; + +/** + * Contains response data for the listBySubscriptionId operation. + */ +export type WebServicesListBySubscriptionIdResponse = PaginatedWebServicesList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PaginatedWebServicesList; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type WebServicesBeginCreateOrUpdateResponse = WebService & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WebService; + }; +}; + +/** + * Contains response data for the beginPatch operation. + */ +export type WebServicesBeginPatchResponse = WebService & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WebService; + }; +}; + +/** + * Contains response data for the beginCreateRegionalProperties operation. + */ +export type WebServicesBeginCreateRegionalPropertiesResponse = AsyncOperationStatus & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AsyncOperationStatus; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type WebServicesListByResourceGroupNextResponse = PaginatedWebServicesList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PaginatedWebServicesList; + }; +}; + +/** + * Contains response data for the listBySubscriptionIdNext operation. + */ +export type WebServicesListBySubscriptionIdNextResponse = PaginatedWebServicesList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PaginatedWebServicesList; + }; +}; diff --git a/packages/@azure/arm-webservices/lib/models/mappers.ts b/packages/@azure/arm-webservices/lib/models/mappers.ts new file mode 100644 index 000000000000..0a16b3dc5540 --- /dev/null +++ b/packages/@azure/arm-webservices/lib/models/mappers.ts @@ -0,0 +1,1205 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +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; + +export const Resource: msRest.CompositeMapper = { + serializedName: "Resource", + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + location: { + required: true, + serializedName: "location", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const WebServiceKeys: msRest.CompositeMapper = { + serializedName: "WebServiceKeys", + type: { + name: "Composite", + className: "WebServiceKeys", + modelProperties: { + primary: { + serializedName: "primary", + type: { + name: "String" + } + }, + secondary: { + serializedName: "secondary", + type: { + name: "String" + } + } + } + } +}; + +export const RealtimeConfiguration: msRest.CompositeMapper = { + serializedName: "RealtimeConfiguration", + type: { + name: "Composite", + className: "RealtimeConfiguration", + modelProperties: { + maxConcurrentCalls: { + serializedName: "maxConcurrentCalls", + constraints: { + InclusiveMaximum: 200, + InclusiveMinimum: 4 + }, + type: { + name: "Number" + } + } + } + } +}; + +export const DiagnosticsConfiguration: msRest.CompositeMapper = { + serializedName: "DiagnosticsConfiguration", + type: { + name: "Composite", + className: "DiagnosticsConfiguration", + modelProperties: { + level: { + required: true, + serializedName: "level", + type: { + name: "String" + } + }, + expiry: { + serializedName: "expiry", + type: { + name: "DateTime" + } + } + } + } +}; + +export const StorageAccount: msRest.CompositeMapper = { + serializedName: "StorageAccount", + type: { + name: "Composite", + className: "StorageAccount", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + key: { + serializedName: "key", + type: { + name: "String" + } + } + } + } +}; + +export const MachineLearningWorkspace: msRest.CompositeMapper = { + serializedName: "MachineLearningWorkspace", + type: { + name: "Composite", + className: "MachineLearningWorkspace", + modelProperties: { + id: { + required: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const CommitmentPlan: msRest.CompositeMapper = { + serializedName: "CommitmentPlan", + type: { + name: "Composite", + className: "CommitmentPlan", + modelProperties: { + id: { + required: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const ColumnSpecification: msRest.CompositeMapper = { + serializedName: "ColumnSpecification", + type: { + name: "Composite", + className: "ColumnSpecification", + modelProperties: { + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + }, + format: { + serializedName: "format", + type: { + name: "String" + } + }, + enum: { + serializedName: "enum", + type: { + name: "Sequence", + element: { + type: { + name: "Object" + } + } + } + }, + xMsIsnullable: { + serializedName: "x-ms-isnullable", + type: { + name: "Boolean" + } + }, + xMsIsordered: { + serializedName: "x-ms-isordered", + type: { + name: "Boolean" + } + } + } + } +}; + +export const TableSpecification: msRest.CompositeMapper = { + serializedName: "TableSpecification", + type: { + name: "Composite", + className: "TableSpecification", + modelProperties: { + title: { + serializedName: "title", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + type: { + required: true, + serializedName: "type", + defaultValue: 'object', + type: { + name: "String" + } + }, + format: { + serializedName: "format", + type: { + name: "String" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "ColumnSpecification" + } + } + } + } + } + } +}; + +export const ServiceInputOutputSpecification: msRest.CompositeMapper = { + serializedName: "ServiceInputOutputSpecification", + type: { + name: "Composite", + className: "ServiceInputOutputSpecification", + modelProperties: { + title: { + serializedName: "title", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + type: { + required: true, + serializedName: "type", + defaultValue: 'object', + type: { + name: "String" + } + }, + properties: { + required: true, + serializedName: "properties", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "TableSpecification" + } + } + } + } + } + } +}; + +export const ExampleRequest: msRest.CompositeMapper = { + serializedName: "ExampleRequest", + type: { + name: "Composite", + className: "ExampleRequest", + modelProperties: { + inputs: { + serializedName: "inputs", + type: { + name: "Dictionary", + value: { + type: { + name: "Sequence", + element: { + type: { + name: "Sequence", + element: { + type: { + name: "Object" + } + } + } + } + } + } + } + }, + globalParameters: { + serializedName: "globalParameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + } + } +}; + +export const BlobLocation: msRest.CompositeMapper = { + serializedName: "BlobLocation", + type: { + name: "Composite", + className: "BlobLocation", + modelProperties: { + uri: { + required: true, + serializedName: "uri", + type: { + name: "String" + } + }, + credentials: { + serializedName: "credentials", + type: { + name: "String" + } + } + } + } +}; + +export const InputPort: msRest.CompositeMapper = { + serializedName: "InputPort", + type: { + name: "Composite", + className: "InputPort", + modelProperties: { + type: { + serializedName: "type", + defaultValue: 'Dataset', + type: { + name: "String" + } + } + } + } +}; + +export const OutputPort: msRest.CompositeMapper = { + serializedName: "OutputPort", + type: { + name: "Composite", + className: "OutputPort", + modelProperties: { + type: { + serializedName: "type", + defaultValue: 'Dataset', + type: { + name: "String" + } + } + } + } +}; + +export const ModeValueInfo: msRest.CompositeMapper = { + serializedName: "ModeValueInfo", + type: { + name: "Composite", + className: "ModeValueInfo", + modelProperties: { + interfaceString: { + serializedName: "interfaceString", + type: { + name: "String" + } + }, + parameters: { + serializedName: "parameters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModuleAssetParameter" + } + } + } + } + } + } +}; + +export const ModuleAssetParameter: msRest.CompositeMapper = { + serializedName: "ModuleAssetParameter", + type: { + name: "Composite", + className: "ModuleAssetParameter", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + parameterType: { + serializedName: "parameterType", + type: { + name: "String" + } + }, + modeValuesInfo: { + serializedName: "modeValuesInfo", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "ModeValueInfo" + } + } + } + } + } + } +}; + +export const AssetItem: msRest.CompositeMapper = { + serializedName: "AssetItem", + type: { + name: "Composite", + className: "AssetItem", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + id: { + serializedName: "id", + type: { + name: "String" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + }, + locationInfo: { + required: true, + serializedName: "locationInfo", + type: { + name: "Composite", + className: "BlobLocation" + } + }, + inputPorts: { + serializedName: "inputPorts", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "InputPort" + } + } + } + }, + outputPorts: { + serializedName: "outputPorts", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "OutputPort" + } + } + } + }, + metadata: { + serializedName: "metadata", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + parameters: { + serializedName: "parameters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModuleAssetParameter" + } + } + } + } + } + } +}; + +export const WebServiceParameter: msRest.CompositeMapper = { + serializedName: "WebServiceParameter", + type: { + name: "Composite", + className: "WebServiceParameter", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Object" + } + }, + certificateThumbprint: { + serializedName: "certificateThumbprint", + type: { + name: "String" + } + } + } + } +}; + +export const WebServiceProperties: msRest.CompositeMapper = { + serializedName: "WebServiceProperties", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "packageType", + clientName: "packageType" + }, + uberParent: "WebServiceProperties", + className: "WebServiceProperties", + modelProperties: { + title: { + serializedName: "title", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + createdOn: { + readOnly: true, + serializedName: "createdOn", + type: { + name: "DateTime" + } + }, + modifiedOn: { + readOnly: true, + serializedName: "modifiedOn", + type: { + name: "DateTime" + } + }, + provisioningState: { + readOnly: true, + serializedName: "provisioningState", + type: { + name: "String" + } + }, + keys: { + serializedName: "keys", + type: { + name: "Composite", + className: "WebServiceKeys" + } + }, + readOnly: { + serializedName: "readOnly", + type: { + name: "Boolean" + } + }, + swaggerLocation: { + readOnly: true, + serializedName: "swaggerLocation", + type: { + name: "String" + } + }, + exposeSampleData: { + serializedName: "exposeSampleData", + type: { + name: "Boolean" + } + }, + realtimeConfiguration: { + serializedName: "realtimeConfiguration", + type: { + name: "Composite", + className: "RealtimeConfiguration" + } + }, + diagnostics: { + serializedName: "diagnostics", + type: { + name: "Composite", + className: "DiagnosticsConfiguration" + } + }, + storageAccount: { + serializedName: "storageAccount", + type: { + name: "Composite", + className: "StorageAccount" + } + }, + machineLearningWorkspace: { + serializedName: "machineLearningWorkspace", + type: { + name: "Composite", + className: "MachineLearningWorkspace" + } + }, + commitmentPlan: { + serializedName: "commitmentPlan", + type: { + name: "Composite", + className: "CommitmentPlan" + } + }, + input: { + serializedName: "input", + type: { + name: "Composite", + className: "ServiceInputOutputSpecification" + } + }, + output: { + serializedName: "output", + type: { + name: "Composite", + className: "ServiceInputOutputSpecification" + } + }, + exampleRequest: { + serializedName: "exampleRequest", + type: { + name: "Composite", + className: "ExampleRequest" + } + }, + assets: { + serializedName: "assets", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "AssetItem" + } + } + } + }, + parameters: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "WebServiceParameter" + } + } + } + }, + payloadsInBlobStorage: { + serializedName: "payloadsInBlobStorage", + type: { + name: "Boolean" + } + }, + payloadsLocation: { + serializedName: "payloadsLocation", + type: { + name: "Composite", + className: "BlobLocation" + } + }, + packageType: { + required: true, + serializedName: "packageType", + type: { + name: "String" + } + } + } + } +}; + +export const WebService: msRest.CompositeMapper = { + serializedName: "WebService", + type: { + name: "Composite", + className: "WebService", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "WebServiceProperties" + } + } + } + } +}; + +export const GraphNode: msRest.CompositeMapper = { + serializedName: "GraphNode", + type: { + name: "Composite", + className: "GraphNode", + modelProperties: { + assetId: { + serializedName: "assetId", + type: { + name: "String" + } + }, + inputId: { + serializedName: "inputId", + type: { + name: "String" + } + }, + outputId: { + serializedName: "outputId", + type: { + name: "String" + } + }, + parameters: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "WebServiceParameter" + } + } + } + } + } + } +}; + +export const GraphEdge: msRest.CompositeMapper = { + serializedName: "GraphEdge", + type: { + name: "Composite", + className: "GraphEdge", + modelProperties: { + sourceNodeId: { + serializedName: "sourceNodeId", + type: { + name: "String" + } + }, + sourcePortId: { + serializedName: "sourcePortId", + type: { + name: "String" + } + }, + targetNodeId: { + serializedName: "targetNodeId", + type: { + name: "String" + } + }, + targetPortId: { + serializedName: "targetPortId", + type: { + name: "String" + } + } + } + } +}; + +export const GraphParameterLink: msRest.CompositeMapper = { + serializedName: "GraphParameterLink", + type: { + name: "Composite", + className: "GraphParameterLink", + modelProperties: { + nodeId: { + required: true, + serializedName: "nodeId", + type: { + name: "String" + } + }, + parameterKey: { + required: true, + serializedName: "parameterKey", + type: { + name: "String" + } + } + } + } +}; + +export const GraphParameter: msRest.CompositeMapper = { + serializedName: "GraphParameter", + type: { + name: "Composite", + className: "GraphParameter", + modelProperties: { + description: { + serializedName: "description", + type: { + name: "String" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + }, + links: { + required: true, + serializedName: "links", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GraphParameterLink" + } + } + } + } + } + } +}; + +export const GraphPackage: msRest.CompositeMapper = { + serializedName: "GraphPackage", + type: { + name: "Composite", + className: "GraphPackage", + modelProperties: { + nodes: { + serializedName: "nodes", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "GraphNode" + } + } + } + }, + edges: { + serializedName: "edges", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GraphEdge" + } + } + } + }, + graphParameters: { + serializedName: "graphParameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "GraphParameter" + } + } + } + } + } + } +}; + +export const WebServicePropertiesForGraph: msRest.CompositeMapper = { + serializedName: "Graph", + type: { + name: "Composite", + polymorphicDiscriminator: WebServiceProperties.type.polymorphicDiscriminator, + uberParent: "WebServiceProperties", + className: "WebServicePropertiesForGraph", + modelProperties: { + ...WebServiceProperties.type.modelProperties, + packageProperty: { + serializedName: "package", + type: { + name: "Composite", + className: "GraphPackage" + } + } + } + } +}; + +export const AsyncOperationErrorInfo: msRest.CompositeMapper = { + serializedName: "AsyncOperationErrorInfo", + type: { + name: "Composite", + className: "AsyncOperationErrorInfo", + modelProperties: { + code: { + readOnly: true, + serializedName: "code", + type: { + name: "String" + } + }, + target: { + readOnly: true, + serializedName: "target", + type: { + name: "String" + } + }, + message: { + readOnly: true, + serializedName: "message", + type: { + name: "String" + } + }, + details: { + readOnly: true, + serializedName: "details", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AsyncOperationErrorInfo" + } + } + } + } + } + } +}; + +export const AsyncOperationStatus: msRest.CompositeMapper = { + serializedName: "AsyncOperationStatus", + type: { + name: "Composite", + className: "AsyncOperationStatus", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + provisioningState: { + readOnly: true, + serializedName: "provisioningState", + type: { + name: "String" + } + }, + startTime: { + readOnly: true, + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + readOnly: true, + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + percentComplete: { + readOnly: true, + serializedName: "percentComplete", + type: { + name: "Number" + } + }, + errorInfo: { + readOnly: true, + serializedName: "errorInfo", + type: { + name: "Composite", + className: "AsyncOperationErrorInfo" + } + } + } + } +}; + +export const OperationDisplayInfo: msRest.CompositeMapper = { + serializedName: "OperationDisplayInfo", + type: { + name: "Composite", + className: "OperationDisplayInfo", + modelProperties: { + description: { + readOnly: true, + serializedName: "description", + type: { + name: "String" + } + }, + operation: { + readOnly: true, + serializedName: "operation", + type: { + name: "String" + } + }, + provider: { + readOnly: true, + serializedName: "provider", + type: { + name: "String" + } + }, + resource: { + readOnly: true, + serializedName: "resource", + type: { + name: "String" + } + } + } + } +}; + +export const OperationEntity: msRest.CompositeMapper = { + serializedName: "OperationEntity", + type: { + name: "Composite", + className: "OperationEntity", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + display: { + serializedName: "display", + type: { + name: "Composite", + className: "OperationDisplayInfo" + } + } + } + } +}; + +export const OperationEntityListResult: msRest.CompositeMapper = { + serializedName: "OperationEntityListResult", + type: { + name: "Composite", + className: "OperationEntityListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OperationEntity" + } + } + } + } + } + } +}; + +export const PaginatedWebServicesList: msRest.CompositeMapper = { + serializedName: "PaginatedWebServicesList", + type: { + name: "Composite", + className: "PaginatedWebServicesList", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WebService" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const discriminators = { + 'WebServiceProperties' : WebServiceProperties, + 'WebServiceProperties.Graph' : WebServicePropertiesForGraph +}; diff --git a/packages/@azure/arm-webservices/lib/models/operationsMappers.ts b/packages/@azure/arm-webservices/lib/models/operationsMappers.ts new file mode 100644 index 000000000000..abbcf40ad4b3 --- /dev/null +++ b/packages/@azure/arm-webservices/lib/models/operationsMappers.ts @@ -0,0 +1,18 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export { + discriminators, + OperationEntityListResult, + OperationEntity, + OperationDisplayInfo, + CloudError +} from "../models/mappers"; + diff --git a/packages/@azure/arm-rediscache/lib/models/parameters.ts b/packages/@azure/arm-webservices/lib/models/parameters.ts similarity index 62% rename from packages/@azure/arm-rediscache/lib/models/parameters.ts rename to packages/@azure/arm-webservices/lib/models/parameters.ts index 253aad551799..19d1216ea308 100644 --- a/packages/@azure/arm-rediscache/lib/models/parameters.ts +++ b/packages/@azure/arm-webservices/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", @@ -30,94 +30,76 @@ export const apiVersion: msRest.OperationQueryParameter = { } } }; -export const cacheName: msRest.OperationURLParameter = { - parameterPath: "cacheName", +export const nextPageLink: msRest.OperationURLParameter = { + parameterPath: "nextPageLink", mapper: { required: true, - serializedName: "cacheName", + serializedName: "nextLink", type: { name: "String" } - } + }, + skipEncoding: true }; -export const defaultParameter: msRest.OperationURLParameter = { - parameterPath: "defaultParameter", +export const region0: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "region" + ], mapper: { - required: true, - isConstant: true, - serializedName: "default", - defaultValue: 'default', + serializedName: "region", type: { name: "String" } } }; -export const history: msRest.OperationQueryParameter = { - parameterPath: "history", +export const region1: msRest.OperationQueryParameter = { + parameterPath: "region", mapper: { required: true, - serializedName: "history", - type: { - name: "Number" - } - } -}; -export const linkedServerName: msRest.OperationURLParameter = { - parameterPath: "linkedServerName", - mapper: { - required: true, - serializedName: "linkedServerName", + serializedName: "region", type: { name: "String" } } }; -export const name: msRest.OperationURLParameter = { - parameterPath: "name", +export const resourceGroupName: msRest.OperationURLParameter = { + parameterPath: "resourceGroupName", mapper: { required: true, - serializedName: "name", + serializedName: "resourceGroupName", type: { name: "String" } } }; -export const nextPageLink: msRest.OperationURLParameter = { - parameterPath: "nextPageLink", +export const skiptoken: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "skiptoken" + ], mapper: { - required: true, - serializedName: "nextLink", - type: { - name: "String" - } - }, - skipEncoding: true -}; -export const resourceGroupName: msRest.OperationURLParameter = { - parameterPath: "resourceGroupName", - mapper: { - required: true, - serializedName: "resourceGroupName", + serializedName: "$skiptoken", type: { name: "String" } } }; -export const ruleName: msRest.OperationURLParameter = { - parameterPath: "ruleName", +export const subscriptionId: msRest.OperationURLParameter = { + parameterPath: "subscriptionId", mapper: { required: true, - serializedName: "ruleName", + serializedName: "subscriptionId", type: { name: "String" } } }; -export const subscriptionId: msRest.OperationURLParameter = { - parameterPath: "subscriptionId", +export const webServiceName: msRest.OperationURLParameter = { + parameterPath: "webServiceName", mapper: { required: true, - serializedName: "subscriptionId", + serializedName: "webServiceName", type: { name: "String" } diff --git a/packages/@azure/arm-webservices/lib/models/webServicesMappers.ts b/packages/@azure/arm-webservices/lib/models/webServicesMappers.ts new file mode 100644 index 000000000000..e72764b2cc2b --- /dev/null +++ b/packages/@azure/arm-webservices/lib/models/webServicesMappers.ts @@ -0,0 +1,45 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export { + discriminators, + WebService, + Resource, + BaseResource, + WebServiceProperties, + WebServiceKeys, + RealtimeConfiguration, + DiagnosticsConfiguration, + StorageAccount, + MachineLearningWorkspace, + CommitmentPlan, + ServiceInputOutputSpecification, + TableSpecification, + ColumnSpecification, + ExampleRequest, + AssetItem, + BlobLocation, + InputPort, + OutputPort, + ModuleAssetParameter, + ModeValueInfo, + WebServiceParameter, + CloudError, + AsyncOperationStatus, + AsyncOperationErrorInfo, + PaginatedWebServicesList, + WebServicePropertiesForGraph, + GraphPackage, + GraphNode, + GraphEdge, + GraphParameter, + GraphParameterLink +} from "../models/mappers"; + diff --git a/packages/@azure/arm-rediscache/lib/operations/index.ts b/packages/@azure/arm-webservices/lib/operations/index.ts similarity index 73% rename from packages/@azure/arm-rediscache/lib/operations/index.ts rename to packages/@azure/arm-webservices/lib/operations/index.ts index a2f30803474f..77f75d075aa0 100644 --- a/packages/@azure/arm-rediscache/lib/operations/index.ts +++ b/packages/@azure/arm-webservices/lib/operations/index.ts @@ -9,7 +9,4 @@ */ export * from "./operations"; -export * from "./redis"; -export * from "./firewallRules"; -export * from "./patchSchedules"; -export * from "./linkedServer"; +export * from "./webServices"; diff --git a/packages/@azure/arm-webservices/lib/operations/operations.ts b/packages/@azure/arm-webservices/lib/operations/operations.ts new file mode 100644 index 000000000000..8b1602c49c4f --- /dev/null +++ b/packages/@azure/arm-webservices/lib/operations/operations.ts @@ -0,0 +1,74 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +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"; +import { AzureMLWebServicesManagementClientContext } from "../azureMLWebServicesManagementClientContext"; + +/** Class representing a Operations. */ +export class Operations { + private readonly client: AzureMLWebServicesManagementClientContext; + + /** + * Create a Operations. + * @param {AzureMLWebServicesManagementClientContext} client Reference to the service client. + */ + constructor(client: AzureMLWebServicesManagementClientContext) { + this.client = client; + } + + /** + * Lists all the available REST API operations. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "providers/Microsoft.MachineLearning/operations", + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OperationEntityListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-webservices/lib/operations/webServices.ts b/packages/@azure/arm-webservices/lib/operations/webServices.ts new file mode 100644 index 000000000000..6d961d7f23c0 --- /dev/null +++ b/packages/@azure/arm-webservices/lib/operations/webServices.ts @@ -0,0 +1,608 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +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/webServicesMappers"; +import * as Parameters from "../models/parameters"; +import { AzureMLWebServicesManagementClientContext } from "../azureMLWebServicesManagementClientContext"; + +/** Class representing a WebServices. */ +export class WebServices { + private readonly client: AzureMLWebServicesManagementClientContext; + + /** + * Create a WebServices. + * @param {AzureMLWebServicesManagementClientContext} client Reference to the service client. + */ + constructor(client: AzureMLWebServicesManagementClientContext) { + this.client = client; + } + + /** + * Create or update a web service. This call will overwrite an existing web service. Note that + * there is no warning or confirmation. This is a nonrecoverable operation. If your intent is to + * create a new web service, call the Get operation first to verify that it does not exist. + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param webServiceName The name of the web service. + * @param createOrUpdatePayload The payload that is used to create or update the web service. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, webServiceName: string, createOrUpdatePayload: Models.WebService, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,webServiceName,createOrUpdatePayload,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Gets the Web Service Definition as specified by a subscription, resource group, and name. Note + * that the storage credentials and web service keys are not returned by this call. To get the web + * service access keys, call List Keys. + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param webServiceName The name of the web service. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, webServiceName: string, options?: Models.WebServicesGetOptionalParams): Promise; + /** + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param webServiceName The name of the web service. + * @param callback The callback + */ + get(resourceGroupName: string, webServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param webServiceName The name of the web service. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, webServiceName: string, options: Models.WebServicesGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, webServiceName: string, options?: Models.WebServicesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + webServiceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Modifies an existing web service resource. The PATCH API call is an asynchronous operation. To + * determine whether it has completed successfully, you must perform a Get operation. + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param webServiceName The name of the web service. + * @param patchPayload The payload to use to patch the web service. + * @param [options] The optional parameters + * @returns Promise + */ + patch(resourceGroupName: string, webServiceName: string, patchPayload: Models.WebService, options?: msRest.RequestOptionsBase): Promise { + return this.beginPatch(resourceGroupName,webServiceName,patchPayload,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes the specified web service. + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param webServiceName The name of the web service. + * @param [options] The optional parameters + * @returns Promise + */ + remove(resourceGroupName: string, webServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginRemove(resourceGroupName,webServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Creates an encrypted credentials parameter blob for the specified region. To get the web service + * from a region other than the region in which it has been created, you must first call Create + * Regional Web Services Properties to create a copy of the encrypted credential parameter blob in + * that region. You only need to do this before the first time that you get the web service in the + * new region. + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param webServiceName The name of the web service. + * @param region The region for which encrypted credential parameters are created. + * @param [options] The optional parameters + * @returns Promise + */ + createRegionalProperties(resourceGroupName: string, webServiceName: string, region: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateRegionalProperties(resourceGroupName,webServiceName,region,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Gets the access keys for the specified web service. + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param webServiceName The name of the web service. + * @param [options] The optional parameters + * @returns Promise + */ + listKeys(resourceGroupName: string, webServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param webServiceName The name of the web service. + * @param callback The callback + */ + listKeys(resourceGroupName: string, webServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param webServiceName The name of the web service. + * @param options The optional parameters + * @param callback The callback + */ + listKeys(resourceGroupName: string, webServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listKeys(resourceGroupName: string, webServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + webServiceName, + options + }, + listKeysOperationSpec, + callback) as Promise; + } + + /** + * Gets the web services in the specified resource group. + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: Models.WebServicesListByResourceGroupOptionalParams): Promise; + /** + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: Models.WebServicesListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: Models.WebServicesListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Gets the web services in the specified subscription. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionId(options?: Models.WebServicesListBySubscriptionIdOptionalParams): Promise; + /** + * @param callback The callback + */ + listBySubscriptionId(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscriptionId(options: Models.WebServicesListBySubscriptionIdOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscriptionId(options?: Models.WebServicesListBySubscriptionIdOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionIdOperationSpec, + callback) as Promise; + } + + /** + * Create or update a web service. This call will overwrite an existing web service. Note that + * there is no warning or confirmation. This is a nonrecoverable operation. If your intent is to + * create a new web service, call the Get operation first to verify that it does not exist. + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param webServiceName The name of the web service. + * @param createOrUpdatePayload The payload that is used to create or update the web service. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, webServiceName: string, createOrUpdatePayload: Models.WebService, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + webServiceName, + createOrUpdatePayload, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Modifies an existing web service resource. The PATCH API call is an asynchronous operation. To + * determine whether it has completed successfully, you must perform a Get operation. + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param webServiceName The name of the web service. + * @param patchPayload The payload to use to patch the web service. + * @param [options] The optional parameters + * @returns Promise + */ + beginPatch(resourceGroupName: string, webServiceName: string, patchPayload: Models.WebService, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + webServiceName, + patchPayload, + options + }, + beginPatchOperationSpec, + options); + } + + /** + * Deletes the specified web service. + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param webServiceName The name of the web service. + * @param [options] The optional parameters + * @returns Promise + */ + beginRemove(resourceGroupName: string, webServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + webServiceName, + options + }, + beginRemoveOperationSpec, + options); + } + + /** + * Creates an encrypted credentials parameter blob for the specified region. To get the web service + * from a region other than the region in which it has been created, you must first call Create + * Regional Web Services Properties to create a copy of the encrypted credential parameter blob in + * that region. You only need to do this before the first time that you get the web service in the + * new region. + * @param resourceGroupName Name of the resource group in which the web service is located. + * @param webServiceName The name of the web service. + * @param region The region for which encrypted credential parameters are created. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateRegionalProperties(resourceGroupName: string, webServiceName: string, region: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + webServiceName, + region, + options + }, + beginCreateRegionalPropertiesOperationSpec, + options); + } + + /** + * Gets the web services in the specified resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } + + /** + * Gets the web services in the specified subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionIdNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionIdNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listBySubscriptionIdNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionIdNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionIdNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.webServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.region0, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WebService + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listKeysOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}/listKeys", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.webServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WebServiceKeys + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.skiptoken, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PaginatedWebServicesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionIdOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/webServices", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.skiptoken, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PaginatedWebServicesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.webServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "createOrUpdatePayload", + mapper: { + ...Mappers.WebService, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WebService + }, + 201: { + bodyMapper: Mappers.WebService + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginPatchOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.webServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "patchPayload", + mapper: { + ...Mappers.WebService, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WebService + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginRemoveOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.webServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateRegionalPropertiesOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}/CreateRegionalBlob", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.webServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.region1, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AsyncOperationStatus + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PaginatedWebServicesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionIdNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PaginatedWebServicesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-webservices/package.json b/packages/@azure/arm-webservices/package.json new file mode 100644 index 000000000000..fd89d2fd4651 --- /dev/null +++ b/packages/@azure/arm-webservices/package.json @@ -0,0 +1,55 @@ +{ + "name": "@azure/arm-webservices", + "author": "Microsoft Corporation", + "description": "AzureMLWebServicesManagementClient 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", + "tslib": "^1.9.3" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "license": "MIT", + "main": "./dist/arm-webservices.js", + "module": "./esm/azureMLWebServicesManagementClient.js", + "types": "./esm/azureMLWebServicesManagementClient.d.ts", + "devDependencies": { + "typescript": "^3.1.1", + "rollup": "^0.66.2", + "rollup-plugin-node-resolve": "^3.4.0", + "uglify-js": "^3.4.9" + }, + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/packages/@azure/arm-webservices", + "repository": { + "type": "git", + "url": "https://github.com/azure/azure-sdk-for-js.git" + }, + "bugs": { + "url": "https://github.com/azure/azure-sdk-for-js/issues" + }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], + "scripts": { + "build": "tsc && rollup -c rollup.config.js && npm run minify", + "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-webservices.js.map'\" -o ./dist/arm-webservices.min.js ./dist/arm-webservices.js", + "prepack": "npm install && npm run build" + }, + "sideEffects": false +} diff --git a/packages/@azure/arm-webservices/rollup.config.js b/packages/@azure/arm-webservices/rollup.config.js new file mode 100644 index 000000000000..fca84a1233db --- /dev/null +++ b/packages/@azure/arm-webservices/rollup.config.js @@ -0,0 +1,31 @@ +import nodeResolve from "rollup-plugin-node-resolve"; +/** + * @type {import('rollup').RollupFileOptions} + */ +const config = { + input: './esm/azureMLWebServicesManagementClient.js', + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + output: { + file: "./dist/arm-webservices.js", + format: "umd", + name: "Azure.ArmWebservices", + sourcemap: true, + globals: { + "@azure/ms-rest-js": "msRest", + "@azure/ms-rest-azure-js": "msRestAzure" + }, + banner: `/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */` + }, + plugins: [ + nodeResolve({ module: true }) + ] +}; +export default config; diff --git a/packages/@azure/arm-webservices/tsconfig.json b/packages/@azure/arm-webservices/tsconfig.json new file mode 100644 index 000000000000..51ea90961ce5 --- /dev/null +++ b/packages/@azure/arm-webservices/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "es6", + "moduleResolution": "node", + "strict": true, + "target": "es5", + "sourceMap": true, + "declarationMap": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "lib": ["es6"], + "declaration": true, + "outDir": "./esm", + "importHelpers": true + }, + "include": ["./lib/**/*.ts"], + "exclude": ["node_modules"] +} diff --git a/packages/@azure/arm-workspaces/LICENSE.txt b/packages/@azure/arm-workspaces/LICENSE.txt new file mode 100644 index 000000000000..a70e8cf66038 --- /dev/null +++ b/packages/@azure/arm-workspaces/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/@azure/arm-workspaces/README.md b/packages/@azure/arm-workspaces/README.md new file mode 100644 index 000000000000..9df6a818189c --- /dev/null +++ b/packages/@azure/arm-workspaces/README.md @@ -0,0 +1,96 @@ +## Azure MachineLearningWorkspacesManagementClient SDK for JavaScript + +This package contains an isomorphic SDK for MachineLearningWorkspacesManagementClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install + +``` +npm install @azure/arm-workspaces +``` + +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code + +```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 { MachineLearningWorkspacesManagementClient, MachineLearningWorkspacesManagementModels, MachineLearningWorkspacesManagementMappers } from "@azure/arm-workspaces"; +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; + +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new MachineLearningWorkspacesManagementClient(creds, subscriptionId); + client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); + }); +}).catch((err) => { + console.error(err); +}); +``` + +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. + +- index.html +```html + + + + @azure/arm-workspaces sample + + + + + + + + +``` + +## Related projects + +- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/arm-workspaces/lib/machineLearningWorkspacesManagementClient.ts b/packages/@azure/arm-workspaces/lib/machineLearningWorkspacesManagementClient.ts new file mode 100644 index 000000000000..c058f7d5dc38 --- /dev/null +++ b/packages/@azure/arm-workspaces/lib/machineLearningWorkspacesManagementClient.ts @@ -0,0 +1,44 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "./models"; +import * as Mappers from "./models/mappers"; +import * as operations from "./operations"; +import { MachineLearningWorkspacesManagementClientContext } from "./machineLearningWorkspacesManagementClientContext"; + + +class MachineLearningWorkspacesManagementClient extends MachineLearningWorkspacesManagementClientContext { + // Operation groups + operations: operations.Operations; + workspaces: operations.Workspaces; + + /** + * Initializes a new instance of the MachineLearningWorkspacesManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId The Microsoft Azure subscription ID. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MachineLearningWorkspacesManagementClientOptions) { + super(credentials, subscriptionId, options); + this.operations = new operations.Operations(this); + this.workspaces = new operations.Workspaces(this); + } +} + +// Operation Specifications + +export { + MachineLearningWorkspacesManagementClient, + MachineLearningWorkspacesManagementClientContext, + Models as MachineLearningWorkspacesManagementModels, + Mappers as MachineLearningWorkspacesManagementMappers +}; +export * from "./operations"; diff --git a/packages/@azure/arm-workspaces/lib/machineLearningWorkspacesManagementClientContext.ts b/packages/@azure/arm-workspaces/lib/machineLearningWorkspacesManagementClientContext.ts new file mode 100644 index 000000000000..09fe627fb30b --- /dev/null +++ b/packages/@azure/arm-workspaces/lib/machineLearningWorkspacesManagementClientContext.ts @@ -0,0 +1,62 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as Models from "./models"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; + +const packageName = "@azure/arm-workspaces"; +const packageVersion = "0.1.0"; + +export class MachineLearningWorkspacesManagementClientContext extends msRestAzure.AzureServiceClient { + credentials: msRest.ServiceClientCredentials; + subscriptionId: string; + apiVersion?: string; + + /** + * Initializes a new instance of the MachineLearningWorkspacesManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId The Microsoft Azure subscription ID. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MachineLearningWorkspacesManagementClientOptions) { + if (credentials == undefined) { + throw new Error('\'credentials\' cannot be null.'); + } + if (subscriptionId == undefined) { + throw new Error('\'subscriptionId\' cannot be null.'); + } + + if (!options) { + options = {}; + } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + + super(credentials, options); + + this.apiVersion = '2016-04-01'; + this.acceptLanguage = 'en-US'; + this.longRunningOperationRetryTimeout = 30; + this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; + this.requestContentType = "application/json; charset=utf-8"; + this.credentials = credentials; + this.subscriptionId = subscriptionId; + + if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + this.acceptLanguage = options.acceptLanguage; + } + if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; + } + } +} diff --git a/packages/@azure/arm-workspaces/lib/models/index.ts b/packages/@azure/arm-workspaces/lib/models/index.ts new file mode 100644 index 000000000000..da141d07fc59 --- /dev/null +++ b/packages/@azure/arm-workspaces/lib/models/index.ts @@ -0,0 +1,446 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +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 ErrorResponse. + * The error response send when an operation fails. + * + */ +export interface ErrorResponse { + /** + * @member {string} code error code + */ + code: string; + /** + * @member {string} message error message + */ + message: string; +} + +/** + * @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.** + */ + 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.** + */ + 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.** + */ + readonly type?: string; + /** + * @member {string} location 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. + */ + tags?: { [propertyName: string]: string }; +} + +/** + * @interface + * An interface representing Workspace. + * An object that represents a machine learning workspace. + * + * @extends Resource + */ +export interface Workspace extends Resource { + /** + * @member {string} userStorageAccountId The fully qualified arm id of the + * storage account associated with this workspace. + */ + userStorageAccountId: string; + /** + * @member {string} [ownerEmail] The email id of the owner for this + * workspace. + */ + ownerEmail?: string; + /** + * @member {WorkspaceType} [workspaceType] The type of this workspace. + * Possible values include: 'Production', 'Free', 'Anonymous', + * 'PaidStandard', 'PaidPremium' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly workspaceType?: WorkspaceType; + /** + * @member {WorkspaceState} [workspaceState] The current state of workspace + * resource. Possible values include: 'Deleted', 'Enabled', 'Disabled', + * 'Migrated', 'Updated', 'Registered', 'Unregistered' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly workspaceState?: WorkspaceState; + /** + * @member {string} [workspaceId] The immutable id associated with this + * workspace. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly workspaceId?: string; + /** + * @member {string} [creationTime] The creation time for this workspace + * resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly creationTime?: string; + /** + * @member {string} [studioEndpoint] The regional endpoint for the machine + * learning studio service which hosts this workspace. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly studioEndpoint?: string; + /** + * @member {string} [keyVaultIdentifierId] The key vault identifier used for + * encrypted workspaces. + */ + keyVaultIdentifierId?: string; +} + +/** + * @interface + * An interface representing WorkspaceUpdateParameters. + * The parameters for updating a machine learning workspace. + * + */ +export interface WorkspaceUpdateParameters { + /** + * @member {{ [propertyName: string]: string }} [tags] The resource tags for + * the machine learning workspace. + */ + tags?: { [propertyName: string]: string }; + /** + * @member {WorkspaceState} [workspaceState] The current state of workspace + * resource. Possible values include: 'Deleted', 'Enabled', 'Disabled', + * 'Migrated', 'Updated', 'Registered', 'Unregistered' + */ + workspaceState?: WorkspaceState; + /** + * @member {string} [keyVaultIdentifierId] The key vault identifier used for + * encrypted workspaces. + */ + keyVaultIdentifierId?: string; +} + +/** + * @interface + * An interface representing WorkspaceKeysResponse. + * Workspace authorization keys for a workspace. + * + */ +export interface WorkspaceKeysResponse { + /** + * @member {string} [primaryToken] Primary authorization key for this + * workspace. + */ + primaryToken?: string; + /** + * @member {string} [secondaryToken] Secondary authorization key for this + * workspace. + */ + secondaryToken?: string; +} + +/** + * @interface + * An interface representing OperationDisplay. + * Display name of operation + * + */ +export interface OperationDisplay { + /** + * @member {string} [provider] The resource provider name: + * Microsoft.MachineLearning + */ + provider?: string; + /** + * @member {string} [resource] The resource on which the operation is + * performed. + */ + resource?: string; + /** + * @member {string} [operation] The operation that users can perform. + */ + operation?: string; + /** + * @member {string} [description] The description for the operation. + */ + description?: string; +} + +/** + * @interface + * An interface representing Operation. + * Azure Machine Learning Studio REST API operation + * + */ +export interface Operation { + /** + * @member {string} [name] Operation name: {provider}/{resource}/{operation} + */ + name?: string; + /** + * @member {OperationDisplay} [display] Display name of operation + */ + display?: OperationDisplay; +} + +/** + * @interface + * An interface representing MachineLearningWorkspacesManagementClientOptions. + * @extends AzureServiceClientOptions + */ +export interface MachineLearningWorkspacesManagementClientOptions extends AzureServiceClientOptions { + /** + * @member {string} [baseUri] + */ + baseUri?: string; +} + + +/** + * @interface + * An interface representing the OperationListResult. + * An array of operations supported by the resource provider. + * + * @extends Array + */ +export interface OperationListResult extends Array { +} + +/** + * @interface + * An interface representing the WorkspaceListResult. + * The result of a request to list machine learning workspace keys. + * + * @extends Array + */ +export interface WorkspaceListResult extends Array { + /** + * @member {string} [nextLink] The URI that can be used to request the next + * list of machine learning workspaces. + */ + nextLink?: string; +} + +/** + * Defines values for WorkspaceType. + * Possible values include: 'Production', 'Free', 'Anonymous', 'PaidStandard', 'PaidPremium' + * @readonly + * @enum {string} + */ +export type WorkspaceType = 'Production' | 'Free' | 'Anonymous' | 'PaidStandard' | 'PaidPremium'; + +/** + * Defines values for WorkspaceState. + * Possible values include: 'Deleted', 'Enabled', 'Disabled', 'Migrated', 'Updated', 'Registered', + * 'Unregistered' + * @readonly + * @enum {string} + */ +export type WorkspaceState = 'Deleted' | 'Enabled' | 'Disabled' | 'Migrated' | 'Updated' | 'Registered' | 'Unregistered'; + +/** + * Contains response data for the list operation. + */ +export type OperationsListResponse = OperationListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type WorkspacesGetResponse = Workspace & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workspace; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type WorkspacesCreateOrUpdateResponse = Workspace & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workspace; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type WorkspacesUpdateResponse = Workspace & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workspace; + }; +}; + +/** + * Contains response data for the listWorkspaceKeys operation. + */ +export type WorkspacesListWorkspaceKeysResponse = WorkspaceKeysResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceKeysResponse; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type WorkspacesListByResourceGroupResponse = WorkspaceListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type WorkspacesListResponse = WorkspaceListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceListResult; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type WorkspacesListNextResponse = WorkspaceListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceListResult; + }; +}; diff --git a/packages/@azure/arm-workspaces/lib/models/mappers.ts b/packages/@azure/arm-workspaces/lib/models/mappers.ts new file mode 100644 index 000000000000..a4ff64510b08 --- /dev/null +++ b/packages/@azure/arm-workspaces/lib/models/mappers.ts @@ -0,0 +1,340 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +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; + +export const ErrorResponse: msRest.CompositeMapper = { + serializedName: "ErrorResponse", + type: { + name: "Composite", + className: "ErrorResponse", + modelProperties: { + code: { + required: true, + serializedName: "code", + type: { + name: "String" + } + }, + message: { + required: true, + serializedName: "message", + type: { + name: "String" + } + } + } + } +}; + +export const Resource: msRest.CompositeMapper = { + serializedName: "Resource", + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + location: { + required: true, + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const Workspace: msRest.CompositeMapper = { + serializedName: "Workspace", + type: { + name: "Composite", + className: "Workspace", + modelProperties: { + ...Resource.type.modelProperties, + userStorageAccountId: { + required: true, + serializedName: "properties.userStorageAccountId", + type: { + name: "String" + } + }, + ownerEmail: { + serializedName: "properties.ownerEmail", + type: { + name: "String" + } + }, + workspaceType: { + readOnly: true, + serializedName: "properties.workspaceType", + type: { + name: "Enum", + allowedValues: [ + "Production", + "Free", + "Anonymous", + "PaidStandard", + "PaidPremium" + ] + } + }, + workspaceState: { + readOnly: true, + serializedName: "properties.workspaceState", + type: { + name: "Enum", + allowedValues: [ + "Deleted", + "Enabled", + "Disabled", + "Migrated", + "Updated", + "Registered", + "Unregistered" + ] + } + }, + workspaceId: { + readOnly: true, + serializedName: "properties.workspaceId", + type: { + name: "String" + } + }, + creationTime: { + readOnly: true, + serializedName: "properties.creationTime", + type: { + name: "String" + } + }, + studioEndpoint: { + readOnly: true, + serializedName: "properties.studioEndpoint", + type: { + name: "String" + } + }, + keyVaultIdentifierId: { + serializedName: "properties.keyVaultIdentifierId", + type: { + name: "String" + } + } + } + } +}; + +export const WorkspaceUpdateParameters: msRest.CompositeMapper = { + serializedName: "WorkspaceUpdateParameters", + type: { + name: "Composite", + className: "WorkspaceUpdateParameters", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + workspaceState: { + serializedName: "properties.workspaceState", + type: { + name: "Enum", + allowedValues: [ + "Deleted", + "Enabled", + "Disabled", + "Migrated", + "Updated", + "Registered", + "Unregistered" + ] + } + }, + keyVaultIdentifierId: { + serializedName: "properties.keyVaultIdentifierId", + type: { + name: "String" + } + } + } + } +}; + +export const WorkspaceKeysResponse: msRest.CompositeMapper = { + serializedName: "WorkspaceKeysResponse", + type: { + name: "Composite", + className: "WorkspaceKeysResponse", + modelProperties: { + primaryToken: { + serializedName: "primaryToken", + type: { + name: "String" + } + }, + secondaryToken: { + serializedName: "secondaryToken", + type: { + name: "String" + } + } + } + } +}; + +export const OperationDisplay: msRest.CompositeMapper = { + serializedName: "Operation_display", + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + provider: { + serializedName: "provider", + type: { + name: "String" + } + }, + resource: { + serializedName: "resource", + type: { + name: "String" + } + }, + operation: { + serializedName: "operation", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + } + } + } +}; + +export const Operation: msRest.CompositeMapper = { + serializedName: "Operation", + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + display: { + serializedName: "display", + type: { + name: "Composite", + className: "OperationDisplay" + } + } + } + } +}; + +export const OperationListResult: msRest.CompositeMapper = { + serializedName: "OperationListResult", + type: { + name: "Composite", + className: "OperationListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Operation" + } + } + } + } + } + } +}; + +export const WorkspaceListResult: msRest.CompositeMapper = { + serializedName: "WorkspaceListResult", + type: { + name: "Composite", + className: "WorkspaceListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Workspace" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; diff --git a/packages/@azure/arm-rediscache/lib/models/operationsMappers.ts b/packages/@azure/arm-workspaces/lib/models/operationsMappers.ts similarity index 96% rename from packages/@azure/arm-rediscache/lib/models/operationsMappers.ts rename to packages/@azure/arm-workspaces/lib/models/operationsMappers.ts index 2edcc577920e..715467ec9522 100644 --- a/packages/@azure/arm-rediscache/lib/models/operationsMappers.ts +++ b/packages/@azure/arm-workspaces/lib/models/operationsMappers.ts @@ -12,6 +12,6 @@ export { OperationListResult, Operation, OperationDisplay, - CloudError + ErrorResponse } from "../models/mappers"; diff --git a/packages/@azure/arm-workspaces/lib/models/parameters.ts b/packages/@azure/arm-workspaces/lib/models/parameters.ts new file mode 100644 index 000000000000..7ec9309bc59a --- /dev/null +++ b/packages/@azure/arm-workspaces/lib/models/parameters.ts @@ -0,0 +1,73 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; + +export const acceptLanguage: msRest.OperationParameter = { + parameterPath: "acceptLanguage", + mapper: { + serializedName: "accept-language", + defaultValue: 'en-US', + type: { + name: "String" + } + } +}; +export const apiVersion: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + serializedName: "api-version", + type: { + name: "String" + } + } +}; +export const nextPageLink: msRest.OperationURLParameter = { + parameterPath: "nextPageLink", + mapper: { + required: true, + serializedName: "nextLink", + type: { + name: "String" + } + }, + skipEncoding: true +}; +export const resourceGroupName: msRest.OperationURLParameter = { + parameterPath: "resourceGroupName", + mapper: { + required: true, + serializedName: "resourceGroupName", + type: { + name: "String" + } + } +}; +export const subscriptionId: msRest.OperationURLParameter = { + parameterPath: "subscriptionId", + mapper: { + required: true, + serializedName: "subscriptionId", + type: { + name: "String" + } + } +}; +export const workspaceName: msRest.OperationURLParameter = { + parameterPath: "workspaceName", + mapper: { + required: true, + serializedName: "workspaceName", + type: { + name: "String" + } + } +}; diff --git a/packages/@azure/arm-workspaces/lib/models/workspacesMappers.ts b/packages/@azure/arm-workspaces/lib/models/workspacesMappers.ts new file mode 100644 index 000000000000..7961193de7f1 --- /dev/null +++ b/packages/@azure/arm-workspaces/lib/models/workspacesMappers.ts @@ -0,0 +1,20 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export { + Workspace, + Resource, + BaseResource, + ErrorResponse, + WorkspaceUpdateParameters, + WorkspaceKeysResponse, + WorkspaceListResult +} from "../models/mappers"; + diff --git a/packages/@azure/arm-workspaces/lib/operations/index.ts b/packages/@azure/arm-workspaces/lib/operations/index.ts new file mode 100644 index 000000000000..9e639cda1d18 --- /dev/null +++ b/packages/@azure/arm-workspaces/lib/operations/index.ts @@ -0,0 +1,12 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export * from "./operations"; +export * from "./workspaces"; diff --git a/packages/@azure/arm-workspaces/lib/operations/operations.ts b/packages/@azure/arm-workspaces/lib/operations/operations.ts new file mode 100644 index 000000000000..a9b7901b15ea --- /dev/null +++ b/packages/@azure/arm-workspaces/lib/operations/operations.ts @@ -0,0 +1,74 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +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"; +import { MachineLearningWorkspacesManagementClientContext } from "../machineLearningWorkspacesManagementClientContext"; + +/** Class representing a Operations. */ +export class Operations { + private readonly client: MachineLearningWorkspacesManagementClientContext; + + /** + * Create a Operations. + * @param {MachineLearningWorkspacesManagementClientContext} client Reference to the service client. + */ + constructor(client: MachineLearningWorkspacesManagementClientContext) { + this.client = client; + } + + /** + * Lists all of the available Azure Machine Learning Studio REST API operations. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "providers/Microsoft.MachineLearning/operations", + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OperationListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/packages/@azure/arm-workspaces/lib/operations/workspaces.ts b/packages/@azure/arm-workspaces/lib/operations/workspaces.ts new file mode 100644 index 000000000000..a4b3fe2ff4c4 --- /dev/null +++ b/packages/@azure/arm-workspaces/lib/operations/workspaces.ts @@ -0,0 +1,609 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workspacesMappers"; +import * as Parameters from "../models/parameters"; +import { MachineLearningWorkspacesManagementClientContext } from "../machineLearningWorkspacesManagementClientContext"; + +/** Class representing a Workspaces. */ +export class Workspaces { + private readonly client: MachineLearningWorkspacesManagementClientContext; + + /** + * Create a Workspaces. + * @param {MachineLearningWorkspacesManagementClientContext} client Reference to the service client. + */ + constructor(client: MachineLearningWorkspacesManagementClientContext) { + this.client = client; + } + + /** + * Gets the properties of the specified machine learning workspace. + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param workspaceName The name of the machine learning workspace. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param workspaceName The name of the machine learning workspace. + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param workspaceName The name of the machine learning workspace. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates a workspace with the specified parameters. + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param workspaceName The name of the machine learning workspace. + * @param parameters The parameters for creating or updating a machine learning workspace. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.Workspace, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param workspaceName The name of the machine learning workspace. + * @param parameters The parameters for creating or updating a machine learning workspace. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.Workspace, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param workspaceName The name of the machine learning workspace. + * @param parameters The parameters for creating or updating a machine learning workspace. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.Workspace, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.Workspace, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Deletes a machine learning workspace. + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param workspaceName The name of the machine learning workspace. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param workspaceName The name of the machine learning workspace. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, workspaceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param workspaceName The name of the machine learning workspace. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Updates a machine learning workspace with the specified parameters. + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param workspaceName The name of the machine learning workspace. + * @param parameters The parameters for updating a machine learning workspace. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param workspaceName The name of the machine learning workspace. + * @param parameters The parameters for updating a machine learning workspace. + * @param callback The callback + */ + update(resourceGroupName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param workspaceName The name of the machine learning workspace. + * @param parameters The parameters for updating a machine learning workspace. + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, workspaceName: string, parameters: Models.WorkspaceUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + parameters, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Resync storage keys associated with this workspace. + * @param workspaceName The name of the machine learning workspace. + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param [options] The optional parameters + * @returns Promise + */ + resyncStorageKeys(workspaceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param workspaceName The name of the machine learning workspace. + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param callback The callback + */ + resyncStorageKeys(workspaceName: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param workspaceName The name of the machine learning workspace. + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param options The optional parameters + * @param callback The callback + */ + resyncStorageKeys(workspaceName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + resyncStorageKeys(workspaceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + workspaceName, + resourceGroupName, + options + }, + resyncStorageKeysOperationSpec, + callback); + } + + /** + * List the authorization keys associated with this workspace. + * @param workspaceName The name of the machine learning workspace. + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param [options] The optional parameters + * @returns Promise + */ + listWorkspaceKeys(workspaceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param workspaceName The name of the machine learning workspace. + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param callback The callback + */ + listWorkspaceKeys(workspaceName: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param workspaceName The name of the machine learning workspace. + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param options The optional parameters + * @param callback The callback + */ + listWorkspaceKeys(workspaceName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listWorkspaceKeys(workspaceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + workspaceName, + resourceGroupName, + options + }, + listWorkspaceKeysOperationSpec, + callback) as Promise; + } + + /** + * Lists all the available machine learning workspaces under the specified resource group. + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group to which the machine learning workspace + * belongs. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Lists all the available machine learning workspaces under the specified subscription. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Lists all the available machine learning workspaces under the specified resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } + + /** + * Lists all the available machine learning workspaces under the specified subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.Workspace + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.Workspace, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.Workspace + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.WorkspaceUpdateParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.Workspace + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const resyncStorageKeysOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/resyncStorageKeys", + urlParameters: [ + Parameters.subscriptionId, + Parameters.workspaceName, + Parameters.resourceGroupName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listWorkspaceKeysOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/listWorkspaceKeys", + urlParameters: [ + Parameters.subscriptionId, + Parameters.workspaceName, + Parameters.resourceGroupName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkspaceKeysResponse + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkspaceListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/workspaces", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkspaceListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkspaceListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkspaceListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/packages/@azure/arm-workspaces/package.json b/packages/@azure/arm-workspaces/package.json new file mode 100644 index 000000000000..4f04e36bdf27 --- /dev/null +++ b/packages/@azure/arm-workspaces/package.json @@ -0,0 +1,55 @@ +{ + "name": "@azure/arm-workspaces", + "author": "Microsoft Corporation", + "description": "MachineLearningWorkspacesManagementClient 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", + "tslib": "^1.9.3" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "license": "MIT", + "main": "./dist/arm-workspaces.js", + "module": "./esm/machineLearningWorkspacesManagementClient.js", + "types": "./esm/machineLearningWorkspacesManagementClient.d.ts", + "devDependencies": { + "typescript": "^3.1.1", + "rollup": "^0.66.2", + "rollup-plugin-node-resolve": "^3.4.0", + "uglify-js": "^3.4.9" + }, + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/packages/@azure/arm-workspaces", + "repository": { + "type": "git", + "url": "https://github.com/azure/azure-sdk-for-js.git" + }, + "bugs": { + "url": "https://github.com/azure/azure-sdk-for-js/issues" + }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], + "scripts": { + "build": "tsc && rollup -c rollup.config.js && npm run minify", + "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-workspaces.js.map'\" -o ./dist/arm-workspaces.min.js ./dist/arm-workspaces.js", + "prepack": "npm install && npm run build" + }, + "sideEffects": false +} diff --git a/packages/@azure/arm-workspaces/rollup.config.js b/packages/@azure/arm-workspaces/rollup.config.js new file mode 100644 index 000000000000..026f43803d48 --- /dev/null +++ b/packages/@azure/arm-workspaces/rollup.config.js @@ -0,0 +1,31 @@ +import nodeResolve from "rollup-plugin-node-resolve"; +/** + * @type {import('rollup').RollupFileOptions} + */ +const config = { + input: './esm/machineLearningWorkspacesManagementClient.js', + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + output: { + file: "./dist/arm-workspaces.js", + format: "umd", + name: "Azure.ArmWorkspaces", + sourcemap: true, + globals: { + "@azure/ms-rest-js": "msRest", + "@azure/ms-rest-azure-js": "msRestAzure" + }, + banner: `/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */` + }, + plugins: [ + nodeResolve({ module: true }) + ] +}; +export default config; diff --git a/packages/@azure/arm-workspaces/tsconfig.json b/packages/@azure/arm-workspaces/tsconfig.json new file mode 100644 index 000000000000..51ea90961ce5 --- /dev/null +++ b/packages/@azure/arm-workspaces/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "es6", + "moduleResolution": "node", + "strict": true, + "target": "es5", + "sourceMap": true, + "declarationMap": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "lib": ["es6"], + "declaration": true, + "outDir": "./esm", + "importHelpers": true + }, + "include": ["./lib/**/*.ts"], + "exclude": ["node_modules"] +} diff --git a/packages/@azure/batch/.npmignore b/packages/@azure/batch/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/batch/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/batch/README.md b/packages/@azure/batch/README.md index 4d9d74169989..59280be26b71 100644 --- a/packages/@azure/batch/README.md +++ b/packages/@azure/batch/README.md @@ -1,24 +1,34 @@ -# Azure BatchServiceClient SDK for JavaScript +## Azure BatchServiceClient SDK for JavaScript + This package contains an isomorphic SDK for BatchServiceClient. -## 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/batch ``` +### How to use + +#### nodejs - Authentication, client creation and list application as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and list application as an example written in TypeScript. +##### Sample code ```ts -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 { BatchServiceClient, BatchServiceModels, BatchServiceMappers } from "@azure/batch"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -38,7 +48,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list application as an example written in JavaScript. +#### browser - Authentication, client creation and list application as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -47,11 +66,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/batch 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/batch/lib/batchServiceClient.ts b/packages/@azure/batch/lib/batchServiceClient.ts index 252834ec1ff6..3c072681bf74 100644 --- a/packages/@azure/batch/lib/batchServiceClient.ts +++ b/packages/@azure/batch/lib/batchServiceClient.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/batch/lib/batchServiceClientContext.ts b/packages/@azure/batch/lib/batchServiceClientContext.ts index cd2e9259b88d..8a5f3c08e362 100644 --- a/packages/@azure/batch/lib/batchServiceClientContext.ts +++ b/packages/@azure/batch/lib/batchServiceClientContext.ts @@ -9,21 +9,15 @@ */ 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/batch"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class BatchServiceClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the BatchServiceClient class. @@ -38,6 +32,11 @@ export class BatchServiceClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-08-01.7.0'; @@ -47,7 +46,6 @@ export class BatchServiceClientContext extends msRestAzure.AzureServiceClient { this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/batch/lib/models/index.ts b/packages/@azure/batch/lib/models/index.ts index 470f56c332fc..0c25f5051f41 100644 --- a/packages/@azure/batch/lib/models/index.ts +++ b/packages/@azure/batch/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -14354,16 +14354,7 @@ export interface ComputeNodeListResult extends Array { * @readonly * @enum {string} */ -export enum OSType { - /** - * The Linux operating system. - */ - Linux = 'linux', - /** - * The Windows operating system. - */ - Windows = 'windows', -} +export type OSType = 'linux' | 'windows'; /** * Defines values for AccessScope. @@ -14371,12 +14362,7 @@ export enum OSType { * @readonly * @enum {string} */ -export enum AccessScope { - /** - * Grants access to perform all operations on the job containing the task. - */ - Job = 'job', -} +export type AccessScope = 'job'; /** * Defines values for CertificateState. @@ -14384,28 +14370,7 @@ export enum AccessScope { * @readonly * @enum {string} */ -export enum CertificateState { - /** - * The certificate is available for use in pools. - */ - Active = 'active', - /** - * The user has requested that the certificate be deleted, but the delete - * operation has not yet completed. You may not reference the certificate - * when creating or updating pools. - */ - Deleting = 'deleting', - /** - * The user requested that the certificate be deleted, but there are pools - * that still have references to the certificate, or it is still installed on - * one or more compute nodes. (The latter can occur if the certificate has - * been removed from the pool, but the node has not yet restarted. Nodes - * refresh their certificates only when they restart.) You may use the cancel - * certificate delete operation to cancel the delete, or the delete - * certificate operation to retry the delete. - */ - DeleteFailed = 'deletefailed', -} +export type CertificateState = 'active' | 'deleting' | 'deletefailed'; /** * Defines values for CertificateFormat. @@ -14413,17 +14378,7 @@ export enum CertificateState { * @readonly * @enum {string} */ -export enum CertificateFormat { - /** - * The certificate is a PFX (PKCS#12) formatted certificate or certificate - * chain. - */ - Pfx = 'pfx', - /** - * The certificate is a base64-encoded X.509 certificate. - */ - Cer = 'cer', -} +export type CertificateFormat = 'pfx' | 'cer'; /** * Defines values for JobAction. @@ -14431,22 +14386,7 @@ export enum CertificateFormat { * @readonly * @enum {string} */ -export enum JobAction { - /** - * Take no action. - */ - None = 'none', - /** - * Disable the job. This is equivalent to calling the disable job API, with a - * disableTasks value of requeue. - */ - Disable = 'disable', - /** - * Terminate the job. The terminateReason in the job's executionInfo is set - * to "TaskFailed". - */ - Terminate = 'terminate', -} +export type JobAction = 'none' | 'disable' | 'terminate'; /** * Defines values for DependencyAction. @@ -14454,16 +14394,7 @@ export enum JobAction { * @readonly * @enum {string} */ -export enum DependencyAction { - /** - * Satisfy the task's dependencies. - */ - Satisfy = 'satisfy', - /** - * Block the task's dependencies. - */ - Block = 'block', -} +export type DependencyAction = 'satisfy' | 'block'; /** * Defines values for AutoUserScope. @@ -14471,17 +14402,7 @@ export enum DependencyAction { * @readonly * @enum {string} */ -export enum AutoUserScope { - /** - * Specifies that the service should create a new user for the task. - */ - Task = 'task', - /** - * Specifies that the task runs as the common auto user account which is - * created on every node in a pool. - */ - Pool = 'pool', -} +export type AutoUserScope = 'task' | 'pool'; /** * Defines values for ElevationLevel. @@ -14489,17 +14410,7 @@ export enum AutoUserScope { * @readonly * @enum {string} */ -export enum ElevationLevel { - /** - * The user is a standard user without elevated access. - */ - NonAdmin = 'nonadmin', - /** - * The user is a user with elevated access and operates with full - * Administrator permissions. - */ - Admin = 'admin', -} +export type ElevationLevel = 'nonadmin' | 'admin'; /** * Defines values for OutputFileUploadCondition. @@ -14507,23 +14418,7 @@ export enum ElevationLevel { * @readonly * @enum {string} */ -export enum OutputFileUploadCondition { - /** - * Upload the file(s) only after the task process exits with an exit code of - * 0. - */ - TaskSuccess = 'tasksuccess', - /** - * Upload the file(s) only after the task process exits with a nonzero exit - * code. - */ - TaskFailure = 'taskfailure', - /** - * Upload the file(s) after the task process exits, no matter what the exit - * code was. - */ - TaskCompletion = 'taskcompletion', -} +export type OutputFileUploadCondition = 'tasksuccess' | 'taskfailure' | 'taskcompletion'; /** * Defines values for ComputeNodeFillType. @@ -14531,18 +14426,7 @@ export enum OutputFileUploadCondition { * @readonly * @enum {string} */ -export enum ComputeNodeFillType { - /** - * Tasks should be assigned evenly across all nodes in the pool. - */ - Spread = 'spread', - /** - * As many tasks as possible (maxTasksPerNode) should be assigned to each - * node in the pool before any tasks are assigned to the next node in the - * pool. - */ - Pack = 'pack', -} +export type ComputeNodeFillType = 'spread' | 'pack'; /** * Defines values for CertificateStoreLocation. @@ -14550,16 +14434,7 @@ export enum ComputeNodeFillType { * @readonly * @enum {string} */ -export enum CertificateStoreLocation { - /** - * Certificates should be installed to the CurrentUser certificate store. - */ - CurrentUser = 'currentuser', - /** - * Certificates should be installed to the LocalMachine certificate store. - */ - LocalMachine = 'localmachine', -} +export type CertificateStoreLocation = 'currentuser' | 'localmachine'; /** * Defines values for CertificateVisibility. @@ -14567,23 +14442,7 @@ export enum CertificateStoreLocation { * @readonly * @enum {string} */ -export enum CertificateVisibility { - /** - * The certificate should be visible to the user account under which the - * start task is run. - */ - StartTask = 'starttask', - /** - * The certificate should be visibile to the user accounts under which job - * tasks are run. - */ - Task = 'task', - /** - * The certificate should be visibile to the user accounts under which users - * remotely access the node. - */ - RemoteUser = 'remoteuser', -} +export type CertificateVisibility = 'starttask' | 'task' | 'remoteuser'; /** * Defines values for CachingType. @@ -14591,20 +14450,7 @@ export enum CertificateVisibility { * @readonly * @enum {string} */ -export enum CachingType { - /** - * The caching mode for the disk is not enabled. - */ - None = 'none', - /** - * The caching mode for the disk is read only. - */ - ReadOnly = 'readonly', - /** - * The caching mode for the disk is read and write. - */ - ReadWrite = 'readwrite', -} +export type CachingType = 'none' | 'readonly' | 'readwrite'; /** * Defines values for StorageAccountType. @@ -14612,16 +14458,7 @@ export enum CachingType { * @readonly * @enum {string} */ -export enum StorageAccountType { - /** - * The data disk should use standard locally redundant storage. - */ - StandardLRS = 'standard_lrs', - /** - * The data disk should use premium locally redundant storage. - */ - PremiumLRS = 'premium_lrs', -} +export type StorageAccountType = 'standard_lrs' | 'premium_lrs'; /** * Defines values for InboundEndpointProtocol. @@ -14629,16 +14466,7 @@ export enum StorageAccountType { * @readonly * @enum {string} */ -export enum InboundEndpointProtocol { - /** - * Use TCP for the endpoint. - */ - Tcp = 'tcp', - /** - * Use UDP for the endpoint. - */ - Udp = 'udp', -} +export type InboundEndpointProtocol = 'tcp' | 'udp'; /** * Defines values for NetworkSecurityGroupRuleAccess. @@ -14646,16 +14474,7 @@ export enum InboundEndpointProtocol { * @readonly * @enum {string} */ -export enum NetworkSecurityGroupRuleAccess { - /** - * Allow access. - */ - Allow = 'allow', - /** - * Deny access. - */ - Deny = 'deny', -} +export type NetworkSecurityGroupRuleAccess = 'allow' | 'deny'; /** * Defines values for PoolLifetimeOption. @@ -14663,21 +14482,7 @@ export enum NetworkSecurityGroupRuleAccess { * @readonly * @enum {string} */ -export enum PoolLifetimeOption { - /** - * The pool exists for the lifetime of the job schedule. The Batch Service - * creates the pool when it creates the first job on the schedule. You may - * apply this option only to job schedules, not to jobs. - */ - JobSchedule = 'jobschedule', - /** - * The pool exists for the lifetime of the job to which it is dedicated. The - * Batch service creates the pool when it creates the job. If the 'job' - * option is applied to a job schedule, the Batch service creates a new auto - * pool for every job created on the schedule. - */ - Job = 'job', -} +export type PoolLifetimeOption = 'jobschedule' | 'job'; /** * Defines values for OnAllTasksComplete. @@ -14685,17 +14490,7 @@ export enum PoolLifetimeOption { * @readonly * @enum {string} */ -export enum OnAllTasksComplete { - /** - * Do nothing. The job remains active unless terminated or disabled by some - * other means. - */ - NoAction = 'noaction', - /** - * Terminate the job. The job's terminateReason is set to 'AllTasksComplete'. - */ - TerminateJob = 'terminatejob', -} +export type OnAllTasksComplete = 'noaction' | 'terminatejob'; /** * Defines values for OnTaskFailure. @@ -14703,59 +14498,15 @@ export enum OnAllTasksComplete { * @readonly * @enum {string} */ -export enum OnTaskFailure { - /** - * Do nothing. The job remains active unless terminated or disabled by some - * other means. - */ - NoAction = 'noaction', - /** - * Take the action associated with the task exit condition in the task's - * exitConditions collection. (This may still result in no action being - * taken, if that is what the task specifies.) - */ - PerformExitOptionsJobAction = 'performexitoptionsjobaction', -} +export type OnTaskFailure = 'noaction' | 'performexitoptionsjobaction'; /** * Defines values for JobScheduleState. - * Possible values include: 'active', 'completed', 'disabled', 'terminating', - * 'deleting' + * Possible values include: 'active', 'completed', 'disabled', 'terminating', 'deleting' * @readonly * @enum {string} */ -export enum JobScheduleState { - /** - * The job schedule is active and will create jobs as per its schedule. - */ - Active = 'active', - /** - * The schedule has terminated, either by reaching its end time or by the - * user terminating it explicitly. - */ - Completed = 'completed', - /** - * The user has disabled the schedule. The scheduler will not initiate any - * new jobs will on this schedule, but any existing active job will continue - * to run. - */ - Disabled = 'disabled', - /** - * The schedule has no more work to do, or has been explicitly terminated by - * the user, but the termination operation is still in progress. The - * scheduler will not initiate any new jobs for this schedule, nor is any - * existing job active. - */ - Terminating = 'terminating', - /** - * The user has requested that the schedule be deleted, but the delete - * operation is still in progress. The scheduler will not initiate any new - * jobs for this schedule, and will delete any existing jobs and tasks under - * the schedule, including any active job. The schedule will be deleted when - * all jobs and tasks under the schedule have been deleted. - */ - Deleting = 'deleting', -} +export type JobScheduleState = 'active' | 'completed' | 'disabled' | 'terminating' | 'deleting'; /** * Defines values for ErrorCategory. @@ -14763,63 +14514,16 @@ export enum JobScheduleState { * @readonly * @enum {string} */ -export enum ErrorCategory { - /** - * The error is due to a user issue, such as misconfiguration. - */ - UserError = 'usererror', - /** - * The error is due to an internal server issue. - */ - ServerError = 'servererror', -} +export type ErrorCategory = 'usererror' | 'servererror'; /** * Defines values for JobState. - * Possible values include: 'active', 'disabling', 'disabled', 'enabling', - * 'terminating', 'completed', 'deleting' + * Possible values include: 'active', 'disabling', 'disabled', 'enabling', 'terminating', + * 'completed', 'deleting' * @readonly * @enum {string} */ -export enum JobState { - /** - * The job is available to have tasks scheduled. - */ - Active = 'active', - /** - * A user has requested that the job be disabled, but the disable operation - * is still in progress (for example, waiting for tasks to terminate). - */ - Disabling = 'disabling', - /** - * A user has disabled the job. No tasks are running, and no new tasks will - * be scheduled. - */ - Disabled = 'disabled', - /** - * A user has requested that the job be enabled, but the enable operation is - * still in progress. - */ - Enabling = 'enabling', - /** - * The job is about to complete, either because a Job Manager task has - * completed or because the user has terminated the job, but the terminate - * operation is still in progress (for example, because Job Release tasks are - * running). - */ - Terminating = 'terminating', - /** - * All tasks have terminated, and the system will not accept any more tasks - * or any further changes to the job. - */ - Completed = 'completed', - /** - * A user has requested that the job be deleted, but the delete operation is - * still in progress (for example, because the system is still terminating - * running tasks). - */ - Deleting = 'deleting', -} +export type JobState = 'active' | 'disabling' | 'disabled' | 'enabling' | 'terminating' | 'completed' | 'deleting'; /** * Defines values for JobPreparationTaskState. @@ -14827,18 +14531,7 @@ export enum JobState { * @readonly * @enum {string} */ -export enum JobPreparationTaskState { - /** - * The task is currently running (including retrying). - */ - Running = 'running', - /** - * The task has exited with exit code 0, or the task has exhausted its retry - * limit, or the Batch service was unable to start the task due to task - * preparation errors (such as resource file download failures). - */ - Completed = 'completed', -} +export type JobPreparationTaskState = 'running' | 'completed'; /** * Defines values for TaskExecutionResult. @@ -14846,18 +14539,7 @@ export enum JobPreparationTaskState { * @readonly * @enum {string} */ -export enum TaskExecutionResult { - /** - * The task ran successfully. - */ - Success = 'success', - /** - * There was an error during processing of the task. The failure may have - * occurred before the task process was launched, while the task process was - * executing, or after the task process exited. - */ - Failure = 'failure', -} +export type TaskExecutionResult = 'success' | 'failure'; /** * Defines values for JobReleaseTaskState. @@ -14865,18 +14547,7 @@ export enum TaskExecutionResult { * @readonly * @enum {string} */ -export enum JobReleaseTaskState { - /** - * The task is currently running (including retrying). - */ - Running = 'running', - /** - * The task has exited with exit code 0, or the task has exhausted its retry - * limit, or the Batch service was unable to start the task due to task - * preparation errors (such as resource file download failures). - */ - Completed = 'completed', -} +export type JobReleaseTaskState = 'running' | 'completed'; /** * Defines values for PoolState. @@ -14884,26 +14555,7 @@ export enum JobReleaseTaskState { * @readonly * @enum {string} */ -export enum PoolState { - /** - * The pool is available to run tasks subject to the availability of compute - * nodes. - */ - Active = 'active', - /** - * The user has requested that the pool be deleted, but the delete operation - * has not yet completed. - */ - Deleting = 'deleting', - /** - * The user has requested that the operating system of the pool's nodes be - * upgraded, but the upgrade operation has not yet completed (that is, some - * nodes in the pool have not yet been upgraded). While upgrading, the pool - * may be able to run tasks (with reduced capacity) but this is not - * guaranteed. - */ - Upgrading = 'upgrading', -} +export type PoolState = 'active' | 'deleting' | 'upgrading'; /** * Defines values for AllocationState. @@ -14911,25 +14563,7 @@ export enum PoolState { * @readonly * @enum {string} */ -export enum AllocationState { - /** - * The pool is not resizing. There are no changes to the number of nodes in - * the pool in progress. A pool enters this state when it is created and when - * no operations are being performed on the pool to change the number of - * nodes. - */ - Steady = 'steady', - /** - * The pool is resizing; that is, compute nodes are being added to or removed - * from the pool. - */ - Resizing = 'resizing', - /** - * The pool was resizing, but the user has requested that the resize be - * stopped, but the stop request has not yet been completed. - */ - Stopping = 'stopping', -} +export type AllocationState = 'steady' | 'resizing' | 'stopping'; /** * Defines values for TaskState. @@ -14937,37 +14571,7 @@ export enum AllocationState { * @readonly * @enum {string} */ -export enum TaskState { - /** - * The task is queued and able to run, but is not currently assigned to a - * compute node. A task enters this state when it is created, when it is - * enabled after being disabled, or when it is awaiting a retry after a - * failed run. - */ - Active = 'active', - /** - * The task has been assigned to a compute node, but is waiting for a - * required Job Preparation task to complete on the node. If the Job - * Preparation task succeeds, the task will move to running. If the Job - * Preparation task fails, the task will return to active and will be - * eligible to be assigned to a different node. - */ - Preparing = 'preparing', - /** - * The task is running on a compute node. This includes task-level - * preparation such as downloading resource files or deploying application - * packages specified on the task - it does not necessarily mean that the - * task command line has started executing. - */ - Running = 'running', - /** - * The task is no longer eligible to run, usually because the task has - * finished successfully, or the task has finished unsuccessfully and has - * exhausted its retry limit. A task is also marked as completed if an error - * occurred launching the task, or when the task has been terminated. - */ - Completed = 'completed', -} +export type TaskState = 'active' | 'preparing' | 'running' | 'completed'; /** * Defines values for TaskAddStatus. @@ -14975,22 +14579,7 @@ export enum TaskState { * @readonly * @enum {string} */ -export enum TaskAddStatus { - /** - * The task was added successfully. - */ - Success = 'success', - /** - * The task failed to add due to a client error and should not be retried - * without modifying the request as appropriate. - */ - ClientError = 'clienterror', - /** - * Task failed to add due to a server error and can be retried without - * modification. - */ - ServerError = 'servererror', -} +export type TaskAddStatus = 'success' | 'clienterror' | 'servererror'; /** * Defines values for SubtaskState. @@ -14998,30 +14587,7 @@ export enum TaskAddStatus { * @readonly * @enum {string} */ -export enum SubtaskState { - /** - * The task has been assigned to a compute node, but is waiting for a - * required Job Preparation task to complete on the node. If the Job - * Preparation task succeeds, the task will move to running. If the Job - * Preparation task fails, the task will return to active and will be - * eligible to be assigned to a different node. - */ - Preparing = 'preparing', - /** - * The task is running on a compute node. This includes task-level - * preparation such as downloading resource files or deploying application - * packages specified on the task - it does not necessarily mean that the - * task command line has started executing. - */ - Running = 'running', - /** - * The task is no longer eligible to run, usually because the task has - * finished successfully, or the task has finished unsuccessfully and has - * exhausted its retry limit. A task is also marked as completed if an error - * occurred launching the task, or when the task has been terminated. - */ - Completed = 'completed', -} +export type SubtaskState = 'preparing' | 'running' | 'completed'; /** * Defines values for StartTaskState. @@ -15029,89 +14595,17 @@ export enum SubtaskState { * @readonly * @enum {string} */ -export enum StartTaskState { - /** - * The start task is currently running. - */ - Running = 'running', - /** - * The start task has exited with exit code 0, or the start task has failed - * and the retry limit has reached, or the start task process did not run due - * to task preparation errors (such as resource file download failures). - */ - Completed = 'completed', -} +export type StartTaskState = 'running' | 'completed'; /** * Defines values for ComputeNodeState. - * Possible values include: 'idle', 'rebooting', 'reimaging', 'running', - * 'unusable', 'creating', 'starting', 'waitingForStartTask', - * 'startTaskFailed', 'unknown', 'leavingPool', 'offline', 'preempted' + * Possible values include: 'idle', 'rebooting', 'reimaging', 'running', 'unusable', 'creating', + * 'starting', 'waitingForStartTask', 'startTaskFailed', 'unknown', 'leavingPool', 'offline', + * 'preempted' * @readonly * @enum {string} */ -export enum ComputeNodeState { - /** - * The node is not currently running a task. - */ - Idle = 'idle', - /** - * The node is rebooting. - */ - Rebooting = 'rebooting', - /** - * The node is reimaging. - */ - Reimaging = 'reimaging', - /** - * The node is running one or more tasks (other than a start task). - */ - Running = 'running', - /** - * The node cannot be used for task execution due to errors. - */ - Unusable = 'unusable', - /** - * The Batch service has obtained the underlying virtual machine from Azure - * Compute, but it has not yet started to join the pool. - */ - Creating = 'creating', - /** - * The Batch service is starting on the underlying virtual machine. - */ - Starting = 'starting', - /** - * The start task has started running on the compute node, but waitForSuccess - * is set and the start task has not yet completed. - */ - WaitingForStartTask = 'waitingforstarttask', - /** - * The start task has failed on the compute node (and exhausted all retries), - * and waitForSuccess is set. The node is not usable for running tasks. - */ - StartTaskFailed = 'starttaskfailed', - /** - * The Batch service has lost contact with the node, and does not know its - * true state. - */ - Unknown = 'unknown', - /** - * The node is leaving the pool, either because the user explicitly removed - * it or because the pool is resizing or autoscaling down. - */ - LeavingPool = 'leavingpool', - /** - * The node is not currently running a task, and scheduling of new tasks to - * the node is disabled. - */ - Offline = 'offline', - /** - * The low-priority node has been preempted. Tasks which were running on the - * node when it was pre-empted will be rescheduled when another node becomes - * available. - */ - Preempted = 'preempted', -} +export type ComputeNodeState = 'idle' | 'rebooting' | 'reimaging' | 'running' | 'unusable' | 'creating' | 'starting' | 'waitingforstarttask' | 'starttaskfailed' | 'unknown' | 'leavingpool' | 'offline' | 'preempted'; /** * Defines values for SchedulingState. @@ -15119,17 +14613,7 @@ export enum ComputeNodeState { * @readonly * @enum {string} */ -export enum SchedulingState { - /** - * Tasks can be scheduled on the node. - */ - Enabled = 'enabled', - /** - * No new tasks will be scheduled on the node. Tasks already running on the - * node may still run to completion. All nodes start with scheduling enabled. - */ - Disabled = 'disabled', -} +export type SchedulingState = 'enabled' | 'disabled'; /** * Defines values for DisableJobOption. @@ -15137,121 +14621,31 @@ export enum SchedulingState { * @readonly * @enum {string} */ -export enum DisableJobOption { - /** - * Terminate running tasks and requeue them. The tasks will run again when - * the job is enabled. - */ - Requeue = 'requeue', - /** - * Terminate running tasks. The tasks will be completed with failureInfo - * indicating that they were terminated, and will not run again. - */ - Terminate = 'terminate', - /** - * Allow currently running tasks to complete. - */ - Wait = 'wait', -} +export type DisableJobOption = 'requeue' | 'terminate' | 'wait'; /** * Defines values for ComputeNodeDeallocationOption. - * Possible values include: 'requeue', 'terminate', 'taskCompletion', - * 'retainedData' + * Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData' * @readonly * @enum {string} */ -export enum ComputeNodeDeallocationOption { - /** - * Terminate running task processes and requeue the tasks. The tasks will run - * again when a node is available. Remove nodes as soon as tasks have been - * terminated. - */ - Requeue = 'requeue', - /** - * Terminate running tasks. The tasks will be completed with failureInfo - * indicating that they were terminated, and will not run again. Remove nodes - * as soon as tasks have been terminated. - */ - Terminate = 'terminate', - /** - * Allow currently running tasks to complete. Schedule no new tasks while - * waiting. Remove nodes when all tasks have completed. - */ - TaskCompletion = 'taskcompletion', - /** - * Allow currently running tasks to complete, then wait for all task data - * retention periods to expire. Schedule no new tasks while waiting. Remove - * nodes when all task retention periods have expired. - */ - RetainedData = 'retaineddata', -} +export type ComputeNodeDeallocationOption = 'requeue' | 'terminate' | 'taskcompletion' | 'retaineddata'; /** * Defines values for ComputeNodeRebootOption. - * Possible values include: 'requeue', 'terminate', 'taskCompletion', - * 'retainedData' + * Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData' * @readonly * @enum {string} */ -export enum ComputeNodeRebootOption { - /** - * Terminate running task processes and requeue the tasks. The tasks will run - * again when a node is available. Restart the node as soon as tasks have - * been terminated. - */ - Requeue = 'requeue', - /** - * Terminate running tasks. The tasks will be completed with failureInfo - * indicating that they were terminated, and will not run again. Restart the - * node as soon as tasks have been terminated. - */ - Terminate = 'terminate', - /** - * Allow currently running tasks to complete. Schedule no new tasks while - * waiting. Restart the node when all tasks have completed. - */ - TaskCompletion = 'taskcompletion', - /** - * Allow currently running tasks to complete, then wait for all task data - * retention periods to expire. Schedule no new tasks while waiting. Restart - * the node when all task retention periods have expired. - */ - RetainedData = 'retaineddata', -} +export type ComputeNodeRebootOption = 'requeue' | 'terminate' | 'taskcompletion' | 'retaineddata'; /** * Defines values for ComputeNodeReimageOption. - * Possible values include: 'requeue', 'terminate', 'taskCompletion', - * 'retainedData' + * Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData' * @readonly * @enum {string} */ -export enum ComputeNodeReimageOption { - /** - * Terminate running task processes and requeue the tasks. The tasks will run - * again when a node is available. Reimage the node as soon as tasks have - * been terminated. - */ - Requeue = 'requeue', - /** - * Terminate running tasks. The tasks will be completed with failureInfo - * indicating that they were terminated, and will not run again. Reimage the - * node as soon as tasks have been terminated. - */ - Terminate = 'terminate', - /** - * Allow currently running tasks to complete. Schedule no new tasks while - * waiting. Reimage the node when all tasks have completed. - */ - TaskCompletion = 'taskcompletion', - /** - * Allow currently running tasks to complete, then wait for all task data - * retention periods to expire. Schedule no new tasks while waiting. Reimage - * the node when all task retention periods have expired. - */ - RetainedData = 'retaineddata', -} +export type ComputeNodeReimageOption = 'requeue' | 'terminate' | 'taskcompletion' | 'retaineddata'; /** * Defines values for DisableComputeNodeSchedulingOption. @@ -15259,25 +14653,7 @@ export enum ComputeNodeReimageOption { * @readonly * @enum {string} */ -export enum DisableComputeNodeSchedulingOption { - /** - * Terminate running task processes and requeue the tasks. The tasks may run - * again on other compute nodes, or when task scheduling is re-enabled on - * this node. Enter offline state as soon as tasks have been terminated. - */ - Requeue = 'requeue', - /** - * Terminate running tasks. The tasks will be completed with failureInfo - * indicating that they were terminated, and will not run again. Enter - * offline state as soon as tasks have been terminated. - */ - Terminate = 'terminate', - /** - * Allow currently running tasks to complete. Schedule no new tasks while - * waiting. Enter offline state when all tasks have completed. - */ - TaskCompletion = 'taskcompletion', -} +export type DisableComputeNodeSchedulingOption = 'requeue' | 'terminate' | 'taskcompletion'; /** * Contains response data for the list operation. diff --git a/packages/@azure/batch/lib/models/mappers.ts b/packages/@azure/batch/lib/models/mappers.ts index 03748c629125..cb5e1fdd584d 100644 --- a/packages/@azure/batch/lib/models/mappers.ts +++ b/packages/@azure/batch/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/batch/lib/models/parameters.ts b/packages/@azure/batch/lib/models/parameters.ts index 1182523115a8..c51942fbfcc3 100644 --- a/packages/@azure/batch/lib/models/parameters.ts +++ b/packages/@azure/batch/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/batch/lib/operations/account.ts b/packages/@azure/batch/lib/operations/account.ts index 8bbbfb911578..94e2823d5602 100644 --- a/packages/@azure/batch/lib/operations/account.ts +++ b/packages/@azure/batch/lib/operations/account.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/accountMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class Account { * @param callback The callback */ listNodeAgentSkus(options: Models.AccountListNodeAgentSkusOptionalParams, callback: msRest.ServiceCallback): void; - listNodeAgentSkus(options?: Models.AccountListNodeAgentSkusOptionalParams, callback?: msRest.ServiceCallback): Promise { + listNodeAgentSkus(options?: Models.AccountListNodeAgentSkusOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -65,7 +65,7 @@ export class Account { * @param callback The callback */ listPoolNodeCounts(options: Models.AccountListPoolNodeCountsOptionalParams, callback: msRest.ServiceCallback): void; - listPoolNodeCounts(options?: Models.AccountListPoolNodeCountsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listPoolNodeCounts(options?: Models.AccountListPoolNodeCountsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -92,7 +92,7 @@ export class Account { * @param callback The callback */ listNodeAgentSkusNext(nextPageLink: string, options: Models.AccountListNodeAgentSkusNextOptionalParams, callback: msRest.ServiceCallback): void; - listNodeAgentSkusNext(nextPageLink: string, options?: Models.AccountListNodeAgentSkusNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listNodeAgentSkusNext(nextPageLink: string, options?: Models.AccountListNodeAgentSkusNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -120,7 +120,7 @@ export class Account { * @param callback The callback */ listPoolNodeCountsNext(nextPageLink: string, options: Models.AccountListPoolNodeCountsNextOptionalParams, callback: msRest.ServiceCallback): void; - listPoolNodeCountsNext(nextPageLink: string, options?: Models.AccountListPoolNodeCountsNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listPoolNodeCountsNext(nextPageLink: string, options?: Models.AccountListPoolNodeCountsNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/batch/lib/operations/application.ts b/packages/@azure/batch/lib/operations/application.ts index 20f433aa602b..73ecd2fc69b2 100644 --- a/packages/@azure/batch/lib/operations/application.ts +++ b/packages/@azure/batch/lib/operations/application.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/applicationMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Application { * @param callback The callback */ list(options: Models.ApplicationListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.ApplicationListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.ApplicationListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -76,7 +76,7 @@ export class Application { * @param callback The callback */ get(applicationId: string, options: Models.ApplicationGetOptionalParams, callback: msRest.ServiceCallback): void; - get(applicationId: string, options?: Models.ApplicationGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(applicationId: string, options?: Models.ApplicationGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applicationId, @@ -108,7 +108,7 @@ export class Application { * @param callback The callback */ listNext(nextPageLink: string, options: Models.ApplicationListNextOptionalParams, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: Models.ApplicationListNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: Models.ApplicationListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/batch/lib/operations/certificateOperations.ts b/packages/@azure/batch/lib/operations/certificateOperations.ts index bd4a1a13b3a5..7ebcd1487746 100644 --- a/packages/@azure/batch/lib/operations/certificateOperations.ts +++ b/packages/@azure/batch/lib/operations/certificateOperations.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/certificateOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class CertificateOperations { * @param callback The callback */ add(certificate: Models.CertificateAddParameter, options: Models.CertificateAddOptionalParams, callback: msRest.ServiceCallback): void; - add(certificate: Models.CertificateAddParameter, options?: Models.CertificateAddOptionalParams, callback?: msRest.ServiceCallback): Promise { + add(certificate: Models.CertificateAddParameter, options?: Models.CertificateAddOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { certificate, @@ -69,7 +69,7 @@ export class CertificateOperations { * @param callback The callback */ list(options: Models.CertificateListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.CertificateListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.CertificateListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -108,7 +108,7 @@ export class CertificateOperations { * @param callback The callback */ cancelDeletion(thumbprintAlgorithm: string, thumbprint: string, options: Models.CertificateCancelDeletionOptionalParams, callback: msRest.ServiceCallback): void; - cancelDeletion(thumbprintAlgorithm: string, thumbprint: string, options?: Models.CertificateCancelDeletionOptionalParams, callback?: msRest.ServiceCallback): Promise { + cancelDeletion(thumbprintAlgorithm: string, thumbprint: string, options?: Models.CertificateCancelDeletionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { thumbprintAlgorithm, @@ -151,7 +151,7 @@ export class CertificateOperations { * @param callback The callback */ deleteMethod(thumbprintAlgorithm: string, thumbprint: string, options: Models.CertificateDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(thumbprintAlgorithm: string, thumbprint: string, options?: Models.CertificateDeleteMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteMethod(thumbprintAlgorithm: string, thumbprint: string, options?: Models.CertificateDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { thumbprintAlgorithm, @@ -186,7 +186,7 @@ export class CertificateOperations { * @param callback The callback */ get(thumbprintAlgorithm: string, thumbprint: string, options: Models.CertificateGetOptionalParams, callback: msRest.ServiceCallback): void; - get(thumbprintAlgorithm: string, thumbprint: string, options?: Models.CertificateGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(thumbprintAlgorithm: string, thumbprint: string, options?: Models.CertificateGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { thumbprintAlgorithm, @@ -215,7 +215,7 @@ export class CertificateOperations { * @param callback The callback */ listNext(nextPageLink: string, options: Models.CertificateListNextOptionalParams, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: Models.CertificateListNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: Models.CertificateListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/batch/lib/operations/computeNodeOperations.ts b/packages/@azure/batch/lib/operations/computeNodeOperations.ts index bbe6a0fd7382..66ad872e10e3 100644 --- a/packages/@azure/batch/lib/operations/computeNodeOperations.ts +++ b/packages/@azure/batch/lib/operations/computeNodeOperations.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/computeNodeOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class ComputeNodeOperations { * @param callback The callback */ addUser(poolId: string, nodeId: string, user: Models.ComputeNodeUser, options: Models.ComputeNodeAddUserOptionalParams, callback: msRest.ServiceCallback): void; - addUser(poolId: string, nodeId: string, user: Models.ComputeNodeUser, options?: Models.ComputeNodeAddUserOptionalParams, callback?: msRest.ServiceCallback): Promise { + addUser(poolId: string, nodeId: string, user: Models.ComputeNodeUser, options?: Models.ComputeNodeAddUserOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -88,7 +88,7 @@ export class ComputeNodeOperations { * @param callback The callback */ deleteUser(poolId: string, nodeId: string, userName: string, options: Models.ComputeNodeDeleteUserOptionalParams, callback: msRest.ServiceCallback): void; - deleteUser(poolId: string, nodeId: string, userName: string, options?: Models.ComputeNodeDeleteUserOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteUser(poolId: string, nodeId: string, userName: string, options?: Models.ComputeNodeDeleteUserOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -132,7 +132,7 @@ export class ComputeNodeOperations { * @param callback The callback */ updateUser(poolId: string, nodeId: string, userName: string, nodeUpdateUserParameter: Models.NodeUpdateUserParameter, options: Models.ComputeNodeUpdateUserOptionalParams, callback: msRest.ServiceCallback): void; - updateUser(poolId: string, nodeId: string, userName: string, nodeUpdateUserParameter: Models.NodeUpdateUserParameter, options?: Models.ComputeNodeUpdateUserOptionalParams, callback?: msRest.ServiceCallback): Promise { + updateUser(poolId: string, nodeId: string, userName: string, nodeUpdateUserParameter: Models.NodeUpdateUserParameter, options?: Models.ComputeNodeUpdateUserOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -166,7 +166,7 @@ export class ComputeNodeOperations { * @param callback The callback */ get(poolId: string, nodeId: string, options: Models.ComputeNodeGetOptionalParams, callback: msRest.ServiceCallback): void; - get(poolId: string, nodeId: string, options?: Models.ComputeNodeGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(poolId: string, nodeId: string, options?: Models.ComputeNodeGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -199,7 +199,7 @@ export class ComputeNodeOperations { * @param callback The callback */ reboot(poolId: string, nodeId: string, options: Models.ComputeNodeRebootOptionalParams, callback: msRest.ServiceCallback): void; - reboot(poolId: string, nodeId: string, options?: Models.ComputeNodeRebootOptionalParams, callback?: msRest.ServiceCallback): Promise { + reboot(poolId: string, nodeId: string, options?: Models.ComputeNodeRebootOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -233,7 +233,7 @@ export class ComputeNodeOperations { * @param callback The callback */ reimage(poolId: string, nodeId: string, options: Models.ComputeNodeReimageOptionalParams, callback: msRest.ServiceCallback): void; - reimage(poolId: string, nodeId: string, options?: Models.ComputeNodeReimageOptionalParams, callback?: msRest.ServiceCallback): Promise { + reimage(poolId: string, nodeId: string, options?: Models.ComputeNodeReimageOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -266,7 +266,7 @@ export class ComputeNodeOperations { * @param callback The callback */ disableScheduling(poolId: string, nodeId: string, options: Models.ComputeNodeDisableSchedulingOptionalParams, callback: msRest.ServiceCallback): void; - disableScheduling(poolId: string, nodeId: string, options?: Models.ComputeNodeDisableSchedulingOptionalParams, callback?: msRest.ServiceCallback): Promise { + disableScheduling(poolId: string, nodeId: string, options?: Models.ComputeNodeDisableSchedulingOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -299,7 +299,7 @@ export class ComputeNodeOperations { * @param callback The callback */ enableScheduling(poolId: string, nodeId: string, options: Models.ComputeNodeEnableSchedulingOptionalParams, callback: msRest.ServiceCallback): void; - enableScheduling(poolId: string, nodeId: string, options?: Models.ComputeNodeEnableSchedulingOptionalParams, callback?: msRest.ServiceCallback): Promise { + enableScheduling(poolId: string, nodeId: string, options?: Models.ComputeNodeEnableSchedulingOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -335,7 +335,7 @@ export class ComputeNodeOperations { * @param callback The callback */ getRemoteLoginSettings(poolId: string, nodeId: string, options: Models.ComputeNodeGetRemoteLoginSettingsOptionalParams, callback: msRest.ServiceCallback): void; - getRemoteLoginSettings(poolId: string, nodeId: string, options?: Models.ComputeNodeGetRemoteLoginSettingsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getRemoteLoginSettings(poolId: string, nodeId: string, options?: Models.ComputeNodeGetRemoteLoginSettingsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -373,7 +373,7 @@ export class ComputeNodeOperations { * @param callback The callback */ getRemoteDesktop(poolId: string, nodeId: string, options: Models.ComputeNodeGetRemoteDesktopOptionalParams, callback: msRest.ServiceCallback): void; - getRemoteDesktop(poolId: string, nodeId: string, options?: Models.ComputeNodeGetRemoteDesktopOptionalParams, callback?: msRest.ServiceCallback): Promise { + getRemoteDesktop(poolId: string, nodeId: string, options?: Models.ComputeNodeGetRemoteDesktopOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -418,7 +418,7 @@ export class ComputeNodeOperations { * @param callback The callback */ uploadBatchServiceLogs(poolId: string, nodeId: string, uploadBatchServiceLogsConfiguration: Models.UploadBatchServiceLogsConfiguration, options: Models.ComputeNodeUploadBatchServiceLogsOptionalParams, callback: msRest.ServiceCallback): void; - uploadBatchServiceLogs(poolId: string, nodeId: string, uploadBatchServiceLogsConfiguration: Models.UploadBatchServiceLogsConfiguration, options?: Models.ComputeNodeUploadBatchServiceLogsOptionalParams, callback?: msRest.ServiceCallback): Promise { + uploadBatchServiceLogs(poolId: string, nodeId: string, uploadBatchServiceLogsConfiguration: Models.UploadBatchServiceLogsConfiguration, options?: Models.ComputeNodeUploadBatchServiceLogsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -448,7 +448,7 @@ export class ComputeNodeOperations { * @param callback The callback */ list(poolId: string, options: Models.ComputeNodeListOptionalParams, callback: msRest.ServiceCallback): void; - list(poolId: string, options?: Models.ComputeNodeListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(poolId: string, options?: Models.ComputeNodeListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -476,7 +476,7 @@ export class ComputeNodeOperations { * @param callback The callback */ listNext(nextPageLink: string, options: Models.ComputeNodeListNextOptionalParams, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: Models.ComputeNodeListNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: Models.ComputeNodeListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/batch/lib/operations/file.ts b/packages/@azure/batch/lib/operations/file.ts index 62774a882d95..c9459fc9dfe5 100644 --- a/packages/@azure/batch/lib/operations/file.ts +++ b/packages/@azure/batch/lib/operations/file.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/fileMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class File { * @param callback The callback */ deleteFromTask(jobId: string, taskId: string, filePath: string, options: Models.FileDeleteFromTaskOptionalParams, callback: msRest.ServiceCallback): void; - deleteFromTask(jobId: string, taskId: string, filePath: string, options?: Models.FileDeleteFromTaskOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteFromTask(jobId: string, taskId: string, filePath: string, options?: Models.FileDeleteFromTaskOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -86,7 +86,7 @@ export class File { * @param callback The callback */ getFromTask(jobId: string, taskId: string, filePath: string, options: Models.FileGetFromTaskOptionalParams, callback: msRest.ServiceCallback): void; - getFromTask(jobId: string, taskId: string, filePath: string, options?: Models.FileGetFromTaskOptionalParams, callback?: msRest.ServiceCallback): Promise { + getFromTask(jobId: string, taskId: string, filePath: string, options?: Models.FileGetFromTaskOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -122,7 +122,7 @@ export class File { * @param callback The callback */ getPropertiesFromTask(jobId: string, taskId: string, filePath: string, options: Models.FileGetPropertiesFromTaskOptionalParams, callback: msRest.ServiceCallback): void; - getPropertiesFromTask(jobId: string, taskId: string, filePath: string, options?: Models.FileGetPropertiesFromTaskOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPropertiesFromTask(jobId: string, taskId: string, filePath: string, options?: Models.FileGetPropertiesFromTaskOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -158,7 +158,7 @@ export class File { * @param callback The callback */ deleteFromComputeNode(poolId: string, nodeId: string, filePath: string, options: Models.FileDeleteFromComputeNodeOptionalParams, callback: msRest.ServiceCallback): void; - deleteFromComputeNode(poolId: string, nodeId: string, filePath: string, options?: Models.FileDeleteFromComputeNodeOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteFromComputeNode(poolId: string, nodeId: string, filePath: string, options?: Models.FileDeleteFromComputeNodeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -194,7 +194,7 @@ export class File { * @param callback The callback */ getFromComputeNode(poolId: string, nodeId: string, filePath: string, options: Models.FileGetFromComputeNodeOptionalParams, callback: msRest.ServiceCallback): void; - getFromComputeNode(poolId: string, nodeId: string, filePath: string, options?: Models.FileGetFromComputeNodeOptionalParams, callback?: msRest.ServiceCallback): Promise { + getFromComputeNode(poolId: string, nodeId: string, filePath: string, options?: Models.FileGetFromComputeNodeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -230,7 +230,7 @@ export class File { * @param callback The callback */ getPropertiesFromComputeNode(poolId: string, nodeId: string, filePath: string, options: Models.FileGetPropertiesFromComputeNodeOptionalParams, callback: msRest.ServiceCallback): void; - getPropertiesFromComputeNode(poolId: string, nodeId: string, filePath: string, options?: Models.FileGetPropertiesFromComputeNodeOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPropertiesFromComputeNode(poolId: string, nodeId: string, filePath: string, options?: Models.FileGetPropertiesFromComputeNodeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -263,7 +263,7 @@ export class File { * @param callback The callback */ listFromTask(jobId: string, taskId: string, options: Models.FileListFromTaskOptionalParams, callback: msRest.ServiceCallback): void; - listFromTask(jobId: string, taskId: string, options?: Models.FileListFromTaskOptionalParams, callback?: msRest.ServiceCallback): Promise { + listFromTask(jobId: string, taskId: string, options?: Models.FileListFromTaskOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -295,7 +295,7 @@ export class File { * @param callback The callback */ listFromComputeNode(poolId: string, nodeId: string, options: Models.FileListFromComputeNodeOptionalParams, callback: msRest.ServiceCallback): void; - listFromComputeNode(poolId: string, nodeId: string, options?: Models.FileListFromComputeNodeOptionalParams, callback?: msRest.ServiceCallback): Promise { + listFromComputeNode(poolId: string, nodeId: string, options?: Models.FileListFromComputeNodeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -324,7 +324,7 @@ export class File { * @param callback The callback */ listFromTaskNext(nextPageLink: string, options: Models.FileListFromTaskNextOptionalParams, callback: msRest.ServiceCallback): void; - listFromTaskNext(nextPageLink: string, options?: Models.FileListFromTaskNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listFromTaskNext(nextPageLink: string, options?: Models.FileListFromTaskNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -352,7 +352,7 @@ export class File { * @param callback The callback */ listFromComputeNodeNext(nextPageLink: string, options: Models.FileListFromComputeNodeNextOptionalParams, callback: msRest.ServiceCallback): void; - listFromComputeNodeNext(nextPageLink: string, options?: Models.FileListFromComputeNodeNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listFromComputeNodeNext(nextPageLink: string, options?: Models.FileListFromComputeNodeNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/batch/lib/operations/job.ts b/packages/@azure/batch/lib/operations/job.ts index 4d22bebf5f05..7b05ec29b1a5 100644 --- a/packages/@azure/batch/lib/operations/job.ts +++ b/packages/@azure/batch/lib/operations/job.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/jobMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Job { * @param callback The callback */ getAllLifetimeStatistics(options: Models.JobGetAllLifetimeStatisticsOptionalParams, callback: msRest.ServiceCallback): void; - getAllLifetimeStatistics(options?: Models.JobGetAllLifetimeStatisticsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getAllLifetimeStatistics(options?: Models.JobGetAllLifetimeStatisticsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -79,7 +79,7 @@ export class Job { * @param callback The callback */ deleteMethod(jobId: string, options: Models.JobDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(jobId: string, options?: Models.JobDeleteMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteMethod(jobId: string, options?: Models.JobDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -107,7 +107,7 @@ export class Job { * @param callback The callback */ get(jobId: string, options: Models.JobGetOptionalParams, callback: msRest.ServiceCallback): void; - get(jobId: string, options?: Models.JobGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(jobId: string, options?: Models.JobGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -141,7 +141,7 @@ export class Job { * @param callback The callback */ patch(jobId: string, jobPatchParameter: Models.JobPatchParameter, options: Models.JobPatchOptionalParams, callback: msRest.ServiceCallback): void; - patch(jobId: string, jobPatchParameter: Models.JobPatchParameter, options?: Models.JobPatchOptionalParams, callback?: msRest.ServiceCallback): Promise { + patch(jobId: string, jobPatchParameter: Models.JobPatchParameter, options?: Models.JobPatchOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -176,7 +176,7 @@ export class Job { * @param callback The callback */ update(jobId: string, jobUpdateParameter: Models.JobUpdateParameter, options: Models.JobUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(jobId: string, jobUpdateParameter: Models.JobUpdateParameter, options?: Models.JobUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(jobId: string, jobUpdateParameter: Models.JobUpdateParameter, options?: Models.JobUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -218,7 +218,7 @@ export class Job { * @param callback The callback */ disable(jobId: string, disableTasks: Models.DisableJobOption, options: Models.JobDisableOptionalParams, callback: msRest.ServiceCallback): void; - disable(jobId: string, disableTasks: Models.DisableJobOption, options?: Models.JobDisableOptionalParams, callback?: msRest.ServiceCallback): Promise { + disable(jobId: string, disableTasks: Models.DisableJobOption, options?: Models.JobDisableOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -252,7 +252,7 @@ export class Job { * @param callback The callback */ enable(jobId: string, options: Models.JobEnableOptionalParams, callback: msRest.ServiceCallback): void; - enable(jobId: string, options?: Models.JobEnableOptionalParams, callback?: msRest.ServiceCallback): Promise { + enable(jobId: string, options?: Models.JobEnableOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -285,7 +285,7 @@ export class Job { * @param callback The callback */ terminate(jobId: string, options: Models.JobTerminateOptionalParams, callback: msRest.ServiceCallback): void; - terminate(jobId: string, options?: Models.JobTerminateOptionalParams, callback?: msRest.ServiceCallback): Promise { + terminate(jobId: string, options?: Models.JobTerminateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -320,7 +320,7 @@ export class Job { * @param callback The callback */ add(job: Models.JobAddParameter, options: Models.JobAddOptionalParams, callback: msRest.ServiceCallback): void; - add(job: Models.JobAddParameter, options?: Models.JobAddOptionalParams, callback?: msRest.ServiceCallback): Promise { + add(job: Models.JobAddParameter, options?: Models.JobAddOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { job, @@ -345,7 +345,7 @@ export class Job { * @param callback The callback */ list(options: Models.JobListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.JobListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.JobListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -372,7 +372,7 @@ export class Job { * @param callback The callback */ listFromJobSchedule(jobScheduleId: string, options: Models.JobListFromJobScheduleOptionalParams, callback: msRest.ServiceCallback): void; - listFromJobSchedule(jobScheduleId: string, options?: Models.JobListFromJobScheduleOptionalParams, callback?: msRest.ServiceCallback): Promise { + listFromJobSchedule(jobScheduleId: string, options?: Models.JobListFromJobScheduleOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobScheduleId, @@ -406,7 +406,7 @@ export class Job { * @param callback The callback */ listPreparationAndReleaseTaskStatus(jobId: string, options: Models.JobListPreparationAndReleaseTaskStatusOptionalParams, callback: msRest.ServiceCallback): void; - listPreparationAndReleaseTaskStatus(jobId: string, options?: Models.JobListPreparationAndReleaseTaskStatusOptionalParams, callback?: msRest.ServiceCallback): Promise { + listPreparationAndReleaseTaskStatus(jobId: string, options?: Models.JobListPreparationAndReleaseTaskStatusOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -436,7 +436,7 @@ export class Job { * @param callback The callback */ getTaskCounts(jobId: string, options: Models.JobGetTaskCountsOptionalParams, callback: msRest.ServiceCallback): void; - getTaskCounts(jobId: string, options?: Models.JobGetTaskCountsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getTaskCounts(jobId: string, options?: Models.JobGetTaskCountsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -464,7 +464,7 @@ export class Job { * @param callback The callback */ listNext(nextPageLink: string, options: Models.JobListNextOptionalParams, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: Models.JobListNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: Models.JobListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -492,7 +492,7 @@ export class Job { * @param callback The callback */ listFromJobScheduleNext(nextPageLink: string, options: Models.JobListFromJobScheduleNextOptionalParams, callback: msRest.ServiceCallback): void; - listFromJobScheduleNext(nextPageLink: string, options?: Models.JobListFromJobScheduleNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listFromJobScheduleNext(nextPageLink: string, options?: Models.JobListFromJobScheduleNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -526,7 +526,7 @@ export class Job { * @param callback The callback */ listPreparationAndReleaseTaskStatusNext(nextPageLink: string, options: Models.JobListPreparationAndReleaseTaskStatusNextOptionalParams, callback: msRest.ServiceCallback): void; - listPreparationAndReleaseTaskStatusNext(nextPageLink: string, options?: Models.JobListPreparationAndReleaseTaskStatusNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listPreparationAndReleaseTaskStatusNext(nextPageLink: string, options?: Models.JobListPreparationAndReleaseTaskStatusNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/batch/lib/operations/jobSchedule.ts b/packages/@azure/batch/lib/operations/jobSchedule.ts index a27369a4df5d..817c03705690 100644 --- a/packages/@azure/batch/lib/operations/jobSchedule.ts +++ b/packages/@azure/batch/lib/operations/jobSchedule.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/jobScheduleMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class JobSchedule { * @param callback The callback */ exists(jobScheduleId: string, options: Models.JobScheduleExistsOptionalParams, callback: msRest.ServiceCallback): void; - exists(jobScheduleId: string, options?: Models.JobScheduleExistsOptionalParams, callback?: msRest.ServiceCallback): Promise { + exists(jobScheduleId: string, options?: Models.JobScheduleExistsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobScheduleId, @@ -77,7 +77,7 @@ export class JobSchedule { * @param callback The callback */ deleteMethod(jobScheduleId: string, options: Models.JobScheduleDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(jobScheduleId: string, options?: Models.JobScheduleDeleteMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteMethod(jobScheduleId: string, options?: Models.JobScheduleDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobScheduleId, @@ -105,7 +105,7 @@ export class JobSchedule { * @param callback The callback */ get(jobScheduleId: string, options: Models.JobScheduleGetOptionalParams, callback: msRest.ServiceCallback): void; - get(jobScheduleId: string, options?: Models.JobScheduleGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(jobScheduleId: string, options?: Models.JobScheduleGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobScheduleId, @@ -140,7 +140,7 @@ export class JobSchedule { * @param callback The callback */ patch(jobScheduleId: string, jobSchedulePatchParameter: Models.JobSchedulePatchParameter, options: Models.JobSchedulePatchOptionalParams, callback: msRest.ServiceCallback): void; - patch(jobScheduleId: string, jobSchedulePatchParameter: Models.JobSchedulePatchParameter, options?: Models.JobSchedulePatchOptionalParams, callback?: msRest.ServiceCallback): Promise { + patch(jobScheduleId: string, jobSchedulePatchParameter: Models.JobSchedulePatchParameter, options?: Models.JobSchedulePatchOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobScheduleId, @@ -176,7 +176,7 @@ export class JobSchedule { * @param callback The callback */ update(jobScheduleId: string, jobScheduleUpdateParameter: Models.JobScheduleUpdateParameter, options: Models.JobScheduleUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(jobScheduleId: string, jobScheduleUpdateParameter: Models.JobScheduleUpdateParameter, options?: Models.JobScheduleUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(jobScheduleId: string, jobScheduleUpdateParameter: Models.JobScheduleUpdateParameter, options?: Models.JobScheduleUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobScheduleId, @@ -206,7 +206,7 @@ export class JobSchedule { * @param callback The callback */ disable(jobScheduleId: string, options: Models.JobScheduleDisableOptionalParams, callback: msRest.ServiceCallback): void; - disable(jobScheduleId: string, options?: Models.JobScheduleDisableOptionalParams, callback?: msRest.ServiceCallback): Promise { + disable(jobScheduleId: string, options?: Models.JobScheduleDisableOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobScheduleId, @@ -234,7 +234,7 @@ export class JobSchedule { * @param callback The callback */ enable(jobScheduleId: string, options: Models.JobScheduleEnableOptionalParams, callback: msRest.ServiceCallback): void; - enable(jobScheduleId: string, options?: Models.JobScheduleEnableOptionalParams, callback?: msRest.ServiceCallback): Promise { + enable(jobScheduleId: string, options?: Models.JobScheduleEnableOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobScheduleId, @@ -262,7 +262,7 @@ export class JobSchedule { * @param callback The callback */ terminate(jobScheduleId: string, options: Models.JobScheduleTerminateOptionalParams, callback: msRest.ServiceCallback): void; - terminate(jobScheduleId: string, options?: Models.JobScheduleTerminateOptionalParams, callback?: msRest.ServiceCallback): Promise { + terminate(jobScheduleId: string, options?: Models.JobScheduleTerminateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobScheduleId, @@ -290,7 +290,7 @@ export class JobSchedule { * @param callback The callback */ add(cloudJobSchedule: Models.JobScheduleAddParameter, options: Models.JobScheduleAddOptionalParams, callback: msRest.ServiceCallback): void; - add(cloudJobSchedule: Models.JobScheduleAddParameter, options?: Models.JobScheduleAddOptionalParams, callback?: msRest.ServiceCallback): Promise { + add(cloudJobSchedule: Models.JobScheduleAddParameter, options?: Models.JobScheduleAddOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { cloudJobSchedule, @@ -315,7 +315,7 @@ export class JobSchedule { * @param callback The callback */ list(options: Models.JobScheduleListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.JobScheduleListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.JobScheduleListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -342,7 +342,7 @@ export class JobSchedule { * @param callback The callback */ listNext(nextPageLink: string, options: Models.JobScheduleListNextOptionalParams, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: Models.JobScheduleListNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: Models.JobScheduleListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/batch/lib/operations/pool.ts b/packages/@azure/batch/lib/operations/pool.ts index 5673e4527f08..33b8dbfa9b14 100644 --- a/packages/@azure/batch/lib/operations/pool.ts +++ b/packages/@azure/batch/lib/operations/pool.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/poolMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Pool { * @param callback The callback */ listUsageMetrics(options: Models.PoolListUsageMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listUsageMetrics(options?: Models.PoolListUsageMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listUsageMetrics(options?: Models.PoolListUsageMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -75,7 +75,7 @@ export class Pool { * @param callback The callback */ getAllLifetimeStatistics(options: Models.PoolGetAllLifetimeStatisticsOptionalParams, callback: msRest.ServiceCallback): void; - getAllLifetimeStatistics(options?: Models.PoolGetAllLifetimeStatisticsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getAllLifetimeStatistics(options?: Models.PoolGetAllLifetimeStatisticsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -104,7 +104,7 @@ export class Pool { * @param callback The callback */ add(pool: Models.PoolAddParameter, options: Models.PoolAddOptionalParams, callback: msRest.ServiceCallback): void; - add(pool: Models.PoolAddParameter, options?: Models.PoolAddOptionalParams, callback?: msRest.ServiceCallback): Promise { + add(pool: Models.PoolAddParameter, options?: Models.PoolAddOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { pool, @@ -129,7 +129,7 @@ export class Pool { * @param callback The callback */ list(options: Models.PoolListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.PoolListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.PoolListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -166,7 +166,7 @@ export class Pool { * @param callback The callback */ deleteMethod(poolId: string, options: Models.PoolDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(poolId: string, options?: Models.PoolDeleteMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteMethod(poolId: string, options?: Models.PoolDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -194,7 +194,7 @@ export class Pool { * @param callback The callback */ exists(poolId: string, options: Models.PoolExistsOptionalParams, callback: msRest.ServiceCallback): void; - exists(poolId: string, options?: Models.PoolExistsOptionalParams, callback?: msRest.ServiceCallback): Promise { + exists(poolId: string, options?: Models.PoolExistsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -222,7 +222,7 @@ export class Pool { * @param callback The callback */ get(poolId: string, options: Models.PoolGetOptionalParams, callback: msRest.ServiceCallback): void; - get(poolId: string, options?: Models.PoolGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(poolId: string, options?: Models.PoolGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -256,7 +256,7 @@ export class Pool { * @param callback The callback */ patch(poolId: string, poolPatchParameter: Models.PoolPatchParameter, options: Models.PoolPatchOptionalParams, callback: msRest.ServiceCallback): void; - patch(poolId: string, poolPatchParameter: Models.PoolPatchParameter, options?: Models.PoolPatchOptionalParams, callback?: msRest.ServiceCallback): Promise { + patch(poolId: string, poolPatchParameter: Models.PoolPatchParameter, options?: Models.PoolPatchOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -285,7 +285,7 @@ export class Pool { * @param callback The callback */ disableAutoScale(poolId: string, options: Models.PoolDisableAutoScaleOptionalParams, callback: msRest.ServiceCallback): void; - disableAutoScale(poolId: string, options?: Models.PoolDisableAutoScaleOptionalParams, callback?: msRest.ServiceCallback): Promise { + disableAutoScale(poolId: string, options?: Models.PoolDisableAutoScaleOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -321,7 +321,7 @@ export class Pool { * @param callback The callback */ enableAutoScale(poolId: string, poolEnableAutoScaleParameter: Models.PoolEnableAutoScaleParameter, options: Models.PoolEnableAutoScaleOptionalParams, callback: msRest.ServiceCallback): void; - enableAutoScale(poolId: string, poolEnableAutoScaleParameter: Models.PoolEnableAutoScaleParameter, options?: Models.PoolEnableAutoScaleOptionalParams, callback?: msRest.ServiceCallback): Promise { + enableAutoScale(poolId: string, poolEnableAutoScaleParameter: Models.PoolEnableAutoScaleParameter, options?: Models.PoolEnableAutoScaleOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -368,7 +368,7 @@ export class Pool { * @param callback The callback */ evaluateAutoScale(poolId: string, autoScaleFormula: string, options: Models.PoolEvaluateAutoScaleOptionalParams, callback: msRest.ServiceCallback): void; - evaluateAutoScale(poolId: string, autoScaleFormula: string, options?: Models.PoolEvaluateAutoScaleOptionalParams, callback?: msRest.ServiceCallback): Promise { + evaluateAutoScale(poolId: string, autoScaleFormula: string, options?: Models.PoolEvaluateAutoScaleOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -406,7 +406,7 @@ export class Pool { * @param callback The callback */ resize(poolId: string, poolResizeParameter: Models.PoolResizeParameter, options: Models.PoolResizeOptionalParams, callback: msRest.ServiceCallback): void; - resize(poolId: string, poolResizeParameter: Models.PoolResizeParameter, options?: Models.PoolResizeOptionalParams, callback?: msRest.ServiceCallback): Promise { + resize(poolId: string, poolResizeParameter: Models.PoolResizeParameter, options?: Models.PoolResizeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -441,7 +441,7 @@ export class Pool { * @param callback The callback */ stopResize(poolId: string, options: Models.PoolStopResizeOptionalParams, callback: msRest.ServiceCallback): void; - stopResize(poolId: string, options?: Models.PoolStopResizeOptionalParams, callback?: msRest.ServiceCallback): Promise { + stopResize(poolId: string, options?: Models.PoolStopResizeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -475,7 +475,7 @@ export class Pool { * @param callback The callback */ updateProperties(poolId: string, poolUpdatePropertiesParameter: Models.PoolUpdatePropertiesParameter, options: Models.PoolUpdatePropertiesOptionalParams, callback: msRest.ServiceCallback): void; - updateProperties(poolId: string, poolUpdatePropertiesParameter: Models.PoolUpdatePropertiesParameter, options?: Models.PoolUpdatePropertiesOptionalParams, callback?: msRest.ServiceCallback): Promise { + updateProperties(poolId: string, poolUpdatePropertiesParameter: Models.PoolUpdatePropertiesParameter, options?: Models.PoolUpdatePropertiesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -523,7 +523,7 @@ export class Pool { * @param callback The callback */ upgradeOS(poolId: string, targetOSVersion: string, options: Models.PoolUpgradeOSOptionalParams, callback: msRest.ServiceCallback): void; - upgradeOS(poolId: string, targetOSVersion: string, options?: Models.PoolUpgradeOSOptionalParams, callback?: msRest.ServiceCallback): Promise { + upgradeOS(poolId: string, targetOSVersion: string, options?: Models.PoolUpgradeOSOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -557,7 +557,7 @@ export class Pool { * @param callback The callback */ removeNodes(poolId: string, nodeRemoveParameter: Models.NodeRemoveParameter, options: Models.PoolRemoveNodesOptionalParams, callback: msRest.ServiceCallback): void; - removeNodes(poolId: string, nodeRemoveParameter: Models.NodeRemoveParameter, options?: Models.PoolRemoveNodesOptionalParams, callback?: msRest.ServiceCallback): Promise { + removeNodes(poolId: string, nodeRemoveParameter: Models.NodeRemoveParameter, options?: Models.PoolRemoveNodesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { poolId, @@ -592,7 +592,7 @@ export class Pool { * @param callback The callback */ listUsageMetricsNext(nextPageLink: string, options: Models.PoolListUsageMetricsNextOptionalParams, callback: msRest.ServiceCallback): void; - listUsageMetricsNext(nextPageLink: string, options?: Models.PoolListUsageMetricsNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listUsageMetricsNext(nextPageLink: string, options?: Models.PoolListUsageMetricsNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -620,7 +620,7 @@ export class Pool { * @param callback The callback */ listNext(nextPageLink: string, options: Models.PoolListNextOptionalParams, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: Models.PoolListNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: Models.PoolListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/batch/lib/operations/task.ts b/packages/@azure/batch/lib/operations/task.ts index ea784292a3b9..f22538368d7e 100644 --- a/packages/@azure/batch/lib/operations/task.ts +++ b/packages/@azure/batch/lib/operations/task.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/taskMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Task { * @param callback The callback */ add(jobId: string, task: Models.TaskAddParameter, options: Models.TaskAddOptionalParams, callback: msRest.ServiceCallback): void; - add(jobId: string, task: Models.TaskAddParameter, options?: Models.TaskAddOptionalParams, callback?: msRest.ServiceCallback): Promise { + add(jobId: string, task: Models.TaskAddParameter, options?: Models.TaskAddOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -81,7 +81,7 @@ export class Task { * @param callback The callback */ list(jobId: string, options: Models.TaskListOptionalParams, callback: msRest.ServiceCallback): void; - list(jobId: string, options?: Models.TaskListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(jobId: string, options?: Models.TaskListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -133,7 +133,7 @@ export class Task { * @param callback The callback */ addCollection(jobId: string, value: Models.TaskAddParameter[], options: Models.TaskAddCollectionOptionalParams, callback: msRest.ServiceCallback): void; - addCollection(jobId: string, value: Models.TaskAddParameter[], options?: Models.TaskAddCollectionOptionalParams, callback?: msRest.ServiceCallback): Promise { + addCollection(jobId: string, value: Models.TaskAddParameter[], options?: Models.TaskAddCollectionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -169,7 +169,7 @@ export class Task { * @param callback The callback */ deleteMethod(jobId: string, taskId: string, options: Models.TaskDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(jobId: string, taskId: string, options?: Models.TaskDeleteMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteMethod(jobId: string, taskId: string, options?: Models.TaskDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -203,7 +203,7 @@ export class Task { * @param callback The callback */ get(jobId: string, taskId: string, options: Models.TaskGetOptionalParams, callback: msRest.ServiceCallback): void; - get(jobId: string, taskId: string, options?: Models.TaskGetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(jobId: string, taskId: string, options?: Models.TaskGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -235,7 +235,7 @@ export class Task { * @param callback The callback */ update(jobId: string, taskId: string, options: Models.TaskUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(jobId: string, taskId: string, options?: Models.TaskUpdateOptionalParams, callback?: msRest.ServiceCallback): Promise { + update(jobId: string, taskId: string, options?: Models.TaskUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -268,7 +268,7 @@ export class Task { * @param callback The callback */ listSubtasks(jobId: string, taskId: string, options: Models.TaskListSubtasksOptionalParams, callback: msRest.ServiceCallback): void; - listSubtasks(jobId: string, taskId: string, options?: Models.TaskListSubtasksOptionalParams, callback?: msRest.ServiceCallback): Promise { + listSubtasks(jobId: string, taskId: string, options?: Models.TaskListSubtasksOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -303,7 +303,7 @@ export class Task { * @param callback The callback */ terminate(jobId: string, taskId: string, options: Models.TaskTerminateOptionalParams, callback: msRest.ServiceCallback): void; - terminate(jobId: string, taskId: string, options?: Models.TaskTerminateOptionalParams, callback?: msRest.ServiceCallback): Promise { + terminate(jobId: string, taskId: string, options?: Models.TaskTerminateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -342,7 +342,7 @@ export class Task { * @param callback The callback */ reactivate(jobId: string, taskId: string, options: Models.TaskReactivateOptionalParams, callback: msRest.ServiceCallback): void; - reactivate(jobId: string, taskId: string, options?: Models.TaskReactivateOptionalParams, callback?: msRest.ServiceCallback): Promise { + reactivate(jobId: string, taskId: string, options?: Models.TaskReactivateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { jobId, @@ -373,7 +373,7 @@ export class Task { * @param callback The callback */ listNext(nextPageLink: string, options: Models.TaskListNextOptionalParams, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: Models.TaskListNextOptionalParams, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options?: Models.TaskListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/batch/package.json b/packages/@azure/batch/package.json index 3c78aa7a0456..b0e70920f3ab 100644 --- a/packages/@azure/batch/package.json +++ b/packages/@azure/batch/package.json @@ -4,8 +4,8 @@ "description": "BatchServiceClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/batch.js.map'\" -o ./dist/batch.min.js ./dist/batch.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/batch/rollup.config.js b/packages/@azure/batch/rollup.config.js index 49ec2a3520db..e9508c720dd7 100644 --- a/packages/@azure/batch/rollup.config.js +++ b/packages/@azure/batch/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/batchServiceClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/batch.js", format: "umd", name: "Azure.Batch", 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/batch/tsconfig.esm.json b/packages/@azure/batch/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/batch/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/batch/tsconfig.json b/packages/@azure/batch/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/batch/tsconfig.json +++ b/packages/@azure/batch/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/batch/webpack.config.js b/packages/@azure/batch/webpack.config.js deleted file mode 100644 index c5f2ed57d112..000000000000 --- a/packages/@azure/batch/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/batchServiceClient.js', - devtool: 'source-map', - output: { - filename: 'batchServiceClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'batchServiceClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/cognitiveservices-autosuggest/README.md b/packages/@azure/cognitiveservices-autosuggest/README.md index 5729ba00fe87..acfc5a85e444 100644 --- a/packages/@azure/cognitiveservices-autosuggest/README.md +++ b/packages/@azure/cognitiveservices-autosuggest/README.md @@ -1,26 +1,33 @@ -# An isomorphic javascript sdk for - AutoSuggestClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - AutoSuggestClient -## How to Install +This package contains an isomorphic SDK for AutoSuggestClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-autosuggest ``` -- browser -```html - -``` -## How to use +### How to use -### nodejs - Authentication, client creation and autoSuggest as an example written in TypeScript. +#### nodejs - Authentication, client creation and autoSuggest as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code ```ts -import * as msRest from "ms-rest-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { AutoSuggestClient, AutoSuggestModels, AutoSuggestMappers } from "@azure/cognitiveservices-autosuggest"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -47,7 +54,17 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and autoSuggest as an example written in javascript. +#### browser - Authentication, client creation and autoSuggest as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -55,8 +72,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => { @azure/cognitiveservices-autosuggest 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/cognitiveservices-autosuggest/lib/autoSuggestClient.ts b/packages/@azure/cognitiveservices-autosuggest/lib/autoSuggestClient.ts index ca4a319e174a..adc38a97e214 100644 --- a/packages/@azure/cognitiveservices-autosuggest/lib/autoSuggestClient.ts +++ b/packages/@azure/cognitiveservices-autosuggest/lib/autoSuggestClient.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 Parameters from "./models/parameters"; @@ -44,7 +44,7 @@ class AutoSuggestClient extends AutoSuggestClientContext { * @param callback The callback */ autoSuggest(query: string, options: Models.AutoSuggestClientAutoSuggestOptionalParams, callback: msRest.ServiceCallback): void; - autoSuggest(query: string, options?: Models.AutoSuggestClientAutoSuggestOptionalParams, callback?: msRest.ServiceCallback): Promise { + autoSuggest(query: string, options?: Models.AutoSuggestClientAutoSuggestOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { query, @@ -59,7 +59,10 @@ class AutoSuggestClient extends AutoSuggestClientContext { const serializer = new msRest.Serializer(Mappers); const autoSuggestOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "bing/v7.0/Suggestions", + path: "Suggestions", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.countryCode, Parameters.market, diff --git a/packages/@azure/cognitiveservices-autosuggest/lib/autoSuggestClientContext.ts b/packages/@azure/cognitiveservices-autosuggest/lib/autoSuggestClientContext.ts index 5d86db269451..d57ee619f324 100644 --- a/packages/@azure/cognitiveservices-autosuggest/lib/autoSuggestClientContext.ts +++ b/packages/@azure/cognitiveservices-autosuggest/lib/autoSuggestClientContext.ts @@ -8,13 +8,14 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; const packageName = "@azure/cognitiveservices-autosuggest"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class AutoSuggestClientContext extends msRest.ServiceClient { + endpoint?: string; credentials: msRest.ServiceClientCredentials; /** @@ -30,13 +31,20 @@ export class AutoSuggestClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); - this.baseUri = options.baseUri || this.baseUri || "https://api.cognitive.microsoft.com"; + this.endpoint = 'https://api.cognitive.microsoft.com'; + this.baseUri = "{Endpoint}"; this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); + if(options.endpoint !== null && options.endpoint !== undefined) { + this.endpoint = options.endpoint; + } } } diff --git a/packages/@azure/cognitiveservices-autosuggest/lib/models/index.ts b/packages/@azure/cognitiveservices-autosuggest/lib/models/index.ts index b2aaa5846367..9991f85a63ef 100644 --- a/packages/@azure/cognitiveservices-autosuggest/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-autosuggest/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { ServiceClientOptions } from "ms-rest-js"; -import * as msRest from "ms-rest-js"; +import { ServiceClientOptions } from "@azure/ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -1047,9 +1047,13 @@ export interface ErrorResponse { */ export interface AutoSuggestClientOptions extends ServiceClientOptions { /** - * @member {string} [baseUri] + * @member {string} [endpoint] Supported Cognitive Services endpoints + * (protocol and hostname, for example: + * "https://westus.api.cognitive.microsoft.com", + * "https://api.cognitive.microsoft.com"). Default value: + * 'https://api.cognitive.microsoft.com' . */ - baseUri?: string; + endpoint?: string; } /** @@ -1262,95 +1266,44 @@ export interface AutoSuggestClientAutoSuggestOptionalParams extends msRest.Reque * Defines values for ScenarioType. * Possible values include: 'Unknown', 'Web', 'StoreApps', 'SearchHistory', * 'PersonalSearchDocuments', 'PersonalSearchTags', 'Custom' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ScenarioType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ScenarioType { - Unknown = 'Unknown', - Web = 'Web', - StoreApps = 'StoreApps', - SearchHistory = 'SearchHistory', - PersonalSearchDocuments = 'PersonalSearchDocuments', - PersonalSearchTags = 'PersonalSearchTags', - Custom = 'Custom', -} +export type ScenarioType = 'Unknown' | 'Web' | 'StoreApps' | 'SearchHistory' | 'PersonalSearchDocuments' | 'PersonalSearchTags' | 'Custom'; /** * Defines values for SearchKind. - * Possible values include: 'WebSearch', 'HistorySearch', 'DocumentSearch', - * 'TagSearch', 'LocationSearch', 'CustomSearch' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SearchKind = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'WebSearch', 'HistorySearch', 'DocumentSearch', 'TagSearch', + * 'LocationSearch', 'CustomSearch' * @readonly * @enum {string} */ -export enum SearchKind { - WebSearch = 'WebSearch', - HistorySearch = 'HistorySearch', - DocumentSearch = 'DocumentSearch', - TagSearch = 'TagSearch', - LocationSearch = 'LocationSearch', - CustomSearch = 'CustomSearch', -} +export type SearchKind = 'WebSearch' | 'HistorySearch' | 'DocumentSearch' | 'TagSearch' | 'LocationSearch' | 'CustomSearch'; /** * Defines values for ErrorCode. - * Possible values include: 'None', 'ServerError', 'InvalidRequest', - * 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorCode = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', + * 'InvalidAuthorization', 'InsufficientAuthorization' * @readonly * @enum {string} */ -export enum ErrorCode { - None = 'None', - ServerError = 'ServerError', - InvalidRequest = 'InvalidRequest', - RateLimitExceeded = 'RateLimitExceeded', - InvalidAuthorization = 'InvalidAuthorization', - InsufficientAuthorization = 'InsufficientAuthorization', -} +export type ErrorCode = 'None' | 'ServerError' | 'InvalidRequest' | 'RateLimitExceeded' | 'InvalidAuthorization' | 'InsufficientAuthorization'; /** * Defines values for SafeSearch. * Possible values include: 'Off', 'Moderate', 'Strict' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SafeSearch = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SafeSearch { - Off = 'Off', - Moderate = 'Moderate', - Strict = 'Strict', -} +export type SafeSearch = 'Off' | 'Moderate' | 'Strict'; /** * Defines values for ResponseFormat. * Possible values include: 'Json', 'JsonLd' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ResponseFormat = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ResponseFormat { - Json = 'Json', - JsonLd = 'JsonLd', -} +export type ResponseFormat = 'Json' | 'JsonLd'; /** * Contains response data for the autoSuggest operation. diff --git a/packages/@azure/cognitiveservices-autosuggest/lib/models/mappers.ts b/packages/@azure/cognitiveservices-autosuggest/lib/models/mappers.ts index d267b0549241..befb20d19416 100644 --- a/packages/@azure/cognitiveservices-autosuggest/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-autosuggest/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const ResponseBase: msRest.CompositeMapper = { @@ -84,8 +84,6 @@ export const Response: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Action" } } @@ -99,8 +97,6 @@ export const Response: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Action" } } @@ -168,8 +164,6 @@ export const CreativeWork: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -183,8 +177,6 @@ export const CreativeWork: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -198,8 +190,6 @@ export const CreativeWork: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -210,8 +200,6 @@ export const CreativeWork: msRest.CompositeMapper = { serializedName: "creator", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } }, @@ -241,8 +229,6 @@ export const CreativeWork: msRest.CompositeMapper = { serializedName: "mainEntity", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } }, @@ -258,8 +244,6 @@ export const CreativeWork: msRest.CompositeMapper = { serializedName: "copyrightHolder", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } }, @@ -324,8 +308,6 @@ export const Action: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -418,8 +400,6 @@ export const SuggestionsSuggestionGroup: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "SearchAction" } } @@ -463,11 +443,6 @@ export const SearchResultsAnswer: msRest.CompositeMapper = { serializedName: "queryContext", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "_type", - clientName: "_type" - }, - uberParent: "QueryContext", className: "QueryContext" } } @@ -492,11 +467,6 @@ export const Suggestions: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "_type", - clientName: "_type" - }, - uberParent: "SuggestionsSuggestionGroup", className: "SuggestionsSuggestionGroup" } } @@ -645,11 +615,6 @@ export const ErrorResponse: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "_type", - clientName: "_type" - }, - uberParent: "ErrorModel", className: "ErrorModel" } } diff --git a/packages/@azure/cognitiveservices-autosuggest/lib/models/parameters.ts b/packages/@azure/cognitiveservices-autosuggest/lib/models/parameters.ts index adf140655b0e..5304ea02dc7a 100644 --- a/packages/@azure/cognitiveservices-autosuggest/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-autosuggest/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: [ @@ -58,6 +58,18 @@ export const countryCode: msRest.OperationQueryParameter = { } } }; +export const endpoint: msRest.OperationURLParameter = { + parameterPath: "endpoint", + mapper: { + required: true, + serializedName: "Endpoint", + defaultValue: 'https://api.cognitive.microsoft.com', + type: { + name: "String" + } + }, + skipEncoding: true +}; export const location: msRest.OperationParameter = { parameterPath: [ "options", diff --git a/packages/@azure/cognitiveservices-autosuggest/package.json b/packages/@azure/cognitiveservices-autosuggest/package.json index 5baeba71c353..5a3bc05482c1 100644 --- a/packages/@azure/cognitiveservices-autosuggest/package.json +++ b/packages/@azure/cognitiveservices-autosuggest/package.json @@ -4,7 +4,7 @@ "description": "AutoSuggestClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -51,4 +51,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-autosuggest/rollup.config.js b/packages/@azure/cognitiveservices-autosuggest/rollup.config.js index 3294d33a3c67..ef51be2c6547 100644 --- a/packages/@azure/cognitiveservices-autosuggest/rollup.config.js +++ b/packages/@azure/cognitiveservices-autosuggest/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/autoSuggestClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-autosuggest.js", format: "umd", name: "Azure.CognitiveservicesAutosuggest", 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/cognitiveservices-autosuggest/tsconfig.json b/packages/@azure/cognitiveservices-autosuggest/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-autosuggest/tsconfig.json +++ b/packages/@azure/cognitiveservices-autosuggest/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-computervision/.npmignore b/packages/@azure/cognitiveservices-computervision/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/cognitiveservices-computervision/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/cognitiveservices-computervision/README.md b/packages/@azure/cognitiveservices-computervision/README.md index 0ffd9d02a03c..551dc3386520 100644 --- a/packages/@azure/cognitiveservices-computervision/README.md +++ b/packages/@azure/cognitiveservices-computervision/README.md @@ -1,40 +1,58 @@ -# An isomorphic javascript sdk for - ComputerVisionClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - ComputerVisionClient -## How to Install +This package contains an isomorphic SDK for ComputerVisionClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-computervision ``` -- browser -```html - -``` -## How to use +### How to use + +#### nodejs - Authentication, client creation and listModels as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and listModels as an example written in TypeScript. +##### Sample code ```ts -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { ComputerVisionClient, ComputerVisionModels, ComputerVisionMappers } from "@azure/cognitiveservices-computervision"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -const token = ""; -const creds = new msRest.TokenCredentials(token); -const client = new ComputerVisionClient(creds, subscriptionId); -client.listModels().then((result) => { - console.log("The result is:"); - console.log(result); +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new ComputerVisionClient(creds, subscriptionId); + client.listModels().then((result) => { + console.log("The result is:"); + console.log(result); + }); }).catch((err) => { console.error(err); }); ``` -### browser - Authentication, client creation and listModels as an example written in javascript. +#### browser - Authentication, client creation and listModels as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -42,25 +60,35 @@ client.listModels().then((result) => { @azure/cognitiveservices-computervision 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/cognitiveservices-computervision/lib/computerVisionClient.ts b/packages/@azure/cognitiveservices-computervision/lib/computerVisionClient.ts index f1978ae2c4c8..50facfb381d2 100644 --- a/packages/@azure/cognitiveservices-computervision/lib/computerVisionClient.ts +++ b/packages/@azure/cognitiveservices-computervision/lib/computerVisionClient.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 Parameters from "./models/parameters"; @@ -43,7 +43,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ listModels(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listModels(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listModels(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -73,7 +73,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ analyzeImage(url: string, options: Models.ComputerVisionClientAnalyzeImageOptionalParams, callback: msRest.ServiceCallback): void; - analyzeImage(url: string, options?: Models.ComputerVisionClientAnalyzeImageOptionalParams, callback?: msRest.ServiceCallback): Promise { + analyzeImage(url: string, options?: Models.ComputerVisionClientAnalyzeImageOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { url, @@ -112,7 +112,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ generateThumbnail(width: number, height: number, url: string, options: Models.ComputerVisionClientGenerateThumbnailOptionalParams, callback: msRest.ServiceCallback): void; - generateThumbnail(width: number, height: number, url: string, options?: Models.ComputerVisionClientGenerateThumbnailOptionalParams, callback?: msRest.ServiceCallback): Promise { + generateThumbnail(width: number, height: number, url: string, options?: Models.ComputerVisionClientGenerateThumbnailOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { width, @@ -155,7 +155,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ recognizePrintedText(detectOrientation: boolean, url: string, options: Models.ComputerVisionClientRecognizePrintedTextOptionalParams, callback: msRest.ServiceCallback): void; - recognizePrintedText(detectOrientation: boolean, url: string, options?: Models.ComputerVisionClientRecognizePrintedTextOptionalParams, callback?: msRest.ServiceCallback): Promise { + recognizePrintedText(detectOrientation: boolean, url: string, options?: Models.ComputerVisionClientRecognizePrintedTextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { detectOrientation, @@ -190,7 +190,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ describeImage(url: string, options: Models.ComputerVisionClientDescribeImageOptionalParams, callback: msRest.ServiceCallback): void; - describeImage(url: string, options?: Models.ComputerVisionClientDescribeImageOptionalParams, callback?: msRest.ServiceCallback): Promise { + describeImage(url: string, options?: Models.ComputerVisionClientDescribeImageOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { url, @@ -223,7 +223,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ tagImage(url: string, options: Models.ComputerVisionClientTagImageOptionalParams, callback: msRest.ServiceCallback): void; - tagImage(url: string, options?: Models.ComputerVisionClientTagImageOptionalParams, callback?: msRest.ServiceCallback): Promise { + tagImage(url: string, options?: Models.ComputerVisionClientTagImageOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { url, @@ -259,7 +259,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ analyzeImageByDomain(model: string, url: string, options: Models.ComputerVisionClientAnalyzeImageByDomainOptionalParams, callback: msRest.ServiceCallback): void; - analyzeImageByDomain(model: string, url: string, options?: Models.ComputerVisionClientAnalyzeImageByDomainOptionalParams, callback?: msRest.ServiceCallback): Promise { + analyzeImageByDomain(model: string, url: string, options?: Models.ComputerVisionClientAnalyzeImageByDomainOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { model, @@ -293,7 +293,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ recognizeText(mode: Models.TextRecognitionMode, url: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - recognizeText(mode: Models.TextRecognitionMode, url: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + recognizeText(mode: Models.TextRecognitionMode, url: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { mode, @@ -323,7 +323,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ getTextOperationResult(operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getTextOperationResult(operationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getTextOperationResult(operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { operationId, @@ -351,7 +351,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ analyzeImageInStream(image: msRest.HttpRequestBody, options: Models.ComputerVisionClientAnalyzeImageInStreamOptionalParams, callback: msRest.ServiceCallback): void; - analyzeImageInStream(image: msRest.HttpRequestBody, options?: Models.ComputerVisionClientAnalyzeImageInStreamOptionalParams, callback?: msRest.ServiceCallback): Promise { + analyzeImageInStream(image: msRest.HttpRequestBody, options?: Models.ComputerVisionClientAnalyzeImageInStreamOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { image, @@ -390,7 +390,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ generateThumbnailInStream(width: number, height: number, image: msRest.HttpRequestBody, options: Models.ComputerVisionClientGenerateThumbnailInStreamOptionalParams, callback: msRest.ServiceCallback): void; - generateThumbnailInStream(width: number, height: number, image: msRest.HttpRequestBody, options?: Models.ComputerVisionClientGenerateThumbnailInStreamOptionalParams, callback?: msRest.ServiceCallback): Promise { + generateThumbnailInStream(width: number, height: number, image: msRest.HttpRequestBody, options?: Models.ComputerVisionClientGenerateThumbnailInStreamOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { width, @@ -433,7 +433,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ recognizePrintedTextInStream(detectOrientation: boolean, image: msRest.HttpRequestBody, options: Models.ComputerVisionClientRecognizePrintedTextInStreamOptionalParams, callback: msRest.ServiceCallback): void; - recognizePrintedTextInStream(detectOrientation: boolean, image: msRest.HttpRequestBody, options?: Models.ComputerVisionClientRecognizePrintedTextInStreamOptionalParams, callback?: msRest.ServiceCallback): Promise { + recognizePrintedTextInStream(detectOrientation: boolean, image: msRest.HttpRequestBody, options?: Models.ComputerVisionClientRecognizePrintedTextInStreamOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { detectOrientation, @@ -468,7 +468,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ describeImageInStream(image: msRest.HttpRequestBody, options: Models.ComputerVisionClientDescribeImageInStreamOptionalParams, callback: msRest.ServiceCallback): void; - describeImageInStream(image: msRest.HttpRequestBody, options?: Models.ComputerVisionClientDescribeImageInStreamOptionalParams, callback?: msRest.ServiceCallback): Promise { + describeImageInStream(image: msRest.HttpRequestBody, options?: Models.ComputerVisionClientDescribeImageInStreamOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { image, @@ -501,7 +501,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ tagImageInStream(image: msRest.HttpRequestBody, options: Models.ComputerVisionClientTagImageInStreamOptionalParams, callback: msRest.ServiceCallback): void; - tagImageInStream(image: msRest.HttpRequestBody, options?: Models.ComputerVisionClientTagImageInStreamOptionalParams, callback?: msRest.ServiceCallback): Promise { + tagImageInStream(image: msRest.HttpRequestBody, options?: Models.ComputerVisionClientTagImageInStreamOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { image, @@ -537,7 +537,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ analyzeImageByDomainInStream(model: string, image: msRest.HttpRequestBody, options: Models.ComputerVisionClientAnalyzeImageByDomainInStreamOptionalParams, callback: msRest.ServiceCallback): void; - analyzeImageByDomainInStream(model: string, image: msRest.HttpRequestBody, options?: Models.ComputerVisionClientAnalyzeImageByDomainInStreamOptionalParams, callback?: msRest.ServiceCallback): Promise { + analyzeImageByDomainInStream(model: string, image: msRest.HttpRequestBody, options?: Models.ComputerVisionClientAnalyzeImageByDomainInStreamOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { model, @@ -571,7 +571,7 @@ class ComputerVisionClient extends ComputerVisionClientContext { * @param callback The callback */ recognizeTextInStream(image: msRest.HttpRequestBody, mode: Models.TextRecognitionMode, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - recognizeTextInStream(image: msRest.HttpRequestBody, mode: Models.TextRecognitionMode, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + recognizeTextInStream(image: msRest.HttpRequestBody, mode: Models.TextRecognitionMode, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { image, diff --git a/packages/@azure/cognitiveservices-computervision/lib/computerVisionClientContext.ts b/packages/@azure/cognitiveservices-computervision/lib/computerVisionClientContext.ts index b0cc82402ea4..573a0cfaa307 100644 --- a/packages/@azure/cognitiveservices-computervision/lib/computerVisionClientContext.ts +++ b/packages/@azure/cognitiveservices-computervision/lib/computerVisionClientContext.ts @@ -8,10 +8,10 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; const packageName = "@azure/cognitiveservices-computervision"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class ComputerVisionClientContext extends msRest.ServiceClient { endpoint: string; @@ -34,6 +34,10 @@ export class ComputerVisionClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); @@ -42,6 +46,5 @@ export class ComputerVisionClientContext extends msRest.ServiceClient { this.endpoint = endpoint; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); } } diff --git a/packages/@azure/cognitiveservices-computervision/lib/models/index.ts b/packages/@azure/cognitiveservices-computervision/lib/models/index.ts index 90d22087984c..bf59f31ad829 100644 --- a/packages/@azure/cognitiveservices-computervision/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-computervision/lib/models/index.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -991,35 +991,18 @@ export interface RecognizeTextInStreamHeaders { * @readonly * @enum {string} */ -export enum Gender { - Male = 'Male', - Female = 'Female', -} +export type Gender = 'Male' | 'Female'; /** * Defines values for ComputerVisionErrorCodes. - * Possible values include: 'InvalidImageUrl', 'InvalidImageFormat', - * 'InvalidImageSize', 'NotSupportedVisualFeature', 'NotSupportedImage', - * 'InvalidDetails', 'NotSupportedLanguage', 'BadArgument', 'FailedToProcess', - * 'Timeout', 'InternalServerError', 'Unspecified', 'StorageException' + * Possible values include: 'InvalidImageUrl', 'InvalidImageFormat', 'InvalidImageSize', + * 'NotSupportedVisualFeature', 'NotSupportedImage', 'InvalidDetails', 'NotSupportedLanguage', + * 'BadArgument', 'FailedToProcess', 'Timeout', 'InternalServerError', 'Unspecified', + * 'StorageException' * @readonly * @enum {string} */ -export enum ComputerVisionErrorCodes { - InvalidImageUrl = 'InvalidImageUrl', - InvalidImageFormat = 'InvalidImageFormat', - InvalidImageSize = 'InvalidImageSize', - NotSupportedVisualFeature = 'NotSupportedVisualFeature', - NotSupportedImage = 'NotSupportedImage', - InvalidDetails = 'InvalidDetails', - NotSupportedLanguage = 'NotSupportedLanguage', - BadArgument = 'BadArgument', - FailedToProcess = 'FailedToProcess', - Timeout = 'Timeout', - InternalServerError = 'InternalServerError', - Unspecified = 'Unspecified', - StorageException = 'StorageException', -} +export type ComputerVisionErrorCodes = 'InvalidImageUrl' | 'InvalidImageFormat' | 'InvalidImageSize' | 'NotSupportedVisualFeature' | 'NotSupportedImage' | 'InvalidDetails' | 'NotSupportedLanguage' | 'BadArgument' | 'FailedToProcess' | 'Timeout' | 'InternalServerError' | 'Unspecified' | 'StorageException'; /** * Defines values for TextOperationStatusCodes. @@ -1027,67 +1010,26 @@ export enum ComputerVisionErrorCodes { * @readonly * @enum {string} */ -export enum TextOperationStatusCodes { - NotStarted = 'Not Started', - Running = 'Running', - Failed = 'Failed', - Succeeded = 'Succeeded', -} +export type TextOperationStatusCodes = 'Not Started' | 'Running' | 'Failed' | 'Succeeded'; /** * Defines values for VisualFeatureTypes. - * Possible values include: 'ImageType', 'Faces', 'Adult', 'Categories', - * 'Color', 'Tags', 'Description' + * Possible values include: 'ImageType', 'Faces', 'Adult', 'Categories', 'Color', 'Tags', + * 'Description' * @readonly * @enum {string} */ -export enum VisualFeatureTypes { - ImageType = 'ImageType', - Faces = 'Faces', - Adult = 'Adult', - Categories = 'Categories', - Color = 'Color', - Tags = 'Tags', - Description = 'Description', -} +export type VisualFeatureTypes = 'ImageType' | 'Faces' | 'Adult' | 'Categories' | 'Color' | 'Tags' | 'Description'; /** * Defines values for OcrLanguages. - * Possible values include: 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', - * 'en', 'fi', 'fr', 'de', 'el', 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', - * 'ru', 'es', 'sv', 'tr', 'ar', 'ro', 'sr-Cyrl', 'sr-Latn', 'sk' + * Possible values include: 'unk', 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', + * 'el', 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', 'sr-Cyrl', + * 'sr-Latn', 'sk' * @readonly * @enum {string} */ -export enum OcrLanguages { - Unk = 'unk', - ZhHans = 'zh-Hans', - ZhHant = 'zh-Hant', - Cs = 'cs', - Da = 'da', - Nl = 'nl', - En = 'en', - Fi = 'fi', - Fr = 'fr', - De = 'de', - El = 'el', - Hu = 'hu', - It = 'it', - Ja = 'ja', - Ko = 'ko', - Nb = 'nb', - Pl = 'pl', - Pt = 'pt', - Ru = 'ru', - Es = 'es', - Sv = 'sv', - Tr = 'tr', - Ar = 'ar', - Ro = 'ro', - SrCyrl = 'sr-Cyrl', - SrLatn = 'sr-Latn', - Sk = 'sk', -} +export type OcrLanguages = 'unk' | 'zh-Hans' | 'zh-Hant' | 'cs' | 'da' | 'nl' | 'en' | 'fi' | 'fr' | 'de' | 'el' | 'hu' | 'it' | 'ja' | 'ko' | 'nb' | 'pl' | 'pt' | 'ru' | 'es' | 'sv' | 'tr' | 'ar' | 'ro' | 'sr-Cyrl' | 'sr-Latn' | 'sk'; /** * Defines values for TextRecognitionMode. @@ -1095,10 +1037,7 @@ export enum OcrLanguages { * @readonly * @enum {string} */ -export enum TextRecognitionMode { - Handwritten = 'Handwritten', - Printed = 'Printed', -} +export type TextRecognitionMode = 'Handwritten' | 'Printed'; /** * Defines values for Details. @@ -1106,154 +1045,71 @@ export enum TextRecognitionMode { * @readonly * @enum {string} */ -export enum Details { - Celebrities = 'Celebrities', - Landmarks = 'Landmarks', -} +export type Details = 'Celebrities' | 'Landmarks'; /** * Defines values for Language. * Possible values include: 'en', 'es', 'ja', 'pt', 'zh' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Language = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Language { - En = 'en', - Es = 'es', - Ja = 'ja', - Pt = 'pt', - Zh = 'zh', -} +export type Language = 'en' | 'es' | 'ja' | 'pt' | 'zh'; /** * Defines values for Language1. * Possible values include: 'en', 'es', 'ja', 'pt', 'zh' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Language1 = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Language1 { - En = 'en', - Es = 'es', - Ja = 'ja', - Pt = 'pt', - Zh = 'zh', -} +export type Language1 = 'en' | 'es' | 'ja' | 'pt' | 'zh'; /** * Defines values for Language2. * Possible values include: 'en', 'es', 'ja', 'pt', 'zh' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Language2 = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Language2 { - En = 'en', - Es = 'es', - Ja = 'ja', - Pt = 'pt', - Zh = 'zh', -} +export type Language2 = 'en' | 'es' | 'ja' | 'pt' | 'zh'; /** * Defines values for Language3. * Possible values include: 'en', 'es', 'ja', 'pt', 'zh' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Language3 = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Language3 { - En = 'en', - Es = 'es', - Ja = 'ja', - Pt = 'pt', - Zh = 'zh', -} +export type Language3 = 'en' | 'es' | 'ja' | 'pt' | 'zh'; /** * Defines values for Language4. * Possible values include: 'en', 'es', 'ja', 'pt', 'zh' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Language4 = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Language4 { - En = 'en', - Es = 'es', - Ja = 'ja', - Pt = 'pt', - Zh = 'zh', -} +export type Language4 = 'en' | 'es' | 'ja' | 'pt' | 'zh'; /** * Defines values for Language5. * Possible values include: 'en', 'es', 'ja', 'pt', 'zh' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Language5 = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Language5 { - En = 'en', - Es = 'es', - Ja = 'ja', - Pt = 'pt', - Zh = 'zh', -} +export type Language5 = 'en' | 'es' | 'ja' | 'pt' | 'zh'; /** * Defines values for Language6. * Possible values include: 'en', 'es', 'ja', 'pt', 'zh' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Language6 = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Language6 { - En = 'en', - Es = 'es', - Ja = 'ja', - Pt = 'pt', - Zh = 'zh', -} +export type Language6 = 'en' | 'es' | 'ja' | 'pt' | 'zh'; /** * Defines values for Language7. * Possible values include: 'en', 'es', 'ja', 'pt', 'zh' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Language7 = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Language7 { - En = 'en', - Es = 'es', - Ja = 'ja', - Pt = 'pt', - Zh = 'zh', -} +export type Language7 = 'en' | 'es' | 'ja' | 'pt' | 'zh'; /** * Contains response data for the listModels operation. diff --git a/packages/@azure/cognitiveservices-computervision/lib/models/mappers.ts b/packages/@azure/cognitiveservices-computervision/lib/models/mappers.ts index f9a83f56f0f1..81899db289b4 100644 --- a/packages/@azure/cognitiveservices-computervision/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-computervision/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const FaceRectangle: msRest.CompositeMapper = { diff --git a/packages/@azure/cognitiveservices-computervision/lib/models/parameters.ts b/packages/@azure/cognitiveservices-computervision/lib/models/parameters.ts index 385969afb1de..f338fc1cdf1d 100644 --- a/packages/@azure/cognitiveservices-computervision/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-computervision/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 details: msRest.OperationQueryParameter = { parameterPath: [ diff --git a/packages/@azure/cognitiveservices-computervision/package.json b/packages/@azure/cognitiveservices-computervision/package.json index ecb7610ee610..a58742bd5b3d 100644 --- a/packages/@azure/cognitiveservices-computervision/package.json +++ b/packages/@azure/cognitiveservices-computervision/package.json @@ -4,7 +4,7 @@ "description": "ComputerVisionClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -32,10 +32,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/cognitiveservices-computervision.js.map'\" -o ./dist/cognitiveservices-computervision.min.js ./dist/cognitiveservices-computervision.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-computervision/rollup.config.js b/packages/@azure/cognitiveservices-computervision/rollup.config.js index adb703ad08f4..2bd6b6f1ba9b 100644 --- a/packages/@azure/cognitiveservices-computervision/rollup.config.js +++ b/packages/@azure/cognitiveservices-computervision/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/computerVisionClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-computervision.js", format: "umd", name: "Azure.CognitiveservicesComputervision", 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/cognitiveservices-computervision/tsconfig.json b/packages/@azure/cognitiveservices-computervision/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-computervision/tsconfig.json +++ b/packages/@azure/cognitiveservices-computervision/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-contentmoderator/.npmignore b/packages/@azure/cognitiveservices-contentmoderator/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/cognitiveservices-contentmoderator/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/cognitiveservices-contentmoderator/README.md b/packages/@azure/cognitiveservices-contentmoderator/README.md index ac89de30b99b..ca7316971c39 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/README.md +++ b/packages/@azure/cognitiveservices-contentmoderator/README.md @@ -1,41 +1,59 @@ -# An isomorphic javascript sdk for - ContentModeratorClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - ContentModeratorClient -## How to Install +This package contains an isomorphic SDK for ContentModeratorClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-contentmoderator ``` -- browser -```html - -``` -## How to use +### How to use + +#### nodejs - Authentication, client creation and getDetails listManagementImageLists as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and getDetails listManagementImageLists as an example written in TypeScript. +##### Sample code ```ts -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { ContentModeratorClient, ContentModeratorModels, ContentModeratorMappers } from "@azure/cognitiveservices-contentmoderator"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -const token = ""; -const creds = new msRest.TokenCredentials(token); -const client = new ContentModeratorClient(creds, subscriptionId); -const listId = "testlistId"; -client.listManagementImageLists.getDetails(listId).then((result) => { - console.log("The result is:"); - console.log(result); +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new ContentModeratorClient(creds, subscriptionId); + const listId = "testlistId"; + client.listManagementImageLists.getDetails(listId).then((result) => { + console.log("The result is:"); + console.log(result); + }); }).catch((err) => { console.error(err); }); ``` -### browser - Authentication, client creation and getDetails listManagementImageLists as an example written in javascript. +#### browser - Authentication, client creation and getDetails listManagementImageLists as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -43,26 +61,36 @@ client.listManagementImageLists.getDetails(listId).then((result) => { @azure/cognitiveservices-contentmoderator 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/cognitiveservices-contentmoderator/lib/contentModeratorClient.ts b/packages/@azure/cognitiveservices-contentmoderator/lib/contentModeratorClient.ts index ac113e95fa55..8c3b0bada116 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/lib/contentModeratorClient.ts +++ b/packages/@azure/cognitiveservices-contentmoderator/lib/contentModeratorClient.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/cognitiveservices-contentmoderator/lib/contentModeratorClientContext.ts b/packages/@azure/cognitiveservices-contentmoderator/lib/contentModeratorClientContext.ts index 7c5716a4f485..0a794b45bf1c 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/lib/contentModeratorClientContext.ts +++ b/packages/@azure/cognitiveservices-contentmoderator/lib/contentModeratorClientContext.ts @@ -8,10 +8,10 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; const packageName = "@azure/cognitiveservices-contentmoderator"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class ContentModeratorClientContext extends msRest.ServiceClient { endpoint: string; @@ -35,6 +35,10 @@ export class ContentModeratorClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); @@ -43,6 +47,5 @@ export class ContentModeratorClientContext extends msRest.ServiceClient { this.endpoint = endpoint; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); } } diff --git a/packages/@azure/cognitiveservices-contentmoderator/lib/models/index.ts b/packages/@azure/cognitiveservices-contentmoderator/lib/models/index.ts index 2571652561c5..0aeeb12364f7 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-contentmoderator/lib/models/index.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -1768,104 +1768,50 @@ export interface ReviewsAddVideoFrameStreamOptionalParams extends msRest.Request /** * Defines values for Type. * Possible values include: 'Image', 'Text' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Type = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Type { - Image = 'Image', - Text = 'Text', -} +export type Type = 'Image' | 'Text'; /** * Defines values for StatusEnum. * Possible values include: 'Complete', 'Unpublished', 'Pending' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: StatusEnum = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum StatusEnum { - Complete = 'Complete', - Unpublished = 'Unpublished', - Pending = 'Pending', -} +export type StatusEnum = 'Complete' | 'Unpublished' | 'Pending'; /** * Defines values for TextContentType. - * Possible values include: 'text/plain', 'text/html', 'text/xml', - * 'text/markdown' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TextContentType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'text/plain', 'text/html', 'text/xml', 'text/markdown' * @readonly * @enum {string} */ -export enum TextContentType { - Textplain = 'text/plain', - Texthtml = 'text/html', - Textxml = 'text/xml', - Textmarkdown = 'text/markdown', -} +export type TextContentType = 'text/plain' | 'text/html' | 'text/xml' | 'text/markdown'; /** * Defines values for TextContentType1. - * Possible values include: 'text/plain', 'text/html', 'text/xml', - * 'text/markdown' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TextContentType1 = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'text/plain', 'text/html', 'text/xml', 'text/markdown' * @readonly * @enum {string} */ -export enum TextContentType1 { - Textplain = 'text/plain', - Texthtml = 'text/html', - Textxml = 'text/xml', - Textmarkdown = 'text/markdown', -} +export type TextContentType1 = 'text/plain' | 'text/html' | 'text/xml' | 'text/markdown'; /** * Defines values for ContentType. * Possible values include: 'Image', 'Text', 'Video' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ContentType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ContentType { - Image = 'Image', - Text = 'Text', - Video = 'Video', -} +export type ContentType = 'Image' | 'Text' | 'Video'; /** * Defines values for JobContentType. * Possible values include: 'application/json', 'image/jpeg' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: JobContentType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum JobContentType { - Applicationjson = 'application/json', - Imagejpeg = 'image/jpeg', -} +export type JobContentType = 'application/json' | 'image/jpeg'; /** * Contains response data for the findFaces operation. diff --git a/packages/@azure/cognitiveservices-contentmoderator/lib/models/mappers.ts b/packages/@azure/cognitiveservices-contentmoderator/lib/models/mappers.ts index 974dce87f650..fc9868c6a2b1 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-contentmoderator/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const KeyValuePair: msRest.CompositeMapper = { diff --git a/packages/@azure/cognitiveservices-contentmoderator/lib/models/parameters.ts b/packages/@azure/cognitiveservices-contentmoderator/lib/models/parameters.ts index 5cd4daa8a332..0f80b289c447 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-contentmoderator/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 autocorrect: msRest.OperationQueryParameter = { parameterPath: [ diff --git a/packages/@azure/cognitiveservices-contentmoderator/lib/operations/imageModeration.ts b/packages/@azure/cognitiveservices-contentmoderator/lib/operations/imageModeration.ts index 82bdc08570b2..5491cda0bcab 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/lib/operations/imageModeration.ts +++ b/packages/@azure/cognitiveservices-contentmoderator/lib/operations/imageModeration.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/imageModerationMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class ImageModeration { * @param callback The callback */ findFaces(options: Models.ImageModerationFindFacesOptionalParams, callback: msRest.ServiceCallback): void; - findFaces(options?: Models.ImageModerationFindFacesOptionalParams, callback?: msRest.ServiceCallback): Promise { + findFaces(options?: Models.ImageModerationFindFacesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -69,7 +69,7 @@ export class ImageModeration { * @param callback The callback */ oCRMethod(language: string, options: Models.ImageModerationOCRMethodOptionalParams, callback: msRest.ServiceCallback): void; - oCRMethod(language: string, options?: Models.ImageModerationOCRMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + oCRMethod(language: string, options?: Models.ImageModerationOCRMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { language, @@ -94,7 +94,7 @@ export class ImageModeration { * @param callback The callback */ evaluateMethod(options: Models.ImageModerationEvaluateMethodOptionalParams, callback: msRest.ServiceCallback): void; - evaluateMethod(options?: Models.ImageModerationEvaluateMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + evaluateMethod(options?: Models.ImageModerationEvaluateMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -125,7 +125,7 @@ export class ImageModeration { * @param callback The callback */ matchMethod(options: Models.ImageModerationMatchMethodOptionalParams, callback: msRest.ServiceCallback): void; - matchMethod(options?: Models.ImageModerationMatchMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + matchMethod(options?: Models.ImageModerationMatchMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -152,7 +152,7 @@ export class ImageModeration { * @param callback The callback */ findFacesFileInput(imageStream: msRest.HttpRequestBody, options: Models.ImageModerationFindFacesFileInputOptionalParams, callback: msRest.ServiceCallback): void; - findFacesFileInput(imageStream: msRest.HttpRequestBody, options?: Models.ImageModerationFindFacesFileInputOptionalParams, callback?: msRest.ServiceCallback): Promise { + findFacesFileInput(imageStream: msRest.HttpRequestBody, options?: Models.ImageModerationFindFacesFileInputOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { imageStream, @@ -183,7 +183,7 @@ export class ImageModeration { * @param callback The callback */ findFacesUrlInput(contentType: string, imageUrl: Models.BodyModel, options: Models.ImageModerationFindFacesUrlInputOptionalParams, callback: msRest.ServiceCallback): void; - findFacesUrlInput(contentType: string, imageUrl: Models.BodyModel, options?: Models.ImageModerationFindFacesUrlInputOptionalParams, callback?: msRest.ServiceCallback): Promise { + findFacesUrlInput(contentType: string, imageUrl: Models.BodyModel, options?: Models.ImageModerationFindFacesUrlInputOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { contentType, @@ -219,7 +219,7 @@ export class ImageModeration { * @param callback The callback */ oCRUrlInput(language: string, contentType: string, imageUrl: Models.BodyModel, options: Models.ImageModerationOCRUrlInputOptionalParams, callback: msRest.ServiceCallback): void; - oCRUrlInput(language: string, contentType: string, imageUrl: Models.BodyModel, options?: Models.ImageModerationOCRUrlInputOptionalParams, callback?: msRest.ServiceCallback): Promise { + oCRUrlInput(language: string, contentType: string, imageUrl: Models.BodyModel, options?: Models.ImageModerationOCRUrlInputOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { language, @@ -253,7 +253,7 @@ export class ImageModeration { * @param callback The callback */ oCRFileInput(language: string, imageStream: msRest.HttpRequestBody, options: Models.ImageModerationOCRFileInputOptionalParams, callback: msRest.ServiceCallback): void; - oCRFileInput(language: string, imageStream: msRest.HttpRequestBody, options?: Models.ImageModerationOCRFileInputOptionalParams, callback?: msRest.ServiceCallback): Promise { + oCRFileInput(language: string, imageStream: msRest.HttpRequestBody, options?: Models.ImageModerationOCRFileInputOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { language, @@ -282,7 +282,7 @@ export class ImageModeration { * @param callback The callback */ evaluateFileInput(imageStream: msRest.HttpRequestBody, options: Models.ImageModerationEvaluateFileInputOptionalParams, callback: msRest.ServiceCallback): void; - evaluateFileInput(imageStream: msRest.HttpRequestBody, options?: Models.ImageModerationEvaluateFileInputOptionalParams, callback?: msRest.ServiceCallback): Promise { + evaluateFileInput(imageStream: msRest.HttpRequestBody, options?: Models.ImageModerationEvaluateFileInputOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { imageStream, @@ -313,7 +313,7 @@ export class ImageModeration { * @param callback The callback */ evaluateUrlInput(contentType: string, imageUrl: Models.BodyModel, options: Models.ImageModerationEvaluateUrlInputOptionalParams, callback: msRest.ServiceCallback): void; - evaluateUrlInput(contentType: string, imageUrl: Models.BodyModel, options?: Models.ImageModerationEvaluateUrlInputOptionalParams, callback?: msRest.ServiceCallback): Promise { + evaluateUrlInput(contentType: string, imageUrl: Models.BodyModel, options?: Models.ImageModerationEvaluateUrlInputOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { contentType, @@ -352,7 +352,7 @@ export class ImageModeration { * @param callback The callback */ matchUrlInput(contentType: string, imageUrl: Models.BodyModel, options: Models.ImageModerationMatchUrlInputOptionalParams, callback: msRest.ServiceCallback): void; - matchUrlInput(contentType: string, imageUrl: Models.BodyModel, options?: Models.ImageModerationMatchUrlInputOptionalParams, callback?: msRest.ServiceCallback): Promise { + matchUrlInput(contentType: string, imageUrl: Models.BodyModel, options?: Models.ImageModerationMatchUrlInputOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { contentType, @@ -388,7 +388,7 @@ export class ImageModeration { * @param callback The callback */ matchFileInput(imageStream: msRest.HttpRequestBody, options: Models.ImageModerationMatchFileInputOptionalParams, callback: msRest.ServiceCallback): void; - matchFileInput(imageStream: msRest.HttpRequestBody, options?: Models.ImageModerationMatchFileInputOptionalParams, callback?: msRest.ServiceCallback): Promise { + matchFileInput(imageStream: msRest.HttpRequestBody, options?: Models.ImageModerationMatchFileInputOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { imageStream, diff --git a/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementImage.ts b/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementImage.ts index 3bc217d55170..8b3204e2e48e 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementImage.ts +++ b/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementImage.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/listManagementImageMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class ListManagementImage { * @param callback The callback */ addImage(listId: string, options: Models.ListManagementImageAddImageOptionalParams, callback: msRest.ServiceCallback): void; - addImage(listId: string, options?: Models.ListManagementImageAddImageOptionalParams, callback?: msRest.ServiceCallback): Promise { + addImage(listId: string, options?: Models.ListManagementImageAddImageOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, @@ -72,7 +72,7 @@ export class ListManagementImage { * @param callback The callback */ deleteAllImages(listId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAllImages(listId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAllImages(listId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, @@ -100,7 +100,7 @@ export class ListManagementImage { * @param callback The callback */ getAllImageIds(listId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAllImageIds(listId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAllImageIds(listId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, @@ -131,7 +131,7 @@ export class ListManagementImage { * @param callback The callback */ deleteImage(listId: string, imageId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteImage(listId: string, imageId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteImage(listId: string, imageId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, @@ -166,7 +166,7 @@ export class ListManagementImage { * @param callback The callback */ addImageUrlInput(listId: string, contentType: string, imageUrl: Models.BodyModel, options: Models.ListManagementImageAddImageUrlInputOptionalParams, callback: msRest.ServiceCallback): void; - addImageUrlInput(listId: string, contentType: string, imageUrl: Models.BodyModel, options?: Models.ListManagementImageAddImageUrlInputOptionalParams, callback?: msRest.ServiceCallback): Promise { + addImageUrlInput(listId: string, contentType: string, imageUrl: Models.BodyModel, options?: Models.ListManagementImageAddImageUrlInputOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, @@ -199,7 +199,7 @@ export class ListManagementImage { * @param callback The callback */ addImageFileInput(listId: string, imageStream: msRest.HttpRequestBody, options: Models.ListManagementImageAddImageFileInputOptionalParams, callback: msRest.ServiceCallback): void; - addImageFileInput(listId: string, imageStream: msRest.HttpRequestBody, options?: Models.ListManagementImageAddImageFileInputOptionalParams, callback?: msRest.ServiceCallback): Promise { + addImageFileInput(listId: string, imageStream: msRest.HttpRequestBody, options?: Models.ListManagementImageAddImageFileInputOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, diff --git a/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementImageLists.ts b/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementImageLists.ts index 0891a4e283c1..b951df6e0f51 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementImageLists.ts +++ b/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementImageLists.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/listManagementImageListsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class ListManagementImageLists { * @param callback The callback */ getDetails(listId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDetails(listId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDetails(listId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, @@ -72,7 +72,7 @@ export class ListManagementImageLists { * @param callback The callback */ deleteMethod(listId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(listId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(listId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, @@ -106,7 +106,7 @@ export class ListManagementImageLists { * @param callback The callback */ update(listId: string, contentType: string, body: Models.Body, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(listId: string, contentType: string, body: Models.Body, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(listId: string, contentType: string, body: Models.Body, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, @@ -139,7 +139,7 @@ export class ListManagementImageLists { * @param callback The callback */ create(contentType: string, body: Models.Body, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(contentType: string, body: Models.Body, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(contentType: string, body: Models.Body, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { contentType, @@ -165,7 +165,7 @@ export class ListManagementImageLists { * @param callback The callback */ getAllImageLists(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAllImageLists(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAllImageLists(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -192,7 +192,7 @@ export class ListManagementImageLists { * @param callback The callback */ refreshIndexMethod(listId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - refreshIndexMethod(listId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + refreshIndexMethod(listId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, diff --git a/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementTerm.ts b/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementTerm.ts index 22beebe02d9d..cf749638a9b7 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementTerm.ts +++ b/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementTerm.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/listManagementTermMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class ListManagementTerm { * @param callback The callback */ addTerm(listId: string, term: string, language: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addTerm(listId: string, term: string, language: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addTerm(listId: string, term: string, language: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, @@ -86,7 +86,7 @@ export class ListManagementTerm { * @param callback The callback */ deleteTerm(listId: string, term: string, language: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteTerm(listId: string, term: string, language: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteTerm(listId: string, term: string, language: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, @@ -119,7 +119,7 @@ export class ListManagementTerm { * @param callback The callback */ getAllTerms(listId: string, language: string, options: Models.ListManagementTermGetAllTermsOptionalParams, callback: msRest.ServiceCallback): void; - getAllTerms(listId: string, language: string, options?: Models.ListManagementTermGetAllTermsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getAllTerms(listId: string, language: string, options?: Models.ListManagementTermGetAllTermsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, @@ -151,7 +151,7 @@ export class ListManagementTerm { * @param callback The callback */ deleteAllTerms(listId: string, language: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteAllTerms(listId: string, language: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteAllTerms(listId: string, language: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, diff --git a/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementTermLists.ts b/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementTermLists.ts index 567605706172..cc4d355c45cc 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementTermLists.ts +++ b/packages/@azure/cognitiveservices-contentmoderator/lib/operations/listManagementTermLists.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/listManagementTermListsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class ListManagementTermLists { * @param callback The callback */ getDetails(listId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDetails(listId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDetails(listId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, @@ -72,7 +72,7 @@ export class ListManagementTermLists { * @param callback The callback */ deleteMethod(listId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(listId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(listId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, @@ -106,7 +106,7 @@ export class ListManagementTermLists { * @param callback The callback */ update(listId: string, contentType: string, body: Models.Body, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(listId: string, contentType: string, body: Models.Body, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(listId: string, contentType: string, body: Models.Body, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, @@ -139,7 +139,7 @@ export class ListManagementTermLists { * @param callback The callback */ create(contentType: string, body: Models.Body, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(contentType: string, body: Models.Body, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(contentType: string, body: Models.Body, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { contentType, @@ -165,7 +165,7 @@ export class ListManagementTermLists { * @param callback The callback */ getAllTermLists(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAllTermLists(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getAllTermLists(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -195,7 +195,7 @@ export class ListManagementTermLists { * @param callback The callback */ refreshIndexMethod(listId: string, language: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - refreshIndexMethod(listId: string, language: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + refreshIndexMethod(listId: string, language: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { listId, diff --git a/packages/@azure/cognitiveservices-contentmoderator/lib/operations/reviews.ts b/packages/@azure/cognitiveservices-contentmoderator/lib/operations/reviews.ts index 163aa79f4c46..ca34d91483e8 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/lib/operations/reviews.ts +++ b/packages/@azure/cognitiveservices-contentmoderator/lib/operations/reviews.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/reviewsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Reviews { * @param callback The callback */ getReview(teamName: string, reviewId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getReview(teamName: string, reviewId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getReview(teamName: string, reviewId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { teamName, @@ -79,7 +79,7 @@ export class Reviews { * @param callback The callback */ getJobDetails(teamName: string, jobId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getJobDetails(teamName: string, jobId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getJobDetails(teamName: string, jobId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { teamName, @@ -138,7 +138,7 @@ export class Reviews { * @param callback The callback */ createReviews(urlContentType: string, teamName: string, createReviewBody: Models.CreateReviewBodyItem[], options: Models.ReviewsCreateReviewsOptionalParams, callback: msRest.ServiceCallback): void; - createReviews(urlContentType: string, teamName: string, createReviewBody: Models.CreateReviewBodyItem[], options?: Models.ReviewsCreateReviewsOptionalParams, callback?: msRest.ServiceCallback): Promise { + createReviews(urlContentType: string, teamName: string, createReviewBody: Models.CreateReviewBodyItem[], options?: Models.ReviewsCreateReviewsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { urlContentType, @@ -234,7 +234,7 @@ export class Reviews { * @param callback The callback */ createJob(teamName: string, contentType: Models.ContentType, contentId: string, workflowName: string, jobContentType: Models.JobContentType, content: Models.Content, options: Models.ReviewsCreateJobOptionalParams, callback: msRest.ServiceCallback): void; - createJob(teamName: string, contentType: Models.ContentType, contentId: string, workflowName: string, jobContentType: Models.JobContentType, content: Models.Content, options?: Models.ReviewsCreateJobOptionalParams, callback?: msRest.ServiceCallback): Promise { + createJob(teamName: string, contentType: Models.ContentType, contentId: string, workflowName: string, jobContentType: Models.JobContentType, content: Models.Content, options?: Models.ReviewsCreateJobOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { teamName, @@ -294,7 +294,7 @@ export class Reviews { * @param callback The callback */ addVideoFrame(teamName: string, reviewId: string, options: Models.ReviewsAddVideoFrameOptionalParams, callback: msRest.ServiceCallback): void; - addVideoFrame(teamName: string, reviewId: string, options?: Models.ReviewsAddVideoFrameOptionalParams, callback?: msRest.ServiceCallback): Promise { + addVideoFrame(teamName: string, reviewId: string, options?: Models.ReviewsAddVideoFrameOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { teamName, @@ -350,7 +350,7 @@ export class Reviews { * @param callback The callback */ getVideoFrames(teamName: string, reviewId: string, options: Models.ReviewsGetVideoFramesOptionalParams, callback: msRest.ServiceCallback): void; - getVideoFrames(teamName: string, reviewId: string, options?: Models.ReviewsGetVideoFramesOptionalParams, callback?: msRest.ServiceCallback): Promise { + getVideoFrames(teamName: string, reviewId: string, options?: Models.ReviewsGetVideoFramesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { teamName, @@ -382,7 +382,7 @@ export class Reviews { * @param callback The callback */ publishVideoReview(teamName: string, reviewId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - publishVideoReview(teamName: string, reviewId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + publishVideoReview(teamName: string, reviewId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { teamName, @@ -422,7 +422,7 @@ export class Reviews { * @param callback The callback */ addVideoTranscriptModerationResult(contentType: string, teamName: string, reviewId: string, transcriptModerationBody: Models.TranscriptModerationBodyItem[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addVideoTranscriptModerationResult(contentType: string, teamName: string, reviewId: string, transcriptModerationBody: Models.TranscriptModerationBodyItem[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addVideoTranscriptModerationResult(contentType: string, teamName: string, reviewId: string, transcriptModerationBody: Models.TranscriptModerationBodyItem[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { contentType, @@ -460,7 +460,7 @@ export class Reviews { * @param callback The callback */ addVideoTranscript(teamName: string, reviewId: string, vTTfile: msRest.HttpRequestBody, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addVideoTranscript(teamName: string, reviewId: string, vTTfile: msRest.HttpRequestBody, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addVideoTranscript(teamName: string, reviewId: string, vTTfile: msRest.HttpRequestBody, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { teamName, @@ -520,7 +520,7 @@ export class Reviews { * @param callback The callback */ createVideoReviews(contentType: string, teamName: string, createVideoReviewsBody: Models.CreateVideoReviewsBodyItem[], options: Models.ReviewsCreateVideoReviewsOptionalParams, callback: msRest.ServiceCallback): void; - createVideoReviews(contentType: string, teamName: string, createVideoReviewsBody: Models.CreateVideoReviewsBodyItem[], options?: Models.ReviewsCreateVideoReviewsOptionalParams, callback?: msRest.ServiceCallback): Promise { + createVideoReviews(contentType: string, teamName: string, createVideoReviewsBody: Models.CreateVideoReviewsBodyItem[], options?: Models.ReviewsCreateVideoReviewsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { contentType, @@ -562,7 +562,7 @@ export class Reviews { * @param callback The callback */ addVideoFrameUrl(contentType: string, teamName: string, reviewId: string, videoFrameBody: Models.VideoFrameBodyItem[], options: Models.ReviewsAddVideoFrameUrlOptionalParams, callback: msRest.ServiceCallback): void; - addVideoFrameUrl(contentType: string, teamName: string, reviewId: string, videoFrameBody: Models.VideoFrameBodyItem[], options?: Models.ReviewsAddVideoFrameUrlOptionalParams, callback?: msRest.ServiceCallback): Promise { + addVideoFrameUrl(contentType: string, teamName: string, reviewId: string, videoFrameBody: Models.VideoFrameBodyItem[], options?: Models.ReviewsAddVideoFrameUrlOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { contentType, @@ -608,7 +608,7 @@ export class Reviews { * @param callback The callback */ addVideoFrameStream(contentType: string, teamName: string, reviewId: string, frameImageZip: msRest.HttpRequestBody, frameMetadata: string, options: Models.ReviewsAddVideoFrameStreamOptionalParams, callback: msRest.ServiceCallback): void; - addVideoFrameStream(contentType: string, teamName: string, reviewId: string, frameImageZip: msRest.HttpRequestBody, frameMetadata: string, options?: Models.ReviewsAddVideoFrameStreamOptionalParams, callback?: msRest.ServiceCallback): Promise { + addVideoFrameStream(contentType: string, teamName: string, reviewId: string, frameImageZip: msRest.HttpRequestBody, frameMetadata: string, options?: Models.ReviewsAddVideoFrameStreamOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { contentType, diff --git a/packages/@azure/cognitiveservices-contentmoderator/lib/operations/textModeration.ts b/packages/@azure/cognitiveservices-contentmoderator/lib/operations/textModeration.ts index c40ea7c23ae9..57c52fe9c71f 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/lib/operations/textModeration.ts +++ b/packages/@azure/cognitiveservices-contentmoderator/lib/operations/textModeration.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/textModerationMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class TextModeration { * @param callback The callback */ screenText(textContentType: Models.TextContentType, textContent: msRest.HttpRequestBody, options: Models.TextModerationScreenTextOptionalParams, callback: msRest.ServiceCallback): void; - screenText(textContentType: Models.TextContentType, textContent: msRest.HttpRequestBody, options?: Models.TextModerationScreenTextOptionalParams, callback?: msRest.ServiceCallback): Promise { + screenText(textContentType: Models.TextContentType, textContent: msRest.HttpRequestBody, options?: Models.TextModerationScreenTextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { textContentType, @@ -88,7 +88,7 @@ export class TextModeration { * @param callback The callback */ detectLanguage(textContentType: Models.TextContentType1, textContent: msRest.HttpRequestBody, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - detectLanguage(textContentType: Models.TextContentType1, textContent: msRest.HttpRequestBody, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + detectLanguage(textContentType: Models.TextContentType1, textContent: msRest.HttpRequestBody, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { textContentType, diff --git a/packages/@azure/cognitiveservices-contentmoderator/package.json b/packages/@azure/cognitiveservices-contentmoderator/package.json index dc3b8eed1164..8995849e2ec2 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/package.json +++ b/packages/@azure/cognitiveservices-contentmoderator/package.json @@ -4,7 +4,7 @@ "description": "ContentModeratorClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -32,10 +32,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/cognitiveservices-contentmoderator.js.map'\" -o ./dist/cognitiveservices-contentmoderator.min.js ./dist/cognitiveservices-contentmoderator.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-contentmoderator/rollup.config.js b/packages/@azure/cognitiveservices-contentmoderator/rollup.config.js index 09222fc14f7a..99f9f519b7bb 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/rollup.config.js +++ b/packages/@azure/cognitiveservices-contentmoderator/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/contentModeratorClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-contentmoderator.js", format: "umd", name: "Azure.CognitiveservicesContentmoderator", 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/cognitiveservices-contentmoderator/tsconfig.json b/packages/@azure/cognitiveservices-contentmoderator/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-contentmoderator/tsconfig.json +++ b/packages/@azure/cognitiveservices-contentmoderator/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-customimagesearch/README.md b/packages/@azure/cognitiveservices-customimagesearch/README.md index ad16c336bbc7..d18db4b8f73f 100644 --- a/packages/@azure/cognitiveservices-customimagesearch/README.md +++ b/packages/@azure/cognitiveservices-customimagesearch/README.md @@ -1,26 +1,33 @@ -# An isomorphic javascript sdk for - CustomImageSearchAPIClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - CustomImageSearchAPIClient -## How to Install +This package contains an isomorphic SDK for CustomImageSearchAPIClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-customimagesearch ``` -- browser -```html - -``` -## How to use +### How to use -### nodejs - Authentication, client creation and imageSearch customInstance as an example written in TypeScript. +#### nodejs - Authentication, client creation and imageSearch customInstance as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code ```ts -import * as msRest from "ms-rest-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { CustomImageSearchAPIClient, CustomImageSearchAPIModels, CustomImageSearchAPIMappers } from "@azure/cognitiveservices-customimagesearch"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -64,7 +71,17 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and imageSearch customInstance as an example written in javascript. +#### browser - Authentication, client creation and imageSearch customInstance as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -72,8 +89,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => { @azure/cognitiveservices-customimagesearch 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/cognitiveservices-customimagesearch/lib/customImageSearchAPIClient.ts b/packages/@azure/cognitiveservices-customimagesearch/lib/customImageSearchAPIClient.ts index 3caaf836b35e..b04e97a318cf 100644 --- a/packages/@azure/cognitiveservices-customimagesearch/lib/customImageSearchAPIClient.ts +++ b/packages/@azure/cognitiveservices-customimagesearch/lib/customImageSearchAPIClient.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/cognitiveservices-customimagesearch/lib/customImageSearchAPIClientContext.ts b/packages/@azure/cognitiveservices-customimagesearch/lib/customImageSearchAPIClientContext.ts index c1600f444aa7..fb465479044d 100644 --- a/packages/@azure/cognitiveservices-customimagesearch/lib/customImageSearchAPIClientContext.ts +++ b/packages/@azure/cognitiveservices-customimagesearch/lib/customImageSearchAPIClientContext.ts @@ -8,13 +8,14 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; const packageName = "@azure/cognitiveservices-customimagesearch"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class CustomImageSearchAPIClientContext extends msRest.ServiceClient { + endpoint?: string; credentials: msRest.ServiceClientCredentials; /** @@ -30,13 +31,20 @@ export class CustomImageSearchAPIClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); - this.baseUri = options.baseUri || this.baseUri || "https://api.cognitive.microsoft.com"; + this.endpoint = 'https://api.cognitive.microsoft.com'; + this.baseUri = "{Endpoint}"; this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); + if(options.endpoint !== null && options.endpoint !== undefined) { + this.endpoint = options.endpoint; + } } } diff --git a/packages/@azure/cognitiveservices-customimagesearch/lib/models/index.ts b/packages/@azure/cognitiveservices-customimagesearch/lib/models/index.ts index dbe952df0e4f..775c01de29ba 100644 --- a/packages/@azure/cognitiveservices-customimagesearch/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-customimagesearch/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { ServiceClientOptions } from "ms-rest-js"; -import * as msRest from "ms-rest-js"; +import { ServiceClientOptions } from "@azure/ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -933,9 +933,13 @@ export interface WebPage { */ export interface CustomImageSearchAPIClientOptions extends ServiceClientOptions { /** - * @member {string} [baseUri] + * @member {string} [endpoint] Supported Cognitive Services endpoints + * (protocol and hostname, for example: + * "https://westus.api.cognitive.microsoft.com", + * "https://api.cognitive.microsoft.com"). Default value: + * 'https://api.cognitive.microsoft.com' . */ - baseUri?: string; + endpoint?: string; } /** @@ -1332,206 +1336,89 @@ export interface CustomInstanceImageSearchOptionalParams extends msRest.RequestO /** * Defines values for ErrorCode. - * Possible values include: 'None', 'ServerError', 'InvalidRequest', - * 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorCode = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', + * 'InvalidAuthorization', 'InsufficientAuthorization' * @readonly * @enum {string} */ -export enum ErrorCode { - None = 'None', - ServerError = 'ServerError', - InvalidRequest = 'InvalidRequest', - RateLimitExceeded = 'RateLimitExceeded', - InvalidAuthorization = 'InvalidAuthorization', - InsufficientAuthorization = 'InsufficientAuthorization', -} +export type ErrorCode = 'None' | 'ServerError' | 'InvalidRequest' | 'RateLimitExceeded' | 'InvalidAuthorization' | 'InsufficientAuthorization'; /** * Defines values for ErrorSubCode. - * Possible values include: 'UnexpectedError', 'ResourceError', - * 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', - * 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing', - * 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorSubCode = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', + * 'ParameterMissing', 'ParameterInvalidValue', 'HttpNotAllowed', 'Blocked', + * 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', + * 'AuthorizationExpired' * @readonly * @enum {string} */ -export enum ErrorSubCode { - UnexpectedError = 'UnexpectedError', - ResourceError = 'ResourceError', - NotImplemented = 'NotImplemented', - ParameterMissing = 'ParameterMissing', - ParameterInvalidValue = 'ParameterInvalidValue', - HttpNotAllowed = 'HttpNotAllowed', - Blocked = 'Blocked', - AuthorizationMissing = 'AuthorizationMissing', - AuthorizationRedundancy = 'AuthorizationRedundancy', - AuthorizationDisabled = 'AuthorizationDisabled', - AuthorizationExpired = 'AuthorizationExpired', -} +export type ErrorSubCode = 'UnexpectedError' | 'ResourceError' | 'NotImplemented' | 'ParameterMissing' | 'ParameterInvalidValue' | 'HttpNotAllowed' | 'Blocked' | 'AuthorizationMissing' | 'AuthorizationRedundancy' | 'AuthorizationDisabled' | 'AuthorizationExpired'; /** * Defines values for ImageAspect. * Possible values include: 'All', 'Square', 'Wide', 'Tall' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageAspect = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ImageAspect { - All = 'All', - Square = 'Square', - Wide = 'Wide', - Tall = 'Tall', -} +export type ImageAspect = 'All' | 'Square' | 'Wide' | 'Tall'; /** * Defines values for ImageColor. - * Possible values include: 'ColorOnly', 'Monochrome', 'Black', 'Blue', - * 'Brown', 'Gray', 'Green', 'Orange', 'Pink', 'Purple', 'Red', 'Teal', - * 'White', 'Yellow' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageColor = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'ColorOnly', 'Monochrome', 'Black', 'Blue', 'Brown', 'Gray', 'Green', + * 'Orange', 'Pink', 'Purple', 'Red', 'Teal', 'White', 'Yellow' * @readonly * @enum {string} */ -export enum ImageColor { - ColorOnly = 'ColorOnly', - Monochrome = 'Monochrome', - Black = 'Black', - Blue = 'Blue', - Brown = 'Brown', - Gray = 'Gray', - Green = 'Green', - Orange = 'Orange', - Pink = 'Pink', - Purple = 'Purple', - Red = 'Red', - Teal = 'Teal', - White = 'White', - Yellow = 'Yellow', -} +export type ImageColor = 'ColorOnly' | 'Monochrome' | 'Black' | 'Blue' | 'Brown' | 'Gray' | 'Green' | 'Orange' | 'Pink' | 'Purple' | 'Red' | 'Teal' | 'White' | 'Yellow'; /** * Defines values for Freshness. * Possible values include: 'Day', 'Week', 'Month' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Freshness = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Freshness { - Day = 'Day', - Week = 'Week', - Month = 'Month', -} +export type Freshness = 'Day' | 'Week' | 'Month'; /** * Defines values for ImageContent. * Possible values include: 'Face', 'Portrait' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageContent = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ImageContent { - Face = 'Face', - Portrait = 'Portrait', -} +export type ImageContent = 'Face' | 'Portrait'; /** * Defines values for ImageType. - * Possible values include: 'AnimatedGif', 'Clipart', 'Line', 'Photo', - * 'Shopping', 'Transparent' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageType = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'AnimatedGif', 'Clipart', 'Line', 'Photo', 'Shopping', 'Transparent' * @readonly * @enum {string} */ -export enum ImageType { - AnimatedGif = 'AnimatedGif', - Clipart = 'Clipart', - Line = 'Line', - Photo = 'Photo', - Shopping = 'Shopping', - Transparent = 'Transparent', -} +export type ImageType = 'AnimatedGif' | 'Clipart' | 'Line' | 'Photo' | 'Shopping' | 'Transparent'; /** * Defines values for ImageLicense. - * Possible values include: 'All', 'Any', 'Public', 'Share', - * 'ShareCommercially', 'Modify', 'ModifyCommercially' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageLicense = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'All', 'Any', 'Public', 'Share', 'ShareCommercially', 'Modify', + * 'ModifyCommercially' * @readonly * @enum {string} */ -export enum ImageLicense { - All = 'All', - Any = 'Any', - Public = 'Public', - Share = 'Share', - ShareCommercially = 'ShareCommercially', - Modify = 'Modify', - ModifyCommercially = 'ModifyCommercially', -} +export type ImageLicense = 'All' | 'Any' | 'Public' | 'Share' | 'ShareCommercially' | 'Modify' | 'ModifyCommercially'; /** * Defines values for SafeSearch. * Possible values include: 'Off', 'Moderate', 'Strict' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SafeSearch = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SafeSearch { - Off = 'Off', - Moderate = 'Moderate', - Strict = 'Strict', -} +export type SafeSearch = 'Off' | 'Moderate' | 'Strict'; /** * Defines values for ImageSize. * Possible values include: 'All', 'Small', 'Medium', 'Large', 'Wallpaper' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageSize = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ImageSize { - All = 'All', - Small = 'Small', - Medium = 'Medium', - Large = 'Large', - Wallpaper = 'Wallpaper', -} +export type ImageSize = 'All' | 'Small' | 'Medium' | 'Large' | 'Wallpaper'; /** * Contains response data for the imageSearch operation. diff --git a/packages/@azure/cognitiveservices-customimagesearch/lib/models/mappers.ts b/packages/@azure/cognitiveservices-customimagesearch/lib/models/mappers.ts index 09d84cd26a4a..c69227074789 100644 --- a/packages/@azure/cognitiveservices-customimagesearch/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-customimagesearch/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const ResponseBase: msRest.CompositeMapper = { @@ -108,8 +108,6 @@ export const Thing: msRest.CompositeMapper = { serializedName: "image", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } }, @@ -162,8 +160,6 @@ export const CreativeWork: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -256,8 +252,6 @@ export const ImageObject: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } }, @@ -350,8 +344,6 @@ export const Images: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -400,8 +392,6 @@ export const Query: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } diff --git a/packages/@azure/cognitiveservices-customimagesearch/lib/models/parameters.ts b/packages/@azure/cognitiveservices-customimagesearch/lib/models/parameters.ts index 0ac13f6e5e05..6967ba2002b7 100644 --- a/packages/@azure/cognitiveservices-customimagesearch/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-customimagesearch/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: [ @@ -104,6 +104,18 @@ export const customConfig: msRest.OperationQueryParameter = { } } }; +export const endpoint: msRest.OperationURLParameter = { + parameterPath: "endpoint", + mapper: { + required: true, + serializedName: "Endpoint", + defaultValue: 'https://api.cognitive.microsoft.com', + type: { + name: "String" + } + }, + skipEncoding: true +}; export const freshness: msRest.OperationQueryParameter = { parameterPath: [ "options", diff --git a/packages/@azure/cognitiveservices-customimagesearch/lib/operations/customInstance.ts b/packages/@azure/cognitiveservices-customimagesearch/lib/operations/customInstance.ts index 36c12343d03f..23b7dc6103a2 100644 --- a/packages/@azure/cognitiveservices-customimagesearch/lib/operations/customInstance.ts +++ b/packages/@azure/cognitiveservices-customimagesearch/lib/operations/customInstance.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/customInstanceMappers"; import * as Parameters from "../models/parameters"; @@ -66,7 +66,7 @@ export class CustomInstance { * @param callback The callback */ imageSearch(customConfig: string, query: string, options: Models.CustomInstanceImageSearchOptionalParams, callback: msRest.ServiceCallback): void; - imageSearch(customConfig: string, query: string, options?: Models.CustomInstanceImageSearchOptionalParams, callback?: msRest.ServiceCallback): Promise { + imageSearch(customConfig: string, query: string, options?: Models.CustomInstanceImageSearchOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { customConfig, @@ -82,7 +82,10 @@ export class CustomInstance { const serializer = new msRest.Serializer(Mappers); const imageSearchOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "bingcustomsearch/v7.0/images/search", + path: "images/search", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.customConfig, Parameters.aspect, diff --git a/packages/@azure/cognitiveservices-customimagesearch/package.json b/packages/@azure/cognitiveservices-customimagesearch/package.json index 15bda1f0df18..89f221692272 100644 --- a/packages/@azure/cognitiveservices-customimagesearch/package.json +++ b/packages/@azure/cognitiveservices-customimagesearch/package.json @@ -4,7 +4,7 @@ "description": "CustomImageSearchAPIClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -51,4 +51,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-customimagesearch/rollup.config.js b/packages/@azure/cognitiveservices-customimagesearch/rollup.config.js index 23a828b2d633..e70809949cc9 100644 --- a/packages/@azure/cognitiveservices-customimagesearch/rollup.config.js +++ b/packages/@azure/cognitiveservices-customimagesearch/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/customImageSearchAPIClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-customimagesearch.js", format: "umd", name: "Azure.CognitiveservicesCustomimagesearch", 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/cognitiveservices-customimagesearch/tsconfig.json b/packages/@azure/cognitiveservices-customimagesearch/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-customimagesearch/tsconfig.json +++ b/packages/@azure/cognitiveservices-customimagesearch/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-customsearch/README.md b/packages/@azure/cognitiveservices-customsearch/README.md index 542b9d961da4..f62d360f8716 100644 --- a/packages/@azure/cognitiveservices-customsearch/README.md +++ b/packages/@azure/cognitiveservices-customsearch/README.md @@ -1,26 +1,33 @@ -# An isomorphic javascript sdk for - CustomSearchAPIClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - CustomSearchAPIClient -## How to Install +This package contains an isomorphic SDK for CustomSearchAPIClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-customsearch ``` -- browser -```html - -``` -## How to use +### How to use -### nodejs - Authentication, client creation and search customInstance as an example written in TypeScript. +#### nodejs - Authentication, client creation and search customInstance as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code ```ts -import * as msRest from "ms-rest-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { CustomSearchAPIClient, CustomSearchAPIModels, CustomSearchAPIMappers } from "@azure/cognitiveservices-customsearch"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -50,7 +57,17 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and search customInstance as an example written in javascript. +#### browser - Authentication, client creation and search customInstance as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -58,8 +75,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => { @azure/cognitiveservices-customsearch 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/cognitiveservices-customsearch/lib/customSearchAPIClient.ts b/packages/@azure/cognitiveservices-customsearch/lib/customSearchAPIClient.ts index 6994d45ce05a..b762efdeb291 100644 --- a/packages/@azure/cognitiveservices-customsearch/lib/customSearchAPIClient.ts +++ b/packages/@azure/cognitiveservices-customsearch/lib/customSearchAPIClient.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/cognitiveservices-customsearch/lib/customSearchAPIClientContext.ts b/packages/@azure/cognitiveservices-customsearch/lib/customSearchAPIClientContext.ts index cee7a3b65ef9..07a765598133 100644 --- a/packages/@azure/cognitiveservices-customsearch/lib/customSearchAPIClientContext.ts +++ b/packages/@azure/cognitiveservices-customsearch/lib/customSearchAPIClientContext.ts @@ -8,13 +8,14 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; const packageName = "@azure/cognitiveservices-customsearch"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class CustomSearchAPIClientContext extends msRest.ServiceClient { + endpoint?: string; credentials: msRest.ServiceClientCredentials; /** @@ -30,13 +31,20 @@ export class CustomSearchAPIClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); - this.baseUri = options.baseUri || this.baseUri || "https://api.cognitive.microsoft.com"; + this.endpoint = 'https://api.cognitive.microsoft.com'; + this.baseUri = "{Endpoint}"; this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); + if(options.endpoint !== null && options.endpoint !== undefined) { + this.endpoint = options.endpoint; + } } } diff --git a/packages/@azure/cognitiveservices-customsearch/lib/models/index.ts b/packages/@azure/cognitiveservices-customsearch/lib/models/index.ts index af1788b2982e..94fc1e6c8200 100644 --- a/packages/@azure/cognitiveservices-customsearch/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-customsearch/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { ServiceClientOptions } from "ms-rest-js"; -import * as msRest from "ms-rest-js"; +import { ServiceClientOptions } from "@azure/ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -700,9 +700,13 @@ export interface Query { */ export interface CustomSearchAPIClientOptions extends ServiceClientOptions { /** - * @member {string} [baseUri] + * @member {string} [endpoint] Supported Cognitive Services endpoints + * (protocol and hostname, for example: + * "https://westus.api.cognitive.microsoft.com", + * "https://api.cognitive.microsoft.com"). Default value: + * 'https://api.cognitive.microsoft.com' . */ - baseUri?: string; + endpoint?: string; } /** @@ -934,82 +938,39 @@ export interface CustomInstanceSearchOptionalParams extends msRest.RequestOption /** * Defines values for ErrorCode. - * Possible values include: 'None', 'ServerError', 'InvalidRequest', - * 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorCode = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', + * 'InvalidAuthorization', 'InsufficientAuthorization' * @readonly * @enum {string} */ -export enum ErrorCode { - None = 'None', - ServerError = 'ServerError', - InvalidRequest = 'InvalidRequest', - RateLimitExceeded = 'RateLimitExceeded', - InvalidAuthorization = 'InvalidAuthorization', - InsufficientAuthorization = 'InsufficientAuthorization', -} +export type ErrorCode = 'None' | 'ServerError' | 'InvalidRequest' | 'RateLimitExceeded' | 'InvalidAuthorization' | 'InsufficientAuthorization'; /** * Defines values for ErrorSubCode. - * Possible values include: 'UnexpectedError', 'ResourceError', - * 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', - * 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing', - * 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorSubCode = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', + * 'ParameterMissing', 'ParameterInvalidValue', 'HttpNotAllowed', 'Blocked', + * 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', + * 'AuthorizationExpired' * @readonly * @enum {string} */ -export enum ErrorSubCode { - UnexpectedError = 'UnexpectedError', - ResourceError = 'ResourceError', - NotImplemented = 'NotImplemented', - ParameterMissing = 'ParameterMissing', - ParameterInvalidValue = 'ParameterInvalidValue', - HttpNotAllowed = 'HttpNotAllowed', - Blocked = 'Blocked', - AuthorizationMissing = 'AuthorizationMissing', - AuthorizationRedundancy = 'AuthorizationRedundancy', - AuthorizationDisabled = 'AuthorizationDisabled', - AuthorizationExpired = 'AuthorizationExpired', -} +export type ErrorSubCode = 'UnexpectedError' | 'ResourceError' | 'NotImplemented' | 'ParameterMissing' | 'ParameterInvalidValue' | 'HttpNotAllowed' | 'Blocked' | 'AuthorizationMissing' | 'AuthorizationRedundancy' | 'AuthorizationDisabled' | 'AuthorizationExpired'; /** * Defines values for SafeSearch. * Possible values include: 'Off', 'Moderate', 'Strict' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SafeSearch = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SafeSearch { - Off = 'Off', - Moderate = 'Moderate', - Strict = 'Strict', -} +export type SafeSearch = 'Off' | 'Moderate' | 'Strict'; /** * Defines values for TextFormat. * Possible values include: 'Raw', 'Html' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TextFormat = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TextFormat { - Raw = 'Raw', - Html = 'Html', -} +export type TextFormat = 'Raw' | 'Html'; /** * Contains response data for the search operation. diff --git a/packages/@azure/cognitiveservices-customsearch/lib/models/mappers.ts b/packages/@azure/cognitiveservices-customsearch/lib/models/mappers.ts index 009e72e09a0e..1cc3433b75ba 100644 --- a/packages/@azure/cognitiveservices-customsearch/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-customsearch/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const QueryContext: msRest.CompositeMapper = { @@ -200,8 +200,6 @@ export const CreativeWork: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -249,8 +247,6 @@ export const WebPage: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "WebPage" } } @@ -358,8 +354,6 @@ export const WebWebAnswer: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "WebPage" } } @@ -398,8 +392,6 @@ export const SearchResponse: msRest.CompositeMapper = { serializedName: "webPages", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "WebWebAnswer" } } diff --git a/packages/@azure/cognitiveservices-customsearch/lib/models/parameters.ts b/packages/@azure/cognitiveservices-customsearch/lib/models/parameters.ts index 50f9832b1f62..ef48d819983d 100644 --- a/packages/@azure/cognitiveservices-customsearch/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-customsearch/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: [ @@ -80,6 +80,18 @@ export const customConfig: msRest.OperationQueryParameter = { } } }; +export const endpoint: msRest.OperationURLParameter = { + parameterPath: "endpoint", + mapper: { + required: true, + serializedName: "Endpoint", + defaultValue: 'https://api.cognitive.microsoft.com', + type: { + name: "String" + } + }, + skipEncoding: true +}; export const location: msRest.OperationParameter = { parameterPath: [ "options", diff --git a/packages/@azure/cognitiveservices-customsearch/lib/operations/customInstance.ts b/packages/@azure/cognitiveservices-customsearch/lib/operations/customInstance.ts index 3f9150dfdcf6..773c0832ab2b 100644 --- a/packages/@azure/cognitiveservices-customsearch/lib/operations/customInstance.ts +++ b/packages/@azure/cognitiveservices-customsearch/lib/operations/customInstance.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/customInstanceMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class CustomInstance { * @param callback The callback */ search(customConfig: string, query: string, options: Models.CustomInstanceSearchOptionalParams, callback: msRest.ServiceCallback): void; - search(customConfig: string, query: string, options?: Models.CustomInstanceSearchOptionalParams, callback?: msRest.ServiceCallback): Promise { + search(customConfig: string, query: string, options?: Models.CustomInstanceSearchOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { customConfig, @@ -67,7 +67,10 @@ export class CustomInstance { const serializer = new msRest.Serializer(Mappers); const searchOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "bingcustomsearch/v7.0/search", + path: "search", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.customConfig, Parameters.countryCode, diff --git a/packages/@azure/cognitiveservices-customsearch/package.json b/packages/@azure/cognitiveservices-customsearch/package.json index b6c1d364b3e9..8fe1fe8d6f58 100644 --- a/packages/@azure/cognitiveservices-customsearch/package.json +++ b/packages/@azure/cognitiveservices-customsearch/package.json @@ -4,7 +4,7 @@ "description": "CustomSearchAPIClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -51,4 +51,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-customsearch/rollup.config.js b/packages/@azure/cognitiveservices-customsearch/rollup.config.js index 3ec5fc54f722..17ab5ac0df80 100644 --- a/packages/@azure/cognitiveservices-customsearch/rollup.config.js +++ b/packages/@azure/cognitiveservices-customsearch/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/customSearchAPIClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-customsearch.js", format: "umd", name: "Azure.CognitiveservicesCustomsearch", 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/cognitiveservices-customsearch/tsconfig.json b/packages/@azure/cognitiveservices-customsearch/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-customsearch/tsconfig.json +++ b/packages/@azure/cognitiveservices-customsearch/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-customvision-prediction/.npmignore b/packages/@azure/cognitiveservices-customvision-prediction/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/cognitiveservices-customvision-prediction/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/cognitiveservices-customvision-prediction/README.md b/packages/@azure/cognitiveservices-customvision-prediction/README.md index 0a20857a61aa..b4237d1e5518 100644 --- a/packages/@azure/cognitiveservices-customvision-prediction/README.md +++ b/packages/@azure/cognitiveservices-customvision-prediction/README.md @@ -1,46 +1,64 @@ -# An isomorphic javascript sdk for - PredictionAPIClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - PredictionAPIClient -## How to Install +This package contains an isomorphic SDK for PredictionAPIClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-customvision-prediction ``` -- browser -```html - -``` -## How to use +### How to use + +#### nodejs - Authentication, client creation and predictImageUrl as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and predictImageUrl as an example written in TypeScript. +##### Sample code ```ts -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { PredictionAPIClient, PredictionAPIModels, PredictionAPIMappers } from "@azure/cognitiveservices-customvision-prediction"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -const token = ""; -const creds = new msRest.TokenCredentials(token); -const client = new PredictionAPIClient(creds, subscriptionId); -const projectId = ec7b1657-199d-4d8a-bbb2-89a11a42e02a; -const imageUrl = { - url: "testurl" -}; -const iterationId = ec7b1657-199d-4d8a-bbb2-89a11a42e02a; -const application = "testapplication"; -client.predictImageUrl(projectId, imageUrl, iterationId, application).then((result) => { - console.log("The result is:"); - console.log(result); +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new PredictionAPIClient(creds, subscriptionId); + const projectId = ec7b1657-199d-4d8a-bbb2-89a11a42e02a; + const imageUrl: PredictionAPIModels.ImageUrl = { + url: "testurl" + }; + const iterationId = ec7b1657-199d-4d8a-bbb2-89a11a42e02a; + const application = "testapplication"; + client.predictImageUrl(projectId, imageUrl, iterationId, application).then((result) => { + console.log("The result is:"); + console.log(result); + }); }).catch((err) => { console.error(err); }); ``` -### browser - Authentication, client creation and predictImageUrl as an example written in javascript. +#### browser - Authentication, client creation and predictImageUrl as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -48,31 +66,41 @@ client.predictImageUrl(projectId, imageUrl, iterationId, application).then((resu @azure/cognitiveservices-customvision-prediction 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/cognitiveservices-customvision-prediction/lib/models/index.ts b/packages/@azure/cognitiveservices-customvision-prediction/lib/models/index.ts index f6fbdb7b7496..6b1eb61a7e04 100644 --- a/packages/@azure/cognitiveservices-customvision-prediction/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-customvision-prediction/lib/models/index.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** diff --git a/packages/@azure/cognitiveservices-customvision-prediction/lib/models/mappers.ts b/packages/@azure/cognitiveservices-customvision-prediction/lib/models/mappers.ts index 49bf3d4b05f0..297aa49abd51 100644 --- a/packages/@azure/cognitiveservices-customvision-prediction/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-customvision-prediction/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const ImageUrl: msRest.CompositeMapper = { diff --git a/packages/@azure/cognitiveservices-customvision-prediction/lib/models/parameters.ts b/packages/@azure/cognitiveservices-customvision-prediction/lib/models/parameters.ts index 006ccaa64db5..6e7bf4c720c9 100644 --- a/packages/@azure/cognitiveservices-customvision-prediction/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-customvision-prediction/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 apiKey: msRest.OperationParameter = { parameterPath: "apiKey", diff --git a/packages/@azure/cognitiveservices-customvision-prediction/lib/predictionAPIClient.ts b/packages/@azure/cognitiveservices-customvision-prediction/lib/predictionAPIClient.ts index f04a8e00c128..335e0d423142 100644 --- a/packages/@azure/cognitiveservices-customvision-prediction/lib/predictionAPIClient.ts +++ b/packages/@azure/cognitiveservices-customvision-prediction/lib/predictionAPIClient.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 Parameters from "./models/parameters"; @@ -49,7 +49,7 @@ class PredictionAPIClient extends PredictionAPIClientContext { * @param callback The callback */ predictImageUrl(projectId: string, imageUrl: Models.ImageUrl, options: Models.PredictionAPIClientPredictImageUrlOptionalParams, callback: msRest.ServiceCallback): void; - predictImageUrl(projectId: string, imageUrl: Models.ImageUrl, options?: Models.PredictionAPIClientPredictImageUrlOptionalParams, callback?: msRest.ServiceCallback): Promise { + predictImageUrl(projectId: string, imageUrl: Models.ImageUrl, options?: Models.PredictionAPIClientPredictImageUrlOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -81,7 +81,7 @@ class PredictionAPIClient extends PredictionAPIClientContext { * @param callback The callback */ predictImage(projectId: string, imageData: msRest.HttpRequestBody, options: Models.PredictionAPIClientPredictImageOptionalParams, callback: msRest.ServiceCallback): void; - predictImage(projectId: string, imageData: msRest.HttpRequestBody, options?: Models.PredictionAPIClientPredictImageOptionalParams, callback?: msRest.ServiceCallback): Promise { + predictImage(projectId: string, imageData: msRest.HttpRequestBody, options?: Models.PredictionAPIClientPredictImageOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -116,7 +116,7 @@ class PredictionAPIClient extends PredictionAPIClientContext { * @param callback The callback */ predictImageUrlWithNoStore(projectId: string, imageUrl: Models.ImageUrl, options: Models.PredictionAPIClientPredictImageUrlWithNoStoreOptionalParams, callback: msRest.ServiceCallback): void; - predictImageUrlWithNoStore(projectId: string, imageUrl: Models.ImageUrl, options?: Models.PredictionAPIClientPredictImageUrlWithNoStoreOptionalParams, callback?: msRest.ServiceCallback): Promise { + predictImageUrlWithNoStore(projectId: string, imageUrl: Models.ImageUrl, options?: Models.PredictionAPIClientPredictImageUrlWithNoStoreOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -148,7 +148,7 @@ class PredictionAPIClient extends PredictionAPIClientContext { * @param callback The callback */ predictImageWithNoStore(projectId: string, imageData: msRest.HttpRequestBody, options: Models.PredictionAPIClientPredictImageWithNoStoreOptionalParams, callback: msRest.ServiceCallback): void; - predictImageWithNoStore(projectId: string, imageData: msRest.HttpRequestBody, options?: Models.PredictionAPIClientPredictImageWithNoStoreOptionalParams, callback?: msRest.ServiceCallback): Promise { + predictImageWithNoStore(projectId: string, imageData: msRest.HttpRequestBody, options?: Models.PredictionAPIClientPredictImageWithNoStoreOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, diff --git a/packages/@azure/cognitiveservices-customvision-prediction/lib/predictionAPIClientContext.ts b/packages/@azure/cognitiveservices-customvision-prediction/lib/predictionAPIClientContext.ts index eff415d5ac3f..50f19ef1dd3d 100644 --- a/packages/@azure/cognitiveservices-customvision-prediction/lib/predictionAPIClientContext.ts +++ b/packages/@azure/cognitiveservices-customvision-prediction/lib/predictionAPIClientContext.ts @@ -8,10 +8,10 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; const packageName = "@azure/cognitiveservices-customvision-prediction"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class PredictionAPIClientContext extends msRest.ServiceClient { apiKey: string; @@ -34,6 +34,10 @@ export class PredictionAPIClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(undefined, options); @@ -42,6 +46,5 @@ export class PredictionAPIClientContext extends msRest.ServiceClient { this.apiKey = apiKey; this.endpoint = endpoint; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); } } diff --git a/packages/@azure/cognitiveservices-customvision-prediction/package.json b/packages/@azure/cognitiveservices-customvision-prediction/package.json index 32a1fe1ad187..c7596876ef5b 100644 --- a/packages/@azure/cognitiveservices-customvision-prediction/package.json +++ b/packages/@azure/cognitiveservices-customvision-prediction/package.json @@ -4,7 +4,7 @@ "description": "PredictionAPIClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -32,10 +32,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/cognitiveservices-customvision-prediction.js.map'\" -o ./dist/cognitiveservices-customvision-prediction.min.js ./dist/cognitiveservices-customvision-prediction.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-customvision-prediction/rollup.config.js b/packages/@azure/cognitiveservices-customvision-prediction/rollup.config.js index 3823ab6df44e..886a80367e69 100644 --- a/packages/@azure/cognitiveservices-customvision-prediction/rollup.config.js +++ b/packages/@azure/cognitiveservices-customvision-prediction/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/predictionAPIClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-customvision-prediction.js", format: "umd", name: "Azure.CognitiveservicesCustomvisionPrediction", 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/cognitiveservices-customvision-prediction/tsconfig.json b/packages/@azure/cognitiveservices-customvision-prediction/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-customvision-prediction/tsconfig.json +++ b/packages/@azure/cognitiveservices-customvision-prediction/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-customvision-training/.npmignore b/packages/@azure/cognitiveservices-customvision-training/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/cognitiveservices-customvision-training/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/cognitiveservices-customvision-training/README.md b/packages/@azure/cognitiveservices-customvision-training/README.md index 63dbb1dd7ed4..c6c40ae6321d 100644 --- a/packages/@azure/cognitiveservices-customvision-training/README.md +++ b/packages/@azure/cognitiveservices-customvision-training/README.md @@ -1,40 +1,58 @@ -# An isomorphic javascript sdk for - TrainingAPIClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - TrainingAPIClient -## How to Install +This package contains an isomorphic SDK for TrainingAPIClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-customvision-training ``` -- browser -```html - -``` -## How to use +### How to use + +#### nodejs - Authentication, client creation and getDomains as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and getDomains as an example written in TypeScript. +##### Sample code ```ts -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { TrainingAPIClient, TrainingAPIModels, TrainingAPIMappers } from "@azure/cognitiveservices-customvision-training"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -const token = ""; -const creds = new msRest.TokenCredentials(token); -const client = new TrainingAPIClient(creds, subscriptionId); -client.getDomains().then((result) => { - console.log("The result is:"); - console.log(result); +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new TrainingAPIClient(creds, subscriptionId); + client.getDomains().then((result) => { + console.log("The result is:"); + console.log(result); + }); }).catch((err) => { console.error(err); }); ``` -### browser - Authentication, client creation and getDomains as an example written in javascript. +#### browser - Authentication, client creation and getDomains as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -42,25 +60,35 @@ client.getDomains().then((result) => { @azure/cognitiveservices-customvision-training 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/cognitiveservices-customvision-training/lib/models/index.ts b/packages/@azure/cognitiveservices-customvision-training/lib/models/index.ts index 975560fad4d1..24bb92bad151 100644 --- a/packages/@azure/cognitiveservices-customvision-training/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-customvision-training/lib/models/index.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -1486,254 +1486,124 @@ export interface TrainingAPIClientCreateTagOptionalParams extends msRest.Request /** * Defines values for DomainType. * Possible values include: 'Classification', 'ObjectDetection' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DomainType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DomainType { - Classification = 'Classification', - ObjectDetection = 'ObjectDetection', -} +export type DomainType = 'Classification' | 'ObjectDetection'; /** * Defines values for ImageCreateStatus. - * Possible values include: 'OK', 'OKDuplicate', 'ErrorSource', - * 'ErrorImageFormat', 'ErrorImageSize', 'ErrorStorage', 'ErrorLimitExceed', - * 'ErrorTagLimitExceed', 'ErrorRegionLimitExceed', 'ErrorUnknown', - * 'ErrorNegativeAndRegularTagOnSameImage' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageCreateStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'OK', 'OKDuplicate', 'ErrorSource', 'ErrorImageFormat', + * 'ErrorImageSize', 'ErrorStorage', 'ErrorLimitExceed', 'ErrorTagLimitExceed', + * 'ErrorRegionLimitExceed', 'ErrorUnknown', 'ErrorNegativeAndRegularTagOnSameImage' * @readonly * @enum {string} */ -export enum ImageCreateStatus { - OK = 'OK', - OKDuplicate = 'OKDuplicate', - ErrorSource = 'ErrorSource', - ErrorImageFormat = 'ErrorImageFormat', - ErrorImageSize = 'ErrorImageSize', - ErrorStorage = 'ErrorStorage', - ErrorLimitExceed = 'ErrorLimitExceed', - ErrorTagLimitExceed = 'ErrorTagLimitExceed', - ErrorRegionLimitExceed = 'ErrorRegionLimitExceed', - ErrorUnknown = 'ErrorUnknown', - ErrorNegativeAndRegularTagOnSameImage = 'ErrorNegativeAndRegularTagOnSameImage', -} +export type ImageCreateStatus = 'OK' | 'OKDuplicate' | 'ErrorSource' | 'ErrorImageFormat' | 'ErrorImageSize' | 'ErrorStorage' | 'ErrorLimitExceed' | 'ErrorTagLimitExceed' | 'ErrorRegionLimitExceed' | 'ErrorUnknown' | 'ErrorNegativeAndRegularTagOnSameImage'; /** * Defines values for OrderBy. * Possible values include: 'Newest', 'Oldest', 'Suggested' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OrderBy = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OrderBy { - Newest = 'Newest', - Oldest = 'Oldest', - Suggested = 'Suggested', -} +export type OrderBy = 'Newest' | 'Oldest' | 'Suggested'; /** * Defines values for Classifier. * Possible values include: 'Multiclass', 'Multilabel' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Classifier = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Classifier { - Multiclass = 'Multiclass', - Multilabel = 'Multilabel', -} +export type Classifier = 'Multiclass' | 'Multilabel'; /** * Defines values for ExportPlatformModel. * Possible values include: 'CoreML', 'TensorFlow', 'DockerFile', 'ONNX' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ExportPlatformModel = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ExportPlatformModel { - CoreML = 'CoreML', - TensorFlow = 'TensorFlow', - DockerFile = 'DockerFile', - ONNX = 'ONNX', -} +export type ExportPlatformModel = 'CoreML' | 'TensorFlow' | 'DockerFile' | 'ONNX'; /** * Defines values for ExportStatusModel. * Possible values include: 'Exporting', 'Failed', 'Done' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ExportStatusModel = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ExportStatusModel { - Exporting = 'Exporting', - Failed = 'Failed', - Done = 'Done', -} +export type ExportStatusModel = 'Exporting' | 'Failed' | 'Done'; /** * Defines values for ExportFlavorModel. * Possible values include: 'Linux', 'Windows', 'ONNX10', 'ONNX12' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ExportFlavorModel = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ExportFlavorModel { - Linux = 'Linux', - Windows = 'Windows', - ONNX10 = 'ONNX10', - ONNX12 = 'ONNX12', -} +export type ExportFlavorModel = 'Linux' | 'Windows' | 'ONNX10' | 'ONNX12'; /** * Defines values for TagType. * Possible values include: 'Regular', 'Negative' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TagType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TagType { - Regular = 'Regular', - Negative = 'Negative', -} +export type TagType = 'Regular' | 'Negative'; /** * Defines values for OrderBy1. * Possible values include: 'Newest', 'Oldest' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OrderBy1 = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OrderBy1 { - Newest = 'Newest', - Oldest = 'Oldest', -} +export type OrderBy1 = 'Newest' | 'Oldest'; /** * Defines values for OrderBy2. * Possible values include: 'Newest', 'Oldest' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OrderBy2 = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OrderBy2 { - Newest = 'Newest', - Oldest = 'Oldest', -} +export type OrderBy2 = 'Newest' | 'Oldest'; /** * Defines values for OrderBy3. * Possible values include: 'Newest', 'Oldest' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OrderBy3 = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OrderBy3 { - Newest = 'Newest', - Oldest = 'Oldest', -} +export type OrderBy3 = 'Newest' | 'Oldest'; /** * Defines values for ClassificationType. * Possible values include: 'Multiclass', 'Multilabel' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ClassificationType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ClassificationType { - Multiclass = 'Multiclass', - Multilabel = 'Multilabel', -} +export type ClassificationType = 'Multiclass' | 'Multilabel'; /** * Defines values for Flavor. * Possible values include: 'Linux', 'Windows', 'ONNX10', 'ONNX12' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Flavor = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Flavor { - Linux = 'Linux', - Windows = 'Windows', - ONNX10 = 'ONNX10', - ONNX12 = 'ONNX12', -} +export type Flavor = 'Linux' | 'Windows' | 'ONNX10' | 'ONNX12'; /** * Defines values for Type. * Possible values include: 'Regular', 'Negative' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Type = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Type { - Regular = 'Regular', - Negative = 'Negative', -} +export type Type = 'Regular' | 'Negative'; /** * Defines values for Platform. * Possible values include: 'CoreML', 'TensorFlow', 'DockerFile', 'ONNX' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Platform = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Platform { - CoreML = 'CoreML', - TensorFlow = 'TensorFlow', - DockerFile = 'DockerFile', - ONNX = 'ONNX', -} +export type Platform = 'CoreML' | 'TensorFlow' | 'DockerFile' | 'ONNX'; /** * Contains response data for the getDomains operation. diff --git a/packages/@azure/cognitiveservices-customvision-training/lib/models/mappers.ts b/packages/@azure/cognitiveservices-customvision-training/lib/models/mappers.ts index 7098a10b4b63..2b8f9fe2da6c 100644 --- a/packages/@azure/cognitiveservices-customvision-training/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-customvision-training/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const Domain: msRest.CompositeMapper = { diff --git a/packages/@azure/cognitiveservices-customvision-training/lib/models/parameters.ts b/packages/@azure/cognitiveservices-customvision-training/lib/models/parameters.ts index b1759a82c2a8..96484b314287 100644 --- a/packages/@azure/cognitiveservices-customvision-training/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-customvision-training/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 apiKey: msRest.OperationParameter = { parameterPath: "apiKey", diff --git a/packages/@azure/cognitiveservices-customvision-training/lib/trainingAPIClient.ts b/packages/@azure/cognitiveservices-customvision-training/lib/trainingAPIClient.ts index 9213d550a889..4463e9ab06af 100644 --- a/packages/@azure/cognitiveservices-customvision-training/lib/trainingAPIClient.ts +++ b/packages/@azure/cognitiveservices-customvision-training/lib/trainingAPIClient.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 Parameters from "./models/parameters"; @@ -40,7 +40,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getDomains(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDomains(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDomains(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -67,7 +67,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getDomain(domainId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDomain(domainId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDomain(domainId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { domainId, @@ -98,7 +98,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getTaggedImageCount(projectId: string, options: Models.TrainingAPIClientGetTaggedImageCountOptionalParams, callback: msRest.ServiceCallback): void; - getTaggedImageCount(projectId: string, options?: Models.TrainingAPIClientGetTaggedImageCountOptionalParams, callback?: msRest.ServiceCallback): Promise { + getTaggedImageCount(projectId: string, options?: Models.TrainingAPIClientGetTaggedImageCountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -129,7 +129,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getUntaggedImageCount(projectId: string, options: Models.TrainingAPIClientGetUntaggedImageCountOptionalParams, callback: msRest.ServiceCallback): void; - getUntaggedImageCount(projectId: string, options?: Models.TrainingAPIClientGetUntaggedImageCountOptionalParams, callback?: msRest.ServiceCallback): Promise { + getUntaggedImageCount(projectId: string, options?: Models.TrainingAPIClientGetUntaggedImageCountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -160,7 +160,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ createImageTags(projectId: string, batch: Models.ImageTagCreateBatch, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createImageTags(projectId: string, batch: Models.ImageTagCreateBatch, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createImageTags(projectId: string, batch: Models.ImageTagCreateBatch, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -195,7 +195,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ deleteImageTags(projectId: string, imageIds: string[], tagIds: string[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteImageTags(projectId: string, imageIds: string[], tagIds: string[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteImageTags(projectId: string, imageIds: string[], tagIds: string[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -231,7 +231,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ createImageRegions(projectId: string, batch: Models.ImageRegionCreateBatch, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createImageRegions(projectId: string, batch: Models.ImageRegionCreateBatch, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createImageRegions(projectId: string, batch: Models.ImageRegionCreateBatch, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -263,7 +263,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ deleteImageRegions(projectId: string, regionIds: string[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteImageRegions(projectId: string, regionIds: string[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteImageRegions(projectId: string, regionIds: string[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -298,7 +298,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getTaggedImages(projectId: string, options: Models.TrainingAPIClientGetTaggedImagesOptionalParams, callback: msRest.ServiceCallback): void; - getTaggedImages(projectId: string, options?: Models.TrainingAPIClientGetTaggedImagesOptionalParams, callback?: msRest.ServiceCallback): Promise { + getTaggedImages(projectId: string, options?: Models.TrainingAPIClientGetTaggedImagesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -329,7 +329,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getUntaggedImages(projectId: string, options: Models.TrainingAPIClientGetUntaggedImagesOptionalParams, callback: msRest.ServiceCallback): void; - getUntaggedImages(projectId: string, options?: Models.TrainingAPIClientGetUntaggedImagesOptionalParams, callback?: msRest.ServiceCallback): Promise { + getUntaggedImages(projectId: string, options?: Models.TrainingAPIClientGetUntaggedImagesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -360,7 +360,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getImagesByIds(projectId: string, options: Models.TrainingAPIClientGetImagesByIdsOptionalParams, callback: msRest.ServiceCallback): void; - getImagesByIds(projectId: string, options?: Models.TrainingAPIClientGetImagesByIdsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getImagesByIds(projectId: string, options?: Models.TrainingAPIClientGetImagesByIdsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -394,7 +394,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ createImagesFromData(projectId: string, imageData: msRest.HttpRequestBody, options: Models.TrainingAPIClientCreateImagesFromDataOptionalParams, callback: msRest.ServiceCallback): void; - createImagesFromData(projectId: string, imageData: msRest.HttpRequestBody, options?: Models.TrainingAPIClientCreateImagesFromDataOptionalParams, callback?: msRest.ServiceCallback): Promise { + createImagesFromData(projectId: string, imageData: msRest.HttpRequestBody, options?: Models.TrainingAPIClientCreateImagesFromDataOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -426,7 +426,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ deleteImages(projectId: string, imageIds: string[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteImages(projectId: string, imageIds: string[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteImages(projectId: string, imageIds: string[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -460,7 +460,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ createImagesFromFiles(projectId: string, batch: Models.ImageFileCreateBatch, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createImagesFromFiles(projectId: string, batch: Models.ImageFileCreateBatch, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createImagesFromFiles(projectId: string, batch: Models.ImageFileCreateBatch, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -494,7 +494,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ createImagesFromUrls(projectId: string, batch: Models.ImageUrlCreateBatch, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createImagesFromUrls(projectId: string, batch: Models.ImageUrlCreateBatch, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createImagesFromUrls(projectId: string, batch: Models.ImageUrlCreateBatch, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -528,7 +528,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ createImagesFromPredictions(projectId: string, batch: Models.ImageIdCreateBatch, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createImagesFromPredictions(projectId: string, batch: Models.ImageIdCreateBatch, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createImagesFromPredictions(projectId: string, batch: Models.ImageIdCreateBatch, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -562,7 +562,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getImageRegionProposals(projectId: string, imageId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getImageRegionProposals(projectId: string, imageId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getImageRegionProposals(projectId: string, imageId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -594,7 +594,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ deletePrediction(projectId: string, ids: string[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deletePrediction(projectId: string, ids: string[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deletePrediction(projectId: string, ids: string[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -629,7 +629,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ quickTestImageUrl(projectId: string, imageUrl: Models.ImageUrl, options: Models.TrainingAPIClientQuickTestImageUrlOptionalParams, callback: msRest.ServiceCallback): void; - quickTestImageUrl(projectId: string, imageUrl: Models.ImageUrl, options?: Models.TrainingAPIClientQuickTestImageUrlOptionalParams, callback?: msRest.ServiceCallback): Promise { + quickTestImageUrl(projectId: string, imageUrl: Models.ImageUrl, options?: Models.TrainingAPIClientQuickTestImageUrlOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -661,7 +661,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ quickTestImage(projectId: string, imageData: msRest.HttpRequestBody, options: Models.TrainingAPIClientQuickTestImageOptionalParams, callback: msRest.ServiceCallback): void; - quickTestImage(projectId: string, imageData: msRest.HttpRequestBody, options?: Models.TrainingAPIClientQuickTestImageOptionalParams, callback?: msRest.ServiceCallback): Promise { + quickTestImage(projectId: string, imageData: msRest.HttpRequestBody, options?: Models.TrainingAPIClientQuickTestImageOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -693,7 +693,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ queryPredictions(projectId: string, query: Models.PredictionQueryToken, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - queryPredictions(projectId: string, query: Models.PredictionQueryToken, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + queryPredictions(projectId: string, query: Models.PredictionQueryToken, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -725,7 +725,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getIterationPerformance(projectId: string, iterationId: string, options: Models.TrainingAPIClientGetIterationPerformanceOptionalParams, callback: msRest.ServiceCallback): void; - getIterationPerformance(projectId: string, iterationId: string, options?: Models.TrainingAPIClientGetIterationPerformanceOptionalParams, callback?: msRest.ServiceCallback): Promise { + getIterationPerformance(projectId: string, iterationId: string, options?: Models.TrainingAPIClientGetIterationPerformanceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -763,7 +763,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getImagePerformances(projectId: string, iterationId: string, options: Models.TrainingAPIClientGetImagePerformancesOptionalParams, callback: msRest.ServiceCallback): void; - getImagePerformances(projectId: string, iterationId: string, options?: Models.TrainingAPIClientGetImagePerformancesOptionalParams, callback?: msRest.ServiceCallback): Promise { + getImagePerformances(projectId: string, iterationId: string, options?: Models.TrainingAPIClientGetImagePerformancesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -800,7 +800,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getImagePerformanceCount(projectId: string, iterationId: string, options: Models.TrainingAPIClientGetImagePerformanceCountOptionalParams, callback: msRest.ServiceCallback): void; - getImagePerformanceCount(projectId: string, iterationId: string, options?: Models.TrainingAPIClientGetImagePerformanceCountOptionalParams, callback?: msRest.ServiceCallback): Promise { + getImagePerformanceCount(projectId: string, iterationId: string, options?: Models.TrainingAPIClientGetImagePerformanceCountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -826,7 +826,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getProjects(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getProjects(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getProjects(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -853,7 +853,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ createProject(name: string, options: Models.TrainingAPIClientCreateProjectOptionalParams, callback: msRest.ServiceCallback): void; - createProject(name: string, options?: Models.TrainingAPIClientCreateProjectOptionalParams, callback?: msRest.ServiceCallback): Promise { + createProject(name: string, options?: Models.TrainingAPIClientCreateProjectOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { name, @@ -881,7 +881,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getProject(projectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getProject(projectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getProject(projectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -909,7 +909,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ deleteProject(projectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteProject(projectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteProject(projectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -940,7 +940,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ updateProject(projectId: string, updatedProject: Models.Project, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateProject(projectId: string, updatedProject: Models.Project, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateProject(projectId: string, updatedProject: Models.Project, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -969,7 +969,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getIterations(projectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getIterations(projectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getIterations(projectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -1000,7 +1000,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getIteration(projectId: string, iterationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getIteration(projectId: string, iterationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getIteration(projectId: string, iterationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -1032,7 +1032,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ deleteIteration(projectId: string, iterationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteIteration(projectId: string, iterationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteIteration(projectId: string, iterationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -1067,7 +1067,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ updateIteration(projectId: string, iterationId: string, updatedIteration: Models.Iteration, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateIteration(projectId: string, iterationId: string, updatedIteration: Models.Iteration, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateIteration(projectId: string, iterationId: string, updatedIteration: Models.Iteration, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -1097,7 +1097,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ trainProject(projectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - trainProject(projectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + trainProject(projectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -1128,7 +1128,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getExports(projectId: string, iterationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getExports(projectId: string, iterationId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getExports(projectId: string, iterationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -1166,7 +1166,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ exportIteration(projectId: string, iterationId: string, platform: Models.Platform, options: Models.TrainingAPIClientExportIterationOptionalParams, callback: msRest.ServiceCallback): void; - exportIteration(projectId: string, iterationId: string, platform: Models.Platform, options?: Models.TrainingAPIClientExportIterationOptionalParams, callback?: msRest.ServiceCallback): Promise { + exportIteration(projectId: string, iterationId: string, platform: Models.Platform, options?: Models.TrainingAPIClientExportIterationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -1199,7 +1199,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getTag(projectId: string, tagId: string, options: Models.TrainingAPIClientGetTagOptionalParams, callback: msRest.ServiceCallback): void; - getTag(projectId: string, tagId: string, options?: Models.TrainingAPIClientGetTagOptionalParams, callback?: msRest.ServiceCallback): Promise { + getTag(projectId: string, tagId: string, options?: Models.TrainingAPIClientGetTagOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -1231,7 +1231,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ deleteTag(projectId: string, tagId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteTag(projectId: string, tagId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteTag(projectId: string, tagId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -1266,7 +1266,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ updateTag(projectId: string, tagId: string, updatedTag: Models.Tag, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateTag(projectId: string, tagId: string, updatedTag: Models.Tag, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateTag(projectId: string, tagId: string, updatedTag: Models.Tag, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -1296,7 +1296,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ getTags(projectId: string, options: Models.TrainingAPIClientGetTagsOptionalParams, callback: msRest.ServiceCallback): void; - getTags(projectId: string, options?: Models.TrainingAPIClientGetTagsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getTags(projectId: string, options?: Models.TrainingAPIClientGetTagsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, @@ -1327,7 +1327,7 @@ class TrainingAPIClient extends TrainingAPIClientContext { * @param callback The callback */ createTag(projectId: string, name: string, options: Models.TrainingAPIClientCreateTagOptionalParams, callback: msRest.ServiceCallback): void; - createTag(projectId: string, name: string, options?: Models.TrainingAPIClientCreateTagOptionalParams, callback?: msRest.ServiceCallback): Promise { + createTag(projectId: string, name: string, options?: Models.TrainingAPIClientCreateTagOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { projectId, diff --git a/packages/@azure/cognitiveservices-customvision-training/lib/trainingAPIClientContext.ts b/packages/@azure/cognitiveservices-customvision-training/lib/trainingAPIClientContext.ts index 5c86c9fb8af8..eaf1ac058066 100644 --- a/packages/@azure/cognitiveservices-customvision-training/lib/trainingAPIClientContext.ts +++ b/packages/@azure/cognitiveservices-customvision-training/lib/trainingAPIClientContext.ts @@ -8,10 +8,10 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; const packageName = "@azure/cognitiveservices-customvision-training"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class TrainingAPIClientContext extends msRest.ServiceClient { apiKey: string; @@ -34,6 +34,10 @@ export class TrainingAPIClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(undefined, options); @@ -42,6 +46,5 @@ export class TrainingAPIClientContext extends msRest.ServiceClient { this.apiKey = apiKey; this.endpoint = endpoint; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); } } diff --git a/packages/@azure/cognitiveservices-customvision-training/package.json b/packages/@azure/cognitiveservices-customvision-training/package.json index 60330ab3df9d..1cdf24cef40e 100644 --- a/packages/@azure/cognitiveservices-customvision-training/package.json +++ b/packages/@azure/cognitiveservices-customvision-training/package.json @@ -4,7 +4,7 @@ "description": "TrainingAPIClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -32,10 +32,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/cognitiveservices-customvision-training.js.map'\" -o ./dist/cognitiveservices-customvision-training.min.js ./dist/cognitiveservices-customvision-training.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-customvision-training/rollup.config.js b/packages/@azure/cognitiveservices-customvision-training/rollup.config.js index 67bf36a47cd9..bf1b76d03894 100644 --- a/packages/@azure/cognitiveservices-customvision-training/rollup.config.js +++ b/packages/@azure/cognitiveservices-customvision-training/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/trainingAPIClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-customvision-training.js", format: "umd", name: "Azure.CognitiveservicesCustomvisionTraining", 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/cognitiveservices-customvision-training/tsconfig.json b/packages/@azure/cognitiveservices-customvision-training/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-customvision-training/tsconfig.json +++ b/packages/@azure/cognitiveservices-customvision-training/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-entitysearch/README.md b/packages/@azure/cognitiveservices-entitysearch/README.md index fad651a6d293..4a494af5df18 100644 --- a/packages/@azure/cognitiveservices-entitysearch/README.md +++ b/packages/@azure/cognitiveservices-entitysearch/README.md @@ -1,26 +1,33 @@ -# An isomorphic javascript sdk for - EntitySearchAPIClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - EntitySearchAPIClient -## How to Install +This package contains an isomorphic SDK for EntitySearchAPIClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-entitysearch ``` -- browser -```html - -``` -## How to use +### How to use -### nodejs - Authentication, client creation and search entities as an example written in TypeScript. +#### nodejs - Authentication, client creation and search entities as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code ```ts -import * as msRest from "ms-rest-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { EntitySearchAPIClient, EntitySearchAPIModels, EntitySearchAPIMappers } from "@azure/cognitiveservices-entitysearch"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -48,7 +55,17 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and search entities as an example written in javascript. +#### browser - Authentication, client creation and search entities as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -56,8 +73,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => { @azure/cognitiveservices-entitysearch 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/cognitiveservices-entitysearch/lib/entitySearchAPIClient.ts b/packages/@azure/cognitiveservices-entitysearch/lib/entitySearchAPIClient.ts index 2132be621334..cfd36b5da42e 100644 --- a/packages/@azure/cognitiveservices-entitysearch/lib/entitySearchAPIClient.ts +++ b/packages/@azure/cognitiveservices-entitysearch/lib/entitySearchAPIClient.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/cognitiveservices-entitysearch/lib/entitySearchAPIClientContext.ts b/packages/@azure/cognitiveservices-entitysearch/lib/entitySearchAPIClientContext.ts index 242ad6753f64..bfb51532e32c 100644 --- a/packages/@azure/cognitiveservices-entitysearch/lib/entitySearchAPIClientContext.ts +++ b/packages/@azure/cognitiveservices-entitysearch/lib/entitySearchAPIClientContext.ts @@ -8,13 +8,14 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; const packageName = "@azure/cognitiveservices-entitysearch"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class EntitySearchAPIClientContext extends msRest.ServiceClient { + endpoint?: string; credentials: msRest.ServiceClientCredentials; /** @@ -30,13 +31,20 @@ export class EntitySearchAPIClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); - this.baseUri = options.baseUri || this.baseUri || "https://api.cognitive.microsoft.com"; + this.endpoint = 'https://api.cognitive.microsoft.com'; + this.baseUri = "{Endpoint}"; this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); + if(options.endpoint !== null && options.endpoint !== undefined) { + this.endpoint = options.endpoint; + } } } diff --git a/packages/@azure/cognitiveservices-entitysearch/lib/models/index.ts b/packages/@azure/cognitiveservices-entitysearch/lib/models/index.ts index cbc131d7efbe..00c16b7e6661 100644 --- a/packages/@azure/cognitiveservices-entitysearch/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-entitysearch/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { ServiceClientOptions } from "ms-rest-js"; -import * as msRest from "ms-rest-js"; +import { ServiceClientOptions } from "@azure/ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -2743,9 +2743,13 @@ export interface Hotel { */ export interface EntitySearchAPIClientOptions extends ServiceClientOptions { /** - * @member {string} [baseUri] + * @member {string} [endpoint] Supported Cognitive Services endpoints + * (protocol and hostname, for example: + * "https://westus.api.cognitive.microsoft.com", + * "https://api.cognitive.microsoft.com"). Default value: + * 'https://api.cognitive.microsoft.com' . */ - baseUri?: string; + endpoint?: string; } /** @@ -2945,206 +2949,78 @@ export interface EntitiesSearchOptionalParams extends msRest.RequestOptionsBase /** * Defines values for EntityQueryScenario. - * Possible values include: 'DominantEntity', - * 'DominantEntityWithDisambiguation', 'Disambiguation', 'List', - * 'ListWithPivot' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EntityQueryScenario = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'DominantEntity', 'DominantEntityWithDisambiguation', 'Disambiguation', + * 'List', 'ListWithPivot' * @readonly * @enum {string} */ -export enum EntityQueryScenario { - DominantEntity = 'DominantEntity', - DominantEntityWithDisambiguation = 'DominantEntityWithDisambiguation', - Disambiguation = 'Disambiguation', - List = 'List', - ListWithPivot = 'ListWithPivot', -} +export type EntityQueryScenario = 'DominantEntity' | 'DominantEntityWithDisambiguation' | 'Disambiguation' | 'List' | 'ListWithPivot'; /** * Defines values for EntityScenario. * Possible values include: 'DominantEntity', 'DisambiguationItem', 'ListItem' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EntityScenario = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum EntityScenario { - DominantEntity = 'DominantEntity', - DisambiguationItem = 'DisambiguationItem', - ListItem = 'ListItem', -} +export type EntityScenario = 'DominantEntity' | 'DisambiguationItem' | 'ListItem'; /** * Defines values for EntityType. - * Possible values include: 'Generic', 'Person', 'Place', 'Media', - * 'Organization', 'LocalBusiness', 'Restaurant', 'Hotel', 'TouristAttraction', - * 'Travel', 'City', 'Country', 'Attraction', 'House', 'State', 'RadioStation', - * 'StreetAddress', 'Neighborhood', 'Locality', 'PostalCode', 'Region', - * 'SubRegion', 'MinorRegion', 'Continent', 'PointOfInterest', 'Other', - * 'Movie', 'Book', 'TelevisionShow', 'TelevisionSeason', 'VideoGame', - * 'MusicAlbum', 'MusicRecording', 'MusicGroup', 'Composition', 'TheaterPlay', - * 'Event', 'Actor', 'Artist', 'Attorney', 'Speciality', 'CollegeOrUniversity', - * 'School', 'Food', 'Drug', 'Animal', 'SportsTeam', 'Product', 'Car' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EntityType = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Generic', 'Person', 'Place', 'Media', 'Organization', 'LocalBusiness', + * 'Restaurant', 'Hotel', 'TouristAttraction', 'Travel', 'City', 'Country', 'Attraction', 'House', + * 'State', 'RadioStation', 'StreetAddress', 'Neighborhood', 'Locality', 'PostalCode', 'Region', + * 'SubRegion', 'MinorRegion', 'Continent', 'PointOfInterest', 'Other', 'Movie', 'Book', + * 'TelevisionShow', 'TelevisionSeason', 'VideoGame', 'MusicAlbum', 'MusicRecording', 'MusicGroup', + * 'Composition', 'TheaterPlay', 'Event', 'Actor', 'Artist', 'Attorney', 'Speciality', + * 'CollegeOrUniversity', 'School', 'Food', 'Drug', 'Animal', 'SportsTeam', 'Product', 'Car' * @readonly * @enum {string} */ -export enum EntityType { - Generic = 'Generic', - Person = 'Person', - Place = 'Place', - Media = 'Media', - Organization = 'Organization', - LocalBusiness = 'LocalBusiness', - Restaurant = 'Restaurant', - Hotel = 'Hotel', - TouristAttraction = 'TouristAttraction', - Travel = 'Travel', - City = 'City', - Country = 'Country', - Attraction = 'Attraction', - House = 'House', - State = 'State', - RadioStation = 'RadioStation', - StreetAddress = 'StreetAddress', - Neighborhood = 'Neighborhood', - Locality = 'Locality', - PostalCode = 'PostalCode', - Region = 'Region', - SubRegion = 'SubRegion', - MinorRegion = 'MinorRegion', - Continent = 'Continent', - PointOfInterest = 'PointOfInterest', - Other = 'Other', - Movie = 'Movie', - Book = 'Book', - TelevisionShow = 'TelevisionShow', - TelevisionSeason = 'TelevisionSeason', - VideoGame = 'VideoGame', - MusicAlbum = 'MusicAlbum', - MusicRecording = 'MusicRecording', - MusicGroup = 'MusicGroup', - Composition = 'Composition', - TheaterPlay = 'TheaterPlay', - Event = 'Event', - Actor = 'Actor', - Artist = 'Artist', - Attorney = 'Attorney', - Speciality = 'Speciality', - CollegeOrUniversity = 'CollegeOrUniversity', - School = 'School', - Food = 'Food', - Drug = 'Drug', - Animal = 'Animal', - SportsTeam = 'SportsTeam', - Product = 'Product', - Car = 'Car', -} +export type EntityType = 'Generic' | 'Person' | 'Place' | 'Media' | 'Organization' | 'LocalBusiness' | 'Restaurant' | 'Hotel' | 'TouristAttraction' | 'Travel' | 'City' | 'Country' | 'Attraction' | 'House' | 'State' | 'RadioStation' | 'StreetAddress' | 'Neighborhood' | 'Locality' | 'PostalCode' | 'Region' | 'SubRegion' | 'MinorRegion' | 'Continent' | 'PointOfInterest' | 'Other' | 'Movie' | 'Book' | 'TelevisionShow' | 'TelevisionSeason' | 'VideoGame' | 'MusicAlbum' | 'MusicRecording' | 'MusicGroup' | 'Composition' | 'TheaterPlay' | 'Event' | 'Actor' | 'Artist' | 'Attorney' | 'Speciality' | 'CollegeOrUniversity' | 'School' | 'Food' | 'Drug' | 'Animal' | 'SportsTeam' | 'Product' | 'Car'; /** * Defines values for ErrorCode. - * Possible values include: 'None', 'ServerError', 'InvalidRequest', - * 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorCode = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', + * 'InvalidAuthorization', 'InsufficientAuthorization' * @readonly * @enum {string} */ -export enum ErrorCode { - None = 'None', - ServerError = 'ServerError', - InvalidRequest = 'InvalidRequest', - RateLimitExceeded = 'RateLimitExceeded', - InvalidAuthorization = 'InvalidAuthorization', - InsufficientAuthorization = 'InsufficientAuthorization', -} +export type ErrorCode = 'None' | 'ServerError' | 'InvalidRequest' | 'RateLimitExceeded' | 'InvalidAuthorization' | 'InsufficientAuthorization'; /** * Defines values for ErrorSubCode. - * Possible values include: 'UnexpectedError', 'ResourceError', - * 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', - * 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing', - * 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorSubCode = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', + * 'ParameterMissing', 'ParameterInvalidValue', 'HttpNotAllowed', 'Blocked', + * 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', + * 'AuthorizationExpired' * @readonly * @enum {string} */ -export enum ErrorSubCode { - UnexpectedError = 'UnexpectedError', - ResourceError = 'ResourceError', - NotImplemented = 'NotImplemented', - ParameterMissing = 'ParameterMissing', - ParameterInvalidValue = 'ParameterInvalidValue', - HttpNotAllowed = 'HttpNotAllowed', - Blocked = 'Blocked', - AuthorizationMissing = 'AuthorizationMissing', - AuthorizationRedundancy = 'AuthorizationRedundancy', - AuthorizationDisabled = 'AuthorizationDisabled', - AuthorizationExpired = 'AuthorizationExpired', -} +export type ErrorSubCode = 'UnexpectedError' | 'ResourceError' | 'NotImplemented' | 'ParameterMissing' | 'ParameterInvalidValue' | 'HttpNotAllowed' | 'Blocked' | 'AuthorizationMissing' | 'AuthorizationRedundancy' | 'AuthorizationDisabled' | 'AuthorizationExpired'; /** * Defines values for AnswerType. * Possible values include: 'Entities', 'Places' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AnswerType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum AnswerType { - Entities = 'Entities', - Places = 'Places', -} +export type AnswerType = 'Entities' | 'Places'; /** * Defines values for ResponseFormat. * Possible values include: 'Json', 'JsonLd' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ResponseFormat = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ResponseFormat { - Json = 'Json', - JsonLd = 'JsonLd', -} +export type ResponseFormat = 'Json' | 'JsonLd'; /** * Defines values for SafeSearch. * Possible values include: 'Off', 'Moderate', 'Strict' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SafeSearch = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SafeSearch { - Off = 'Off', - Moderate = 'Moderate', - Strict = 'Strict', -} +export type SafeSearch = 'Off' | 'Moderate' | 'Strict'; /** * Contains response data for the search operation. diff --git a/packages/@azure/cognitiveservices-entitysearch/lib/models/mappers.ts b/packages/@azure/cognitiveservices-entitysearch/lib/models/mappers.ts index 60299b745ebe..db830a576044 100644 --- a/packages/@azure/cognitiveservices-entitysearch/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-entitysearch/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const QueryContext: msRest.CompositeMapper = { @@ -115,11 +115,6 @@ export const Response: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "_type", - clientName: "_type" - }, - uberParent: "ContractualRulesContractualRule", className: "ContractualRulesContractualRule" } } @@ -164,8 +159,6 @@ export const Thing: msRest.CompositeMapper = { serializedName: "image", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } }, @@ -219,8 +212,6 @@ export const CreativeWork: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -292,8 +283,6 @@ export const ImageObject: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -397,8 +386,6 @@ export const Entities: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -425,8 +412,6 @@ export const Places: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -458,8 +443,6 @@ export const SearchResponse: msRest.CompositeMapper = { serializedName: "entities", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Entities" } }, @@ -468,8 +451,6 @@ export const SearchResponse: msRest.CompositeMapper = { serializedName: "places", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Places" } } @@ -715,8 +696,6 @@ export const Place: msRest.CompositeMapper = { serializedName: "address", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "PostalAddress" } }, @@ -768,8 +747,6 @@ export const LocalBusiness: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -926,8 +903,6 @@ export const ContractualRulesLicenseAttribution: msRest.CompositeMapper = { serializedName: "license", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "License" } }, diff --git a/packages/@azure/cognitiveservices-entitysearch/lib/models/parameters.ts b/packages/@azure/cognitiveservices-entitysearch/lib/models/parameters.ts index 0e12f504bad5..25d02ef7d929 100644 --- a/packages/@azure/cognitiveservices-entitysearch/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-entitysearch/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: [ @@ -58,6 +58,18 @@ export const countryCode: msRest.OperationQueryParameter = { } } }; +export const endpoint: msRest.OperationURLParameter = { + parameterPath: "endpoint", + mapper: { + required: true, + serializedName: "Endpoint", + defaultValue: 'https://api.cognitive.microsoft.com', + type: { + name: "String" + } + }, + skipEncoding: true +}; export const location: msRest.OperationParameter = { parameterPath: [ "options", diff --git a/packages/@azure/cognitiveservices-entitysearch/lib/operations/entitiesOperations.ts b/packages/@azure/cognitiveservices-entitysearch/lib/operations/entitiesOperations.ts index ddc55206d122..9125b64820f1 100644 --- a/packages/@azure/cognitiveservices-entitysearch/lib/operations/entitiesOperations.ts +++ b/packages/@azure/cognitiveservices-entitysearch/lib/operations/entitiesOperations.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/entitiesOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class EntitiesOperations { * @param callback The callback */ search(query: string, options: Models.EntitiesSearchOptionalParams, callback: msRest.ServiceCallback): void; - search(query: string, options?: Models.EntitiesSearchOptionalParams, callback?: msRest.ServiceCallback): Promise { + search(query: string, options?: Models.EntitiesSearchOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { query, @@ -63,7 +63,10 @@ export class EntitiesOperations { const serializer = new msRest.Serializer(Mappers); const searchOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "bing/v7.0/entities", + path: "entities", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.countryCode, Parameters.market, diff --git a/packages/@azure/cognitiveservices-entitysearch/package.json b/packages/@azure/cognitiveservices-entitysearch/package.json index f592172e8972..e6b447818133 100644 --- a/packages/@azure/cognitiveservices-entitysearch/package.json +++ b/packages/@azure/cognitiveservices-entitysearch/package.json @@ -4,7 +4,7 @@ "description": "EntitySearchAPIClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -51,4 +51,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-entitysearch/rollup.config.js b/packages/@azure/cognitiveservices-entitysearch/rollup.config.js index 3af51d58193c..47e8ff0fbc67 100644 --- a/packages/@azure/cognitiveservices-entitysearch/rollup.config.js +++ b/packages/@azure/cognitiveservices-entitysearch/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/entitySearchAPIClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-entitysearch.js", format: "umd", name: "Azure.CognitiveservicesEntitysearch", 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/cognitiveservices-entitysearch/tsconfig.json b/packages/@azure/cognitiveservices-entitysearch/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-entitysearch/tsconfig.json +++ b/packages/@azure/cognitiveservices-entitysearch/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-face/.npmignore b/packages/@azure/cognitiveservices-face/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/cognitiveservices-face/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/cognitiveservices-face/README.md b/packages/@azure/cognitiveservices-face/README.md index e3044e1dd5ae..801fa95b92fe 100644 --- a/packages/@azure/cognitiveservices-face/README.md +++ b/packages/@azure/cognitiveservices-face/README.md @@ -1,26 +1,33 @@ -# An isomorphic javascript sdk for - FaceClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - FaceClient -## How to Install +This package contains an isomorphic SDK for FaceClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-face ``` -- browser -```html - -``` -## How to use +### How to use -### nodejs - Authentication, client creation and list personGroupPerson as an example written in TypeScript. +#### nodejs - Authentication, client creation and list personGroupPerson as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code ```ts -import * as msRest from "ms-rest-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { FaceClient, FaceModels, FaceMappers } from "@azure/cognitiveservices-face"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -38,7 +45,17 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and list personGroupPerson as an example written in javascript. +#### browser - Authentication, client creation and list personGroupPerson as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -46,8 +63,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => { @azure/cognitiveservices-face 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/cognitiveservices-face/lib/faceClient.ts b/packages/@azure/cognitiveservices-face/lib/faceClient.ts index 46665853c13a..3fef6fece7c7 100644 --- a/packages/@azure/cognitiveservices-face/lib/faceClient.ts +++ b/packages/@azure/cognitiveservices-face/lib/faceClient.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/cognitiveservices-face/lib/faceClientContext.ts b/packages/@azure/cognitiveservices-face/lib/faceClientContext.ts index d1a69d729ebd..0aab84a539fc 100644 --- a/packages/@azure/cognitiveservices-face/lib/faceClientContext.ts +++ b/packages/@azure/cognitiveservices-face/lib/faceClientContext.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; const packageName = "@azure/cognitiveservices-face"; const packageVersion = "0.1.0"; diff --git a/packages/@azure/cognitiveservices-face/lib/models/index.ts b/packages/@azure/cognitiveservices-face/lib/models/index.ts index 2152fe73a11c..9f721780116c 100644 --- a/packages/@azure/cognitiveservices-face/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-face/lib/models/index.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** diff --git a/packages/@azure/cognitiveservices-face/lib/models/mappers.ts b/packages/@azure/cognitiveservices-face/lib/models/mappers.ts index 325977729dd9..693512f304a8 100644 --- a/packages/@azure/cognitiveservices-face/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-face/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const ErrorModel: msRest.CompositeMapper = { diff --git a/packages/@azure/cognitiveservices-face/lib/models/parameters.ts b/packages/@azure/cognitiveservices-face/lib/models/parameters.ts index 79986518434d..64e028ad1b77 100644 --- a/packages/@azure/cognitiveservices-face/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-face/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 endpoint: msRest.OperationURLParameter = { parameterPath: "endpoint", diff --git a/packages/@azure/cognitiveservices-face/lib/operations/face.ts b/packages/@azure/cognitiveservices-face/lib/operations/face.ts index dc711e459624..ae38fa7c5305 100644 --- a/packages/@azure/cognitiveservices-face/lib/operations/face.ts +++ b/packages/@azure/cognitiveservices-face/lib/operations/face.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/faceMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/cognitiveservices-face/lib/operations/faceListOperations.ts b/packages/@azure/cognitiveservices-face/lib/operations/faceListOperations.ts index 0033fad7e938..bda8061fe344 100644 --- a/packages/@azure/cognitiveservices-face/lib/operations/faceListOperations.ts +++ b/packages/@azure/cognitiveservices-face/lib/operations/faceListOperations.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/faceListOperationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/cognitiveservices-face/lib/operations/largeFaceListOperations.ts b/packages/@azure/cognitiveservices-face/lib/operations/largeFaceListOperations.ts index 9988d40df3aa..51a8c7752845 100644 --- a/packages/@azure/cognitiveservices-face/lib/operations/largeFaceListOperations.ts +++ b/packages/@azure/cognitiveservices-face/lib/operations/largeFaceListOperations.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/largeFaceListOperationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/cognitiveservices-face/lib/operations/largePersonGroupOperations.ts b/packages/@azure/cognitiveservices-face/lib/operations/largePersonGroupOperations.ts index 59e6a9c5137a..32d1d5222b01 100644 --- a/packages/@azure/cognitiveservices-face/lib/operations/largePersonGroupOperations.ts +++ b/packages/@azure/cognitiveservices-face/lib/operations/largePersonGroupOperations.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/largePersonGroupOperationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/cognitiveservices-face/lib/operations/largePersonGroupPerson.ts b/packages/@azure/cognitiveservices-face/lib/operations/largePersonGroupPerson.ts index 990dd5098401..c64fd464ee37 100644 --- a/packages/@azure/cognitiveservices-face/lib/operations/largePersonGroupPerson.ts +++ b/packages/@azure/cognitiveservices-face/lib/operations/largePersonGroupPerson.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/largePersonGroupPersonMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/cognitiveservices-face/lib/operations/personGroupOperations.ts b/packages/@azure/cognitiveservices-face/lib/operations/personGroupOperations.ts index df2778f5b356..09a65a2a55c3 100644 --- a/packages/@azure/cognitiveservices-face/lib/operations/personGroupOperations.ts +++ b/packages/@azure/cognitiveservices-face/lib/operations/personGroupOperations.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/personGroupOperationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/cognitiveservices-face/lib/operations/personGroupPerson.ts b/packages/@azure/cognitiveservices-face/lib/operations/personGroupPerson.ts index 05b49c116372..c6e94d3e6517 100644 --- a/packages/@azure/cognitiveservices-face/lib/operations/personGroupPerson.ts +++ b/packages/@azure/cognitiveservices-face/lib/operations/personGroupPerson.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/personGroupPersonMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/cognitiveservices-face/package.json b/packages/@azure/cognitiveservices-face/package.json index d8f0ea3d5669..31972e1b3086 100644 --- a/packages/@azure/cognitiveservices-face/package.json +++ b/packages/@azure/cognitiveservices-face/package.json @@ -4,7 +4,7 @@ "description": "FaceClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.461", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -51,4 +51,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-face/rollup.config.js b/packages/@azure/cognitiveservices-face/rollup.config.js index 7c56f57643c9..f24139915698 100644 --- a/packages/@azure/cognitiveservices-face/rollup.config.js +++ b/packages/@azure/cognitiveservices-face/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/faceClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-face.js", format: "umd", name: "Azure.CognitiveservicesFace", 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/cognitiveservices-face/tsconfig.json b/packages/@azure/cognitiveservices-face/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-face/tsconfig.json +++ b/packages/@azure/cognitiveservices-face/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-imagesearch/README.md b/packages/@azure/cognitiveservices-imagesearch/README.md index 5d72eeea80ac..deff816584cb 100644 --- a/packages/@azure/cognitiveservices-imagesearch/README.md +++ b/packages/@azure/cognitiveservices-imagesearch/README.md @@ -1,26 +1,33 @@ -# An isomorphic javascript sdk for - ImageSearchAPIClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - ImageSearchAPIClient -## How to Install +This package contains an isomorphic SDK for ImageSearchAPIClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-imagesearch ``` -- browser -```html - -``` -## How to use +### How to use -### nodejs - Authentication, client creation and search images as an example written in TypeScript. +#### nodejs - Authentication, client creation and search images as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code ```ts -import * as msRest from "ms-rest-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { ImageSearchAPIClient, ImageSearchAPIModels, ImageSearchAPIMappers } from "@azure/cognitiveservices-imagesearch"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -63,7 +70,17 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and search images as an example written in javascript. +#### browser - Authentication, client creation and search images as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -71,8 +88,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => { @azure/cognitiveservices-imagesearch 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/cognitiveservices-imagesearch/lib/imageSearchAPIClient.ts b/packages/@azure/cognitiveservices-imagesearch/lib/imageSearchAPIClient.ts index c118b99a3cbf..fbe090744716 100644 --- a/packages/@azure/cognitiveservices-imagesearch/lib/imageSearchAPIClient.ts +++ b/packages/@azure/cognitiveservices-imagesearch/lib/imageSearchAPIClient.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/cognitiveservices-imagesearch/lib/imageSearchAPIClientContext.ts b/packages/@azure/cognitiveservices-imagesearch/lib/imageSearchAPIClientContext.ts index fed0776d299c..83563163ed01 100644 --- a/packages/@azure/cognitiveservices-imagesearch/lib/imageSearchAPIClientContext.ts +++ b/packages/@azure/cognitiveservices-imagesearch/lib/imageSearchAPIClientContext.ts @@ -8,13 +8,14 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; const packageName = "@azure/cognitiveservices-imagesearch"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class ImageSearchAPIClientContext extends msRest.ServiceClient { + endpoint?: string; credentials: msRest.ServiceClientCredentials; /** @@ -30,13 +31,20 @@ export class ImageSearchAPIClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); - this.baseUri = options.baseUri || this.baseUri || "https://api.cognitive.microsoft.com"; + this.endpoint = 'https://api.cognitive.microsoft.com'; + this.baseUri = "{Endpoint}"; this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); + if(options.endpoint !== null && options.endpoint !== undefined) { + this.endpoint = options.endpoint; + } } } diff --git a/packages/@azure/cognitiveservices-imagesearch/lib/models/index.ts b/packages/@azure/cognitiveservices-imagesearch/lib/models/index.ts index b05994623c5e..3785f780510f 100644 --- a/packages/@azure/cognitiveservices-imagesearch/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-imagesearch/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { ServiceClientOptions } from "ms-rest-js"; -import * as msRest from "ms-rest-js"; +import { ServiceClientOptions } from "@azure/ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -2621,9 +2621,13 @@ export interface Person { */ export interface ImageSearchAPIClientOptions extends ServiceClientOptions { /** - * @member {string} [baseUri] + * @member {string} [endpoint] Supported Cognitive Services endpoints + * (protocol and hostname, for example: + * "https://westus.api.cognitive.microsoft.com", + * "https://api.cognitive.microsoft.com"). Default value: + * 'https://api.cognitive.microsoft.com' . */ - baseUri?: string; + endpoint?: string; } /** @@ -3567,460 +3571,136 @@ export interface ImagesTrendingOptionalParams extends msRest.RequestOptionsBase /** * Defines values for Currency. - * Possible values include: 'USD', 'CAD', 'GBP', 'EUR', 'COP', 'JPY', 'CNY', - * 'AUD', 'INR', 'AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AWG', 'AZN', - * 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BOV', 'BRL', - * 'BSD', 'BTN', 'BWP', 'BYR', 'BZD', 'CDF', 'CHE', 'CHF', 'CHW', 'CLF', 'CLP', - * 'COU', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', - * 'ERN', 'ETB', 'FJD', 'FKP', 'GEL', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', - * 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IQD', 'IRR', 'ISK', 'JMD', - * 'JOD', 'KES', 'KGS', 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', - * 'LBP', 'LKR', 'LRD', 'LSL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', - * 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MXV', 'MYR', 'MZN', 'NAD', 'NGN', - * 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', - * 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', - * 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'SSP', 'STD', 'SYP', 'SZL', 'THB', 'TJS', - * 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH', 'UGX', 'UYU', 'UZS', - * 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Currency = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'USD', 'CAD', 'GBP', 'EUR', 'COP', 'JPY', 'CNY', 'AUD', 'INR', 'AED', + * 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', + * 'BIF', 'BMD', 'BND', 'BOB', 'BOV', 'BRL', 'BSD', 'BTN', 'BWP', 'BYR', 'BZD', 'CDF', 'CHE', + * 'CHF', 'CHW', 'CLF', 'CLP', 'COU', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', + * 'DZD', 'EGP', 'ERN', 'ETB', 'FJD', 'FKP', 'GEL', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', + * 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IQD', 'IRR', 'ISK', 'JMD', 'JOD', 'KES', + * 'KGS', 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', + * 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', + * 'MXV', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', + * 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', + * 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'SSP', 'STD', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', + * 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH', 'UGX', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', + * 'WST', 'XAF', 'XCD', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW' * @readonly * @enum {string} */ -export enum Currency { - USD = 'USD', - CAD = 'CAD', - GBP = 'GBP', - EUR = 'EUR', - COP = 'COP', - JPY = 'JPY', - CNY = 'CNY', - AUD = 'AUD', - INR = 'INR', - AED = 'AED', - AFN = 'AFN', - ALL = 'ALL', - AMD = 'AMD', - ANG = 'ANG', - AOA = 'AOA', - ARS = 'ARS', - AWG = 'AWG', - AZN = 'AZN', - BAM = 'BAM', - BBD = 'BBD', - BDT = 'BDT', - BGN = 'BGN', - BHD = 'BHD', - BIF = 'BIF', - BMD = 'BMD', - BND = 'BND', - BOB = 'BOB', - BOV = 'BOV', - BRL = 'BRL', - BSD = 'BSD', - BTN = 'BTN', - BWP = 'BWP', - BYR = 'BYR', - BZD = 'BZD', - CDF = 'CDF', - CHE = 'CHE', - CHF = 'CHF', - CHW = 'CHW', - CLF = 'CLF', - CLP = 'CLP', - COU = 'COU', - CRC = 'CRC', - CUC = 'CUC', - CUP = 'CUP', - CVE = 'CVE', - CZK = 'CZK', - DJF = 'DJF', - DKK = 'DKK', - DOP = 'DOP', - DZD = 'DZD', - EGP = 'EGP', - ERN = 'ERN', - ETB = 'ETB', - FJD = 'FJD', - FKP = 'FKP', - GEL = 'GEL', - GHS = 'GHS', - GIP = 'GIP', - GMD = 'GMD', - GNF = 'GNF', - GTQ = 'GTQ', - GYD = 'GYD', - HKD = 'HKD', - HNL = 'HNL', - HRK = 'HRK', - HTG = 'HTG', - HUF = 'HUF', - IDR = 'IDR', - ILS = 'ILS', - IQD = 'IQD', - IRR = 'IRR', - ISK = 'ISK', - JMD = 'JMD', - JOD = 'JOD', - KES = 'KES', - KGS = 'KGS', - KHR = 'KHR', - KMF = 'KMF', - KPW = 'KPW', - KRW = 'KRW', - KWD = 'KWD', - KYD = 'KYD', - KZT = 'KZT', - LAK = 'LAK', - LBP = 'LBP', - LKR = 'LKR', - LRD = 'LRD', - LSL = 'LSL', - LYD = 'LYD', - MAD = 'MAD', - MDL = 'MDL', - MGA = 'MGA', - MKD = 'MKD', - MMK = 'MMK', - MNT = 'MNT', - MOP = 'MOP', - MRO = 'MRO', - MUR = 'MUR', - MVR = 'MVR', - MWK = 'MWK', - MXN = 'MXN', - MXV = 'MXV', - MYR = 'MYR', - MZN = 'MZN', - NAD = 'NAD', - NGN = 'NGN', - NIO = 'NIO', - NOK = 'NOK', - NPR = 'NPR', - NZD = 'NZD', - OMR = 'OMR', - PAB = 'PAB', - PEN = 'PEN', - PGK = 'PGK', - PHP = 'PHP', - PKR = 'PKR', - PLN = 'PLN', - PYG = 'PYG', - QAR = 'QAR', - RON = 'RON', - RSD = 'RSD', - RUB = 'RUB', - RWF = 'RWF', - SAR = 'SAR', - SBD = 'SBD', - SCR = 'SCR', - SDG = 'SDG', - SEK = 'SEK', - SGD = 'SGD', - SHP = 'SHP', - SLL = 'SLL', - SOS = 'SOS', - SRD = 'SRD', - SSP = 'SSP', - STD = 'STD', - SYP = 'SYP', - SZL = 'SZL', - THB = 'THB', - TJS = 'TJS', - TMT = 'TMT', - TND = 'TND', - TOP = 'TOP', - TRY = 'TRY', - TTD = 'TTD', - TWD = 'TWD', - TZS = 'TZS', - UAH = 'UAH', - UGX = 'UGX', - UYU = 'UYU', - UZS = 'UZS', - VEF = 'VEF', - VND = 'VND', - VUV = 'VUV', - WST = 'WST', - XAF = 'XAF', - XCD = 'XCD', - XOF = 'XOF', - XPF = 'XPF', - YER = 'YER', - ZAR = 'ZAR', - ZMW = 'ZMW', -} +export type Currency = 'USD' | 'CAD' | 'GBP' | 'EUR' | 'COP' | 'JPY' | 'CNY' | 'AUD' | 'INR' | 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BOV' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CDF' | 'CHE' | 'CHF' | 'CHW' | 'CLF' | 'CLP' | 'COU' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'FJD' | 'FKP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MXV' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW'; /** * Defines values for ItemAvailability. - * Possible values include: 'Discontinued', 'InStock', 'InStoreOnly', - * 'LimitedAvailability', 'OnlineOnly', 'OutOfStock', 'PreOrder', 'SoldOut' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ItemAvailability = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Discontinued', 'InStock', 'InStoreOnly', 'LimitedAvailability', + * 'OnlineOnly', 'OutOfStock', 'PreOrder', 'SoldOut' * @readonly * @enum {string} */ -export enum ItemAvailability { - Discontinued = 'Discontinued', - InStock = 'InStock', - InStoreOnly = 'InStoreOnly', - LimitedAvailability = 'LimitedAvailability', - OnlineOnly = 'OnlineOnly', - OutOfStock = 'OutOfStock', - PreOrder = 'PreOrder', - SoldOut = 'SoldOut', -} +export type ItemAvailability = 'Discontinued' | 'InStock' | 'InStoreOnly' | 'LimitedAvailability' | 'OnlineOnly' | 'OutOfStock' | 'PreOrder' | 'SoldOut'; /** * Defines values for ErrorCode. - * Possible values include: 'None', 'ServerError', 'InvalidRequest', - * 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorCode = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', + * 'InvalidAuthorization', 'InsufficientAuthorization' * @readonly * @enum {string} */ -export enum ErrorCode { - None = 'None', - ServerError = 'ServerError', - InvalidRequest = 'InvalidRequest', - RateLimitExceeded = 'RateLimitExceeded', - InvalidAuthorization = 'InvalidAuthorization', - InsufficientAuthorization = 'InsufficientAuthorization', -} +export type ErrorCode = 'None' | 'ServerError' | 'InvalidRequest' | 'RateLimitExceeded' | 'InvalidAuthorization' | 'InsufficientAuthorization'; /** * Defines values for ErrorSubCode. - * Possible values include: 'UnexpectedError', 'ResourceError', - * 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', - * 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing', - * 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorSubCode = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', + * 'ParameterMissing', 'ParameterInvalidValue', 'HttpNotAllowed', 'Blocked', + * 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', + * 'AuthorizationExpired' * @readonly * @enum {string} */ -export enum ErrorSubCode { - UnexpectedError = 'UnexpectedError', - ResourceError = 'ResourceError', - NotImplemented = 'NotImplemented', - ParameterMissing = 'ParameterMissing', - ParameterInvalidValue = 'ParameterInvalidValue', - HttpNotAllowed = 'HttpNotAllowed', - Blocked = 'Blocked', - AuthorizationMissing = 'AuthorizationMissing', - AuthorizationRedundancy = 'AuthorizationRedundancy', - AuthorizationDisabled = 'AuthorizationDisabled', - AuthorizationExpired = 'AuthorizationExpired', -} +export type ErrorSubCode = 'UnexpectedError' | 'ResourceError' | 'NotImplemented' | 'ParameterMissing' | 'ParameterInvalidValue' | 'HttpNotAllowed' | 'Blocked' | 'AuthorizationMissing' | 'AuthorizationRedundancy' | 'AuthorizationDisabled' | 'AuthorizationExpired'; /** * Defines values for ImageAspect. * Possible values include: 'All', 'Square', 'Wide', 'Tall' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageAspect = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ImageAspect { - All = 'All', - Square = 'Square', - Wide = 'Wide', - Tall = 'Tall', -} +export type ImageAspect = 'All' | 'Square' | 'Wide' | 'Tall'; /** * Defines values for ImageColor. - * Possible values include: 'ColorOnly', 'Monochrome', 'Black', 'Blue', - * 'Brown', 'Gray', 'Green', 'Orange', 'Pink', 'Purple', 'Red', 'Teal', - * 'White', 'Yellow' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageColor = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'ColorOnly', 'Monochrome', 'Black', 'Blue', 'Brown', 'Gray', 'Green', + * 'Orange', 'Pink', 'Purple', 'Red', 'Teal', 'White', 'Yellow' * @readonly * @enum {string} */ -export enum ImageColor { - ColorOnly = 'ColorOnly', - Monochrome = 'Monochrome', - Black = 'Black', - Blue = 'Blue', - Brown = 'Brown', - Gray = 'Gray', - Green = 'Green', - Orange = 'Orange', - Pink = 'Pink', - Purple = 'Purple', - Red = 'Red', - Teal = 'Teal', - White = 'White', - Yellow = 'Yellow', -} +export type ImageColor = 'ColorOnly' | 'Monochrome' | 'Black' | 'Blue' | 'Brown' | 'Gray' | 'Green' | 'Orange' | 'Pink' | 'Purple' | 'Red' | 'Teal' | 'White' | 'Yellow'; /** * Defines values for Freshness. * Possible values include: 'Day', 'Week', 'Month' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Freshness = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Freshness { - Day = 'Day', - Week = 'Week', - Month = 'Month', -} +export type Freshness = 'Day' | 'Week' | 'Month'; /** * Defines values for ImageContent. * Possible values include: 'Face', 'Portrait' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageContent = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ImageContent { - Face = 'Face', - Portrait = 'Portrait', -} +export type ImageContent = 'Face' | 'Portrait'; /** * Defines values for ImageType. - * Possible values include: 'AnimatedGif', 'Clipart', 'Line', 'Photo', - * 'Shopping', 'Transparent' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageType = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'AnimatedGif', 'Clipart', 'Line', 'Photo', 'Shopping', 'Transparent' * @readonly * @enum {string} */ -export enum ImageType { - AnimatedGif = 'AnimatedGif', - Clipart = 'Clipart', - Line = 'Line', - Photo = 'Photo', - Shopping = 'Shopping', - Transparent = 'Transparent', -} +export type ImageType = 'AnimatedGif' | 'Clipart' | 'Line' | 'Photo' | 'Shopping' | 'Transparent'; /** * Defines values for ImageLicense. - * Possible values include: 'All', 'Any', 'Public', 'Share', - * 'ShareCommercially', 'Modify', 'ModifyCommercially' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageLicense = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'All', 'Any', 'Public', 'Share', 'ShareCommercially', 'Modify', + * 'ModifyCommercially' * @readonly * @enum {string} */ -export enum ImageLicense { - All = 'All', - Any = 'Any', - Public = 'Public', - Share = 'Share', - ShareCommercially = 'ShareCommercially', - Modify = 'Modify', - ModifyCommercially = 'ModifyCommercially', -} +export type ImageLicense = 'All' | 'Any' | 'Public' | 'Share' | 'ShareCommercially' | 'Modify' | 'ModifyCommercially'; /** * Defines values for SafeSearch. * Possible values include: 'Off', 'Moderate', 'Strict' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SafeSearch = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SafeSearch { - Off = 'Off', - Moderate = 'Moderate', - Strict = 'Strict', -} +export type SafeSearch = 'Off' | 'Moderate' | 'Strict'; /** * Defines values for ImageSize. * Possible values include: 'All', 'Small', 'Medium', 'Large', 'Wallpaper' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageSize = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ImageSize { - All = 'All', - Small = 'Small', - Medium = 'Medium', - Large = 'Large', - Wallpaper = 'Wallpaper', -} +export type ImageSize = 'All' | 'Small' | 'Medium' | 'Large' | 'Wallpaper'; /** * Defines values for ImageCropType. * Possible values include: 'Rectangular' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageCropType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ImageCropType { - Rectangular = 'Rectangular', -} +export type ImageCropType = 'Rectangular'; /** * Defines values for ImageInsightModule. - * Possible values include: 'All', 'BRQ', 'Caption', 'Collections', 'Recipes', - * 'PagesIncluding', 'RecognizedEntities', 'RelatedSearches', - * 'ShoppingSources', 'SimilarImages', 'SimilarProducts', 'Tags' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImageInsightModule = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'All', 'BRQ', 'Caption', 'Collections', 'Recipes', 'PagesIncluding', + * 'RecognizedEntities', 'RelatedSearches', 'ShoppingSources', 'SimilarImages', 'SimilarProducts', + * 'Tags' * @readonly * @enum {string} */ -export enum ImageInsightModule { - All = 'All', - BRQ = 'BRQ', - Caption = 'Caption', - Collections = 'Collections', - Recipes = 'Recipes', - PagesIncluding = 'PagesIncluding', - RecognizedEntities = 'RecognizedEntities', - RelatedSearches = 'RelatedSearches', - ShoppingSources = 'ShoppingSources', - SimilarImages = 'SimilarImages', - SimilarProducts = 'SimilarProducts', - Tags = 'Tags', -} +export type ImageInsightModule = 'All' | 'BRQ' | 'Caption' | 'Collections' | 'Recipes' | 'PagesIncluding' | 'RecognizedEntities' | 'RelatedSearches' | 'ShoppingSources' | 'SimilarImages' | 'SimilarProducts' | 'Tags'; /** * Contains response data for the search operation. diff --git a/packages/@azure/cognitiveservices-imagesearch/lib/models/mappers.ts b/packages/@azure/cognitiveservices-imagesearch/lib/models/mappers.ts index ed37dc2ff159..bfafc3397541 100644 --- a/packages/@azure/cognitiveservices-imagesearch/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-imagesearch/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const ResponseBase: msRest.CompositeMapper = { @@ -108,8 +108,6 @@ export const Thing: msRest.CompositeMapper = { serializedName: "image", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } }, @@ -241,8 +239,6 @@ export const Offer: msRest.CompositeMapper = { serializedName: "seller", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Organization" } }, @@ -273,8 +269,6 @@ export const Offer: msRest.CompositeMapper = { serializedName: "aggregateRating", type: { name: "Composite", - polymorphicDiscriminator: PropertiesItem.type.polymorphicDiscriminator, - uberParent: "PropertiesItem", className: "AggregateRating" } }, @@ -306,8 +300,6 @@ export const AggregateOffer: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Offer" } } @@ -342,8 +334,6 @@ export const ImagesImageMetadata: msRest.CompositeMapper = { serializedName: "aggregateOffer", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "AggregateOffer" } } @@ -375,8 +365,6 @@ export const CreativeWork: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -476,8 +464,6 @@ export const ImageObject: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } }, @@ -560,8 +546,6 @@ export const Query: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -656,8 +640,6 @@ export const Images: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -896,8 +878,6 @@ export const RelatedCollectionsModule: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageGallery" } } @@ -921,8 +901,6 @@ export const ImagesModule: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -1003,8 +981,6 @@ export const RecipesModule: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Recipe" } } @@ -1095,8 +1071,6 @@ export const RecognizedEntity: msRest.CompositeMapper = { serializedName: "entity", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } }, @@ -1125,8 +1099,6 @@ export const RecognizedEntityRegion: msRest.CompositeMapper = { serializedName: "region", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "NormalizedRectangle" } }, @@ -1138,8 +1110,6 @@ export const RecognizedEntityRegion: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "RecognizedEntity" } } @@ -1163,8 +1133,6 @@ export const RecognizedEntityGroup: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "RecognizedEntityRegion" } } @@ -1297,8 +1265,6 @@ export const ImageInsights: msRest.CompositeMapper = { serializedName: "shoppingSources", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "AggregateOffer" } }, @@ -1373,8 +1339,6 @@ export const TrendingImagesTile: msRest.CompositeMapper = { serializedName: "image", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } diff --git a/packages/@azure/cognitiveservices-imagesearch/lib/models/parameters.ts b/packages/@azure/cognitiveservices-imagesearch/lib/models/parameters.ts index ef9ce159e663..b88d27e03088 100644 --- a/packages/@azure/cognitiveservices-imagesearch/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-imagesearch/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: [ @@ -166,6 +166,18 @@ export const cropType: msRest.OperationQueryParameter = { } } }; +export const endpoint: msRest.OperationURLParameter = { + parameterPath: "endpoint", + mapper: { + required: true, + serializedName: "Endpoint", + defaultValue: 'https://api.cognitive.microsoft.com', + type: { + name: "String" + } + }, + skipEncoding: true +}; export const freshness: msRest.OperationQueryParameter = { parameterPath: [ "options", diff --git a/packages/@azure/cognitiveservices-imagesearch/lib/operations/imagesOperations.ts b/packages/@azure/cognitiveservices-imagesearch/lib/operations/imagesOperations.ts index b2db6401a0a0..2b671ecd8999 100644 --- a/packages/@azure/cognitiveservices-imagesearch/lib/operations/imagesOperations.ts +++ b/packages/@azure/cognitiveservices-imagesearch/lib/operations/imagesOperations.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/imagesOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -66,7 +66,7 @@ export class ImagesOperations { * @param callback The callback */ search(query: string, options: Models.ImagesSearchOptionalParams, callback: msRest.ServiceCallback): void; - search(query: string, options?: Models.ImagesSearchOptionalParams, callback?: msRest.ServiceCallback): Promise { + search(query: string, options?: Models.ImagesSearchOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { query, @@ -117,7 +117,7 @@ export class ImagesOperations { * @param callback The callback */ details(query: string, options: Models.ImagesDetailsOptionalParams, callback: msRest.ServiceCallback): void; - details(query: string, options?: Models.ImagesDetailsOptionalParams, callback?: msRest.ServiceCallback): Promise { + details(query: string, options?: Models.ImagesDetailsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { query, @@ -146,7 +146,7 @@ export class ImagesOperations { * @param callback The callback */ trending(options: Models.ImagesTrendingOptionalParams, callback: msRest.ServiceCallback): void; - trending(options?: Models.ImagesTrendingOptionalParams, callback?: msRest.ServiceCallback): Promise { + trending(options?: Models.ImagesTrendingOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -160,7 +160,10 @@ export class ImagesOperations { const serializer = new msRest.Serializer(Mappers); const searchOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "bing/v7.0/images/search", + path: "images/search", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.aspect, Parameters.color, @@ -207,7 +210,10 @@ const searchOperationSpec: msRest.OperationSpec = { const detailsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "bing/v7.0/images/details", + path: "images/details", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.cropBottom, Parameters.cropLeft, @@ -246,7 +252,10 @@ const detailsOperationSpec: msRest.OperationSpec = { const trendingOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "bing/v7.0/images/trending", + path: "images/trending", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.countryCode, Parameters.market, diff --git a/packages/@azure/cognitiveservices-imagesearch/package.json b/packages/@azure/cognitiveservices-imagesearch/package.json index c189e6803474..cc643e27049a 100644 --- a/packages/@azure/cognitiveservices-imagesearch/package.json +++ b/packages/@azure/cognitiveservices-imagesearch/package.json @@ -4,7 +4,7 @@ "description": "ImageSearchAPIClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -51,4 +51,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-imagesearch/rollup.config.js b/packages/@azure/cognitiveservices-imagesearch/rollup.config.js index 2f945ecc8c53..1af0495d0a02 100644 --- a/packages/@azure/cognitiveservices-imagesearch/rollup.config.js +++ b/packages/@azure/cognitiveservices-imagesearch/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/imageSearchAPIClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-imagesearch.js", format: "umd", name: "Azure.CognitiveservicesImagesearch", 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/cognitiveservices-imagesearch/tsconfig.json b/packages/@azure/cognitiveservices-imagesearch/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-imagesearch/tsconfig.json +++ b/packages/@azure/cognitiveservices-imagesearch/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-luis-authoring/.npmignore b/packages/@azure/cognitiveservices-luis-authoring/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/cognitiveservices-luis-authoring/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/cognitiveservices-luis-authoring/README.md b/packages/@azure/cognitiveservices-luis-authoring/README.md index 04187f2d13a6..7e4b452f7101 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/README.md +++ b/packages/@azure/cognitiveservices-luis-authoring/README.md @@ -1,44 +1,62 @@ -# An isomorphic javascript sdk for - LUISAuthoringClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - LUISAuthoringClient -## How to Install +This package contains an isomorphic SDK for LUISAuthoringClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-luis-authoring ``` -- browser -```html - -``` -## How to use +### How to use + +#### nodejs - Authentication, client creation and listPhraseLists features as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and listPhraseLists features as an example written in TypeScript. +##### Sample code ```ts -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { LUISAuthoringClient, LUISAuthoringModels, LUISAuthoringMappers } from "@azure/cognitiveservices-luis-authoring"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -const token = ""; -const creds = new msRest.TokenCredentials(token); -const client = new LUISAuthoringClient(creds, subscriptionId); -const appId = ec7b1657-199d-4d8a-bbb2-89a11a42e02a; -const versionId = "testversionId"; -const skip = 1; -const take = 1; -client.features.listPhraseLists(appId, versionId, skip, take).then((result) => { - console.log("The result is:"); - console.log(result); +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new LUISAuthoringClient(creds, subscriptionId); + const appId = ec7b1657-199d-4d8a-bbb2-89a11a42e02a; + const versionId = "testversionId"; + const skip = 1; + const take = 1; + client.features.listPhraseLists(appId, versionId, skip, take).then((result) => { + console.log("The result is:"); + console.log(result); + }); }).catch((err) => { console.error(err); }); ``` -### browser - Authentication, client creation and listPhraseLists features as an example written in javascript. +#### browser - Authentication, client creation and listPhraseLists features as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -46,29 +64,39 @@ client.features.listPhraseLists(appId, versionId, skip, take).then((result) => { @azure/cognitiveservices-luis-authoring 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/cognitiveservices-luis-authoring/lib/lUISAuthoringClient.ts b/packages/@azure/cognitiveservices-luis-authoring/lib/lUISAuthoringClient.ts index 28e2fddd6ff1..71b9741455da 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/lib/lUISAuthoringClient.ts +++ b/packages/@azure/cognitiveservices-luis-authoring/lib/lUISAuthoringClient.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/cognitiveservices-luis-authoring/lib/lUISAuthoringClientContext.ts b/packages/@azure/cognitiveservices-luis-authoring/lib/lUISAuthoringClientContext.ts index dee334b7c9e6..b5ecfb0092c1 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/lib/lUISAuthoringClientContext.ts +++ b/packages/@azure/cognitiveservices-luis-authoring/lib/lUISAuthoringClientContext.ts @@ -8,10 +8,10 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; const packageName = "@azure/cognitiveservices-luis-authoring"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class LUISAuthoringClientContext extends msRest.ServiceClient { endpoint: string; @@ -35,6 +35,10 @@ export class LUISAuthoringClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); @@ -43,6 +47,5 @@ export class LUISAuthoringClientContext extends msRest.ServiceClient { this.endpoint = endpoint; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); } } diff --git a/packages/@azure/cognitiveservices-luis-authoring/lib/models/index.ts b/packages/@azure/cognitiveservices-luis-authoring/lib/models/index.ts index aa64aafa6815..302879e4e043 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-luis-authoring/lib/models/index.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -2786,363 +2786,141 @@ export interface PatternGetIntentPatternsOptionalParams extends msRest.RequestOp * @readonly * @enum {string} */ -export enum TrainingStatus { - NeedsTraining = 'NeedsTraining', - InProgress = 'InProgress', - Trained = 'Trained', -} +export type TrainingStatus = 'NeedsTraining' | 'InProgress' | 'Trained'; /** * Defines values for OperationStatusType. * Possible values include: 'Failed', 'FAILED', 'Success' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OperationStatusType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OperationStatusType { - Failed = 'Failed', - FAILED = 'FAILED', - Success = 'Success', -} +export type OperationStatusType = 'Failed' | 'FAILED' | 'Success'; /** * Defines values for ReadableType. - * Possible values include: 'Entity Extractor', 'Hierarchical Entity - * Extractor', 'Hierarchical Child Entity Extractor', 'Composite Entity - * Extractor', 'Closed List Entity Extractor', 'Prebuilt Entity Extractor', - * 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity - * Extractor' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReadableType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical + * Child Entity Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', 'Prebuilt + * Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity Extractor' * @readonly * @enum {string} */ -export enum ReadableType { - EntityExtractor = 'Entity Extractor', - HierarchicalEntityExtractor = 'Hierarchical Entity Extractor', - HierarchicalChildEntityExtractor = 'Hierarchical Child Entity Extractor', - CompositeEntityExtractor = 'Composite Entity Extractor', - ClosedListEntityExtractor = 'Closed List Entity Extractor', - PrebuiltEntityExtractor = 'Prebuilt Entity Extractor', - IntentClassifier = 'Intent Classifier', - PatternAnyEntityExtractor = 'Pattern.Any Entity Extractor', - RegexEntityExtractor = 'Regex Entity Extractor', -} +export type ReadableType = 'Entity Extractor' | 'Hierarchical Entity Extractor' | 'Hierarchical Child Entity Extractor' | 'Composite Entity Extractor' | 'Closed List Entity Extractor' | 'Prebuilt Entity Extractor' | 'Intent Classifier' | 'Pattern.Any Entity Extractor' | 'Regex Entity Extractor'; /** * Defines values for ReadableType1. - * Possible values include: 'Entity Extractor', 'Hierarchical Entity - * Extractor', 'Hierarchical Child Entity Extractor', 'Composite Entity - * Extractor', 'Closed List Entity Extractor', 'Prebuilt Entity Extractor', - * 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity - * Extractor' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReadableType1 = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical + * Child Entity Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', 'Prebuilt + * Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity Extractor' * @readonly * @enum {string} */ -export enum ReadableType1 { - EntityExtractor = 'Entity Extractor', - HierarchicalEntityExtractor = 'Hierarchical Entity Extractor', - HierarchicalChildEntityExtractor = 'Hierarchical Child Entity Extractor', - CompositeEntityExtractor = 'Composite Entity Extractor', - ClosedListEntityExtractor = 'Closed List Entity Extractor', - PrebuiltEntityExtractor = 'Prebuilt Entity Extractor', - IntentClassifier = 'Intent Classifier', - PatternAnyEntityExtractor = 'Pattern.Any Entity Extractor', - RegexEntityExtractor = 'Regex Entity Extractor', -} +export type ReadableType1 = 'Entity Extractor' | 'Hierarchical Entity Extractor' | 'Hierarchical Child Entity Extractor' | 'Composite Entity Extractor' | 'Closed List Entity Extractor' | 'Prebuilt Entity Extractor' | 'Intent Classifier' | 'Pattern.Any Entity Extractor' | 'Regex Entity Extractor'; /** * Defines values for ReadableType2. - * Possible values include: 'Entity Extractor', 'Hierarchical Entity - * Extractor', 'Hierarchical Child Entity Extractor', 'Composite Entity - * Extractor', 'Closed List Entity Extractor', 'Prebuilt Entity Extractor', - * 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity - * Extractor' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReadableType2 = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical + * Child Entity Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', 'Prebuilt + * Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity Extractor' * @readonly * @enum {string} */ -export enum ReadableType2 { - EntityExtractor = 'Entity Extractor', - HierarchicalEntityExtractor = 'Hierarchical Entity Extractor', - HierarchicalChildEntityExtractor = 'Hierarchical Child Entity Extractor', - CompositeEntityExtractor = 'Composite Entity Extractor', - ClosedListEntityExtractor = 'Closed List Entity Extractor', - PrebuiltEntityExtractor = 'Prebuilt Entity Extractor', - IntentClassifier = 'Intent Classifier', - PatternAnyEntityExtractor = 'Pattern.Any Entity Extractor', - RegexEntityExtractor = 'Regex Entity Extractor', -} +export type ReadableType2 = 'Entity Extractor' | 'Hierarchical Entity Extractor' | 'Hierarchical Child Entity Extractor' | 'Composite Entity Extractor' | 'Closed List Entity Extractor' | 'Prebuilt Entity Extractor' | 'Intent Classifier' | 'Pattern.Any Entity Extractor' | 'Regex Entity Extractor'; /** * Defines values for ReadableType3. - * Possible values include: 'Entity Extractor', 'Hierarchical Entity - * Extractor', 'Hierarchical Child Entity Extractor', 'Composite Entity - * Extractor', 'Closed List Entity Extractor', 'Prebuilt Entity Extractor', - * 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity - * Extractor' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReadableType3 = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical + * Child Entity Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', 'Prebuilt + * Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity Extractor' * @readonly * @enum {string} */ -export enum ReadableType3 { - EntityExtractor = 'Entity Extractor', - HierarchicalEntityExtractor = 'Hierarchical Entity Extractor', - HierarchicalChildEntityExtractor = 'Hierarchical Child Entity Extractor', - CompositeEntityExtractor = 'Composite Entity Extractor', - ClosedListEntityExtractor = 'Closed List Entity Extractor', - PrebuiltEntityExtractor = 'Prebuilt Entity Extractor', - IntentClassifier = 'Intent Classifier', - PatternAnyEntityExtractor = 'Pattern.Any Entity Extractor', - RegexEntityExtractor = 'Regex Entity Extractor', -} +export type ReadableType3 = 'Entity Extractor' | 'Hierarchical Entity Extractor' | 'Hierarchical Child Entity Extractor' | 'Composite Entity Extractor' | 'Closed List Entity Extractor' | 'Prebuilt Entity Extractor' | 'Intent Classifier' | 'Pattern.Any Entity Extractor' | 'Regex Entity Extractor'; /** * Defines values for ReadableType4. - * Possible values include: 'Entity Extractor', 'Hierarchical Entity - * Extractor', 'Hierarchical Child Entity Extractor', 'Composite Entity - * Extractor', 'Closed List Entity Extractor', 'Prebuilt Entity Extractor', - * 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity - * Extractor' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReadableType4 = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical + * Child Entity Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', 'Prebuilt + * Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity Extractor' * @readonly * @enum {string} */ -export enum ReadableType4 { - EntityExtractor = 'Entity Extractor', - HierarchicalEntityExtractor = 'Hierarchical Entity Extractor', - HierarchicalChildEntityExtractor = 'Hierarchical Child Entity Extractor', - CompositeEntityExtractor = 'Composite Entity Extractor', - ClosedListEntityExtractor = 'Closed List Entity Extractor', - PrebuiltEntityExtractor = 'Prebuilt Entity Extractor', - IntentClassifier = 'Intent Classifier', - PatternAnyEntityExtractor = 'Pattern.Any Entity Extractor', - RegexEntityExtractor = 'Regex Entity Extractor', -} +export type ReadableType4 = 'Entity Extractor' | 'Hierarchical Entity Extractor' | 'Hierarchical Child Entity Extractor' | 'Composite Entity Extractor' | 'Closed List Entity Extractor' | 'Prebuilt Entity Extractor' | 'Intent Classifier' | 'Pattern.Any Entity Extractor' | 'Regex Entity Extractor'; /** * Defines values for ReadableType5. - * Possible values include: 'Entity Extractor', 'Hierarchical Entity - * Extractor', 'Hierarchical Child Entity Extractor', 'Composite Entity - * Extractor', 'Closed List Entity Extractor', 'Prebuilt Entity Extractor', - * 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity - * Extractor' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReadableType5 = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical + * Child Entity Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', 'Prebuilt + * Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity Extractor' * @readonly * @enum {string} */ -export enum ReadableType5 { - EntityExtractor = 'Entity Extractor', - HierarchicalEntityExtractor = 'Hierarchical Entity Extractor', - HierarchicalChildEntityExtractor = 'Hierarchical Child Entity Extractor', - CompositeEntityExtractor = 'Composite Entity Extractor', - ClosedListEntityExtractor = 'Closed List Entity Extractor', - PrebuiltEntityExtractor = 'Prebuilt Entity Extractor', - IntentClassifier = 'Intent Classifier', - PatternAnyEntityExtractor = 'Pattern.Any Entity Extractor', - RegexEntityExtractor = 'Regex Entity Extractor', -} +export type ReadableType5 = 'Entity Extractor' | 'Hierarchical Entity Extractor' | 'Hierarchical Child Entity Extractor' | 'Composite Entity Extractor' | 'Closed List Entity Extractor' | 'Prebuilt Entity Extractor' | 'Intent Classifier' | 'Pattern.Any Entity Extractor' | 'Regex Entity Extractor'; /** * Defines values for ReadableType6. - * Possible values include: 'Entity Extractor', 'Hierarchical Entity - * Extractor', 'Hierarchical Child Entity Extractor', 'Composite Entity - * Extractor', 'Closed List Entity Extractor', 'Prebuilt Entity Extractor', - * 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity - * Extractor' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReadableType6 = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical + * Child Entity Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', 'Prebuilt + * Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity Extractor' * @readonly * @enum {string} */ -export enum ReadableType6 { - EntityExtractor = 'Entity Extractor', - HierarchicalEntityExtractor = 'Hierarchical Entity Extractor', - HierarchicalChildEntityExtractor = 'Hierarchical Child Entity Extractor', - CompositeEntityExtractor = 'Composite Entity Extractor', - ClosedListEntityExtractor = 'Closed List Entity Extractor', - PrebuiltEntityExtractor = 'Prebuilt Entity Extractor', - IntentClassifier = 'Intent Classifier', - PatternAnyEntityExtractor = 'Pattern.Any Entity Extractor', - RegexEntityExtractor = 'Regex Entity Extractor', -} +export type ReadableType6 = 'Entity Extractor' | 'Hierarchical Entity Extractor' | 'Hierarchical Child Entity Extractor' | 'Composite Entity Extractor' | 'Closed List Entity Extractor' | 'Prebuilt Entity Extractor' | 'Intent Classifier' | 'Pattern.Any Entity Extractor' | 'Regex Entity Extractor'; /** * Defines values for ReadableType7. - * Possible values include: 'Entity Extractor', 'Hierarchical Entity - * Extractor', 'Hierarchical Child Entity Extractor', 'Composite Entity - * Extractor', 'Closed List Entity Extractor', 'Prebuilt Entity Extractor', - * 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity - * Extractor' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReadableType7 = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical + * Child Entity Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', 'Prebuilt + * Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity Extractor' * @readonly * @enum {string} */ -export enum ReadableType7 { - EntityExtractor = 'Entity Extractor', - HierarchicalEntityExtractor = 'Hierarchical Entity Extractor', - HierarchicalChildEntityExtractor = 'Hierarchical Child Entity Extractor', - CompositeEntityExtractor = 'Composite Entity Extractor', - ClosedListEntityExtractor = 'Closed List Entity Extractor', - PrebuiltEntityExtractor = 'Prebuilt Entity Extractor', - IntentClassifier = 'Intent Classifier', - PatternAnyEntityExtractor = 'Pattern.Any Entity Extractor', - RegexEntityExtractor = 'Regex Entity Extractor', -} +export type ReadableType7 = 'Entity Extractor' | 'Hierarchical Entity Extractor' | 'Hierarchical Child Entity Extractor' | 'Composite Entity Extractor' | 'Closed List Entity Extractor' | 'Prebuilt Entity Extractor' | 'Intent Classifier' | 'Pattern.Any Entity Extractor' | 'Regex Entity Extractor'; /** * Defines values for ReadableType8. - * Possible values include: 'Entity Extractor', 'Hierarchical Entity - * Extractor', 'Hierarchical Child Entity Extractor', 'Composite Entity - * Extractor', 'Closed List Entity Extractor', 'Prebuilt Entity Extractor', - * 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity - * Extractor' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReadableType8 = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical + * Child Entity Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', 'Prebuilt + * Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity Extractor' * @readonly * @enum {string} */ -export enum ReadableType8 { - EntityExtractor = 'Entity Extractor', - HierarchicalEntityExtractor = 'Hierarchical Entity Extractor', - HierarchicalChildEntityExtractor = 'Hierarchical Child Entity Extractor', - CompositeEntityExtractor = 'Composite Entity Extractor', - ClosedListEntityExtractor = 'Closed List Entity Extractor', - PrebuiltEntityExtractor = 'Prebuilt Entity Extractor', - IntentClassifier = 'Intent Classifier', - PatternAnyEntityExtractor = 'Pattern.Any Entity Extractor', - RegexEntityExtractor = 'Regex Entity Extractor', -} +export type ReadableType8 = 'Entity Extractor' | 'Hierarchical Entity Extractor' | 'Hierarchical Child Entity Extractor' | 'Composite Entity Extractor' | 'Closed List Entity Extractor' | 'Prebuilt Entity Extractor' | 'Intent Classifier' | 'Pattern.Any Entity Extractor' | 'Regex Entity Extractor'; /** * Defines values for Status. - * Possible values include: 'Queued', 'InProgress', 'UpToDate', 'Fail', - * 'Success' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Status = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Queued', 'InProgress', 'UpToDate', 'Fail', 'Success' * @readonly * @enum {string} */ -export enum Status { - Queued = 'Queued', - InProgress = 'InProgress', - UpToDate = 'UpToDate', - Fail = 'Fail', - Success = 'Success', -} +export type Status = 'Queued' | 'InProgress' | 'UpToDate' | 'Fail' | 'Success'; /** * Defines values for Status1. - * Possible values include: 'Queued', 'InProgress', 'UpToDate', 'Fail', - * 'Success' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Status1 = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Queued', 'InProgress', 'UpToDate', 'Fail', 'Success' * @readonly * @enum {string} */ -export enum Status1 { - Queued = 'Queued', - InProgress = 'InProgress', - UpToDate = 'UpToDate', - Fail = 'Fail', - Success = 'Success', -} +export type Status1 = 'Queued' | 'InProgress' | 'UpToDate' | 'Fail' | 'Success'; /** * Defines values for ReadableType9. - * Possible values include: 'Entity Extractor', 'Hierarchical Entity - * Extractor', 'Hierarchical Child Entity Extractor', 'Composite Entity - * Extractor', 'Closed List Entity Extractor', 'Prebuilt Entity Extractor', - * 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity - * Extractor' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReadableType9 = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical + * Child Entity Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', 'Prebuilt + * Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity Extractor' * @readonly * @enum {string} */ -export enum ReadableType9 { - EntityExtractor = 'Entity Extractor', - HierarchicalEntityExtractor = 'Hierarchical Entity Extractor', - HierarchicalChildEntityExtractor = 'Hierarchical Child Entity Extractor', - CompositeEntityExtractor = 'Composite Entity Extractor', - ClosedListEntityExtractor = 'Closed List Entity Extractor', - PrebuiltEntityExtractor = 'Prebuilt Entity Extractor', - IntentClassifier = 'Intent Classifier', - PatternAnyEntityExtractor = 'Pattern.Any Entity Extractor', - RegexEntityExtractor = 'Regex Entity Extractor', -} +export type ReadableType9 = 'Entity Extractor' | 'Hierarchical Entity Extractor' | 'Hierarchical Child Entity Extractor' | 'Composite Entity Extractor' | 'Closed List Entity Extractor' | 'Prebuilt Entity Extractor' | 'Intent Classifier' | 'Pattern.Any Entity Extractor' | 'Regex Entity Extractor'; /** * Defines values for ReadableType10. - * Possible values include: 'Entity Extractor', 'Hierarchical Entity - * Extractor', 'Hierarchical Child Entity Extractor', 'Composite Entity - * Extractor', 'Closed List Entity Extractor', 'Prebuilt Entity Extractor', - * 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity - * Extractor' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReadableType10 = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Entity Extractor', 'Hierarchical Entity Extractor', 'Hierarchical + * Child Entity Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor', 'Prebuilt + * Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', 'Regex Entity Extractor' * @readonly * @enum {string} */ -export enum ReadableType10 { - EntityExtractor = 'Entity Extractor', - HierarchicalEntityExtractor = 'Hierarchical Entity Extractor', - HierarchicalChildEntityExtractor = 'Hierarchical Child Entity Extractor', - CompositeEntityExtractor = 'Composite Entity Extractor', - ClosedListEntityExtractor = 'Closed List Entity Extractor', - PrebuiltEntityExtractor = 'Prebuilt Entity Extractor', - IntentClassifier = 'Intent Classifier', - PatternAnyEntityExtractor = 'Pattern.Any Entity Extractor', - RegexEntityExtractor = 'Regex Entity Extractor', -} +export type ReadableType10 = 'Entity Extractor' | 'Hierarchical Entity Extractor' | 'Hierarchical Child Entity Extractor' | 'Composite Entity Extractor' | 'Closed List Entity Extractor' | 'Prebuilt Entity Extractor' | 'Intent Classifier' | 'Pattern.Any Entity Extractor' | 'Regex Entity Extractor'; /** * Contains response data for the addPhraseList operation. diff --git a/packages/@azure/cognitiveservices-luis-authoring/lib/models/mappers.ts b/packages/@azure/cognitiveservices-luis-authoring/lib/models/mappers.ts index a9173da466a8..2a0908aade4b 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-luis-authoring/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const EntityLabelObject: msRest.CompositeMapper = { diff --git a/packages/@azure/cognitiveservices-luis-authoring/lib/models/parameters.ts b/packages/@azure/cognitiveservices-luis-authoring/lib/models/parameters.ts index c90fb5a24281..f4e7dbfdbdeb 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-luis-authoring/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 appId: msRest.OperationURLParameter = { parameterPath: "appId", diff --git a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/apps.ts b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/apps.ts index a7999e543453..06f13a1f422b 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/apps.ts +++ b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/apps.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/appsMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class Apps { * @param callback The callback */ add(applicationCreateObject: Models.ApplicationCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - add(applicationCreateObject: Models.ApplicationCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + add(applicationCreateObject: Models.ApplicationCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applicationCreateObject, @@ -78,7 +78,7 @@ export class Apps { * @param callback The callback */ list(options: Models.AppsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.AppsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.AppsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -106,7 +106,7 @@ export class Apps { * @param callback The callback */ importMethod(luisApp: Models.LuisApp, options: Models.AppsImportMethodOptionalParams, callback: msRest.ServiceCallback): void; - importMethod(luisApp: Models.LuisApp, options?: Models.AppsImportMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + importMethod(luisApp: Models.LuisApp, options?: Models.AppsImportMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { luisApp, @@ -131,7 +131,7 @@ export class Apps { * @param callback The callback */ listCortanaEndpoints(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCortanaEndpoints(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listCortanaEndpoints(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -155,7 +155,7 @@ export class Apps { * @param callback The callback */ listDomains(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listDomains(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listDomains(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -179,7 +179,7 @@ export class Apps { * @param callback The callback */ listUsageScenarios(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listUsageScenarios(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listUsageScenarios(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -203,7 +203,7 @@ export class Apps { * @param callback The callback */ listSupportedCultures(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSupportedCultures(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listSupportedCultures(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -230,7 +230,7 @@ export class Apps { * @param callback The callback */ downloadQueryLogs(appId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - downloadQueryLogs(appId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + downloadQueryLogs(appId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -258,7 +258,7 @@ export class Apps { * @param callback The callback */ get(appId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(appId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(appId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -289,7 +289,7 @@ export class Apps { * @param callback The callback */ update(appId: string, applicationUpdateObject: Models.ApplicationUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(appId: string, applicationUpdateObject: Models.ApplicationUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(appId: string, applicationUpdateObject: Models.ApplicationUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -318,7 +318,7 @@ export class Apps { * @param callback The callback */ deleteMethod(appId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(appId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(appId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -352,7 +352,7 @@ export class Apps { * @param callback The callback */ publish(appId: string, applicationPublishObject: Models.ApplicationPublishObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - publish(appId: string, applicationPublishObject: Models.ApplicationPublishObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + publish(appId: string, applicationPublishObject: Models.ApplicationPublishObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -381,7 +381,7 @@ export class Apps { * @param callback The callback */ getSettings(appId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSettings(appId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSettings(appId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -412,7 +412,7 @@ export class Apps { * @param callback The callback */ updateSettings(appId: string, applicationSettingUpdateObject: Models.ApplicationSettingUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSettings(appId: string, applicationSettingUpdateObject: Models.ApplicationSettingUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateSettings(appId: string, applicationSettingUpdateObject: Models.ApplicationSettingUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -441,7 +441,7 @@ export class Apps { * @param callback The callback */ getPublishSettings(appId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPublishSettings(appId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPublishSettings(appId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -472,7 +472,7 @@ export class Apps { * @param callback The callback */ updatePublishSettings(appId: string, publishSettingUpdateObject: Models.PublishSettingUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updatePublishSettings(appId: string, publishSettingUpdateObject: Models.PublishSettingUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updatePublishSettings(appId: string, publishSettingUpdateObject: Models.PublishSettingUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -501,7 +501,7 @@ export class Apps { * @param callback The callback */ listEndpoints(appId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<{ [propertyName: string]: string }>): void; - listEndpoints(appId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback<{ [propertyName: string]: string }>): Promise { + listEndpoints(appId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<{ [propertyName: string]: string }>, callback?: msRest.ServiceCallback<{ [propertyName: string]: string }>): Promise { return this.client.sendOperationRequest( { appId, @@ -526,7 +526,7 @@ export class Apps { * @param callback The callback */ listAvailableCustomPrebuiltDomains(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAvailableCustomPrebuiltDomains(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAvailableCustomPrebuiltDomains(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -556,7 +556,7 @@ export class Apps { * @param callback The callback */ addCustomPrebuiltDomain(prebuiltDomainCreateObject: Models.PrebuiltDomainCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addCustomPrebuiltDomain(prebuiltDomainCreateObject: Models.PrebuiltDomainCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addCustomPrebuiltDomain(prebuiltDomainCreateObject: Models.PrebuiltDomainCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { prebuiltDomainCreateObject, @@ -584,7 +584,7 @@ export class Apps { * @param callback The callback */ listAvailableCustomPrebuiltDomainsForCulture(culture: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAvailableCustomPrebuiltDomainsForCulture(culture: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listAvailableCustomPrebuiltDomainsForCulture(culture: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { culture, diff --git a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/examples.ts b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/examples.ts index 87aba6988606..dd71b1613d47 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/examples.ts +++ b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/examples.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/examplesMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Examples { * @param callback The callback */ add(appId: string, versionId: string, exampleLabelObject: Models.ExampleLabelObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - add(appId: string, versionId: string, exampleLabelObject: Models.ExampleLabelObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + add(appId: string, versionId: string, exampleLabelObject: Models.ExampleLabelObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -86,7 +86,7 @@ export class Examples { * @param callback The callback */ batch(appId: string, versionId: string, exampleLabelObjectArray: Models.ExampleLabelObject[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - batch(appId: string, versionId: string, exampleLabelObjectArray: Models.ExampleLabelObject[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + batch(appId: string, versionId: string, exampleLabelObjectArray: Models.ExampleLabelObject[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -119,7 +119,7 @@ export class Examples { * @param callback The callback */ list(appId: string, versionId: string, options: Models.ExamplesListOptionalParams, callback: msRest.ServiceCallback): void; - list(appId: string, versionId: string, options?: Models.ExamplesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(appId: string, versionId: string, options?: Models.ExamplesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -154,7 +154,7 @@ export class Examples { * @param callback The callback */ deleteMethod(appId: string, versionId: string, exampleId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(appId: string, versionId: string, exampleId: number, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(appId: string, versionId: string, exampleId: number, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, diff --git a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/features.ts b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/features.ts index 024193728892..497d5c33c056 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/features.ts +++ b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/features.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/featuresMappers"; import * as Parameters from "../models/parameters"; @@ -53,7 +53,7 @@ export class Features { * @param callback The callback */ addPhraseList(appId: string, versionId: string, phraselistCreateObject: Models.PhraselistCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addPhraseList(appId: string, versionId: string, phraselistCreateObject: Models.PhraselistCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addPhraseList(appId: string, versionId: string, phraselistCreateObject: Models.PhraselistCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -86,7 +86,7 @@ export class Features { * @param callback The callback */ listPhraseLists(appId: string, versionId: string, options: Models.FeaturesListPhraseListsOptionalParams, callback: msRest.ServiceCallback): void; - listPhraseLists(appId: string, versionId: string, options?: Models.FeaturesListPhraseListsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listPhraseLists(appId: string, versionId: string, options?: Models.FeaturesListPhraseListsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -118,7 +118,7 @@ export class Features { * @param callback The callback */ list(appId: string, versionId: string, options: Models.FeaturesListOptionalParams, callback: msRest.ServiceCallback): void; - list(appId: string, versionId: string, options?: Models.FeaturesListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(appId: string, versionId: string, options?: Models.FeaturesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -153,7 +153,7 @@ export class Features { * @param callback The callback */ getPhraseList(appId: string, versionId: string, phraselistId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPhraseList(appId: string, versionId: string, phraselistId: number, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPhraseList(appId: string, versionId: string, phraselistId: number, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -189,7 +189,7 @@ export class Features { * @param callback The callback */ updatePhraseList(appId: string, versionId: string, phraselistId: number, options: Models.FeaturesUpdatePhraseListOptionalParams, callback: msRest.ServiceCallback): void; - updatePhraseList(appId: string, versionId: string, phraselistId: number, options?: Models.FeaturesUpdatePhraseListOptionalParams, callback?: msRest.ServiceCallback): Promise { + updatePhraseList(appId: string, versionId: string, phraselistId: number, options?: Models.FeaturesUpdatePhraseListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -225,7 +225,7 @@ export class Features { * @param callback The callback */ deletePhraseList(appId: string, versionId: string, phraselistId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deletePhraseList(appId: string, versionId: string, phraselistId: number, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deletePhraseList(appId: string, versionId: string, phraselistId: number, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, diff --git a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/model.ts b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/model.ts index 1840b5e9c92b..4fdd8b4632f7 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/model.ts +++ b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/model.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/modelMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Model { * @param callback The callback */ addIntent(appId: string, versionId: string, intentCreateObject: Models.ModelCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addIntent(appId: string, versionId: string, intentCreateObject: Models.ModelCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addIntent(appId: string, versionId: string, intentCreateObject: Models.ModelCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -83,7 +83,7 @@ export class Model { * @param callback The callback */ listIntents(appId: string, versionId: string, options: Models.ModelListIntentsOptionalParams, callback: msRest.ServiceCallback): void; - listIntents(appId: string, versionId: string, options?: Models.ModelListIntentsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listIntents(appId: string, versionId: string, options?: Models.ModelListIntentsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -118,7 +118,7 @@ export class Model { * @param callback The callback */ addEntity(appId: string, versionId: string, modelCreateObject: Models.ModelCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addEntity(appId: string, versionId: string, modelCreateObject: Models.ModelCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addEntity(appId: string, versionId: string, modelCreateObject: Models.ModelCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -151,7 +151,7 @@ export class Model { * @param callback The callback */ listEntities(appId: string, versionId: string, options: Models.ModelListEntitiesOptionalParams, callback: msRest.ServiceCallback): void; - listEntities(appId: string, versionId: string, options?: Models.ModelListEntitiesOptionalParams, callback?: msRest.ServiceCallback): Promise { + listEntities(appId: string, versionId: string, options?: Models.ModelListEntitiesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -189,7 +189,7 @@ export class Model { * @param callback The callback */ addHierarchicalEntity(appId: string, versionId: string, hierarchicalModelCreateObject: Models.HierarchicalEntityModel, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addHierarchicalEntity(appId: string, versionId: string, hierarchicalModelCreateObject: Models.HierarchicalEntityModel, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addHierarchicalEntity(appId: string, versionId: string, hierarchicalModelCreateObject: Models.HierarchicalEntityModel, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -222,7 +222,7 @@ export class Model { * @param callback The callback */ listHierarchicalEntities(appId: string, versionId: string, options: Models.ModelListHierarchicalEntitiesOptionalParams, callback: msRest.ServiceCallback): void; - listHierarchicalEntities(appId: string, versionId: string, options?: Models.ModelListHierarchicalEntitiesOptionalParams, callback?: msRest.ServiceCallback): Promise { + listHierarchicalEntities(appId: string, versionId: string, options?: Models.ModelListHierarchicalEntitiesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -260,7 +260,7 @@ export class Model { * @param callback The callback */ addCompositeEntity(appId: string, versionId: string, compositeModelCreateObject: Models.CompositeEntityModel, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addCompositeEntity(appId: string, versionId: string, compositeModelCreateObject: Models.CompositeEntityModel, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addCompositeEntity(appId: string, versionId: string, compositeModelCreateObject: Models.CompositeEntityModel, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -293,7 +293,7 @@ export class Model { * @param callback The callback */ listCompositeEntities(appId: string, versionId: string, options: Models.ModelListCompositeEntitiesOptionalParams, callback: msRest.ServiceCallback): void; - listCompositeEntities(appId: string, versionId: string, options?: Models.ModelListCompositeEntitiesOptionalParams, callback?: msRest.ServiceCallback): Promise { + listCompositeEntities(appId: string, versionId: string, options?: Models.ModelListCompositeEntitiesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -325,7 +325,7 @@ export class Model { * @param callback The callback */ listClosedLists(appId: string, versionId: string, options: Models.ModelListClosedListsOptionalParams, callback: msRest.ServiceCallback): void; - listClosedLists(appId: string, versionId: string, options?: Models.ModelListClosedListsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listClosedLists(appId: string, versionId: string, options?: Models.ModelListClosedListsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -363,7 +363,7 @@ export class Model { * @param callback The callback */ addClosedList(appId: string, versionId: string, closedListModelCreateObject: Models.ClosedListModelCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addClosedList(appId: string, versionId: string, closedListModelCreateObject: Models.ClosedListModelCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addClosedList(appId: string, versionId: string, closedListModelCreateObject: Models.ClosedListModelCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -399,7 +399,7 @@ export class Model { * @param callback The callback */ addPrebuilt(appId: string, versionId: string, prebuiltExtractorNames: string[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addPrebuilt(appId: string, versionId: string, prebuiltExtractorNames: string[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addPrebuilt(appId: string, versionId: string, prebuiltExtractorNames: string[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -432,7 +432,7 @@ export class Model { * @param callback The callback */ listPrebuilts(appId: string, versionId: string, options: Models.ModelListPrebuiltsOptionalParams, callback: msRest.ServiceCallback): void; - listPrebuilts(appId: string, versionId: string, options?: Models.ModelListPrebuiltsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listPrebuilts(appId: string, versionId: string, options?: Models.ModelListPrebuiltsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -464,7 +464,7 @@ export class Model { * @param callback The callback */ listPrebuiltEntities(appId: string, versionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPrebuiltEntities(appId: string, versionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPrebuiltEntities(appId: string, versionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -496,7 +496,7 @@ export class Model { * @param callback The callback */ listModels(appId: string, versionId: string, options: Models.ModelListModelsOptionalParams, callback: msRest.ServiceCallback): void; - listModels(appId: string, versionId: string, options?: Models.ModelListModelsOptionalParams, callback?: msRest.ServiceCallback): Promise { + listModels(appId: string, versionId: string, options?: Models.ModelListModelsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -531,7 +531,7 @@ export class Model { * @param callback The callback */ examplesMethod(appId: string, versionId: string, modelId: string, options: Models.ModelExamplesMethodOptionalParams, callback: msRest.ServiceCallback): void; - examplesMethod(appId: string, versionId: string, modelId: string, options?: Models.ModelExamplesMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + examplesMethod(appId: string, versionId: string, modelId: string, options?: Models.ModelExamplesMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -567,7 +567,7 @@ export class Model { * @param callback The callback */ getIntent(appId: string, versionId: string, intentId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getIntent(appId: string, versionId: string, intentId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getIntent(appId: string, versionId: string, intentId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -606,7 +606,7 @@ export class Model { * @param callback The callback */ updateIntent(appId: string, versionId: string, intentId: string, modelUpdateObject: Models.ModelUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateIntent(appId: string, versionId: string, intentId: string, modelUpdateObject: Models.ModelUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateIntent(appId: string, versionId: string, intentId: string, modelUpdateObject: Models.ModelUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -643,7 +643,7 @@ export class Model { * @param callback The callback */ deleteIntent(appId: string, versionId: string, intentId: string, options: Models.ModelDeleteIntentOptionalParams, callback: msRest.ServiceCallback): void; - deleteIntent(appId: string, versionId: string, intentId: string, options?: Models.ModelDeleteIntentOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteIntent(appId: string, versionId: string, intentId: string, options?: Models.ModelDeleteIntentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -679,7 +679,7 @@ export class Model { * @param callback The callback */ getEntity(appId: string, versionId: string, entityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getEntity(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getEntity(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -718,7 +718,7 @@ export class Model { * @param callback The callback */ updateEntity(appId: string, versionId: string, entityId: string, modelUpdateObject: Models.ModelUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateEntity(appId: string, versionId: string, entityId: string, modelUpdateObject: Models.ModelUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateEntity(appId: string, versionId: string, entityId: string, modelUpdateObject: Models.ModelUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -755,7 +755,7 @@ export class Model { * @param callback The callback */ deleteEntity(appId: string, versionId: string, entityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteEntity(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteEntity(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -791,7 +791,7 @@ export class Model { * @param callback The callback */ getHierarchicalEntity(appId: string, versionId: string, hEntityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getHierarchicalEntity(appId: string, versionId: string, hEntityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getHierarchicalEntity(appId: string, versionId: string, hEntityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -833,7 +833,7 @@ export class Model { * @param callback The callback */ updateHierarchicalEntity(appId: string, versionId: string, hEntityId: string, hierarchicalModelUpdateObject: Models.HierarchicalEntityModel, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateHierarchicalEntity(appId: string, versionId: string, hEntityId: string, hierarchicalModelUpdateObject: Models.HierarchicalEntityModel, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateHierarchicalEntity(appId: string, versionId: string, hEntityId: string, hierarchicalModelUpdateObject: Models.HierarchicalEntityModel, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -870,7 +870,7 @@ export class Model { * @param callback The callback */ deleteHierarchicalEntity(appId: string, versionId: string, hEntityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteHierarchicalEntity(appId: string, versionId: string, hEntityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteHierarchicalEntity(appId: string, versionId: string, hEntityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -906,7 +906,7 @@ export class Model { * @param callback The callback */ getCompositeEntity(appId: string, versionId: string, cEntityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCompositeEntity(appId: string, versionId: string, cEntityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCompositeEntity(appId: string, versionId: string, cEntityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -948,7 +948,7 @@ export class Model { * @param callback The callback */ updateCompositeEntity(appId: string, versionId: string, cEntityId: string, compositeModelUpdateObject: Models.CompositeEntityModel, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateCompositeEntity(appId: string, versionId: string, cEntityId: string, compositeModelUpdateObject: Models.CompositeEntityModel, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateCompositeEntity(appId: string, versionId: string, cEntityId: string, compositeModelUpdateObject: Models.CompositeEntityModel, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -985,7 +985,7 @@ export class Model { * @param callback The callback */ deleteCompositeEntity(appId: string, versionId: string, cEntityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteCompositeEntity(appId: string, versionId: string, cEntityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteCompositeEntity(appId: string, versionId: string, cEntityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1021,7 +1021,7 @@ export class Model { * @param callback The callback */ getClosedList(appId: string, versionId: string, clEntityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getClosedList(appId: string, versionId: string, clEntityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getClosedList(appId: string, versionId: string, clEntityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1060,7 +1060,7 @@ export class Model { * @param callback The callback */ updateClosedList(appId: string, versionId: string, clEntityId: string, closedListModelUpdateObject: Models.ClosedListModelUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateClosedList(appId: string, versionId: string, clEntityId: string, closedListModelUpdateObject: Models.ClosedListModelUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateClosedList(appId: string, versionId: string, clEntityId: string, closedListModelUpdateObject: Models.ClosedListModelUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1100,7 +1100,7 @@ export class Model { * @param callback The callback */ patchClosedList(appId: string, versionId: string, clEntityId: string, closedListModelPatchObject: Models.ClosedListModelPatchObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - patchClosedList(appId: string, versionId: string, clEntityId: string, closedListModelPatchObject: Models.ClosedListModelPatchObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + patchClosedList(appId: string, versionId: string, clEntityId: string, closedListModelPatchObject: Models.ClosedListModelPatchObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1137,7 +1137,7 @@ export class Model { * @param callback The callback */ deleteClosedList(appId: string, versionId: string, clEntityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteClosedList(appId: string, versionId: string, clEntityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteClosedList(appId: string, versionId: string, clEntityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1173,7 +1173,7 @@ export class Model { * @param callback The callback */ getPrebuilt(appId: string, versionId: string, prebuiltId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPrebuilt(appId: string, versionId: string, prebuiltId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPrebuilt(appId: string, versionId: string, prebuiltId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1209,7 +1209,7 @@ export class Model { * @param callback The callback */ deletePrebuilt(appId: string, versionId: string, prebuiltId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deletePrebuilt(appId: string, versionId: string, prebuiltId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deletePrebuilt(appId: string, versionId: string, prebuiltId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1248,7 +1248,7 @@ export class Model { * @param callback The callback */ deleteSubList(appId: string, versionId: string, clEntityId: string, subListId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteSubList(appId: string, versionId: string, clEntityId: string, subListId: number, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteSubList(appId: string, versionId: string, clEntityId: string, subListId: number, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1294,7 +1294,7 @@ export class Model { * @param callback The callback */ updateSubList(appId: string, versionId: string, clEntityId: string, subListId: number, wordListBaseUpdateObject: Models.WordListBaseUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSubList(appId: string, versionId: string, clEntityId: string, subListId: number, wordListBaseUpdateObject: Models.WordListBaseUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateSubList(appId: string, versionId: string, clEntityId: string, subListId: number, wordListBaseUpdateObject: Models.WordListBaseUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1332,7 +1332,7 @@ export class Model { * @param callback The callback */ getIntentSuggestions(appId: string, versionId: string, intentId: string, options: Models.ModelGetIntentSuggestionsOptionalParams, callback: msRest.ServiceCallback): void; - getIntentSuggestions(appId: string, versionId: string, intentId: string, options?: Models.ModelGetIntentSuggestionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getIntentSuggestions(appId: string, versionId: string, intentId: string, options?: Models.ModelGetIntentSuggestionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1368,7 +1368,7 @@ export class Model { * @param callback The callback */ getEntitySuggestions(appId: string, versionId: string, entityId: string, options: Models.ModelGetEntitySuggestionsOptionalParams, callback: msRest.ServiceCallback): void; - getEntitySuggestions(appId: string, versionId: string, entityId: string, options?: Models.ModelGetEntitySuggestionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getEntitySuggestions(appId: string, versionId: string, entityId: string, options?: Models.ModelGetEntitySuggestionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1407,7 +1407,7 @@ export class Model { * @param callback The callback */ addSubList(appId: string, versionId: string, clEntityId: string, wordListCreateObject: Models.WordListObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addSubList(appId: string, versionId: string, clEntityId: string, wordListCreateObject: Models.WordListObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addSubList(appId: string, versionId: string, clEntityId: string, wordListCreateObject: Models.WordListObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1444,7 +1444,7 @@ export class Model { * @param callback The callback */ addCustomPrebuiltDomain(appId: string, versionId: string, prebuiltDomainObject: Models.PrebuiltDomainCreateBaseObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addCustomPrebuiltDomain(appId: string, versionId: string, prebuiltDomainObject: Models.PrebuiltDomainCreateBaseObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addCustomPrebuiltDomain(appId: string, versionId: string, prebuiltDomainObject: Models.PrebuiltDomainCreateBaseObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1483,7 +1483,7 @@ export class Model { * @param callback The callback */ addCustomPrebuiltIntent(appId: string, versionId: string, prebuiltDomainModelCreateObject: Models.PrebuiltDomainModelCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addCustomPrebuiltIntent(appId: string, versionId: string, prebuiltDomainModelCreateObject: Models.PrebuiltDomainModelCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addCustomPrebuiltIntent(appId: string, versionId: string, prebuiltDomainModelCreateObject: Models.PrebuiltDomainModelCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1516,7 +1516,7 @@ export class Model { * @param callback The callback */ listCustomPrebuiltIntents(appId: string, versionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCustomPrebuiltIntents(appId: string, versionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listCustomPrebuiltIntents(appId: string, versionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1554,7 +1554,7 @@ export class Model { * @param callback The callback */ addCustomPrebuiltEntity(appId: string, versionId: string, prebuiltDomainModelCreateObject: Models.PrebuiltDomainModelCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addCustomPrebuiltEntity(appId: string, versionId: string, prebuiltDomainModelCreateObject: Models.PrebuiltDomainModelCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addCustomPrebuiltEntity(appId: string, versionId: string, prebuiltDomainModelCreateObject: Models.PrebuiltDomainModelCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1587,7 +1587,7 @@ export class Model { * @param callback The callback */ listCustomPrebuiltEntities(appId: string, versionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCustomPrebuiltEntities(appId: string, versionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listCustomPrebuiltEntities(appId: string, versionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1619,7 +1619,7 @@ export class Model { * @param callback The callback */ listCustomPrebuiltModels(appId: string, versionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCustomPrebuiltModels(appId: string, versionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listCustomPrebuiltModels(appId: string, versionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1654,7 +1654,7 @@ export class Model { * @param callback The callback */ deleteCustomPrebuiltDomain(appId: string, versionId: string, domainName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteCustomPrebuiltDomain(appId: string, versionId: string, domainName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteCustomPrebuiltDomain(appId: string, versionId: string, domainName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1693,7 +1693,7 @@ export class Model { * @param callback The callback */ getHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1739,7 +1739,7 @@ export class Model { * @param callback The callback */ updateHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, hierarchicalChildModelUpdateObject: Models.HierarchicalChildModelUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, hierarchicalChildModelUpdateObject: Models.HierarchicalChildModelUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, hierarchicalChildModelUpdateObject: Models.HierarchicalChildModelUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1780,7 +1780,7 @@ export class Model { * @param callback The callback */ deleteHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1823,7 +1823,7 @@ export class Model { * @param callback The callback */ addHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hierarchicalChildModelCreateObject: Models.HierarchicalChildModelCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hierarchicalChildModelCreateObject: Models.HierarchicalChildModelCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hierarchicalChildModelCreateObject: Models.HierarchicalChildModelCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1866,7 +1866,7 @@ export class Model { * @param callback The callback */ addCompositeEntityChild(appId: string, versionId: string, cEntityId: string, compositeChildModelCreateObject: Models.CompositeChildModelCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addCompositeEntityChild(appId: string, versionId: string, cEntityId: string, compositeChildModelCreateObject: Models.CompositeChildModelCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addCompositeEntityChild(appId: string, versionId: string, cEntityId: string, compositeChildModelCreateObject: Models.CompositeChildModelCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1906,7 +1906,7 @@ export class Model { * @param callback The callback */ deleteCompositeEntityChild(appId: string, versionId: string, cEntityId: string, cChildId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteCompositeEntityChild(appId: string, versionId: string, cEntityId: string, cChildId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteCompositeEntityChild(appId: string, versionId: string, cEntityId: string, cChildId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1940,7 +1940,7 @@ export class Model { * @param callback The callback */ getRegexEntityInfos(appId: string, versionId: string, options: Models.ModelGetRegexEntityInfosOptionalParams, callback: msRest.ServiceCallback): void; - getRegexEntityInfos(appId: string, versionId: string, options?: Models.ModelGetRegexEntityInfosOptionalParams, callback?: msRest.ServiceCallback): Promise { + getRegexEntityInfos(appId: string, versionId: string, options?: Models.ModelGetRegexEntityInfosOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -1978,7 +1978,7 @@ export class Model { * @param callback The callback */ createRegexEntityModel(appId: string, versionId: string, regexEntityExtractorCreateObj: Models.RegexModelCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createRegexEntityModel(appId: string, versionId: string, regexEntityExtractorCreateObj: Models.RegexModelCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createRegexEntityModel(appId: string, versionId: string, regexEntityExtractorCreateObj: Models.RegexModelCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2011,7 +2011,7 @@ export class Model { * @param callback The callback */ getPatternAnyEntityInfos(appId: string, versionId: string, options: Models.ModelGetPatternAnyEntityInfosOptionalParams, callback: msRest.ServiceCallback): void; - getPatternAnyEntityInfos(appId: string, versionId: string, options?: Models.ModelGetPatternAnyEntityInfosOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPatternAnyEntityInfos(appId: string, versionId: string, options?: Models.ModelGetPatternAnyEntityInfosOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2049,7 +2049,7 @@ export class Model { * @param callback The callback */ createPatternAnyEntityModel(appId: string, versionId: string, extractorCreateObject: Models.PatternAnyModelCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createPatternAnyEntityModel(appId: string, versionId: string, extractorCreateObject: Models.PatternAnyModelCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createPatternAnyEntityModel(appId: string, versionId: string, extractorCreateObject: Models.PatternAnyModelCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2085,7 +2085,7 @@ export class Model { * @param callback The callback */ getEntityRoles(appId: string, versionId: string, entityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getEntityRoles(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getEntityRoles(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2124,7 +2124,7 @@ export class Model { * @param callback The callback */ createEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2161,7 +2161,7 @@ export class Model { * @param callback The callback */ getPrebuiltEntityRoles(appId: string, versionId: string, entityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPrebuiltEntityRoles(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPrebuiltEntityRoles(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2200,7 +2200,7 @@ export class Model { * @param callback The callback */ createPrebuiltEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createPrebuiltEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createPrebuiltEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2237,7 +2237,7 @@ export class Model { * @param callback The callback */ getClosedListEntityRoles(appId: string, versionId: string, entityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getClosedListEntityRoles(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getClosedListEntityRoles(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2276,7 +2276,7 @@ export class Model { * @param callback The callback */ createClosedListEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createClosedListEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createClosedListEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2313,7 +2313,7 @@ export class Model { * @param callback The callback */ getRegexEntityRoles(appId: string, versionId: string, entityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getRegexEntityRoles(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getRegexEntityRoles(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2352,7 +2352,7 @@ export class Model { * @param callback The callback */ createRegexEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createRegexEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createRegexEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2389,7 +2389,7 @@ export class Model { * @param callback The callback */ getCompositeEntityRoles(appId: string, versionId: string, cEntityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCompositeEntityRoles(appId: string, versionId: string, cEntityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCompositeEntityRoles(appId: string, versionId: string, cEntityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2428,7 +2428,7 @@ export class Model { * @param callback The callback */ createCompositeEntityRole(appId: string, versionId: string, cEntityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createCompositeEntityRole(appId: string, versionId: string, cEntityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createCompositeEntityRole(appId: string, versionId: string, cEntityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2465,7 +2465,7 @@ export class Model { * @param callback The callback */ getPatternAnyEntityRoles(appId: string, versionId: string, entityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPatternAnyEntityRoles(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPatternAnyEntityRoles(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2504,7 +2504,7 @@ export class Model { * @param callback The callback */ createPatternAnyEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createPatternAnyEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createPatternAnyEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2541,7 +2541,7 @@ export class Model { * @param callback The callback */ getHierarchicalEntityRoles(appId: string, versionId: string, hEntityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getHierarchicalEntityRoles(appId: string, versionId: string, hEntityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getHierarchicalEntityRoles(appId: string, versionId: string, hEntityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2580,7 +2580,7 @@ export class Model { * @param callback The callback */ createHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2617,7 +2617,7 @@ export class Model { * @param callback The callback */ getCustomPrebuiltEntityRoles(appId: string, versionId: string, entityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCustomPrebuiltEntityRoles(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCustomPrebuiltEntityRoles(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2656,7 +2656,7 @@ export class Model { * @param callback The callback */ createCustomPrebuiltEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createCustomPrebuiltEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createCustomPrebuiltEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: Models.EntityRoleCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2693,7 +2693,7 @@ export class Model { * @param callback The callback */ getExplicitList(appId: string, versionId: string, entityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getExplicitList(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getExplicitList(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2732,7 +2732,7 @@ export class Model { * @param callback The callback */ addExplicitListItem(appId: string, versionId: string, entityId: string, item: Models.ExplicitListItemCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addExplicitListItem(appId: string, versionId: string, entityId: string, item: Models.ExplicitListItemCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addExplicitListItem(appId: string, versionId: string, entityId: string, item: Models.ExplicitListItemCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2769,7 +2769,7 @@ export class Model { * @param callback The callback */ getRegexEntityEntityInfo(appId: string, versionId: string, regexEntityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getRegexEntityEntityInfo(appId: string, versionId: string, regexEntityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getRegexEntityEntityInfo(appId: string, versionId: string, regexEntityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2808,7 +2808,7 @@ export class Model { * @param callback The callback */ updateRegexEntityModel(appId: string, versionId: string, regexEntityId: string, regexEntityUpdateObject: Models.RegexModelUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateRegexEntityModel(appId: string, versionId: string, regexEntityId: string, regexEntityUpdateObject: Models.RegexModelUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateRegexEntityModel(appId: string, versionId: string, regexEntityId: string, regexEntityUpdateObject: Models.RegexModelUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2845,7 +2845,7 @@ export class Model { * @param callback The callback */ deleteRegexEntityModel(appId: string, versionId: string, regexEntityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteRegexEntityModel(appId: string, versionId: string, regexEntityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteRegexEntityModel(appId: string, versionId: string, regexEntityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2881,7 +2881,7 @@ export class Model { * @param callback The callback */ getPatternAnyEntityInfo(appId: string, versionId: string, entityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPatternAnyEntityInfo(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPatternAnyEntityInfo(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2920,7 +2920,7 @@ export class Model { * @param callback The callback */ updatePatternAnyEntityModel(appId: string, versionId: string, entityId: string, patternAnyUpdateObject: Models.PatternAnyModelUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updatePatternAnyEntityModel(appId: string, versionId: string, entityId: string, patternAnyUpdateObject: Models.PatternAnyModelUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updatePatternAnyEntityModel(appId: string, versionId: string, entityId: string, patternAnyUpdateObject: Models.PatternAnyModelUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2957,7 +2957,7 @@ export class Model { * @param callback The callback */ deletePatternAnyEntityModel(appId: string, versionId: string, entityId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deletePatternAnyEntityModel(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deletePatternAnyEntityModel(appId: string, versionId: string, entityId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -2996,7 +2996,7 @@ export class Model { * @param callback The callback */ getEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3039,7 +3039,7 @@ export class Model { * @param callback The callback */ updateEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3080,7 +3080,7 @@ export class Model { * @param callback The callback */ deleteEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3120,7 +3120,7 @@ export class Model { * @param callback The callback */ getPrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3163,7 +3163,7 @@ export class Model { * @param callback The callback */ updatePrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updatePrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updatePrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3204,7 +3204,7 @@ export class Model { * @param callback The callback */ deletePrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deletePrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deletePrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3244,7 +3244,7 @@ export class Model { * @param callback The callback */ getClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3287,7 +3287,7 @@ export class Model { * @param callback The callback */ updateClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3328,7 +3328,7 @@ export class Model { * @param callback The callback */ deleteClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3368,7 +3368,7 @@ export class Model { * @param callback The callback */ getRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3411,7 +3411,7 @@ export class Model { * @param callback The callback */ updateRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3452,7 +3452,7 @@ export class Model { * @param callback The callback */ deleteRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3492,7 +3492,7 @@ export class Model { * @param callback The callback */ getCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3535,7 +3535,7 @@ export class Model { * @param callback The callback */ updateCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3576,7 +3576,7 @@ export class Model { * @param callback The callback */ deleteCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3616,7 +3616,7 @@ export class Model { * @param callback The callback */ getPatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getPatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getPatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3659,7 +3659,7 @@ export class Model { * @param callback The callback */ updatePatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updatePatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updatePatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3700,7 +3700,7 @@ export class Model { * @param callback The callback */ deletePatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deletePatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deletePatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3740,7 +3740,7 @@ export class Model { * @param callback The callback */ getHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3783,7 +3783,7 @@ export class Model { * @param callback The callback */ updateHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3824,7 +3824,7 @@ export class Model { * @param callback The callback */ deleteHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3864,7 +3864,7 @@ export class Model { * @param callback The callback */ getCustomEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCustomEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCustomEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3907,7 +3907,7 @@ export class Model { * @param callback The callback */ updateCustomPrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateCustomPrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateCustomPrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: Models.EntityRoleUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3948,7 +3948,7 @@ export class Model { * @param callback The callback */ deleteCustomEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteCustomEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteCustomEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -3988,7 +3988,7 @@ export class Model { * @param callback The callback */ getExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -4031,7 +4031,7 @@ export class Model { * @param callback The callback */ updateExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, item: Models.ExplicitListItemUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, item: Models.ExplicitListItemUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, item: Models.ExplicitListItemUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -4072,7 +4072,7 @@ export class Model { * @param callback The callback */ deleteExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, diff --git a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/pattern.ts b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/pattern.ts index 93de97ac1261..aa48bd88ebdf 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/pattern.ts +++ b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/pattern.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/patternMappers"; import * as Parameters from "../models/parameters"; @@ -50,7 +50,7 @@ export class Pattern { * @param callback The callback */ addPattern(appId: string, versionId: string, pattern: Models.PatternRuleCreateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addPattern(appId: string, versionId: string, pattern: Models.PatternRuleCreateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addPattern(appId: string, versionId: string, pattern: Models.PatternRuleCreateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -83,7 +83,7 @@ export class Pattern { * @param callback The callback */ getPatterns(appId: string, versionId: string, options: Models.PatternGetPatternsOptionalParams, callback: msRest.ServiceCallback): void; - getPatterns(appId: string, versionId: string, options?: Models.PatternGetPatternsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPatterns(appId: string, versionId: string, options?: Models.PatternGetPatternsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -118,7 +118,7 @@ export class Pattern { * @param callback The callback */ updatePatterns(appId: string, versionId: string, patterns: Models.PatternRuleUpdateObject[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updatePatterns(appId: string, versionId: string, patterns: Models.PatternRuleUpdateObject[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updatePatterns(appId: string, versionId: string, patterns: Models.PatternRuleUpdateObject[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -154,7 +154,7 @@ export class Pattern { * @param callback The callback */ batchAddPatterns(appId: string, versionId: string, patterns: Models.PatternRuleCreateObject[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - batchAddPatterns(appId: string, versionId: string, patterns: Models.PatternRuleCreateObject[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + batchAddPatterns(appId: string, versionId: string, patterns: Models.PatternRuleCreateObject[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -190,7 +190,7 @@ export class Pattern { * @param callback The callback */ deletePatterns(appId: string, versionId: string, patternIds: string[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deletePatterns(appId: string, versionId: string, patternIds: string[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deletePatterns(appId: string, versionId: string, patternIds: string[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -229,7 +229,7 @@ export class Pattern { * @param callback The callback */ updatePattern(appId: string, versionId: string, patternId: string, pattern: Models.PatternRuleUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updatePattern(appId: string, versionId: string, patternId: string, pattern: Models.PatternRuleUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updatePattern(appId: string, versionId: string, patternId: string, pattern: Models.PatternRuleUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -266,7 +266,7 @@ export class Pattern { * @param callback The callback */ deletePattern(appId: string, versionId: string, patternId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deletePattern(appId: string, versionId: string, patternId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deletePattern(appId: string, versionId: string, patternId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -302,7 +302,7 @@ export class Pattern { * @param callback The callback */ getIntentPatterns(appId: string, versionId: string, intentId: string, options: Models.PatternGetIntentPatternsOptionalParams, callback: msRest.ServiceCallback): void; - getIntentPatterns(appId: string, versionId: string, intentId: string, options?: Models.PatternGetIntentPatternsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getIntentPatterns(appId: string, versionId: string, intentId: string, options?: Models.PatternGetIntentPatternsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, diff --git a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/permissions.ts b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/permissions.ts index d9215d3355af..2089ce481d14 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/permissions.ts +++ b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/permissions.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/permissionsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class Permissions { * @param callback The callback */ list(appId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(appId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(appId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -76,7 +76,7 @@ export class Permissions { * @param callback The callback */ add(appId: string, userToAdd: Models.UserCollaborator, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - add(appId: string, userToAdd: Models.UserCollaborator, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + add(appId: string, userToAdd: Models.UserCollaborator, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -109,7 +109,7 @@ export class Permissions { * @param callback The callback */ deleteMethod(appId: string, userToDelete: Models.UserCollaborator, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(appId: string, userToDelete: Models.UserCollaborator, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(appId: string, userToDelete: Models.UserCollaborator, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -142,7 +142,7 @@ export class Permissions { * @param callback The callback */ update(appId: string, collaborators: Models.CollaboratorsArray, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(appId: string, collaborators: Models.CollaboratorsArray, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(appId: string, collaborators: Models.CollaboratorsArray, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, diff --git a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/settings.ts b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/settings.ts index f7eeed5100cd..55d0ddfbc152 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/settings.ts +++ b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/settings.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/settingsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Settings { * @param callback The callback */ list(appId: string, versionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(appId: string, versionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + list(appId: string, versionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -82,7 +82,7 @@ export class Settings { * @param callback The callback */ update(appId: string, versionId: string, listOfAppVersionSettingObject: Models.AppVersionSettingObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(appId: string, versionId: string, listOfAppVersionSettingObject: Models.AppVersionSettingObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(appId: string, versionId: string, listOfAppVersionSettingObject: Models.AppVersionSettingObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, diff --git a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/train.ts b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/train.ts index 3981af4830a0..53d2c9848983 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/train.ts +++ b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/train.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/trainMappers"; import * as Parameters from "../models/parameters"; @@ -51,7 +51,7 @@ export class Train { * @param callback The callback */ trainVersion(appId: string, versionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - trainVersion(appId: string, versionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + trainVersion(appId: string, versionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -86,7 +86,7 @@ export class Train { * @param callback The callback */ getStatus(appId: string, versionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getStatus(appId: string, versionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getStatus(appId: string, versionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, diff --git a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/versions.ts b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/versions.ts index c371700eb6e4..b422bf38503f 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/lib/operations/versions.ts +++ b/packages/@azure/cognitiveservices-luis-authoring/lib/operations/versions.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/versionsMappers"; import * as Parameters from "../models/parameters"; @@ -47,7 +47,7 @@ export class Versions { * @param callback The callback */ clone(appId: string, versionId: string, options: Models.VersionsCloneOptionalParams, callback: msRest.ServiceCallback): void; - clone(appId: string, versionId: string, options?: Models.VersionsCloneOptionalParams, callback?: msRest.ServiceCallback): Promise { + clone(appId: string, versionId: string, options?: Models.VersionsCloneOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -76,7 +76,7 @@ export class Versions { * @param callback The callback */ list(appId: string, options: Models.VersionsListOptionalParams, callback: msRest.ServiceCallback): void; - list(appId: string, options?: Models.VersionsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(appId: string, options?: Models.VersionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -107,7 +107,7 @@ export class Versions { * @param callback The callback */ get(appId: string, versionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(appId: string, versionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(appId: string, versionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -142,7 +142,7 @@ export class Versions { * @param callback The callback */ update(appId: string, versionId: string, versionUpdateObject: Models.TaskUpdateObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(appId: string, versionId: string, versionUpdateObject: Models.TaskUpdateObject, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(appId: string, versionId: string, versionUpdateObject: Models.TaskUpdateObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -175,7 +175,7 @@ export class Versions { * @param callback The callback */ deleteMethod(appId: string, versionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(appId: string, versionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(appId: string, versionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -207,7 +207,7 @@ export class Versions { * @param callback The callback */ exportMethod(appId: string, versionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - exportMethod(appId: string, versionId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + exportMethod(appId: string, versionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -239,7 +239,7 @@ export class Versions { * @param callback The callback */ importMethod(appId: string, luisApp: Models.LuisApp, options: Models.VersionsImportMethodOptionalParams, callback: msRest.ServiceCallback): void; - importMethod(appId: string, luisApp: Models.LuisApp, options?: Models.VersionsImportMethodOptionalParams, callback?: msRest.ServiceCallback): Promise { + importMethod(appId: string, luisApp: Models.LuisApp, options?: Models.VersionsImportMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, @@ -274,7 +274,7 @@ export class Versions { * @param callback The callback */ deleteUnlabelledUtterance(appId: string, versionId: string, utterance: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteUnlabelledUtterance(appId: string, versionId: string, utterance: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteUnlabelledUtterance(appId: string, versionId: string, utterance: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, diff --git a/packages/@azure/cognitiveservices-luis-authoring/package.json b/packages/@azure/cognitiveservices-luis-authoring/package.json index 40bd063af430..dcbcc59168f0 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/package.json +++ b/packages/@azure/cognitiveservices-luis-authoring/package.json @@ -4,7 +4,7 @@ "description": "LUISAuthoringClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -32,10 +32,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/cognitiveservices-luis-authoring.js.map'\" -o ./dist/cognitiveservices-luis-authoring.min.js ./dist/cognitiveservices-luis-authoring.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-luis-authoring/rollup.config.js b/packages/@azure/cognitiveservices-luis-authoring/rollup.config.js index 7a503e82954f..0c169c310fa4 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/rollup.config.js +++ b/packages/@azure/cognitiveservices-luis-authoring/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/lUISAuthoringClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-luis-authoring.js", format: "umd", name: "Azure.CognitiveservicesLuisAuthoring", 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/cognitiveservices-luis-authoring/tsconfig.json b/packages/@azure/cognitiveservices-luis-authoring/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-luis-authoring/tsconfig.json +++ b/packages/@azure/cognitiveservices-luis-authoring/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-luis-runtime/.npmignore b/packages/@azure/cognitiveservices-luis-runtime/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/cognitiveservices-luis-runtime/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/cognitiveservices-luis-runtime/README.md b/packages/@azure/cognitiveservices-luis-runtime/README.md index 6ce58199192c..d54e65122cec 100644 --- a/packages/@azure/cognitiveservices-luis-runtime/README.md +++ b/packages/@azure/cognitiveservices-luis-runtime/README.md @@ -1,48 +1,66 @@ -# An isomorphic javascript sdk for - LUISRuntimeClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - LUISRuntimeClient -## How to Install +This package contains an isomorphic SDK for LUISRuntimeClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-luis-runtime ``` -- browser -```html - -``` -## How to use +### How to use + +#### nodejs - Authentication, client creation and resolve prediction as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and resolve prediction as an example written in TypeScript. +##### Sample code ```ts -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { LUISRuntimeClient, LUISRuntimeModels, LUISRuntimeMappers } from "@azure/cognitiveservices-luis-runtime"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -const token = ""; -const creds = new msRest.TokenCredentials(token); -const client = new LUISRuntimeClient(creds, subscriptionId); -const appId = "testappId"; -const query = "testquery"; -const timezoneOffset = 1.01; -const verbose = true; -const staging = true; -const spellCheck = true; -const bingSpellCheckSubscriptionKey = "testbingSpellCheckSubscriptionKey"; -const log = true; -client.prediction.resolve(appId, query, timezoneOffset, verbose, staging, spellCheck, bingSpellCheckSubscriptionKey, log).then((result) => { - console.log("The result is:"); - console.log(result); +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new LUISRuntimeClient(creds, subscriptionId); + const appId = "testappId"; + const query = "testquery"; + const timezoneOffset = 1.01; + const verbose = true; + const staging = true; + const spellCheck = true; + const bingSpellCheckSubscriptionKey = "testbingSpellCheckSubscriptionKey"; + const log = true; + client.prediction.resolve(appId, query, timezoneOffset, verbose, staging, spellCheck, bingSpellCheckSubscriptionKey, log).then((result) => { + console.log("The result is:"); + console.log(result); + }); }).catch((err) => { console.error(err); }); ``` -### browser - Authentication, client creation and resolve prediction as an example written in javascript. +#### browser - Authentication, client creation and resolve prediction as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -50,33 +68,43 @@ client.prediction.resolve(appId, query, timezoneOffset, verbose, staging, spellC @azure/cognitiveservices-luis-runtime 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/cognitiveservices-luis-runtime/lib/lUISRuntimeClient.ts b/packages/@azure/cognitiveservices-luis-runtime/lib/lUISRuntimeClient.ts index 8181e81249fe..b7d545732afc 100644 --- a/packages/@azure/cognitiveservices-luis-runtime/lib/lUISRuntimeClient.ts +++ b/packages/@azure/cognitiveservices-luis-runtime/lib/lUISRuntimeClient.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/cognitiveservices-luis-runtime/lib/lUISRuntimeClientContext.ts b/packages/@azure/cognitiveservices-luis-runtime/lib/lUISRuntimeClientContext.ts index 5f77dd70d675..bb5c5139266f 100644 --- a/packages/@azure/cognitiveservices-luis-runtime/lib/lUISRuntimeClientContext.ts +++ b/packages/@azure/cognitiveservices-luis-runtime/lib/lUISRuntimeClientContext.ts @@ -8,10 +8,10 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; const packageName = "@azure/cognitiveservices-luis-runtime"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class LUISRuntimeClientContext extends msRest.ServiceClient { endpoint: string; @@ -35,6 +35,10 @@ export class LUISRuntimeClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); @@ -43,6 +47,5 @@ export class LUISRuntimeClientContext extends msRest.ServiceClient { this.endpoint = endpoint; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); } } diff --git a/packages/@azure/cognitiveservices-luis-runtime/lib/models/index.ts b/packages/@azure/cognitiveservices-luis-runtime/lib/models/index.ts index cde4998fd04b..a2714ea251cd 100644 --- a/packages/@azure/cognitiveservices-luis-runtime/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-luis-runtime/lib/models/index.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** diff --git a/packages/@azure/cognitiveservices-luis-runtime/lib/models/mappers.ts b/packages/@azure/cognitiveservices-luis-runtime/lib/models/mappers.ts index 4be3a60b47a3..db19d170b934 100644 --- a/packages/@azure/cognitiveservices-luis-runtime/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-luis-runtime/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const IntentModel: msRest.CompositeMapper = { diff --git a/packages/@azure/cognitiveservices-luis-runtime/lib/models/parameters.ts b/packages/@azure/cognitiveservices-luis-runtime/lib/models/parameters.ts index 13aa8affdc04..064d94f1d936 100644 --- a/packages/@azure/cognitiveservices-luis-runtime/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-luis-runtime/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 appId: msRest.OperationURLParameter = { parameterPath: "appId", diff --git a/packages/@azure/cognitiveservices-luis-runtime/lib/operations/prediction.ts b/packages/@azure/cognitiveservices-luis-runtime/lib/operations/prediction.ts index 5a7390ea798c..6826d7a0b6b0 100644 --- a/packages/@azure/cognitiveservices-luis-runtime/lib/operations/prediction.ts +++ b/packages/@azure/cognitiveservices-luis-runtime/lib/operations/prediction.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/predictionMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Prediction { * @param callback The callback */ resolve(appId: string, query: string, options: Models.PredictionResolveOptionalParams, callback: msRest.ServiceCallback): void; - resolve(appId: string, query: string, options?: Models.PredictionResolveOptionalParams, callback?: msRest.ServiceCallback): Promise { + resolve(appId: string, query: string, options?: Models.PredictionResolveOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { appId, diff --git a/packages/@azure/cognitiveservices-luis-runtime/package.json b/packages/@azure/cognitiveservices-luis-runtime/package.json index 6b36a41112df..47df6e8c4ba9 100644 --- a/packages/@azure/cognitiveservices-luis-runtime/package.json +++ b/packages/@azure/cognitiveservices-luis-runtime/package.json @@ -4,7 +4,7 @@ "description": "LUISRuntimeClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -32,10 +32,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/cognitiveservices-luis-runtime.js.map'\" -o ./dist/cognitiveservices-luis-runtime.min.js ./dist/cognitiveservices-luis-runtime.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-luis-runtime/rollup.config.js b/packages/@azure/cognitiveservices-luis-runtime/rollup.config.js index c4db3ce0ef19..3f361759ba07 100644 --- a/packages/@azure/cognitiveservices-luis-runtime/rollup.config.js +++ b/packages/@azure/cognitiveservices-luis-runtime/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/lUISRuntimeClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-luis-runtime.js", format: "umd", name: "Azure.CognitiveservicesLuisRuntime", 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/cognitiveservices-luis-runtime/tsconfig.json b/packages/@azure/cognitiveservices-luis-runtime/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-luis-runtime/tsconfig.json +++ b/packages/@azure/cognitiveservices-luis-runtime/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-newssearch/README.md b/packages/@azure/cognitiveservices-newssearch/README.md index f17f5f10339b..bdeabdc40c9e 100644 --- a/packages/@azure/cognitiveservices-newssearch/README.md +++ b/packages/@azure/cognitiveservices-newssearch/README.md @@ -1,26 +1,33 @@ -# An isomorphic javascript sdk for - NewsSearchAPIClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - NewsSearchAPIClient -## How to Install +This package contains an isomorphic SDK for NewsSearchAPIClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-newssearch ``` -- browser -```html - -``` -## How to use +### How to use -### nodejs - Authentication, client creation and search news as an example written in TypeScript. +#### nodejs - Authentication, client creation and search news as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code ```ts -import * as msRest from "ms-rest-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { NewsSearchAPIClient, NewsSearchAPIModels, NewsSearchAPIMappers } from "@azure/cognitiveservices-newssearch"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -52,7 +59,17 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and search news as an example written in javascript. +#### browser - Authentication, client creation and search news as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -60,8 +77,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => { @azure/cognitiveservices-newssearch 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/cognitiveservices-newssearch/lib/models/index.ts b/packages/@azure/cognitiveservices-newssearch/lib/models/index.ts index 8822d92886b0..a23c97bdd8f6 100644 --- a/packages/@azure/cognitiveservices-newssearch/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-newssearch/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { ServiceClientOptions } from "ms-rest-js"; -import * as msRest from "ms-rest-js"; +import { ServiceClientOptions } from "@azure/ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -1293,9 +1293,13 @@ export interface ErrorResponse { */ export interface NewsSearchAPIClientOptions extends ServiceClientOptions { /** - * @member {string} [baseUri] + * @member {string} [endpoint] Supported Cognitive Services endpoints + * (protocol and hostname, for example: + * "https://westus.api.cognitive.microsoft.com", + * "https://api.cognitive.microsoft.com"). Default value: + * 'https://api.cognitive.microsoft.com' . */ - baseUri?: string; + endpoint?: string; } /** @@ -2161,98 +2165,47 @@ export interface NewsTrendingOptionalParams extends msRest.RequestOptionsBase { /** * Defines values for ErrorCode. - * Possible values include: 'None', 'ServerError', 'InvalidRequest', - * 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorCode = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', + * 'InvalidAuthorization', 'InsufficientAuthorization' * @readonly * @enum {string} */ -export enum ErrorCode { - None = 'None', - ServerError = 'ServerError', - InvalidRequest = 'InvalidRequest', - RateLimitExceeded = 'RateLimitExceeded', - InvalidAuthorization = 'InvalidAuthorization', - InsufficientAuthorization = 'InsufficientAuthorization', -} +export type ErrorCode = 'None' | 'ServerError' | 'InvalidRequest' | 'RateLimitExceeded' | 'InvalidAuthorization' | 'InsufficientAuthorization'; /** * Defines values for ErrorSubCode. - * Possible values include: 'UnexpectedError', 'ResourceError', - * 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', - * 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing', - * 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorSubCode = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', + * 'ParameterMissing', 'ParameterInvalidValue', 'HttpNotAllowed', 'Blocked', + * 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', + * 'AuthorizationExpired' * @readonly * @enum {string} */ -export enum ErrorSubCode { - UnexpectedError = 'UnexpectedError', - ResourceError = 'ResourceError', - NotImplemented = 'NotImplemented', - ParameterMissing = 'ParameterMissing', - ParameterInvalidValue = 'ParameterInvalidValue', - HttpNotAllowed = 'HttpNotAllowed', - Blocked = 'Blocked', - AuthorizationMissing = 'AuthorizationMissing', - AuthorizationRedundancy = 'AuthorizationRedundancy', - AuthorizationDisabled = 'AuthorizationDisabled', - AuthorizationExpired = 'AuthorizationExpired', -} +export type ErrorSubCode = 'UnexpectedError' | 'ResourceError' | 'NotImplemented' | 'ParameterMissing' | 'ParameterInvalidValue' | 'HttpNotAllowed' | 'Blocked' | 'AuthorizationMissing' | 'AuthorizationRedundancy' | 'AuthorizationDisabled' | 'AuthorizationExpired'; /** * Defines values for Freshness. * Possible values include: 'Day', 'Week', 'Month' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Freshness = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Freshness { - Day = 'Day', - Week = 'Week', - Month = 'Month', -} +export type Freshness = 'Day' | 'Week' | 'Month'; /** * Defines values for SafeSearch. * Possible values include: 'Off', 'Moderate', 'Strict' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SafeSearch = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SafeSearch { - Off = 'Off', - Moderate = 'Moderate', - Strict = 'Strict', -} +export type SafeSearch = 'Off' | 'Moderate' | 'Strict'; /** * Defines values for TextFormat. * Possible values include: 'Raw', 'Html' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TextFormat = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TextFormat { - Raw = 'Raw', - Html = 'Html', -} +export type TextFormat = 'Raw' | 'Html'; /** * Contains response data for the search operation. diff --git a/packages/@azure/cognitiveservices-newssearch/lib/models/mappers.ts b/packages/@azure/cognitiveservices-newssearch/lib/models/mappers.ts index 25a335a7defb..e1841631aff7 100644 --- a/packages/@azure/cognitiveservices-newssearch/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-newssearch/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const ResponseBase: msRest.CompositeMapper = { @@ -101,8 +101,6 @@ export const Thing: msRest.CompositeMapper = { serializedName: "image", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } }, @@ -155,8 +153,6 @@ export const CreativeWork: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -174,8 +170,6 @@ export const CreativeWork: msRest.CompositeMapper = { serializedName: "video", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "VideoObject" } } @@ -234,8 +228,6 @@ export const NewsArticle: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "NewsArticle" } } @@ -308,8 +300,6 @@ export const News: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "NewsArticle" } } @@ -374,8 +364,6 @@ export const ImageObject: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -422,8 +410,6 @@ export const Query: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -483,8 +469,6 @@ export const TrendingTopics: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "NewsTopic" } } @@ -543,8 +527,6 @@ export const VideoObject: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } }, diff --git a/packages/@azure/cognitiveservices-newssearch/lib/models/parameters.ts b/packages/@azure/cognitiveservices-newssearch/lib/models/parameters.ts index 5c320f6e429f..3eba9e9983c1 100644 --- a/packages/@azure/cognitiveservices-newssearch/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-newssearch/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: [ @@ -82,6 +82,18 @@ export const countryCode: msRest.OperationQueryParameter = { } } }; +export const endpoint: msRest.OperationURLParameter = { + parameterPath: "endpoint", + mapper: { + required: true, + serializedName: "Endpoint", + defaultValue: 'https://api.cognitive.microsoft.com', + type: { + name: "String" + } + }, + skipEncoding: true +}; export const freshness: msRest.OperationQueryParameter = { parameterPath: [ "options", diff --git a/packages/@azure/cognitiveservices-newssearch/lib/newsSearchAPIClient.ts b/packages/@azure/cognitiveservices-newssearch/lib/newsSearchAPIClient.ts index aaef452e94f2..77e822da695b 100644 --- a/packages/@azure/cognitiveservices-newssearch/lib/newsSearchAPIClient.ts +++ b/packages/@azure/cognitiveservices-newssearch/lib/newsSearchAPIClient.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/cognitiveservices-newssearch/lib/newsSearchAPIClientContext.ts b/packages/@azure/cognitiveservices-newssearch/lib/newsSearchAPIClientContext.ts index 2ec9caaaac37..72bb24bddcc5 100644 --- a/packages/@azure/cognitiveservices-newssearch/lib/newsSearchAPIClientContext.ts +++ b/packages/@azure/cognitiveservices-newssearch/lib/newsSearchAPIClientContext.ts @@ -8,13 +8,14 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; const packageName = "@azure/cognitiveservices-newssearch"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class NewsSearchAPIClientContext extends msRest.ServiceClient { + endpoint?: string; credentials: msRest.ServiceClientCredentials; /** @@ -30,13 +31,20 @@ export class NewsSearchAPIClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); - this.baseUri = options.baseUri || this.baseUri || "https://api.cognitive.microsoft.com"; + this.endpoint = 'https://api.cognitive.microsoft.com'; + this.baseUri = "{Endpoint}"; this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); + if(options.endpoint !== null && options.endpoint !== undefined) { + this.endpoint = options.endpoint; + } } } diff --git a/packages/@azure/cognitiveservices-newssearch/lib/operations/newsOperations.ts b/packages/@azure/cognitiveservices-newssearch/lib/operations/newsOperations.ts index 69c08a670ac5..24e8a88503ae 100644 --- a/packages/@azure/cognitiveservices-newssearch/lib/operations/newsOperations.ts +++ b/packages/@azure/cognitiveservices-newssearch/lib/operations/newsOperations.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/newsOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -63,7 +63,7 @@ export class NewsOperations { * @param callback The callback */ search(query: string, options: Models.NewsSearchOptionalParams, callback: msRest.ServiceCallback): void; - search(query: string, options?: Models.NewsSearchOptionalParams, callback?: msRest.ServiceCallback): Promise { + search(query: string, options?: Models.NewsSearchOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { query, @@ -92,7 +92,7 @@ export class NewsOperations { * @param callback The callback */ category(options: Models.NewsCategoryOptionalParams, callback: msRest.ServiceCallback): void; - category(options?: Models.NewsCategoryOptionalParams, callback?: msRest.ServiceCallback): Promise { + category(options?: Models.NewsCategoryOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -121,7 +121,7 @@ export class NewsOperations { * @param callback The callback */ trending(options: Models.NewsTrendingOptionalParams, callback: msRest.ServiceCallback): void; - trending(options?: Models.NewsTrendingOptionalParams, callback?: msRest.ServiceCallback): Promise { + trending(options?: Models.NewsTrendingOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -135,7 +135,10 @@ export class NewsOperations { const serializer = new msRest.Serializer(Mappers); const searchOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "bing/v7.0/news/search", + path: "news/search", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.countryCode, Parameters.count, @@ -171,7 +174,10 @@ const searchOperationSpec: msRest.OperationSpec = { const categoryOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "bing/v7.0/news", + path: "news", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.countryCode, Parameters.category, @@ -206,7 +212,10 @@ const categoryOperationSpec: msRest.OperationSpec = { const trendingOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "bing/v7.0/news/trendingtopics", + path: "news/trendingtopics", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.countryCode, Parameters.count, diff --git a/packages/@azure/cognitiveservices-newssearch/package.json b/packages/@azure/cognitiveservices-newssearch/package.json index 69e8e1f13482..883091beec65 100644 --- a/packages/@azure/cognitiveservices-newssearch/package.json +++ b/packages/@azure/cognitiveservices-newssearch/package.json @@ -4,7 +4,7 @@ "description": "NewsSearchAPIClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -51,4 +51,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-newssearch/rollup.config.js b/packages/@azure/cognitiveservices-newssearch/rollup.config.js index bee26ca226e1..84fc903817ee 100644 --- a/packages/@azure/cognitiveservices-newssearch/rollup.config.js +++ b/packages/@azure/cognitiveservices-newssearch/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/newsSearchAPIClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-newssearch.js", format: "umd", name: "Azure.CognitiveservicesNewssearch", 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/cognitiveservices-newssearch/tsconfig.json b/packages/@azure/cognitiveservices-newssearch/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-newssearch/tsconfig.json +++ b/packages/@azure/cognitiveservices-newssearch/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-spellcheck/.npmignore b/packages/@azure/cognitiveservices-spellcheck/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/cognitiveservices-spellcheck/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/cognitiveservices-spellcheck/README.md b/packages/@azure/cognitiveservices-spellcheck/README.md index 4370c85eaf38..c41c341bc1ed 100644 --- a/packages/@azure/cognitiveservices-spellcheck/README.md +++ b/packages/@azure/cognitiveservices-spellcheck/README.md @@ -1,59 +1,77 @@ -# An isomorphic javascript sdk for - SpellCheckAPIClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - SpellCheckAPIClient -## How to Install +This package contains an isomorphic SDK for SpellCheckAPIClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-spellcheck ``` -- browser -```html - -``` -## How to use +### How to use + +#### nodejs - Authentication, client creation and spellChecker as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and spellChecker as an example written in TypeScript. +##### Sample code ```ts -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { SpellCheckAPIClient, SpellCheckAPIModels, SpellCheckAPIMappers } from "@azure/cognitiveservices-spellcheck"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -const token = ""; -const creds = new msRest.TokenCredentials(token); -const client = new SpellCheckAPIClient(creds, subscriptionId); -const text = "testtext"; -const acceptLanguage = "testacceptLanguage"; -const pragma = "testpragma"; -const userAgent = "testuserAgent"; -const clientId = "testclientId"; -const clientIp = "testclientIp"; -const location = "westus"; -const actionType = "Edit"; -const appName = "testappName"; -const countryCode = "testcountryCode"; -const clientMachineName = "testclientMachineName"; -const docId = "testdocId"; -const market = "testmarket"; -const sessionId = "testsessionId"; -const setLang = "testsetLang"; -const userId = "testuserId"; -const mode = "proof"; -const preContextText = "testpreContextText"; -const postContextText = "testpostContextText"; -client.spellChecker(text, acceptLanguage, pragma, userAgent, clientId, clientIp, location, actionType, appName, countryCode, clientMachineName, docId, market, sessionId, setLang, userId, mode, preContextText, postContextText).then((result) => { - console.log("The result is:"); - console.log(result); +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new SpellCheckAPIClient(creds, subscriptionId); + const text = "testtext"; + const acceptLanguage = "testacceptLanguage"; + const pragma = "testpragma"; + const userAgent = "testuserAgent"; + const clientId = "testclientId"; + const clientIp = "testclientIp"; + const location = "westus"; + const actionType = "Edit"; + const appName = "testappName"; + const countryCode = "testcountryCode"; + const clientMachineName = "testclientMachineName"; + const docId = "testdocId"; + const market = "testmarket"; + const sessionId = "testsessionId"; + const setLang = "testsetLang"; + const userId = "testuserId"; + const mode = "proof"; + const preContextText = "testpreContextText"; + const postContextText = "testpostContextText"; + client.spellChecker(text, acceptLanguage, pragma, userAgent, clientId, clientIp, location, actionType, appName, countryCode, clientMachineName, docId, market, sessionId, setLang, userId, mode, preContextText, postContextText).then((result) => { + console.log("The result is:"); + console.log(result); + }); }).catch((err) => { console.error(err); }); ``` -### browser - Authentication, client creation and spellChecker as an example written in javascript. +#### browser - Authentication, client creation and spellChecker as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -61,44 +79,54 @@ client.spellChecker(text, acceptLanguage, pragma, userAgent, clientId, clientIp, @azure/cognitiveservices-spellcheck 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/cognitiveservices-spellcheck/lib/models/index.ts b/packages/@azure/cognitiveservices-spellcheck/lib/models/index.ts index 80095721a01a..ee371c483159 100644 --- a/packages/@azure/cognitiveservices-spellcheck/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-spellcheck/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { ServiceClientOptions } from "ms-rest-js"; -import * as msRest from "ms-rest-js"; +import { ServiceClientOptions } from "@azure/ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -254,9 +254,13 @@ export interface ErrorResponse { */ export interface SpellCheckAPIClientOptions extends ServiceClientOptions { /** - * @member {string} [baseUri] + * @member {string} [endpoint] Supported Cognitive Services endpoints + * (protocol and hostname, for example: + * "https://westus.api.cognitive.microsoft.com", + * "https://api.cognitive.microsoft.com"). Default value: + * 'https://api.cognitive.microsoft.com' . */ - baseUri?: string; + endpoint?: string; } /** @@ -505,95 +509,46 @@ export interface SpellCheckAPIClientSpellCheckerOptionalParams extends msRest.Re /** * Defines values for ErrorType. * Possible values include: 'UnknownToken', 'RepeatedToken' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ErrorType { - UnknownToken = 'UnknownToken', - RepeatedToken = 'RepeatedToken', -} +export type ErrorType = 'UnknownToken' | 'RepeatedToken'; /** * Defines values for ErrorCode. - * Possible values include: 'None', 'ServerError', 'InvalidRequest', - * 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorCode = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', + * 'InvalidAuthorization', 'InsufficientAuthorization' * @readonly * @enum {string} */ -export enum ErrorCode { - None = 'None', - ServerError = 'ServerError', - InvalidRequest = 'InvalidRequest', - RateLimitExceeded = 'RateLimitExceeded', - InvalidAuthorization = 'InvalidAuthorization', - InsufficientAuthorization = 'InsufficientAuthorization', -} +export type ErrorCode = 'None' | 'ServerError' | 'InvalidRequest' | 'RateLimitExceeded' | 'InvalidAuthorization' | 'InsufficientAuthorization'; /** * Defines values for ErrorSubCode. - * Possible values include: 'UnexpectedError', 'ResourceError', - * 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', - * 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing', - * 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorSubCode = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', + * 'ParameterMissing', 'ParameterInvalidValue', 'HttpNotAllowed', 'Blocked', + * 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', + * 'AuthorizationExpired' * @readonly * @enum {string} */ -export enum ErrorSubCode { - UnexpectedError = 'UnexpectedError', - ResourceError = 'ResourceError', - NotImplemented = 'NotImplemented', - ParameterMissing = 'ParameterMissing', - ParameterInvalidValue = 'ParameterInvalidValue', - HttpNotAllowed = 'HttpNotAllowed', - Blocked = 'Blocked', - AuthorizationMissing = 'AuthorizationMissing', - AuthorizationRedundancy = 'AuthorizationRedundancy', - AuthorizationDisabled = 'AuthorizationDisabled', - AuthorizationExpired = 'AuthorizationExpired', -} +export type ErrorSubCode = 'UnexpectedError' | 'ResourceError' | 'NotImplemented' | 'ParameterMissing' | 'ParameterInvalidValue' | 'HttpNotAllowed' | 'Blocked' | 'AuthorizationMissing' | 'AuthorizationRedundancy' | 'AuthorizationDisabled' | 'AuthorizationExpired'; /** * Defines values for ActionType. * Possible values include: 'Edit', 'Load' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ActionType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ActionType { - Edit = 'Edit', - Load = 'Load', -} +export type ActionType = 'Edit' | 'Load'; /** * Defines values for Mode. * Possible values include: 'proof', 'spell' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Mode = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Mode { - Proof = 'proof', - Spell = 'spell', -} +export type Mode = 'proof' | 'spell'; /** * Contains response data for the spellChecker operation. diff --git a/packages/@azure/cognitiveservices-spellcheck/lib/models/mappers.ts b/packages/@azure/cognitiveservices-spellcheck/lib/models/mappers.ts index bf15d61a2124..760b5354f605 100644 --- a/packages/@azure/cognitiveservices-spellcheck/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-spellcheck/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const SpellingTokenSuggestion: msRest.CompositeMapper = { diff --git a/packages/@azure/cognitiveservices-spellcheck/lib/models/parameters.ts b/packages/@azure/cognitiveservices-spellcheck/lib/models/parameters.ts index bfca35bb645e..2f84c8c09bbe 100644 --- a/packages/@azure/cognitiveservices-spellcheck/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-spellcheck/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: [ @@ -106,6 +106,18 @@ export const docId: msRest.OperationQueryParameter = { } } }; +export const endpoint: msRest.OperationURLParameter = { + parameterPath: "endpoint", + mapper: { + required: true, + serializedName: "Endpoint", + defaultValue: 'https://api.cognitive.microsoft.com', + type: { + name: "String" + } + }, + skipEncoding: true +}; export const location: msRest.OperationParameter = { parameterPath: [ "options", diff --git a/packages/@azure/cognitiveservices-spellcheck/lib/spellCheckAPIClient.ts b/packages/@azure/cognitiveservices-spellcheck/lib/spellCheckAPIClient.ts index 391476b929e0..83d2c54d33a8 100644 --- a/packages/@azure/cognitiveservices-spellcheck/lib/spellCheckAPIClient.ts +++ b/packages/@azure/cognitiveservices-spellcheck/lib/spellCheckAPIClient.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 Parameters from "./models/parameters"; @@ -57,7 +57,7 @@ class SpellCheckAPIClient extends SpellCheckAPIClientContext { * @param callback The callback */ spellChecker(text: string, options: Models.SpellCheckAPIClientSpellCheckerOptionalParams, callback: msRest.ServiceCallback): void; - spellChecker(text: string, options?: Models.SpellCheckAPIClientSpellCheckerOptionalParams, callback?: msRest.ServiceCallback): Promise { + spellChecker(text: string, options?: Models.SpellCheckAPIClientSpellCheckerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { text, @@ -72,7 +72,10 @@ class SpellCheckAPIClient extends SpellCheckAPIClientContext { const serializer = new msRest.Serializer(Mappers); const spellCheckerOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "bing/v7.0/spellcheck", + path: "spellcheck", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.actionType, Parameters.appName, diff --git a/packages/@azure/cognitiveservices-spellcheck/lib/spellCheckAPIClientContext.ts b/packages/@azure/cognitiveservices-spellcheck/lib/spellCheckAPIClientContext.ts index fe6f20b83781..907735dca947 100644 --- a/packages/@azure/cognitiveservices-spellcheck/lib/spellCheckAPIClientContext.ts +++ b/packages/@azure/cognitiveservices-spellcheck/lib/spellCheckAPIClientContext.ts @@ -8,13 +8,14 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; const packageName = "@azure/cognitiveservices-spellcheck"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class SpellCheckAPIClientContext extends msRest.ServiceClient { + endpoint?: string; credentials: msRest.ServiceClientCredentials; /** @@ -30,13 +31,20 @@ export class SpellCheckAPIClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); - this.baseUri = options.baseUri || this.baseUri || "https://api.cognitive.microsoft.com"; + this.endpoint = 'https://api.cognitive.microsoft.com'; + this.baseUri = "{Endpoint}"; this.requestContentType = "application/x-www-form-urlencoded"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); + if(options.endpoint !== null && options.endpoint !== undefined) { + this.endpoint = options.endpoint; + } } } diff --git a/packages/@azure/cognitiveservices-spellcheck/package.json b/packages/@azure/cognitiveservices-spellcheck/package.json index 89c19965d10f..df6fd51201f8 100644 --- a/packages/@azure/cognitiveservices-spellcheck/package.json +++ b/packages/@azure/cognitiveservices-spellcheck/package.json @@ -4,7 +4,7 @@ "description": "SpellCheckAPIClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -32,10 +32,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/cognitiveservices-spellcheck.js.map'\" -o ./dist/cognitiveservices-spellcheck.min.js ./dist/cognitiveservices-spellcheck.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-spellcheck/rollup.config.js b/packages/@azure/cognitiveservices-spellcheck/rollup.config.js index 656eca5fffa2..73489049eaab 100644 --- a/packages/@azure/cognitiveservices-spellcheck/rollup.config.js +++ b/packages/@azure/cognitiveservices-spellcheck/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/spellCheckAPIClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-spellcheck.js", format: "umd", name: "Azure.CognitiveservicesSpellcheck", 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/cognitiveservices-spellcheck/tsconfig.json b/packages/@azure/cognitiveservices-spellcheck/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-spellcheck/tsconfig.json +++ b/packages/@azure/cognitiveservices-spellcheck/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-textanalytics/.npmignore b/packages/@azure/cognitiveservices-textanalytics/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/cognitiveservices-textanalytics/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/cognitiveservices-textanalytics/README.md b/packages/@azure/cognitiveservices-textanalytics/README.md index a6917e97b151..f08081f2eed9 100644 --- a/packages/@azure/cognitiveservices-textanalytics/README.md +++ b/packages/@azure/cognitiveservices-textanalytics/README.md @@ -1,47 +1,65 @@ -# An isomorphic javascript sdk for - TextAnalyticsClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - TextAnalyticsClient -## How to Install +This package contains an isomorphic SDK for TextAnalyticsClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-textanalytics ``` -- browser -```html - -``` -## How to use +### How to use + +#### nodejs - Authentication, client creation and keyPhrases as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and keyPhrases as an example written in TypeScript. +##### Sample code ```ts -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { TextAnalyticsClient, TextAnalyticsModels, TextAnalyticsMappers } from "@azure/cognitiveservices-textanalytics"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -const token = ""; -const creds = new msRest.TokenCredentials(token); -const client = new TextAnalyticsClient(creds, subscriptionId); -const input = { - documents: [{ - language: "testlanguage", - id: "testid", - text: "testtext" - }] -}; -client.keyPhrases(input).then((result) => { - console.log("The result is:"); - console.log(result); +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new TextAnalyticsClient(creds, subscriptionId); + const input: TextAnalyticsModels.MultiLanguageBatchInput = { + documents: [{ + language: "testlanguage", + id: "testid", + text: "testtext" + }] + }; + client.keyPhrases(input).then((result) => { + console.log("The result is:"); + console.log(result); + }); }).catch((err) => { console.error(err); }); ``` -### browser - Authentication, client creation and keyPhrases as an example written in javascript. +#### browser - Authentication, client creation and keyPhrases as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -49,32 +67,42 @@ client.keyPhrases(input).then((result) => { @azure/cognitiveservices-textanalytics 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/cognitiveservices-textanalytics/lib/models/index.ts b/packages/@azure/cognitiveservices-textanalytics/lib/models/index.ts index aad90e06e703..ff5e8d01122a 100644 --- a/packages/@azure/cognitiveservices-textanalytics/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-textanalytics/lib/models/index.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** diff --git a/packages/@azure/cognitiveservices-textanalytics/lib/models/mappers.ts b/packages/@azure/cognitiveservices-textanalytics/lib/models/mappers.ts index 38ca1761f46a..ea5dd761967e 100644 --- a/packages/@azure/cognitiveservices-textanalytics/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-textanalytics/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const MultiLanguageInput: msRest.CompositeMapper = { diff --git a/packages/@azure/cognitiveservices-textanalytics/lib/models/parameters.ts b/packages/@azure/cognitiveservices-textanalytics/lib/models/parameters.ts index 79edf8c10485..ef1746ab6352 100644 --- a/packages/@azure/cognitiveservices-textanalytics/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-textanalytics/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 endpoint: msRest.OperationURLParameter = { parameterPath: "endpoint", diff --git a/packages/@azure/cognitiveservices-textanalytics/lib/textAnalyticsClient.ts b/packages/@azure/cognitiveservices-textanalytics/lib/textAnalyticsClient.ts index 99fea5a028e5..ba963a28b74c 100644 --- a/packages/@azure/cognitiveservices-textanalytics/lib/textAnalyticsClient.ts +++ b/packages/@azure/cognitiveservices-textanalytics/lib/textAnalyticsClient.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 Parameters from "./models/parameters"; @@ -51,7 +51,7 @@ class TextAnalyticsClient extends TextAnalyticsClientContext { * @param callback The callback */ keyPhrases(input: Models.MultiLanguageBatchInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - keyPhrases(input: Models.MultiLanguageBatchInput, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + keyPhrases(input: Models.MultiLanguageBatchInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { input, @@ -81,7 +81,7 @@ class TextAnalyticsClient extends TextAnalyticsClientContext { * @param callback The callback */ detectLanguage(input: Models.BatchInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - detectLanguage(input: Models.BatchInput, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + detectLanguage(input: Models.BatchInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { input, @@ -114,7 +114,7 @@ class TextAnalyticsClient extends TextAnalyticsClientContext { * @param callback The callback */ sentiment(input: Models.MultiLanguageBatchInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - sentiment(input: Models.MultiLanguageBatchInput, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + sentiment(input: Models.MultiLanguageBatchInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { input, @@ -146,7 +146,7 @@ class TextAnalyticsClient extends TextAnalyticsClientContext { * @param callback The callback */ entities(input: Models.MultiLanguageBatchInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - entities(input: Models.MultiLanguageBatchInput, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + entities(input: Models.MultiLanguageBatchInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { input, diff --git a/packages/@azure/cognitiveservices-textanalytics/lib/textAnalyticsClientContext.ts b/packages/@azure/cognitiveservices-textanalytics/lib/textAnalyticsClientContext.ts index 84ccfed7d6b9..29d95fdffdca 100644 --- a/packages/@azure/cognitiveservices-textanalytics/lib/textAnalyticsClientContext.ts +++ b/packages/@azure/cognitiveservices-textanalytics/lib/textAnalyticsClientContext.ts @@ -8,10 +8,10 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; const packageName = "@azure/cognitiveservices-textanalytics"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class TextAnalyticsClientContext extends msRest.ServiceClient { endpoint: string; @@ -35,6 +35,10 @@ export class TextAnalyticsClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); @@ -43,6 +47,5 @@ export class TextAnalyticsClientContext extends msRest.ServiceClient { this.endpoint = endpoint; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); } } diff --git a/packages/@azure/cognitiveservices-textanalytics/package.json b/packages/@azure/cognitiveservices-textanalytics/package.json index 9242d90e890e..5253f409e940 100644 --- a/packages/@azure/cognitiveservices-textanalytics/package.json +++ b/packages/@azure/cognitiveservices-textanalytics/package.json @@ -4,7 +4,7 @@ "description": "TextAnalyticsClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -32,10 +32,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/cognitiveservices-textanalytics.js.map'\" -o ./dist/cognitiveservices-textanalytics.min.js ./dist/cognitiveservices-textanalytics.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-textanalytics/rollup.config.js b/packages/@azure/cognitiveservices-textanalytics/rollup.config.js index 6ba0626dfd3e..f15afbc98eb4 100644 --- a/packages/@azure/cognitiveservices-textanalytics/rollup.config.js +++ b/packages/@azure/cognitiveservices-textanalytics/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/textAnalyticsClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-textanalytics.js", format: "umd", name: "Azure.CognitiveservicesTextanalytics", 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/cognitiveservices-textanalytics/tsconfig.json b/packages/@azure/cognitiveservices-textanalytics/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-textanalytics/tsconfig.json +++ b/packages/@azure/cognitiveservices-textanalytics/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-videosearch/README.md b/packages/@azure/cognitiveservices-videosearch/README.md index 01551fb5dd66..0cb5f8a115e0 100644 --- a/packages/@azure/cognitiveservices-videosearch/README.md +++ b/packages/@azure/cognitiveservices-videosearch/README.md @@ -1,26 +1,33 @@ -# An isomorphic javascript sdk for - VideoSearchAPIClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - VideoSearchAPIClient -## How to Install +This package contains an isomorphic SDK for VideoSearchAPIClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-videosearch ``` -- browser -```html - -``` -## How to use +### How to use -### nodejs - Authentication, client creation and search videos as an example written in TypeScript. +#### nodejs - Authentication, client creation and search videos as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code ```ts -import * as msRest from "ms-rest-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { VideoSearchAPIClient, VideoSearchAPIModels, VideoSearchAPIMappers } from "@azure/cognitiveservices-videosearch"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -54,7 +61,17 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and search videos as an example written in javascript. +#### browser - Authentication, client creation and search videos as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -62,8 +79,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => { @azure/cognitiveservices-videosearch 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/cognitiveservices-videosearch/lib/models/index.ts b/packages/@azure/cognitiveservices-videosearch/lib/models/index.ts index 6fe04d4ccb3a..f1eefc743981 100644 --- a/packages/@azure/cognitiveservices-videosearch/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-videosearch/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { ServiceClientOptions } from "ms-rest-js"; -import * as msRest from "ms-rest-js"; +import { ServiceClientOptions } from "@azure/ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -1081,9 +1081,13 @@ export interface VideoDetails { */ export interface VideoSearchAPIClientOptions extends ServiceClientOptions { /** - * @member {string} [baseUri] + * @member {string} [endpoint] Supported Cognitive Services endpoints + * (protocol and hostname, for example: + * "https://westus.api.cognitive.microsoft.com", + * "https://api.cognitive.microsoft.com"). Default value: + * 'https://api.cognitive.microsoft.com' . */ - baseUri?: string; + endpoint?: string; } /** @@ -1910,49 +1914,27 @@ export interface VideosTrendingOptionalParams extends msRest.RequestOptionsBase * @readonly * @enum {string} */ -export enum VideoQueryScenario { - List = 'List', - SingleDominantVideo = 'SingleDominantVideo', -} +export type VideoQueryScenario = 'List' | 'SingleDominantVideo'; /** * Defines values for ErrorCode. - * Possible values include: 'None', 'ServerError', 'InvalidRequest', - * 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization' + * Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', + * 'InvalidAuthorization', 'InsufficientAuthorization' * @readonly * @enum {string} */ -export enum ErrorCode { - None = 'None', - ServerError = 'ServerError', - InvalidRequest = 'InvalidRequest', - RateLimitExceeded = 'RateLimitExceeded', - InvalidAuthorization = 'InvalidAuthorization', - InsufficientAuthorization = 'InsufficientAuthorization', -} +export type ErrorCode = 'None' | 'ServerError' | 'InvalidRequest' | 'RateLimitExceeded' | 'InvalidAuthorization' | 'InsufficientAuthorization'; /** * Defines values for ErrorSubCode. - * Possible values include: 'UnexpectedError', 'ResourceError', - * 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', - * 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing', - * 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired' + * Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', + * 'ParameterMissing', 'ParameterInvalidValue', 'HttpNotAllowed', 'Blocked', + * 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', + * 'AuthorizationExpired' * @readonly * @enum {string} */ -export enum ErrorSubCode { - UnexpectedError = 'UnexpectedError', - ResourceError = 'ResourceError', - NotImplemented = 'NotImplemented', - ParameterMissing = 'ParameterMissing', - ParameterInvalidValue = 'ParameterInvalidValue', - HttpNotAllowed = 'HttpNotAllowed', - Blocked = 'Blocked', - AuthorizationMissing = 'AuthorizationMissing', - AuthorizationRedundancy = 'AuthorizationRedundancy', - AuthorizationDisabled = 'AuthorizationDisabled', - AuthorizationExpired = 'AuthorizationExpired', -} +export type ErrorSubCode = 'UnexpectedError' | 'ResourceError' | 'NotImplemented' | 'ParameterMissing' | 'ParameterInvalidValue' | 'HttpNotAllowed' | 'Blocked' | 'AuthorizationMissing' | 'AuthorizationRedundancy' | 'AuthorizationDisabled' | 'AuthorizationExpired'; /** * Defines values for Freshness. @@ -1960,11 +1942,7 @@ export enum ErrorSubCode { * @readonly * @enum {string} */ -export enum Freshness { - Day = 'Day', - Week = 'Week', - Month = 'Month', -} +export type Freshness = 'Day' | 'Week' | 'Month'; /** * Defines values for VideoLength. @@ -1972,12 +1950,7 @@ export enum Freshness { * @readonly * @enum {string} */ -export enum VideoLength { - All = 'All', - Short = 'Short', - Medium = 'Medium', - Long = 'Long', -} +export type VideoLength = 'All' | 'Short' | 'Medium' | 'Long'; /** * Defines values for VideoPricing. @@ -1985,11 +1958,7 @@ export enum VideoLength { * @readonly * @enum {string} */ -export enum VideoPricing { - All = 'All', - Free = 'Free', - Paid = 'Paid', -} +export type VideoPricing = 'All' | 'Free' | 'Paid'; /** * Defines values for VideoResolution. @@ -1997,12 +1966,7 @@ export enum VideoPricing { * @readonly * @enum {string} */ -export enum VideoResolution { - All = 'All', - SD480p = 'SD480p', - HD720p = 'HD720p', - HD1080p = 'HD1080p', -} +export type VideoResolution = 'All' | 'SD480p' | 'HD720p' | 'HD1080p'; /** * Defines values for SafeSearch. @@ -2010,11 +1974,7 @@ export enum VideoResolution { * @readonly * @enum {string} */ -export enum SafeSearch { - Off = 'Off', - Moderate = 'Moderate', - Strict = 'Strict', -} +export type SafeSearch = 'Off' | 'Moderate' | 'Strict'; /** * Defines values for TextFormat. @@ -2022,10 +1982,7 @@ export enum SafeSearch { * @readonly * @enum {string} */ -export enum TextFormat { - Raw = 'Raw', - Html = 'Html', -} +export type TextFormat = 'Raw' | 'Html'; /** * Defines values for VideoInsightModule. @@ -2033,11 +1990,7 @@ export enum TextFormat { * @readonly * @enum {string} */ -export enum VideoInsightModule { - All = 'All', - RelatedVideos = 'RelatedVideos', - VideoResult = 'VideoResult', -} +export type VideoInsightModule = 'All' | 'RelatedVideos' | 'VideoResult'; /** * Contains response data for the search operation. diff --git a/packages/@azure/cognitiveservices-videosearch/lib/models/mappers.ts b/packages/@azure/cognitiveservices-videosearch/lib/models/mappers.ts index 30acbee834bc..79df933a4ee2 100644 --- a/packages/@azure/cognitiveservices-videosearch/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-videosearch/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const ResponseBase: msRest.CompositeMapper = { @@ -101,8 +101,6 @@ export const Thing: msRest.CompositeMapper = { serializedName: "image", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } }, @@ -155,8 +153,6 @@ export const CreativeWork: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -228,8 +224,6 @@ export const ImageObject: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -286,8 +280,6 @@ export const VideoObject: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } }, @@ -355,8 +347,6 @@ export const Query: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -464,8 +454,6 @@ export const Videos: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "VideoObject" } } @@ -691,8 +679,6 @@ export const TrendingVideosTile: msRest.CompositeMapper = { serializedName: "image", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -813,8 +799,6 @@ export const VideosModule: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "VideoObject" } } @@ -846,8 +830,6 @@ export const VideoDetails: msRest.CompositeMapper = { serializedName: "videoResult", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "VideoObject" } } diff --git a/packages/@azure/cognitiveservices-videosearch/lib/models/parameters.ts b/packages/@azure/cognitiveservices-videosearch/lib/models/parameters.ts index cffd8684726c..54551d5c0126 100644 --- a/packages/@azure/cognitiveservices-videosearch/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-videosearch/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: [ @@ -70,6 +70,18 @@ export const countryCode: msRest.OperationQueryParameter = { } } }; +export const endpoint: msRest.OperationURLParameter = { + parameterPath: "endpoint", + mapper: { + required: true, + serializedName: "Endpoint", + defaultValue: 'https://api.cognitive.microsoft.com', + type: { + name: "String" + } + }, + skipEncoding: true +}; export const freshness: msRest.OperationQueryParameter = { parameterPath: [ "options", diff --git a/packages/@azure/cognitiveservices-videosearch/lib/operations/videosOperations.ts b/packages/@azure/cognitiveservices-videosearch/lib/operations/videosOperations.ts index 4ee6be35fdf3..5648be4a67d4 100644 --- a/packages/@azure/cognitiveservices-videosearch/lib/operations/videosOperations.ts +++ b/packages/@azure/cognitiveservices-videosearch/lib/operations/videosOperations.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/videosOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -60,7 +60,7 @@ export class VideosOperations { * @param callback The callback */ search(query: string, options: Models.VideosSearchOptionalParams, callback: msRest.ServiceCallback): void; - search(query: string, options?: Models.VideosSearchOptionalParams, callback?: msRest.ServiceCallback): Promise { + search(query: string, options?: Models.VideosSearchOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { query, @@ -104,7 +104,7 @@ export class VideosOperations { * @param callback The callback */ details(query: string, options: Models.VideosDetailsOptionalParams, callback: msRest.ServiceCallback): void; - details(query: string, options?: Models.VideosDetailsOptionalParams, callback?: msRest.ServiceCallback): Promise { + details(query: string, options?: Models.VideosDetailsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { query, @@ -133,7 +133,7 @@ export class VideosOperations { * @param callback The callback */ trending(options: Models.VideosTrendingOptionalParams, callback: msRest.ServiceCallback): void; - trending(options?: Models.VideosTrendingOptionalParams, callback?: msRest.ServiceCallback): Promise { + trending(options?: Models.VideosTrendingOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -147,7 +147,10 @@ export class VideosOperations { const serializer = new msRest.Serializer(Mappers); const searchOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "bing/v7.0/videos/search", + path: "videos/search", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.countryCode, Parameters.count, @@ -185,7 +188,10 @@ const searchOperationSpec: msRest.OperationSpec = { const detailsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "bing/v7.0/videos/details", + path: "videos/details", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.countryCode, Parameters.id, @@ -219,7 +225,10 @@ const detailsOperationSpec: msRest.OperationSpec = { const trendingOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "bing/v7.0/videos/trending", + path: "videos/trending", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.countryCode, Parameters.market, diff --git a/packages/@azure/cognitiveservices-videosearch/lib/videoSearchAPIClient.ts b/packages/@azure/cognitiveservices-videosearch/lib/videoSearchAPIClient.ts index bb251ed6dfee..512ac0fa5325 100644 --- a/packages/@azure/cognitiveservices-videosearch/lib/videoSearchAPIClient.ts +++ b/packages/@azure/cognitiveservices-videosearch/lib/videoSearchAPIClient.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/cognitiveservices-videosearch/lib/videoSearchAPIClientContext.ts b/packages/@azure/cognitiveservices-videosearch/lib/videoSearchAPIClientContext.ts index cc27a7b0225d..d2fa848e30fb 100644 --- a/packages/@azure/cognitiveservices-videosearch/lib/videoSearchAPIClientContext.ts +++ b/packages/@azure/cognitiveservices-videosearch/lib/videoSearchAPIClientContext.ts @@ -8,13 +8,14 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; const packageName = "@azure/cognitiveservices-videosearch"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class VideoSearchAPIClientContext extends msRest.ServiceClient { + endpoint?: string; credentials: msRest.ServiceClientCredentials; /** @@ -30,13 +31,20 @@ export class VideoSearchAPIClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); - this.baseUri = options.baseUri || this.baseUri || "https://api.cognitive.microsoft.com"; + this.endpoint = 'https://api.cognitive.microsoft.com'; + this.baseUri = "{Endpoint}"; this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); + if(options.endpoint !== null && options.endpoint !== undefined) { + this.endpoint = options.endpoint; + } } } diff --git a/packages/@azure/cognitiveservices-videosearch/package.json b/packages/@azure/cognitiveservices-videosearch/package.json index f542dd8fb38e..88c9600bd321 100644 --- a/packages/@azure/cognitiveservices-videosearch/package.json +++ b/packages/@azure/cognitiveservices-videosearch/package.json @@ -4,7 +4,7 @@ "description": "VideoSearchAPIClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -51,4 +51,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-videosearch/rollup.config.js b/packages/@azure/cognitiveservices-videosearch/rollup.config.js index 096a4e34444f..5f21f6465721 100644 --- a/packages/@azure/cognitiveservices-videosearch/rollup.config.js +++ b/packages/@azure/cognitiveservices-videosearch/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/videoSearchAPIClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-videosearch.js", format: "umd", name: "Azure.CognitiveservicesVideosearch", 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/cognitiveservices-videosearch/tsconfig.json b/packages/@azure/cognitiveservices-videosearch/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-videosearch/tsconfig.json +++ b/packages/@azure/cognitiveservices-videosearch/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-visualsearch/README.md b/packages/@azure/cognitiveservices-visualsearch/README.md index 68424fa7386a..f6934fd1c774 100644 --- a/packages/@azure/cognitiveservices-visualsearch/README.md +++ b/packages/@azure/cognitiveservices-visualsearch/README.md @@ -1,26 +1,33 @@ -# An isomorphic javascript sdk for - VisualSearchAPIClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - VisualSearchAPIClient -## How to Install +This package contains an isomorphic SDK for VisualSearchAPIClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-visualsearch ``` -- browser -```html - -``` -## How to use +### How to use -### nodejs - Authentication, client creation and visualSearch images as an example written in TypeScript. +#### nodejs - Authentication, client creation and visualSearch images as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code ```ts -import * as msRest from "ms-rest-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { VisualSearchAPIClient, VisualSearchAPIModels, VisualSearchAPIMappers } from "@azure/cognitiveservices-visualsearch"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -46,7 +53,17 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and visualSearch images as an example written in javascript. +#### browser - Authentication, client creation and visualSearch images as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -54,8 +71,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => { @azure/cognitiveservices-visualsearch 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/cognitiveservices-visualsearch/lib/models/index.ts b/packages/@azure/cognitiveservices-visualsearch/lib/models/index.ts index 7c1a0da6dc24..746568dc5e9b 100644 --- a/packages/@azure/cognitiveservices-visualsearch/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-visualsearch/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { ServiceClientOptions } from "ms-rest-js"; -import * as msRest from "ms-rest-js"; +import { ServiceClientOptions } from "@azure/ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -3014,9 +3014,13 @@ export interface VisualSearchRequest { */ export interface VisualSearchAPIClientOptions extends ServiceClientOptions { /** - * @member {string} [baseUri] + * @member {string} [endpoint] Supported Cognitive Services endpoints + * (protocol and hostname, for example: + * "https://westus.api.cognitive.microsoft.com", + * "https://api.cognitive.microsoft.com"). Default value: + * 'https://api.cognitive.microsoft.com' . */ - baseUri?: string; + endpoint?: string; } /** @@ -3236,278 +3240,60 @@ export interface ImagesVisualSearchOptionalParams extends msRest.RequestOptionsB /** * Defines values for Currency. - * Possible values include: 'USD', 'CAD', 'GBP', 'EUR', 'COP', 'JPY', 'CNY', - * 'AUD', 'INR', 'AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AWG', 'AZN', - * 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BOV', 'BRL', - * 'BSD', 'BTN', 'BWP', 'BYR', 'BZD', 'CDF', 'CHE', 'CHF', 'CHW', 'CLF', 'CLP', - * 'COU', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', - * 'ERN', 'ETB', 'FJD', 'FKP', 'GEL', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', - * 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IQD', 'IRR', 'ISK', 'JMD', - * 'JOD', 'KES', 'KGS', 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', - * 'LBP', 'LKR', 'LRD', 'LSL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', - * 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MXV', 'MYR', 'MZN', 'NAD', 'NGN', - * 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', - * 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', - * 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'SSP', 'STD', 'SYP', 'SZL', 'THB', 'TJS', - * 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH', 'UGX', 'UYU', 'UZS', - * 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Currency = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'USD', 'CAD', 'GBP', 'EUR', 'COP', 'JPY', 'CNY', 'AUD', 'INR', 'AED', + * 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', + * 'BIF', 'BMD', 'BND', 'BOB', 'BOV', 'BRL', 'BSD', 'BTN', 'BWP', 'BYR', 'BZD', 'CDF', 'CHE', + * 'CHF', 'CHW', 'CLF', 'CLP', 'COU', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', + * 'DZD', 'EGP', 'ERN', 'ETB', 'FJD', 'FKP', 'GEL', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', + * 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IQD', 'IRR', 'ISK', 'JMD', 'JOD', 'KES', + * 'KGS', 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', + * 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', + * 'MXV', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', + * 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', + * 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'SSP', 'STD', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', + * 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH', 'UGX', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', + * 'WST', 'XAF', 'XCD', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW' * @readonly * @enum {string} */ -export enum Currency { - USD = 'USD', - CAD = 'CAD', - GBP = 'GBP', - EUR = 'EUR', - COP = 'COP', - JPY = 'JPY', - CNY = 'CNY', - AUD = 'AUD', - INR = 'INR', - AED = 'AED', - AFN = 'AFN', - ALL = 'ALL', - AMD = 'AMD', - ANG = 'ANG', - AOA = 'AOA', - ARS = 'ARS', - AWG = 'AWG', - AZN = 'AZN', - BAM = 'BAM', - BBD = 'BBD', - BDT = 'BDT', - BGN = 'BGN', - BHD = 'BHD', - BIF = 'BIF', - BMD = 'BMD', - BND = 'BND', - BOB = 'BOB', - BOV = 'BOV', - BRL = 'BRL', - BSD = 'BSD', - BTN = 'BTN', - BWP = 'BWP', - BYR = 'BYR', - BZD = 'BZD', - CDF = 'CDF', - CHE = 'CHE', - CHF = 'CHF', - CHW = 'CHW', - CLF = 'CLF', - CLP = 'CLP', - COU = 'COU', - CRC = 'CRC', - CUC = 'CUC', - CUP = 'CUP', - CVE = 'CVE', - CZK = 'CZK', - DJF = 'DJF', - DKK = 'DKK', - DOP = 'DOP', - DZD = 'DZD', - EGP = 'EGP', - ERN = 'ERN', - ETB = 'ETB', - FJD = 'FJD', - FKP = 'FKP', - GEL = 'GEL', - GHS = 'GHS', - GIP = 'GIP', - GMD = 'GMD', - GNF = 'GNF', - GTQ = 'GTQ', - GYD = 'GYD', - HKD = 'HKD', - HNL = 'HNL', - HRK = 'HRK', - HTG = 'HTG', - HUF = 'HUF', - IDR = 'IDR', - ILS = 'ILS', - IQD = 'IQD', - IRR = 'IRR', - ISK = 'ISK', - JMD = 'JMD', - JOD = 'JOD', - KES = 'KES', - KGS = 'KGS', - KHR = 'KHR', - KMF = 'KMF', - KPW = 'KPW', - KRW = 'KRW', - KWD = 'KWD', - KYD = 'KYD', - KZT = 'KZT', - LAK = 'LAK', - LBP = 'LBP', - LKR = 'LKR', - LRD = 'LRD', - LSL = 'LSL', - LYD = 'LYD', - MAD = 'MAD', - MDL = 'MDL', - MGA = 'MGA', - MKD = 'MKD', - MMK = 'MMK', - MNT = 'MNT', - MOP = 'MOP', - MRO = 'MRO', - MUR = 'MUR', - MVR = 'MVR', - MWK = 'MWK', - MXN = 'MXN', - MXV = 'MXV', - MYR = 'MYR', - MZN = 'MZN', - NAD = 'NAD', - NGN = 'NGN', - NIO = 'NIO', - NOK = 'NOK', - NPR = 'NPR', - NZD = 'NZD', - OMR = 'OMR', - PAB = 'PAB', - PEN = 'PEN', - PGK = 'PGK', - PHP = 'PHP', - PKR = 'PKR', - PLN = 'PLN', - PYG = 'PYG', - QAR = 'QAR', - RON = 'RON', - RSD = 'RSD', - RUB = 'RUB', - RWF = 'RWF', - SAR = 'SAR', - SBD = 'SBD', - SCR = 'SCR', - SDG = 'SDG', - SEK = 'SEK', - SGD = 'SGD', - SHP = 'SHP', - SLL = 'SLL', - SOS = 'SOS', - SRD = 'SRD', - SSP = 'SSP', - STD = 'STD', - SYP = 'SYP', - SZL = 'SZL', - THB = 'THB', - TJS = 'TJS', - TMT = 'TMT', - TND = 'TND', - TOP = 'TOP', - TRY = 'TRY', - TTD = 'TTD', - TWD = 'TWD', - TZS = 'TZS', - UAH = 'UAH', - UGX = 'UGX', - UYU = 'UYU', - UZS = 'UZS', - VEF = 'VEF', - VND = 'VND', - VUV = 'VUV', - WST = 'WST', - XAF = 'XAF', - XCD = 'XCD', - XOF = 'XOF', - XPF = 'XPF', - YER = 'YER', - ZAR = 'ZAR', - ZMW = 'ZMW', -} +export type Currency = 'USD' | 'CAD' | 'GBP' | 'EUR' | 'COP' | 'JPY' | 'CNY' | 'AUD' | 'INR' | 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BOV' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CDF' | 'CHE' | 'CHF' | 'CHW' | 'CLF' | 'CLP' | 'COU' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'FJD' | 'FKP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MXV' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW'; /** * Defines values for ItemAvailability. - * Possible values include: 'Discontinued', 'InStock', 'InStoreOnly', - * 'LimitedAvailability', 'OnlineOnly', 'OutOfStock', 'PreOrder', 'SoldOut' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ItemAvailability = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Discontinued', 'InStock', 'InStoreOnly', 'LimitedAvailability', + * 'OnlineOnly', 'OutOfStock', 'PreOrder', 'SoldOut' * @readonly * @enum {string} */ -export enum ItemAvailability { - Discontinued = 'Discontinued', - InStock = 'InStock', - InStoreOnly = 'InStoreOnly', - LimitedAvailability = 'LimitedAvailability', - OnlineOnly = 'OnlineOnly', - OutOfStock = 'OutOfStock', - PreOrder = 'PreOrder', - SoldOut = 'SoldOut', -} +export type ItemAvailability = 'Discontinued' | 'InStock' | 'InStoreOnly' | 'LimitedAvailability' | 'OnlineOnly' | 'OutOfStock' | 'PreOrder' | 'SoldOut'; /** * Defines values for ErrorCode. - * Possible values include: 'None', 'ServerError', 'InvalidRequest', - * 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorCode = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', + * 'InvalidAuthorization', 'InsufficientAuthorization' * @readonly * @enum {string} */ -export enum ErrorCode { - None = 'None', - ServerError = 'ServerError', - InvalidRequest = 'InvalidRequest', - RateLimitExceeded = 'RateLimitExceeded', - InvalidAuthorization = 'InvalidAuthorization', - InsufficientAuthorization = 'InsufficientAuthorization', -} +export type ErrorCode = 'None' | 'ServerError' | 'InvalidRequest' | 'RateLimitExceeded' | 'InvalidAuthorization' | 'InsufficientAuthorization'; /** * Defines values for ErrorSubCode. - * Possible values include: 'UnexpectedError', 'ResourceError', - * 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', - * 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing', - * 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorSubCode = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', + * 'ParameterMissing', 'ParameterInvalidValue', 'HttpNotAllowed', 'Blocked', + * 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', + * 'AuthorizationExpired' * @readonly * @enum {string} */ -export enum ErrorSubCode { - UnexpectedError = 'UnexpectedError', - ResourceError = 'ResourceError', - NotImplemented = 'NotImplemented', - ParameterMissing = 'ParameterMissing', - ParameterInvalidValue = 'ParameterInvalidValue', - HttpNotAllowed = 'HttpNotAllowed', - Blocked = 'Blocked', - AuthorizationMissing = 'AuthorizationMissing', - AuthorizationRedundancy = 'AuthorizationRedundancy', - AuthorizationDisabled = 'AuthorizationDisabled', - AuthorizationExpired = 'AuthorizationExpired', -} +export type ErrorSubCode = 'UnexpectedError' | 'ResourceError' | 'NotImplemented' | 'ParameterMissing' | 'ParameterInvalidValue' | 'HttpNotAllowed' | 'Blocked' | 'AuthorizationMissing' | 'AuthorizationRedundancy' | 'AuthorizationDisabled' | 'AuthorizationExpired'; /** * Defines values for SafeSearch. * Possible values include: 'Off', 'Moderate', 'Strict' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SafeSearch = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SafeSearch { - Off = 'Off', - Moderate = 'Moderate', - Strict = 'Strict', -} +export type SafeSearch = 'Off' | 'Moderate' | 'Strict'; /** * Contains response data for the visualSearch operation. diff --git a/packages/@azure/cognitiveservices-visualsearch/lib/models/mappers.ts b/packages/@azure/cognitiveservices-visualsearch/lib/models/mappers.ts index d9e2db248437..18fe0e02d76a 100644 --- a/packages/@azure/cognitiveservices-visualsearch/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-visualsearch/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const ResponseBase: msRest.CompositeMapper = { @@ -108,8 +108,6 @@ export const Thing: msRest.CompositeMapper = { serializedName: "image", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } }, @@ -205,8 +203,6 @@ export const NormalizedQuadrilateral: msRest.CompositeMapper = { serializedName: "topLeft", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Point2D" } }, @@ -215,8 +211,6 @@ export const NormalizedQuadrilateral: msRest.CompositeMapper = { serializedName: "topRight", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Point2D" } }, @@ -225,8 +219,6 @@ export const NormalizedQuadrilateral: msRest.CompositeMapper = { serializedName: "bottomRight", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Point2D" } }, @@ -235,8 +227,6 @@ export const NormalizedQuadrilateral: msRest.CompositeMapper = { serializedName: "bottomLeft", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Point2D" } } @@ -255,8 +245,6 @@ export const ImageTagRegion: msRest.CompositeMapper = { serializedName: "queryRectangle", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "NormalizedQuadrilateral" } }, @@ -265,8 +253,6 @@ export const ImageTagRegion: msRest.CompositeMapper = { serializedName: "displayRectangle", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "NormalizedQuadrilateral" } } @@ -298,8 +284,6 @@ export const CreativeWork: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -340,8 +324,6 @@ export const Action: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -424,8 +406,6 @@ export const ImageTag: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageAction" } } @@ -538,8 +518,6 @@ export const Offer: msRest.CompositeMapper = { serializedName: "seller", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Organization" } }, @@ -570,8 +548,6 @@ export const Offer: msRest.CompositeMapper = { serializedName: "aggregateRating", type: { name: "Composite", - polymorphicDiscriminator: PropertiesItem.type.polymorphicDiscriminator, - uberParent: "PropertiesItem", className: "AggregateRating" } }, @@ -603,8 +579,6 @@ export const AggregateOffer: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Offer" } } @@ -639,8 +613,6 @@ export const ImagesImageMetadata: msRest.CompositeMapper = { serializedName: "aggregateOffer", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "AggregateOffer" } } @@ -724,8 +696,6 @@ export const ImageObject: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } }, @@ -786,8 +756,6 @@ export const ImageKnowledge: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageTag" } } @@ -798,8 +766,6 @@ export const ImageKnowledge: msRest.CompositeMapper = { serializedName: "image", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -940,8 +906,6 @@ export const ImagesModule: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -1020,8 +984,6 @@ export const RecipesModule: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Recipe" } } @@ -1091,8 +1053,6 @@ export const Query: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -1158,8 +1118,6 @@ export const ImageShoppingSourcesAction: msRest.CompositeMapper = { serializedName: "data", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "AggregateOffer" } } diff --git a/packages/@azure/cognitiveservices-visualsearch/lib/models/parameters.ts b/packages/@azure/cognitiveservices-visualsearch/lib/models/parameters.ts index 08ed25f4f98a..2d14c8c77cfe 100644 --- a/packages/@azure/cognitiveservices-visualsearch/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-visualsearch/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: [ @@ -58,6 +58,18 @@ export const contentType: msRest.OperationParameter = { } } }; +export const endpoint: msRest.OperationURLParameter = { + parameterPath: "endpoint", + mapper: { + required: true, + serializedName: "Endpoint", + defaultValue: 'https://api.cognitive.microsoft.com', + type: { + name: "String" + } + }, + skipEncoding: true +}; export const image: msRest.OperationParameter = { parameterPath: [ "options", diff --git a/packages/@azure/cognitiveservices-visualsearch/lib/operations/images.ts b/packages/@azure/cognitiveservices-visualsearch/lib/operations/images.ts index 833ce5d16acf..746aa822cc4c 100644 --- a/packages/@azure/cognitiveservices-visualsearch/lib/operations/images.ts +++ b/packages/@azure/cognitiveservices-visualsearch/lib/operations/images.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/imagesMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Images { * @param callback The callback */ visualSearch(options: Models.ImagesVisualSearchOptionalParams, callback: msRest.ServiceCallback): void; - visualSearch(options?: Models.ImagesVisualSearchOptionalParams, callback?: msRest.ServiceCallback): Promise { + visualSearch(options?: Models.ImagesVisualSearchOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -59,7 +59,10 @@ export class Images { const serializer = new msRest.Serializer(Mappers); const visualSearchOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "bing/v7.0/images/visualsearch", + path: "images/visualsearch", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.market, Parameters.safeSearch, diff --git a/packages/@azure/cognitiveservices-visualsearch/lib/visualSearchAPIClient.ts b/packages/@azure/cognitiveservices-visualsearch/lib/visualSearchAPIClient.ts index 9d5f97c0cf4a..7758aab6a93d 100644 --- a/packages/@azure/cognitiveservices-visualsearch/lib/visualSearchAPIClient.ts +++ b/packages/@azure/cognitiveservices-visualsearch/lib/visualSearchAPIClient.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/cognitiveservices-visualsearch/lib/visualSearchAPIClientContext.ts b/packages/@azure/cognitiveservices-visualsearch/lib/visualSearchAPIClientContext.ts index 034a911e7a4d..95ad865ac9ec 100644 --- a/packages/@azure/cognitiveservices-visualsearch/lib/visualSearchAPIClientContext.ts +++ b/packages/@azure/cognitiveservices-visualsearch/lib/visualSearchAPIClientContext.ts @@ -8,13 +8,14 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; const packageName = "@azure/cognitiveservices-visualsearch"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class VisualSearchAPIClientContext extends msRest.ServiceClient { + endpoint?: string; credentials: msRest.ServiceClientCredentials; /** @@ -30,13 +31,20 @@ export class VisualSearchAPIClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); - this.baseUri = options.baseUri || this.baseUri || "https://api.cognitive.microsoft.com"; + this.endpoint = 'https://api.cognitive.microsoft.com'; + this.baseUri = "{Endpoint}"; this.requestContentType = "multipart/form-data"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); + if(options.endpoint !== null && options.endpoint !== undefined) { + this.endpoint = options.endpoint; + } } } diff --git a/packages/@azure/cognitiveservices-visualsearch/package.json b/packages/@azure/cognitiveservices-visualsearch/package.json index 4c18e4b9cb03..a45364fe64d7 100644 --- a/packages/@azure/cognitiveservices-visualsearch/package.json +++ b/packages/@azure/cognitiveservices-visualsearch/package.json @@ -4,7 +4,7 @@ "description": "VisualSearchAPIClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -51,4 +51,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-visualsearch/rollup.config.js b/packages/@azure/cognitiveservices-visualsearch/rollup.config.js index 837b7b94406c..eff83e0c2767 100644 --- a/packages/@azure/cognitiveservices-visualsearch/rollup.config.js +++ b/packages/@azure/cognitiveservices-visualsearch/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/visualSearchAPIClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-visualsearch.js", format: "umd", name: "Azure.CognitiveservicesVisualsearch", 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/cognitiveservices-visualsearch/tsconfig.json b/packages/@azure/cognitiveservices-visualsearch/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-visualsearch/tsconfig.json +++ b/packages/@azure/cognitiveservices-visualsearch/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/cognitiveservices-websearch/README.md b/packages/@azure/cognitiveservices-websearch/README.md index d1a4e3af4c15..7b541ff47278 100644 --- a/packages/@azure/cognitiveservices-websearch/README.md +++ b/packages/@azure/cognitiveservices-websearch/README.md @@ -1,26 +1,33 @@ -# An isomorphic javascript sdk for - WebSearchAPIClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - WebSearchAPIClient -## How to Install +This package contains an isomorphic SDK for WebSearchAPIClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/cognitiveservices-websearch ``` -- browser -```html - -``` -## How to use +### How to use -### nodejs - Authentication, client creation and search web as an example written in TypeScript. +#### nodejs - Authentication, client creation and search web as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code ```ts -import * as msRest from "ms-rest-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { WebSearchAPIClient, WebSearchAPIModels, WebSearchAPIMappers } from "@azure/cognitiveservices-websearch"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -54,7 +61,17 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and search web as an example written in javascript. +#### browser - Authentication, client creation and search web as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -62,8 +79,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => { @azure/cognitiveservices-websearch 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/cognitiveservices-websearch/lib/models/index.ts b/packages/@azure/cognitiveservices-websearch/lib/models/index.ts index 7b83d512088e..008899fac211 100644 --- a/packages/@azure/cognitiveservices-websearch/lib/models/index.ts +++ b/packages/@azure/cognitiveservices-websearch/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { ServiceClientOptions } from "ms-rest-js"; -import * as msRest from "ms-rest-js"; +import { ServiceClientOptions } from "@azure/ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -2050,9 +2050,13 @@ export interface StructuredValue { */ export interface WebSearchAPIClientOptions extends ServiceClientOptions { /** - * @member {string} [baseUri] + * @member {string} [endpoint] Supported Cognitive Services endpoints + * (protocol and hostname, for example: + * "https://westus.api.cognitive.microsoft.com", + * "https://api.cognitive.microsoft.com"). Default value: + * 'https://api.cognitive.microsoft.com' . */ - baseUri?: string; + endpoint?: string; } /** @@ -2342,120 +2346,56 @@ export interface WebSearchOptionalParams extends msRest.RequestOptionsBase { /** * Defines values for AnswerType. - * Possible values include: 'WebPages', 'Images', 'SpellSuggestions', 'News', - * 'RelatedSearches', 'Videos', 'Computation', 'TimeZone' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: AnswerType = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'WebPages', 'Images', 'SpellSuggestions', 'News', 'RelatedSearches', + * 'Videos', 'Computation', 'TimeZone' * @readonly * @enum {string} */ -export enum AnswerType { - WebPages = 'WebPages', - Images = 'Images', - SpellSuggestions = 'SpellSuggestions', - News = 'News', - RelatedSearches = 'RelatedSearches', - Videos = 'Videos', - Computation = 'Computation', - TimeZone = 'TimeZone', -} +export type AnswerType = 'WebPages' | 'Images' | 'SpellSuggestions' | 'News' | 'RelatedSearches' | 'Videos' | 'Computation' | 'TimeZone'; /** * Defines values for ErrorCode. - * Possible values include: 'None', 'ServerError', 'InvalidRequest', - * 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorCode = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', + * 'InvalidAuthorization', 'InsufficientAuthorization' * @readonly * @enum {string} */ -export enum ErrorCode { - None = 'None', - ServerError = 'ServerError', - InvalidRequest = 'InvalidRequest', - RateLimitExceeded = 'RateLimitExceeded', - InvalidAuthorization = 'InvalidAuthorization', - InsufficientAuthorization = 'InsufficientAuthorization', -} +export type ErrorCode = 'None' | 'ServerError' | 'InvalidRequest' | 'RateLimitExceeded' | 'InvalidAuthorization' | 'InsufficientAuthorization'; /** * Defines values for ErrorSubCode. - * Possible values include: 'UnexpectedError', 'ResourceError', - * 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', - * 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing', - * 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ErrorSubCode = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', + * 'ParameterMissing', 'ParameterInvalidValue', 'HttpNotAllowed', 'Blocked', + * 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', + * 'AuthorizationExpired' * @readonly * @enum {string} */ -export enum ErrorSubCode { - UnexpectedError = 'UnexpectedError', - ResourceError = 'ResourceError', - NotImplemented = 'NotImplemented', - ParameterMissing = 'ParameterMissing', - ParameterInvalidValue = 'ParameterInvalidValue', - HttpNotAllowed = 'HttpNotAllowed', - Blocked = 'Blocked', - AuthorizationMissing = 'AuthorizationMissing', - AuthorizationRedundancy = 'AuthorizationRedundancy', - AuthorizationDisabled = 'AuthorizationDisabled', - AuthorizationExpired = 'AuthorizationExpired', -} +export type ErrorSubCode = 'UnexpectedError' | 'ResourceError' | 'NotImplemented' | 'ParameterMissing' | 'ParameterInvalidValue' | 'HttpNotAllowed' | 'Blocked' | 'AuthorizationMissing' | 'AuthorizationRedundancy' | 'AuthorizationDisabled' | 'AuthorizationExpired'; /** * Defines values for Freshness. * Possible values include: 'Day', 'Week', 'Month' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: Freshness = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum Freshness { - Day = 'Day', - Week = 'Week', - Month = 'Month', -} +export type Freshness = 'Day' | 'Week' | 'Month'; /** * Defines values for SafeSearch. * Possible values include: 'Off', 'Moderate', 'Strict' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SafeSearch = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SafeSearch { - Off = 'Off', - Moderate = 'Moderate', - Strict = 'Strict', -} +export type SafeSearch = 'Off' | 'Moderate' | 'Strict'; /** * Defines values for TextFormat. * Possible values include: 'Raw', 'Html' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: TextFormat = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum TextFormat { - Raw = 'Raw', - Html = 'Html', -} +export type TextFormat = 'Raw' | 'Html'; /** * Contains response data for the search operation. diff --git a/packages/@azure/cognitiveservices-websearch/lib/models/mappers.ts b/packages/@azure/cognitiveservices-websearch/lib/models/mappers.ts index f95e73f60694..f7934b112d47 100644 --- a/packages/@azure/cognitiveservices-websearch/lib/models/mappers.ts +++ b/packages/@azure/cognitiveservices-websearch/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const QueryContext: msRest.CompositeMapper = { @@ -177,8 +177,6 @@ export const Thing: msRest.CompositeMapper = { serializedName: "image", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } }, @@ -224,8 +222,6 @@ export const CreativeWork: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -297,8 +293,6 @@ export const ImageObject: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -337,8 +331,6 @@ export const WebPage: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "WebPage" } } @@ -369,8 +361,6 @@ export const WebPage: msRest.CompositeMapper = { serializedName: "primaryImageOfPage", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -456,8 +446,6 @@ export const WebWebAnswer: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "WebPage" } } @@ -513,8 +501,6 @@ export const Query: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -546,8 +532,6 @@ export const Images: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } } @@ -646,8 +630,6 @@ export const News: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "NewsArticle" } } @@ -830,8 +812,6 @@ export const VideoObject: msRest.CompositeMapper = { serializedName: "thumbnail", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "ImageObject" } }, @@ -877,8 +857,6 @@ export const Videos: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "VideoObject" } } @@ -974,8 +952,6 @@ export const RankingRankingItem: msRest.CompositeMapper = { serializedName: "value", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Identifiable" } }, @@ -1083,8 +1059,6 @@ export const SearchResponse: msRest.CompositeMapper = { serializedName: "webPages", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "WebWebAnswer" } }, @@ -1093,8 +1067,6 @@ export const SearchResponse: msRest.CompositeMapper = { serializedName: "images", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Images" } }, @@ -1103,8 +1075,6 @@ export const SearchResponse: msRest.CompositeMapper = { serializedName: "news", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "News" } }, @@ -1113,8 +1083,6 @@ export const SearchResponse: msRest.CompositeMapper = { serializedName: "relatedSearches", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "RelatedSearchesRelatedSearchAnswer" } }, @@ -1123,8 +1091,6 @@ export const SearchResponse: msRest.CompositeMapper = { serializedName: "spellSuggestions", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "SpellSuggestions" } }, @@ -1133,8 +1099,6 @@ export const SearchResponse: msRest.CompositeMapper = { serializedName: "timeZone", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "TimeZone" } }, @@ -1143,8 +1107,6 @@ export const SearchResponse: msRest.CompositeMapper = { serializedName: "videos", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Videos" } }, @@ -1153,8 +1115,6 @@ export const SearchResponse: msRest.CompositeMapper = { serializedName: "computation", type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Computation" } }, @@ -1187,8 +1147,6 @@ export const Places: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "Thing" } } @@ -1296,8 +1254,6 @@ export const WebWebGrouping: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: ResponseBase.type.polymorphicDiscriminator, - uberParent: "ResponseBase", className: "WebPage" } } diff --git a/packages/@azure/cognitiveservices-websearch/lib/models/parameters.ts b/packages/@azure/cognitiveservices-websearch/lib/models/parameters.ts index 3029c16d9902..cc30c13ef9d7 100644 --- a/packages/@azure/cognitiveservices-websearch/lib/models/parameters.ts +++ b/packages/@azure/cognitiveservices-websearch/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: [ @@ -82,6 +82,18 @@ export const countryCode: msRest.OperationQueryParameter = { } } }; +export const endpoint: msRest.OperationURLParameter = { + parameterPath: "endpoint", + mapper: { + required: true, + serializedName: "Endpoint", + defaultValue: 'https://api.cognitive.microsoft.com', + type: { + name: "String" + } + }, + skipEncoding: true +}; export const freshness: msRest.OperationQueryParameter = { parameterPath: [ "options", diff --git a/packages/@azure/cognitiveservices-websearch/lib/operations/web.ts b/packages/@azure/cognitiveservices-websearch/lib/operations/web.ts index a30e889604d5..f149211c907f 100644 --- a/packages/@azure/cognitiveservices-websearch/lib/operations/web.ts +++ b/packages/@azure/cognitiveservices-websearch/lib/operations/web.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/webMappers"; import * as Parameters from "../models/parameters"; @@ -48,7 +48,7 @@ export class Web { * @param callback The callback */ search(query: string, options: Models.WebSearchOptionalParams, callback: msRest.ServiceCallback): void; - search(query: string, options?: Models.WebSearchOptionalParams, callback?: msRest.ServiceCallback): Promise { + search(query: string, options?: Models.WebSearchOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { query, @@ -63,7 +63,10 @@ export class Web { const serializer = new msRest.Serializer(Mappers); const searchOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "bing/v7.0/search", + path: "search", + urlParameters: [ + Parameters.endpoint + ], queryParameters: [ Parameters.answerCount, Parameters.countryCode, diff --git a/packages/@azure/cognitiveservices-websearch/lib/webSearchAPIClient.ts b/packages/@azure/cognitiveservices-websearch/lib/webSearchAPIClient.ts index 2a39cf596dde..53992c918991 100644 --- a/packages/@azure/cognitiveservices-websearch/lib/webSearchAPIClient.ts +++ b/packages/@azure/cognitiveservices-websearch/lib/webSearchAPIClient.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/cognitiveservices-websearch/lib/webSearchAPIClientContext.ts b/packages/@azure/cognitiveservices-websearch/lib/webSearchAPIClientContext.ts index 944af24ef163..238e6a19e130 100644 --- a/packages/@azure/cognitiveservices-websearch/lib/webSearchAPIClientContext.ts +++ b/packages/@azure/cognitiveservices-websearch/lib/webSearchAPIClientContext.ts @@ -8,13 +8,14 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; const packageName = "@azure/cognitiveservices-websearch"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class WebSearchAPIClientContext extends msRest.ServiceClient { + endpoint?: string; credentials: msRest.ServiceClientCredentials; /** @@ -30,13 +31,20 @@ export class WebSearchAPIClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); - this.baseUri = options.baseUri || this.baseUri || "https://api.cognitive.microsoft.com"; + this.endpoint = 'https://api.cognitive.microsoft.com'; + this.baseUri = "{Endpoint}"; this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); + if(options.endpoint !== null && options.endpoint !== undefined) { + this.endpoint = options.endpoint; + } } } diff --git a/packages/@azure/cognitiveservices-websearch/package.json b/packages/@azure/cognitiveservices-websearch/package.json index 438816f4a6aa..f0d834647259 100644 --- a/packages/@azure/cognitiveservices-websearch/package.json +++ b/packages/@azure/cognitiveservices-websearch/package.json @@ -4,7 +4,7 @@ "description": "WebSearchAPIClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -51,4 +51,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/cognitiveservices-websearch/rollup.config.js b/packages/@azure/cognitiveservices-websearch/rollup.config.js index 5d77816a5365..c285bbba747d 100644 --- a/packages/@azure/cognitiveservices-websearch/rollup.config.js +++ b/packages/@azure/cognitiveservices-websearch/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/webSearchAPIClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/cognitiveservices-websearch.js", format: "umd", name: "Azure.CognitiveservicesWebsearch", 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/cognitiveservices-websearch/tsconfig.json b/packages/@azure/cognitiveservices-websearch/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/cognitiveservices-websearch/tsconfig.json +++ b/packages/@azure/cognitiveservices-websearch/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/eventgrid/.npmignore b/packages/@azure/eventgrid/.npmignore deleted file mode 100644 index 3b46bc6202d8..000000000000 --- a/packages/@azure/eventgrid/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/eventgrid/README.md b/packages/@azure/eventgrid/README.md index 290cbbfcb406..1a4e74452b99 100644 --- a/packages/@azure/eventgrid/README.md +++ b/packages/@azure/eventgrid/README.md @@ -1,24 +1,34 @@ -# Azure EventGridClient SDK for JavaScript +## Azure EventGridClient SDK for JavaScript + This package contains an isomorphic SDK for EventGridClient. -## 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/eventgrid ``` +### How to use + +#### nodejs - Authentication, client creation and publishEvents as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and publishEvents as an example written in TypeScript. +##### Sample code ```ts -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 { EventGridClient, EventGridModels, EventGridMappers } from "@azure/eventgrid"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -43,7 +53,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and publishEvents as an example written in JavaScript. +#### browser - Authentication, client creation and publishEvents as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -52,11 +71,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/eventgrid 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/eventgrid/lib/eventGridClient.ts b/packages/@azure/eventgrid/lib/eventGridClient.ts index 19738e0c5485..2405169a7c16 100644 --- a/packages/@azure/eventgrid/lib/eventGridClient.ts +++ b/packages/@azure/eventgrid/lib/eventGridClient.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/mappers"; import * as Parameters from "./models/parameters"; @@ -47,7 +47,7 @@ class EventGridClient extends EventGridClientContext { * @param callback The callback */ publishEvents(topicHostname: string, events: Models.EventGridEvent[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - publishEvents(topicHostname: string, events: Models.EventGridEvent[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + publishEvents(topicHostname: string, events: Models.EventGridEvent[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { topicHostname, diff --git a/packages/@azure/eventgrid/lib/eventGridClientContext.ts b/packages/@azure/eventgrid/lib/eventGridClientContext.ts index 02b999702a65..2847ccadf7e7 100644 --- a/packages/@azure/eventgrid/lib/eventGridClientContext.ts +++ b/packages/@azure/eventgrid/lib/eventGridClientContext.ts @@ -8,21 +8,15 @@ * 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"; const packageName = "@azure/eventgrid"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class EventGridClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the EventGridClient class. @@ -37,6 +31,11 @@ export class EventGridClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '2018-01-01'; @@ -46,7 +45,6 @@ export class EventGridClientContext extends msRestAzure.AzureServiceClient { this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/eventgrid/lib/models/index.ts b/packages/@azure/eventgrid/lib/models/index.ts index c8a571de07ea..8a5b88bd2814 100644 --- a/packages/@azure/eventgrid/lib/models/index.ts +++ b/packages/@azure/eventgrid/lib/models/index.ts @@ -8,7 +8,7 @@ * regenerated. */ -import { BaseResource, CloudError } from "ms-rest-azure-js"; +import { BaseResource, CloudError } from "@azure/ms-rest-azure-js"; export { BaseResource, CloudError }; @@ -2102,133 +2102,30 @@ export interface MediaLiveEventTrackDiscontinuityDetectedEventData { /** * Defines values for MediaJobState. - * Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', - * 'Processing', 'Queued', 'Scheduled' + * Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', + * 'Scheduled' * @readonly * @enum {string} */ -export enum MediaJobState { - /** - * The job was canceled. This is a final state for the job. - */ - Canceled = 'Canceled', - /** - * The job is in the process of being canceled. This is a transient state for - * the job. - */ - Canceling = 'Canceling', - /** - * The job has encountered an error. This is a final state for the job. - */ - Error = 'Error', - /** - * The job is finished. This is a final state for the job. - */ - Finished = 'Finished', - /** - * The job is processing. This is a transient state for the job. - */ - Processing = 'Processing', - /** - * The job is in a queued state, waiting for resources to become available. - * This is a transient state. - */ - Queued = 'Queued', - /** - * The job is being scheduled to run on an available resource. This is a - * transient state, between queued and processing states. - */ - Scheduled = 'Scheduled', -} +export type MediaJobState = 'Canceled' | 'Canceling' | 'Error' | 'Finished' | 'Processing' | 'Queued' | 'Scheduled'; /** * Defines values for MediaJobErrorCode. - * Possible values include: 'ServiceError', 'ServiceTransientError', - * 'DownloadNotAccessible', 'DownloadTransientError', 'UploadNotAccessible', - * 'UploadTransientError', 'ConfigurationUnsupported', 'ContentMalformed', - * 'ContentUnsupported' + * Possible values include: 'ServiceError', 'ServiceTransientError', 'DownloadNotAccessible', + * 'DownloadTransientError', 'UploadNotAccessible', 'UploadTransientError', + * 'ConfigurationUnsupported', 'ContentMalformed', 'ContentUnsupported' * @readonly * @enum {string} */ -export enum MediaJobErrorCode { - /** - * Fatal service error, please contact support. - */ - ServiceError = 'ServiceError', - /** - * Transient error, please retry, if retry is unsuccessful, please contact - * support. - */ - ServiceTransientError = 'ServiceTransientError', - /** - * While trying to download the input files, the files were not accessible, - * please check the availability of the source. - */ - DownloadNotAccessible = 'DownloadNotAccessible', - /** - * While trying to download the input files, there was an issue during - * transfer (storage service, network errors), see details and check your - * source. - */ - DownloadTransientError = 'DownloadTransientError', - /** - * While trying to upload the output files, the destination was not - * reachable, please check the availability of the destination. - */ - UploadNotAccessible = 'UploadNotAccessible', - /** - * While trying to upload the output files, there was an issue during - * transfer (storage service, network errors), see details and check your - * destination. - */ - UploadTransientError = 'UploadTransientError', - /** - * There was a problem with the combination of input files and the - * configuration settings applied, fix the configuration settings and retry - * with the same input, or change input to match the configuration. - */ - ConfigurationUnsupported = 'ConfigurationUnsupported', - /** - * There was a problem with the input content (for example: zero byte files, - * or corrupt/non-decodable files), check the input files. - */ - ContentMalformed = 'ContentMalformed', - /** - * There was a problem with the format of the input (not valid media file, or - * an unsupported file/codec), check the validity of the input files. - */ - ContentUnsupported = 'ContentUnsupported', -} +export type MediaJobErrorCode = 'ServiceError' | 'ServiceTransientError' | 'DownloadNotAccessible' | 'DownloadTransientError' | 'UploadNotAccessible' | 'UploadTransientError' | 'ConfigurationUnsupported' | 'ContentMalformed' | 'ContentUnsupported'; /** * Defines values for MediaJobErrorCategory. - * Possible values include: 'Service', 'Download', 'Upload', 'Configuration', - * 'Content' + * Possible values include: 'Service', 'Download', 'Upload', 'Configuration', 'Content' * @readonly * @enum {string} */ -export enum MediaJobErrorCategory { - /** - * The error is service related. - */ - Service = 'Service', - /** - * The error is download related. - */ - Download = 'Download', - /** - * The error is upload related. - */ - Upload = 'Upload', - /** - * The error is configuration related. - */ - Configuration = 'Configuration', - /** - * The error is related to data in the input files. - */ - Content = 'Content', -} +export type MediaJobErrorCategory = 'Service' | 'Download' | 'Upload' | 'Configuration' | 'Content'; /** * Defines values for MediaJobRetry. @@ -2236,15 +2133,4 @@ export enum MediaJobErrorCategory { * @readonly * @enum {string} */ -export enum MediaJobRetry { - /** - * Issue needs to be investigated and then the job resubmitted with - * corrections or retried once the underlying issue has been corrected. - */ - DoNotRetry = 'DoNotRetry', - /** - * Issue may be resolved after waiting for a period of time and resubmitting - * the same Job. - */ - MayRetry = 'MayRetry', -} +export type MediaJobRetry = 'DoNotRetry' | 'MayRetry'; diff --git a/packages/@azure/eventgrid/lib/models/mappers.ts b/packages/@azure/eventgrid/lib/models/mappers.ts index 8be655e7bf30..1c19fb168b5f 100644 --- a/packages/@azure/eventgrid/lib/models/mappers.ts +++ b/packages/@azure/eventgrid/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -1858,11 +1858,6 @@ export const MediaJobOutputStateChangeEventData: msRest.CompositeMapper = { serializedName: "output", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "MediaJobOutput", className: "MediaJobOutput" } }, @@ -1928,11 +1923,6 @@ export const MediaJobFinishedEventData: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "MediaJobOutput", className: "MediaJobOutput" } } @@ -1956,11 +1946,6 @@ export const MediaJobCanceledEventData: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "MediaJobOutput", className: "MediaJobOutput" } } @@ -1984,11 +1969,6 @@ export const MediaJobErroredEventData: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "@odata.type", - clientName: "odatatype" - }, - uberParent: "MediaJobOutput", className: "MediaJobOutput" } } diff --git a/packages/@azure/eventgrid/lib/models/parameters.ts b/packages/@azure/eventgrid/lib/models/parameters.ts index 0650cdea3493..e2fe552eddfe 100644 --- a/packages/@azure/eventgrid/lib/models/parameters.ts +++ b/packages/@azure/eventgrid/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/eventgrid/package.json b/packages/@azure/eventgrid/package.json index 47b8d32d7980..486bf2783cbf 100644 --- a/packages/@azure/eventgrid/package.json +++ b/packages/@azure/eventgrid/package.json @@ -4,8 +4,8 @@ "description": "EventGridClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -33,10 +33,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/eventgrid.js.map'\" -o ./dist/eventgrid.min.js ./dist/eventgrid.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/eventgrid/rollup.config.js b/packages/@azure/eventgrid/rollup.config.js index 72e32c42a07d..39cb715f189b 100644 --- a/packages/@azure/eventgrid/rollup.config.js +++ b/packages/@azure/eventgrid/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/eventGridClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/eventgrid.js", format: "umd", name: "Azure.Eventgrid", 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/eventgrid/tsconfig.esm.json b/packages/@azure/eventgrid/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/eventgrid/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/eventgrid/tsconfig.json b/packages/@azure/eventgrid/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/eventgrid/tsconfig.json +++ b/packages/@azure/eventgrid/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/eventgrid/webpack.config.js b/packages/@azure/eventgrid/webpack.config.js deleted file mode 100644 index 210377c35057..000000000000 --- a/packages/@azure/eventgrid/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/eventGridClient.js', - devtool: 'source-map', - output: { - filename: 'eventGridClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'eventGridClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/graph/README.md b/packages/@azure/graph/README.md index a6b5947ec87e..30ed73d24a30 100644 --- a/packages/@azure/graph/README.md +++ b/packages/@azure/graph/README.md @@ -1,29 +1,39 @@ -# Azure GraphRbacManagementClient SDK for JavaScript +## Azure GraphRbacManagementClient SDK for JavaScript + This package contains an isomorphic SDK for GraphRbacManagementClient. -## 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/graph ``` +### How to use + +#### nodejs - Authentication, client creation and get signedInUser as an example written in TypeScript. -## How to use +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` -### nodejs - Authentication, client creation and get signedInUser as an example written in TypeScript. +##### Sample code ```ts -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 { GraphRbacManagementClient, GraphRbacManagementModels, GraphRbacManagementMappers } from "@azure/graph"; -const tenantId = process.env["AZURE_TENANT_ID"]; +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new GraphRbacManagementClient(creds, tenantId); + const client = new GraphRbacManagementClient(creds, subscriptionId); client.signedInUser.get().then((result) => { console.log("The result is:"); console.log(result); @@ -33,7 +43,16 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and get signedInUser as an example written in JavaScript. +#### browser - Authentication, client creation and get signedInUser as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -42,12 +61,12 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/graph 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/graph/lib/graphRbacManagementClient.ts b/packages/@azure/graph/lib/graphRbacManagementClient.ts index 76a90ee21c02..c9a03bdb6cf1 100644 --- a/packages/@azure/graph/lib/graphRbacManagementClient.ts +++ b/packages/@azure/graph/lib/graphRbacManagementClient.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/graph/lib/graphRbacManagementClientContext.ts b/packages/@azure/graph/lib/graphRbacManagementClientContext.ts index 1426fb2421ed..6ad0e2233daa 100644 --- a/packages/@azure/graph/lib/graphRbacManagementClientContext.ts +++ b/packages/@azure/graph/lib/graphRbacManagementClientContext.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/graph"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class GraphRbacManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -37,6 +37,11 @@ export class GraphRbacManagementClientContext extends msRestAzure.AzureServiceCl if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '1.6'; @@ -47,7 +52,6 @@ export class GraphRbacManagementClientContext extends msRestAzure.AzureServiceCl this.credentials = credentials; this.tenantID = tenantID; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/graph/lib/models/index.ts b/packages/@azure/graph/lib/models/index.ts index 0a272387705a..e18d2325314b 100644 --- a/packages/@azure/graph/lib/models/index.ts +++ b/packages/@azure/graph/lib/models/index.ts @@ -8,8 +8,8 @@ * 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 }; @@ -1453,17 +1453,10 @@ export interface DomainListResult extends Array { /** * Defines values for UserType. * Possible values include: 'Member', 'Guest' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UserType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum UserType { - Member = 'Member', - Guest = 'Guest', -} +export type UserType = 'Member' | 'Guest'; /** * Contains response data for the get operation. diff --git a/packages/@azure/graph/lib/models/mappers.ts b/packages/@azure/graph/lib/models/mappers.ts index d3c85f8f8f40..7022f2da87d4 100644 --- a/packages/@azure/graph/lib/models/mappers.ts +++ b/packages/@azure/graph/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; @@ -1698,11 +1698,6 @@ export const DirectoryObjectListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "objectType", - clientName: "objectType" - }, - uberParent: "DirectoryObject", className: "DirectoryObject", additionalProperties: { type: { @@ -1736,8 +1731,6 @@ export const ApplicationListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: DirectoryObject.type.polymorphicDiscriminator, - uberParent: "DirectoryObject", className: "Application", additionalProperties: DirectoryObject.type.additionalProperties } @@ -1821,8 +1814,6 @@ export const GroupListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: DirectoryObject.type.polymorphicDiscriminator, - uberParent: "DirectoryObject", className: "ADGroup", additionalProperties: DirectoryObject.type.additionalProperties } @@ -1873,8 +1864,6 @@ export const ServicePrincipalListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: DirectoryObject.type.polymorphicDiscriminator, - uberParent: "DirectoryObject", className: "ServicePrincipal", additionalProperties: DirectoryObject.type.additionalProperties } @@ -1904,8 +1893,6 @@ export const UserListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - polymorphicDiscriminator: DirectoryObject.type.polymorphicDiscriminator, - uberParent: "DirectoryObject", className: "User", additionalProperties: DirectoryObject.type.additionalProperties } diff --git a/packages/@azure/graph/lib/models/parameters.ts b/packages/@azure/graph/lib/models/parameters.ts index c5feac022131..57d946162f5d 100644 --- a/packages/@azure/graph/lib/models/parameters.ts +++ b/packages/@azure/graph/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/graph/lib/operations/applications.ts b/packages/@azure/graph/lib/operations/applications.ts index 1e88900bf04a..1f9021edd05a 100644 --- a/packages/@azure/graph/lib/operations/applications.ts +++ b/packages/@azure/graph/lib/operations/applications.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/applicationsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class Applications { * @param callback The callback */ create(parameters: Models.ApplicationCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(parameters: Models.ApplicationCreateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(parameters: Models.ApplicationCreateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -69,7 +69,7 @@ export class Applications { * @param callback The callback */ list(options: Models.ApplicationsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.ApplicationsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.ApplicationsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -96,7 +96,7 @@ export class Applications { * @param callback The callback */ deleteMethod(applicationObjectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(applicationObjectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(applicationObjectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applicationObjectId, @@ -124,7 +124,7 @@ export class Applications { * @param callback The callback */ get(applicationObjectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(applicationObjectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(applicationObjectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applicationObjectId, @@ -155,7 +155,7 @@ export class Applications { * @param callback The callback */ patch(applicationObjectId: string, parameters: Models.ApplicationUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - patch(applicationObjectId: string, parameters: Models.ApplicationUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + patch(applicationObjectId: string, parameters: Models.ApplicationUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applicationObjectId, @@ -185,7 +185,7 @@ export class Applications { * @param callback The callback */ listOwners(applicationObjectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOwners(applicationObjectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOwners(applicationObjectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applicationObjectId, @@ -219,7 +219,7 @@ export class Applications { * @param callback The callback */ addOwner(applicationObjectId: string, parameters: Models.AddOwnerParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addOwner(applicationObjectId: string, parameters: Models.AddOwnerParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addOwner(applicationObjectId: string, parameters: Models.AddOwnerParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applicationObjectId, @@ -251,7 +251,7 @@ export class Applications { * @param callback The callback */ removeOwner(applicationObjectId: string, ownerObjectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - removeOwner(applicationObjectId: string, ownerObjectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + removeOwner(applicationObjectId: string, ownerObjectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applicationObjectId, @@ -280,7 +280,7 @@ export class Applications { * @param callback The callback */ listKeyCredentials(applicationObjectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeyCredentials(applicationObjectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeyCredentials(applicationObjectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applicationObjectId, @@ -311,7 +311,7 @@ export class Applications { * @param callback The callback */ updateKeyCredentials(applicationObjectId: string, value: Models.KeyCredential[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateKeyCredentials(applicationObjectId: string, value: Models.KeyCredential[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateKeyCredentials(applicationObjectId: string, value: Models.KeyCredential[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applicationObjectId, @@ -340,7 +340,7 @@ export class Applications { * @param callback The callback */ listPasswordCredentials(applicationObjectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPasswordCredentials(applicationObjectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPasswordCredentials(applicationObjectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applicationObjectId, @@ -371,7 +371,7 @@ export class Applications { * @param callback The callback */ updatePasswordCredentials(applicationObjectId: string, value: Models.PasswordCredential[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updatePasswordCredentials(applicationObjectId: string, value: Models.PasswordCredential[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updatePasswordCredentials(applicationObjectId: string, value: Models.PasswordCredential[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applicationObjectId, @@ -400,7 +400,7 @@ export class Applications { * @param callback The callback */ listNext(nextLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextLink, @@ -429,7 +429,7 @@ export class Applications { * @param callback The callback */ listOwnersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOwnersNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOwnersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/graph/lib/operations/deletedApplications.ts b/packages/@azure/graph/lib/operations/deletedApplications.ts index b72073051023..27a02f296c4c 100644 --- a/packages/@azure/graph/lib/operations/deletedApplications.ts +++ b/packages/@azure/graph/lib/operations/deletedApplications.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/deletedApplicationsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class DeletedApplications { * @param callback The callback */ restore(objectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - restore(objectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + restore(objectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -69,7 +69,7 @@ export class DeletedApplications { * @param callback The callback */ list(options: Models.DeletedApplicationsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.DeletedApplicationsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.DeletedApplicationsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -96,7 +96,7 @@ export class DeletedApplications { * @param callback The callback */ hardDelete(applicationObjectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - hardDelete(applicationObjectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + hardDelete(applicationObjectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { applicationObjectId, @@ -124,7 +124,7 @@ export class DeletedApplications { * @param callback The callback */ listNext(nextLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextLink, diff --git a/packages/@azure/graph/lib/operations/domains.ts b/packages/@azure/graph/lib/operations/domains.ts index 4345f6edccaa..5a7c6dca619e 100644 --- a/packages/@azure/graph/lib/operations/domains.ts +++ b/packages/@azure/graph/lib/operations/domains.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/domainsMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class Domains { * @param callback The callback */ list(options: Models.DomainsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.DomainsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.DomainsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -68,7 +68,7 @@ export class Domains { * @param callback The callback */ get(domainName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(domainName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(domainName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { domainName, diff --git a/packages/@azure/graph/lib/operations/groups.ts b/packages/@azure/graph/lib/operations/groups.ts index 1fe4baa80116..bbbb65ef2645 100644 --- a/packages/@azure/graph/lib/operations/groups.ts +++ b/packages/@azure/graph/lib/operations/groups.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/groupsMappers"; import * as Parameters from "../models/parameters"; @@ -45,7 +45,7 @@ export class Groups { * @param callback The callback */ isMemberOf(parameters: Models.CheckGroupMembershipParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - isMemberOf(parameters: Models.CheckGroupMembershipParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + isMemberOf(parameters: Models.CheckGroupMembershipParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -76,7 +76,7 @@ export class Groups { * @param callback The callback */ removeMember(groupObjectId: string, memberObjectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - removeMember(groupObjectId: string, memberObjectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + removeMember(groupObjectId: string, memberObjectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { groupObjectId, @@ -111,7 +111,7 @@ export class Groups { * @param callback The callback */ addMember(groupObjectId: string, parameters: Models.GroupAddMemberParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addMember(groupObjectId: string, parameters: Models.GroupAddMemberParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addMember(groupObjectId: string, parameters: Models.GroupAddMemberParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { groupObjectId, @@ -140,7 +140,7 @@ export class Groups { * @param callback The callback */ create(parameters: Models.GroupCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(parameters: Models.GroupCreateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(parameters: Models.GroupCreateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -165,7 +165,7 @@ export class Groups { * @param callback The callback */ list(options: Models.GroupsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.GroupsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.GroupsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -192,7 +192,7 @@ export class Groups { * @param callback The callback */ getGroupMembers(objectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getGroupMembers(objectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getGroupMembers(objectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -220,7 +220,7 @@ export class Groups { * @param callback The callback */ get(objectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(objectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(objectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -248,7 +248,7 @@ export class Groups { * @param callback The callback */ deleteMethod(objectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(objectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(objectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -279,7 +279,7 @@ export class Groups { * @param callback The callback */ getMemberGroups(objectId: string, parameters: Models.GroupGetMemberGroupsParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMemberGroups(objectId: string, parameters: Models.GroupGetMemberGroupsParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMemberGroups(objectId: string, parameters: Models.GroupGetMemberGroupsParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -309,7 +309,7 @@ export class Groups { * @param callback The callback */ listOwners(objectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOwners(objectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOwners(objectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -343,7 +343,7 @@ export class Groups { * @param callback The callback */ addOwner(objectId: string, parameters: Models.AddOwnerParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addOwner(objectId: string, parameters: Models.AddOwnerParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + addOwner(objectId: string, parameters: Models.AddOwnerParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -375,7 +375,7 @@ export class Groups { * @param callback The callback */ removeOwner(objectId: string, ownerObjectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - removeOwner(objectId: string, ownerObjectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + removeOwner(objectId: string, ownerObjectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -404,7 +404,7 @@ export class Groups { * @param callback The callback */ listNext(nextLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextLink, @@ -432,7 +432,7 @@ export class Groups { * @param callback The callback */ getGroupMembersNext(nextLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getGroupMembersNext(nextLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getGroupMembersNext(nextLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextLink, @@ -461,7 +461,7 @@ export class Groups { * @param callback The callback */ listOwnersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOwnersNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOwnersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/graph/lib/operations/oAuth2.ts b/packages/@azure/graph/lib/operations/oAuth2.ts index bbee8a17f12d..4d14c94451bd 100644 --- a/packages/@azure/graph/lib/operations/oAuth2.ts +++ b/packages/@azure/graph/lib/operations/oAuth2.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/oAuth2Mappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class OAuth2 { * @param callback The callback */ get(options: Models.OAuth2GetOptionalParams, callback: msRest.ServiceCallback): void; - get(options?: Models.OAuth2GetOptionalParams, callback?: msRest.ServiceCallback): Promise { + get(options?: Models.OAuth2GetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -65,7 +65,7 @@ export class OAuth2 { * @param callback The callback */ grant(options: Models.OAuth2GrantOptionalParams, callback: msRest.ServiceCallback): void; - grant(options?: Models.OAuth2GrantOptionalParams, callback?: msRest.ServiceCallback): Promise { + grant(options?: Models.OAuth2GrantOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options diff --git a/packages/@azure/graph/lib/operations/objects.ts b/packages/@azure/graph/lib/operations/objects.ts index 365aade85534..477daeb10505 100644 --- a/packages/@azure/graph/lib/operations/objects.ts +++ b/packages/@azure/graph/lib/operations/objects.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/objectsMappers"; import * as Parameters from "../models/parameters"; @@ -46,7 +46,7 @@ export class Objects { * @param callback The callback */ getObjectsByObjectIds(parameters: Models.GetObjectsParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getObjectsByObjectIds(parameters: Models.GetObjectsParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getObjectsByObjectIds(parameters: Models.GetObjectsParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -74,7 +74,7 @@ export class Objects { * @param callback The callback */ getObjectsByObjectIdsNext(nextLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getObjectsByObjectIdsNext(nextLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getObjectsByObjectIdsNext(nextLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextLink, diff --git a/packages/@azure/graph/lib/operations/servicePrincipals.ts b/packages/@azure/graph/lib/operations/servicePrincipals.ts index a1975a01ea9c..0c5b9e517092 100644 --- a/packages/@azure/graph/lib/operations/servicePrincipals.ts +++ b/packages/@azure/graph/lib/operations/servicePrincipals.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/servicePrincipalsMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class ServicePrincipals { * @param callback The callback */ create(parameters: Models.ServicePrincipalCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(parameters: Models.ServicePrincipalCreateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(parameters: Models.ServicePrincipalCreateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -69,7 +69,7 @@ export class ServicePrincipals { * @param callback The callback */ list(options: Models.ServicePrincipalsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.ServicePrincipalsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.ServicePrincipalsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -99,7 +99,7 @@ export class ServicePrincipals { * @param callback The callback */ update(objectId: string, parameters: Models.ServicePrincipalUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(objectId: string, parameters: Models.ServicePrincipalUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(objectId: string, parameters: Models.ServicePrincipalUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -128,7 +128,7 @@ export class ServicePrincipals { * @param callback The callback */ deleteMethod(objectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(objectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(objectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -157,7 +157,7 @@ export class ServicePrincipals { * @param callback The callback */ get(objectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(objectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(objectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -186,7 +186,7 @@ export class ServicePrincipals { * @param callback The callback */ listOwners(objectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOwners(objectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOwners(objectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -214,7 +214,7 @@ export class ServicePrincipals { * @param callback The callback */ listKeyCredentials(objectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeyCredentials(objectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listKeyCredentials(objectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -245,7 +245,7 @@ export class ServicePrincipals { * @param callback The callback */ updateKeyCredentials(objectId: string, value: Models.KeyCredential[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateKeyCredentials(objectId: string, value: Models.KeyCredential[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateKeyCredentials(objectId: string, value: Models.KeyCredential[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -274,7 +274,7 @@ export class ServicePrincipals { * @param callback The callback */ listPasswordCredentials(objectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listPasswordCredentials(objectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listPasswordCredentials(objectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -305,7 +305,7 @@ export class ServicePrincipals { * @param callback The callback */ updatePasswordCredentials(objectId: string, value: Models.PasswordCredential[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updatePasswordCredentials(objectId: string, value: Models.PasswordCredential[], options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updatePasswordCredentials(objectId: string, value: Models.PasswordCredential[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -334,7 +334,7 @@ export class ServicePrincipals { * @param callback The callback */ listNext(nextLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextLink, @@ -363,7 +363,7 @@ export class ServicePrincipals { * @param callback The callback */ listOwnersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOwnersNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOwnersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/graph/lib/operations/signedInUser.ts b/packages/@azure/graph/lib/operations/signedInUser.ts index 768c5c853da6..d10d7f2c4bfd 100644 --- a/packages/@azure/graph/lib/operations/signedInUser.ts +++ b/packages/@azure/graph/lib/operations/signedInUser.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/signedInUserMappers"; import * as Parameters from "../models/parameters"; @@ -41,7 +41,7 @@ export class SignedInUser { * @param callback The callback */ get(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -65,7 +65,7 @@ export class SignedInUser { * @param callback The callback */ listOwnedObjects(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOwnedObjects(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOwnedObjects(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -92,7 +92,7 @@ export class SignedInUser { * @param callback The callback */ listOwnedObjectsNext(nextLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listOwnedObjectsNext(nextLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listOwnedObjectsNext(nextLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextLink, diff --git a/packages/@azure/graph/lib/operations/users.ts b/packages/@azure/graph/lib/operations/users.ts index cab8199238e1..3da2a311bd1a 100644 --- a/packages/@azure/graph/lib/operations/users.ts +++ b/packages/@azure/graph/lib/operations/users.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/usersMappers"; import * as Parameters from "../models/parameters"; @@ -44,7 +44,7 @@ export class Users { * @param callback The callback */ create(parameters: Models.UserCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(parameters: Models.UserCreateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + create(parameters: Models.UserCreateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { parameters, @@ -69,7 +69,7 @@ export class Users { * @param callback The callback */ list(options: Models.UsersListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.UsersListOptionalParams, callback?: msRest.ServiceCallback): Promise { + list(options?: Models.UsersListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -96,7 +96,7 @@ export class Users { * @param callback The callback */ get(upnOrObjectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(upnOrObjectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + get(upnOrObjectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { upnOrObjectId, @@ -127,7 +127,7 @@ export class Users { * @param callback The callback */ update(upnOrObjectId: string, parameters: Models.UserUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(upnOrObjectId: string, parameters: Models.UserUpdateParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + update(upnOrObjectId: string, parameters: Models.UserUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { upnOrObjectId, @@ -156,7 +156,7 @@ export class Users { * @param callback The callback */ deleteMethod(upnOrObjectId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(upnOrObjectId: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteMethod(upnOrObjectId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { upnOrObjectId, @@ -187,7 +187,7 @@ export class Users { * @param callback The callback */ getMemberGroups(objectId: string, parameters: Models.UserGetMemberGroupsParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMemberGroups(objectId: string, parameters: Models.UserGetMemberGroupsParameters, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getMemberGroups(objectId: string, parameters: Models.UserGetMemberGroupsParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { objectId, @@ -216,7 +216,7 @@ export class Users { * @param callback The callback */ listNext(nextLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + listNext(nextLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextLink, diff --git a/packages/@azure/graph/package.json b/packages/@azure/graph/package.json index 5395f9b5e457..ad0617f9c047 100644 --- a/packages/@azure/graph/package.json +++ b/packages/@azure/graph/package.json @@ -4,8 +4,8 @@ "description": "GraphRbacManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-azure-js": "^1.1.0", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -52,4 +52,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/graph/rollup.config.js b/packages/@azure/graph/rollup.config.js index 1ff5fdf654cf..ce8ffd7b2db8 100644 --- a/packages/@azure/graph/rollup.config.js +++ b/packages/@azure/graph/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/graphRbacManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/graph.js", format: "umd", name: "Azure.Graph", 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/graph/tsconfig.esm.json b/packages/@azure/graph/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/graph/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/graph/tsconfig.json b/packages/@azure/graph/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/graph/tsconfig.json +++ b/packages/@azure/graph/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/graph/webpack.config.js b/packages/@azure/graph/webpack.config.js deleted file mode 100644 index c27518b03e32..000000000000 --- a/packages/@azure/graph/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/graphRbacManagementClient.js', - devtool: 'source-map', - output: { - filename: 'graphRbacManagementClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'graphRbacManagementClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/keyvault/.npmignore b/packages/@azure/keyvault/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/keyvault/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/keyvault/README.md b/packages/@azure/keyvault/README.md new file mode 100644 index 000000000000..ce21ccb6e763 --- /dev/null +++ b/packages/@azure/keyvault/README.md @@ -0,0 +1,102 @@ +## Azure KeyVaultClient SDK for JavaScript + +This package contains an isomorphic SDK for KeyVaultClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install + +``` +npm install @azure/keyvault +``` + +### How to use + +#### nodejs - Authentication, client creation and getKey as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code + +```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 { KeyVaultClient, KeyVaultModels, KeyVaultMappers } from "@azure/keyvault"; +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; + +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new KeyVaultClient(creds, subscriptionId); + const vaultBaseUrl = "testvaultBaseUrl"; + const keyName = "testkeyName"; + const keyVersion = "testkeyVersion"; + client.getKey(vaultBaseUrl, keyName, keyVersion).then((result) => { + console.log("The result is:"); + console.log(result); + }); +}).catch((err) => { + console.error(err); +}); +``` + +#### browser - Authentication, client creation and getKey as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. + +- index.html +```html + + + + @azure/keyvault sample + + + + + + + + +``` + +## Related projects + +- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/keyvault/lib/keyVaultClient.ts b/packages/@azure/keyvault/lib/keyVaultClient.ts index 0056682c6cfc..a9ad2d29bd3e 100644 --- a/packages/@azure/keyvault/lib/keyVaultClient.ts +++ b/packages/@azure/keyvault/lib/keyVaultClient.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/mappers"; import * as Parameters from "./models/parameters"; @@ -59,7 +59,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ createKey(vaultBaseUrl: string, keyName: string, kty: Models.JsonWebKeyType, options: Models.KeyVaultClientCreateKeyOptionalParams, callback: msRest.ServiceCallback): void; - createKey(vaultBaseUrl: string, keyName: string, kty: Models.JsonWebKeyType, options?: Models.KeyVaultClientCreateKeyOptionalParams, callback?: msRest.ServiceCallback): Promise { + createKey(vaultBaseUrl: string, keyName: string, kty: Models.JsonWebKeyType, options?: Models.KeyVaultClientCreateKeyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -99,7 +99,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ importKey(vaultBaseUrl: string, keyName: string, key: Models.JsonWebKey, options: Models.KeyVaultClientImportKeyOptionalParams, callback: msRest.ServiceCallback): void; - importKey(vaultBaseUrl: string, keyName: string, key: Models.JsonWebKey, options?: Models.KeyVaultClientImportKeyOptionalParams, callback?: msRest.ServiceCallback): Promise { + importKey(vaultBaseUrl: string, keyName: string, key: Models.JsonWebKey, options?: Models.KeyVaultClientImportKeyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -136,7 +136,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ deleteKey(vaultBaseUrl: string, keyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteKey(vaultBaseUrl: string, keyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteKey(vaultBaseUrl: string, keyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -175,7 +175,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ updateKey(vaultBaseUrl: string, keyName: string, keyVersion: string, options: Models.KeyVaultClientUpdateKeyOptionalParams, callback: msRest.ServiceCallback): void; - updateKey(vaultBaseUrl: string, keyName: string, keyVersion: string, options?: Models.KeyVaultClientUpdateKeyOptionalParams, callback?: msRest.ServiceCallback): Promise { + updateKey(vaultBaseUrl: string, keyName: string, keyVersion: string, options?: Models.KeyVaultClientUpdateKeyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -213,7 +213,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getKey(vaultBaseUrl: string, keyName: string, keyVersion: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getKey(vaultBaseUrl: string, keyName: string, keyVersion: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getKey(vaultBaseUrl: string, keyName: string, keyVersion: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -248,7 +248,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getKeyVersions(vaultBaseUrl: string, keyName: string, options: Models.KeyVaultClientGetKeyVersionsOptionalParams, callback: msRest.ServiceCallback): void; - getKeyVersions(vaultBaseUrl: string, keyName: string, options?: Models.KeyVaultClientGetKeyVersionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getKeyVersions(vaultBaseUrl: string, keyName: string, options?: Models.KeyVaultClientGetKeyVersionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -281,7 +281,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getKeys(vaultBaseUrl: string, options: Models.KeyVaultClientGetKeysOptionalParams, callback: msRest.ServiceCallback): void; - getKeys(vaultBaseUrl: string, options?: Models.KeyVaultClientGetKeysOptionalParams, callback?: msRest.ServiceCallback): Promise { + getKeys(vaultBaseUrl: string, options?: Models.KeyVaultClientGetKeysOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -323,7 +323,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ backupKey(vaultBaseUrl: string, keyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - backupKey(vaultBaseUrl: string, keyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + backupKey(vaultBaseUrl: string, keyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -365,7 +365,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ restoreKey(vaultBaseUrl: string, keyBundleBackup: Uint8Array, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - restoreKey(vaultBaseUrl: string, keyBundleBackup: Uint8Array, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + restoreKey(vaultBaseUrl: string, keyBundleBackup: Uint8Array, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -418,7 +418,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ encrypt(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeyEncryptionAlgorithm, value: Uint8Array, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - encrypt(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeyEncryptionAlgorithm, value: Uint8Array, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + encrypt(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeyEncryptionAlgorithm, value: Uint8Array, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -471,7 +471,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ decrypt(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeyEncryptionAlgorithm, value: Uint8Array, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - decrypt(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeyEncryptionAlgorithm, value: Uint8Array, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + decrypt(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeyEncryptionAlgorithm, value: Uint8Array, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -524,7 +524,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ sign(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeySignatureAlgorithm, value: Uint8Array, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - sign(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeySignatureAlgorithm, value: Uint8Array, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + sign(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeySignatureAlgorithm, value: Uint8Array, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -582,7 +582,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ verify(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeySignatureAlgorithm, digest: Uint8Array, signature: Uint8Array, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - verify(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeySignatureAlgorithm, digest: Uint8Array, signature: Uint8Array, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + verify(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeySignatureAlgorithm, digest: Uint8Array, signature: Uint8Array, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -636,7 +636,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ wrapKey(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeyEncryptionAlgorithm, value: Uint8Array, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - wrapKey(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeyEncryptionAlgorithm, value: Uint8Array, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + wrapKey(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeyEncryptionAlgorithm, value: Uint8Array, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -688,7 +688,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ unwrapKey(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeyEncryptionAlgorithm, value: Uint8Array, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - unwrapKey(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeyEncryptionAlgorithm, value: Uint8Array, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + unwrapKey(vaultBaseUrl: string, keyName: string, keyVersion: string, algorithm: Models.JsonWebKeyEncryptionAlgorithm, value: Uint8Array, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -725,7 +725,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedKeys(vaultBaseUrl: string, options: Models.KeyVaultClientGetDeletedKeysOptionalParams, callback: msRest.ServiceCallback): void; - getDeletedKeys(vaultBaseUrl: string, options?: Models.KeyVaultClientGetDeletedKeysOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeletedKeys(vaultBaseUrl: string, options?: Models.KeyVaultClientGetDeletedKeysOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -759,7 +759,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedKey(vaultBaseUrl: string, keyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDeletedKey(vaultBaseUrl: string, keyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDeletedKey(vaultBaseUrl: string, keyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -794,7 +794,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ purgeDeletedKey(vaultBaseUrl: string, keyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - purgeDeletedKey(vaultBaseUrl: string, keyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + purgeDeletedKey(vaultBaseUrl: string, keyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -830,7 +830,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ recoverDeletedKey(vaultBaseUrl: string, keyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - recoverDeletedKey(vaultBaseUrl: string, keyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + recoverDeletedKey(vaultBaseUrl: string, keyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -868,7 +868,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ setSecret(vaultBaseUrl: string, secretName: string, value: string, options: Models.KeyVaultClientSetSecretOptionalParams, callback: msRest.ServiceCallback): void; - setSecret(vaultBaseUrl: string, secretName: string, value: string, options?: Models.KeyVaultClientSetSecretOptionalParams, callback?: msRest.ServiceCallback): Promise { + setSecret(vaultBaseUrl: string, secretName: string, value: string, options?: Models.KeyVaultClientSetSecretOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -903,7 +903,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ deleteSecret(vaultBaseUrl: string, secretName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteSecret(vaultBaseUrl: string, secretName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteSecret(vaultBaseUrl: string, secretName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -941,7 +941,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ updateSecret(vaultBaseUrl: string, secretName: string, secretVersion: string, options: Models.KeyVaultClientUpdateSecretOptionalParams, callback: msRest.ServiceCallback): void; - updateSecret(vaultBaseUrl: string, secretName: string, secretVersion: string, options?: Models.KeyVaultClientUpdateSecretOptionalParams, callback?: msRest.ServiceCallback): Promise { + updateSecret(vaultBaseUrl: string, secretName: string, secretVersion: string, options?: Models.KeyVaultClientUpdateSecretOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -979,7 +979,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getSecret(vaultBaseUrl: string, secretName: string, secretVersion: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSecret(vaultBaseUrl: string, secretName: string, secretVersion: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSecret(vaultBaseUrl: string, secretName: string, secretVersion: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1012,7 +1012,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getSecrets(vaultBaseUrl: string, options: Models.KeyVaultClientGetSecretsOptionalParams, callback: msRest.ServiceCallback): void; - getSecrets(vaultBaseUrl: string, options?: Models.KeyVaultClientGetSecretsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getSecrets(vaultBaseUrl: string, options?: Models.KeyVaultClientGetSecretsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1045,7 +1045,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getSecretVersions(vaultBaseUrl: string, secretName: string, options: Models.KeyVaultClientGetSecretVersionsOptionalParams, callback: msRest.ServiceCallback): void; - getSecretVersions(vaultBaseUrl: string, secretName: string, options?: Models.KeyVaultClientGetSecretVersionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getSecretVersions(vaultBaseUrl: string, secretName: string, options?: Models.KeyVaultClientGetSecretVersionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1076,7 +1076,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedSecrets(vaultBaseUrl: string, options: Models.KeyVaultClientGetDeletedSecretsOptionalParams, callback: msRest.ServiceCallback): void; - getDeletedSecrets(vaultBaseUrl: string, options?: Models.KeyVaultClientGetDeletedSecretsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeletedSecrets(vaultBaseUrl: string, options?: Models.KeyVaultClientGetDeletedSecretsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1109,7 +1109,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedSecret(vaultBaseUrl: string, secretName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDeletedSecret(vaultBaseUrl: string, secretName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDeletedSecret(vaultBaseUrl: string, secretName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1144,7 +1144,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ purgeDeletedSecret(vaultBaseUrl: string, secretName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - purgeDeletedSecret(vaultBaseUrl: string, secretName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + purgeDeletedSecret(vaultBaseUrl: string, secretName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1178,7 +1178,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ recoverDeletedSecret(vaultBaseUrl: string, secretName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - recoverDeletedSecret(vaultBaseUrl: string, secretName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + recoverDeletedSecret(vaultBaseUrl: string, secretName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1212,7 +1212,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ backupSecret(vaultBaseUrl: string, secretName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - backupSecret(vaultBaseUrl: string, secretName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + backupSecret(vaultBaseUrl: string, secretName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1246,7 +1246,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ restoreSecret(vaultBaseUrl: string, secretBundleBackup: Uint8Array, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - restoreSecret(vaultBaseUrl: string, secretBundleBackup: Uint8Array, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + restoreSecret(vaultBaseUrl: string, secretBundleBackup: Uint8Array, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1277,7 +1277,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getCertificates(vaultBaseUrl: string, options: Models.KeyVaultClientGetCertificatesOptionalParams, callback: msRest.ServiceCallback): void; - getCertificates(vaultBaseUrl: string, options?: Models.KeyVaultClientGetCertificatesOptionalParams, callback?: msRest.ServiceCallback): Promise { + getCertificates(vaultBaseUrl: string, options?: Models.KeyVaultClientGetCertificatesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1311,7 +1311,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ deleteCertificate(vaultBaseUrl: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteCertificate(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteCertificate(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1345,7 +1345,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ setCertificateContacts(vaultBaseUrl: string, contacts: Models.Contacts, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - setCertificateContacts(vaultBaseUrl: string, contacts: Models.Contacts, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + setCertificateContacts(vaultBaseUrl: string, contacts: Models.Contacts, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1376,7 +1376,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getCertificateContacts(vaultBaseUrl: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCertificateContacts(vaultBaseUrl: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCertificateContacts(vaultBaseUrl: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1406,7 +1406,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ deleteCertificateContacts(vaultBaseUrl: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteCertificateContacts(vaultBaseUrl: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteCertificateContacts(vaultBaseUrl: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1437,7 +1437,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getCertificateIssuers(vaultBaseUrl: string, options: Models.KeyVaultClientGetCertificateIssuersOptionalParams, callback: msRest.ServiceCallback): void; - getCertificateIssuers(vaultBaseUrl: string, options?: Models.KeyVaultClientGetCertificateIssuersOptionalParams, callback?: msRest.ServiceCallback): Promise { + getCertificateIssuers(vaultBaseUrl: string, options?: Models.KeyVaultClientGetCertificateIssuersOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1473,7 +1473,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ setCertificateIssuer(vaultBaseUrl: string, issuerName: string, provider: string, options: Models.KeyVaultClientSetCertificateIssuerOptionalParams, callback: msRest.ServiceCallback): void; - setCertificateIssuer(vaultBaseUrl: string, issuerName: string, provider: string, options?: Models.KeyVaultClientSetCertificateIssuerOptionalParams, callback?: msRest.ServiceCallback): Promise { + setCertificateIssuer(vaultBaseUrl: string, issuerName: string, provider: string, options?: Models.KeyVaultClientSetCertificateIssuerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1508,7 +1508,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ updateCertificateIssuer(vaultBaseUrl: string, issuerName: string, options: Models.KeyVaultClientUpdateCertificateIssuerOptionalParams, callback: msRest.ServiceCallback): void; - updateCertificateIssuer(vaultBaseUrl: string, issuerName: string, options?: Models.KeyVaultClientUpdateCertificateIssuerOptionalParams, callback?: msRest.ServiceCallback): Promise { + updateCertificateIssuer(vaultBaseUrl: string, issuerName: string, options?: Models.KeyVaultClientUpdateCertificateIssuerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1543,7 +1543,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getCertificateIssuer(vaultBaseUrl: string, issuerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCertificateIssuer(vaultBaseUrl: string, issuerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCertificateIssuer(vaultBaseUrl: string, issuerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1577,7 +1577,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ deleteCertificateIssuer(vaultBaseUrl: string, issuerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteCertificateIssuer(vaultBaseUrl: string, issuerName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteCertificateIssuer(vaultBaseUrl: string, issuerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1611,7 +1611,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ createCertificate(vaultBaseUrl: string, certificateName: string, options: Models.KeyVaultClientCreateCertificateOptionalParams, callback: msRest.ServiceCallback): void; - createCertificate(vaultBaseUrl: string, certificateName: string, options?: Models.KeyVaultClientCreateCertificateOptionalParams, callback?: msRest.ServiceCallback): Promise { + createCertificate(vaultBaseUrl: string, certificateName: string, options?: Models.KeyVaultClientCreateCertificateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1653,7 +1653,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ importCertificate(vaultBaseUrl: string, certificateName: string, base64EncodedCertificate: string, options: Models.KeyVaultClientImportCertificateOptionalParams, callback: msRest.ServiceCallback): void; - importCertificate(vaultBaseUrl: string, certificateName: string, base64EncodedCertificate: string, options?: Models.KeyVaultClientImportCertificateOptionalParams, callback?: msRest.ServiceCallback): Promise { + importCertificate(vaultBaseUrl: string, certificateName: string, base64EncodedCertificate: string, options?: Models.KeyVaultClientImportCertificateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1688,7 +1688,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getCertificateVersions(vaultBaseUrl: string, certificateName: string, options: Models.KeyVaultClientGetCertificateVersionsOptionalParams, callback: msRest.ServiceCallback): void; - getCertificateVersions(vaultBaseUrl: string, certificateName: string, options?: Models.KeyVaultClientGetCertificateVersionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getCertificateVersions(vaultBaseUrl: string, certificateName: string, options?: Models.KeyVaultClientGetCertificateVersionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1722,7 +1722,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getCertificatePolicy(vaultBaseUrl: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCertificatePolicy(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCertificatePolicy(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1759,7 +1759,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ updateCertificatePolicy(vaultBaseUrl: string, certificateName: string, certificatePolicy: Models.CertificatePolicy, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateCertificatePolicy(vaultBaseUrl: string, certificateName: string, certificatePolicy: Models.CertificatePolicy, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateCertificatePolicy(vaultBaseUrl: string, certificateName: string, certificatePolicy: Models.CertificatePolicy, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1798,7 +1798,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ updateCertificate(vaultBaseUrl: string, certificateName: string, certificateVersion: string, options: Models.KeyVaultClientUpdateCertificateOptionalParams, callback: msRest.ServiceCallback): void; - updateCertificate(vaultBaseUrl: string, certificateName: string, certificateVersion: string, options?: Models.KeyVaultClientUpdateCertificateOptionalParams, callback?: msRest.ServiceCallback): Promise { + updateCertificate(vaultBaseUrl: string, certificateName: string, certificateVersion: string, options?: Models.KeyVaultClientUpdateCertificateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1836,7 +1836,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getCertificate(vaultBaseUrl: string, certificateName: string, certificateVersion: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCertificate(vaultBaseUrl: string, certificateName: string, certificateVersion: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCertificate(vaultBaseUrl: string, certificateName: string, certificateVersion: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1877,7 +1877,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ updateCertificateOperation(vaultBaseUrl: string, certificateName: string, cancellationRequested: boolean, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateCertificateOperation(vaultBaseUrl: string, certificateName: string, cancellationRequested: boolean, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateCertificateOperation(vaultBaseUrl: string, certificateName: string, cancellationRequested: boolean, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1912,7 +1912,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getCertificateOperation(vaultBaseUrl: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCertificateOperation(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCertificateOperation(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1947,7 +1947,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ deleteCertificateOperation(vaultBaseUrl: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteCertificateOperation(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteCertificateOperation(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -1985,7 +1985,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ mergeCertificate(vaultBaseUrl: string, certificateName: string, x509Certificates: Uint8Array[], options: Models.KeyVaultClientMergeCertificateOptionalParams, callback: msRest.ServiceCallback): void; - mergeCertificate(vaultBaseUrl: string, certificateName: string, x509Certificates: Uint8Array[], options?: Models.KeyVaultClientMergeCertificateOptionalParams, callback?: msRest.ServiceCallback): Promise { + mergeCertificate(vaultBaseUrl: string, certificateName: string, x509Certificates: Uint8Array[], options?: Models.KeyVaultClientMergeCertificateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2020,7 +2020,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ backupCertificate(vaultBaseUrl: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - backupCertificate(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + backupCertificate(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2054,7 +2054,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ restoreCertificate(vaultBaseUrl: string, certificateBundleBackup: Uint8Array, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - restoreCertificate(vaultBaseUrl: string, certificateBundleBackup: Uint8Array, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + restoreCertificate(vaultBaseUrl: string, certificateBundleBackup: Uint8Array, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2087,7 +2087,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedCertificates(vaultBaseUrl: string, options: Models.KeyVaultClientGetDeletedCertificatesOptionalParams, callback: msRest.ServiceCallback): void; - getDeletedCertificates(vaultBaseUrl: string, options?: Models.KeyVaultClientGetDeletedCertificatesOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeletedCertificates(vaultBaseUrl: string, options?: Models.KeyVaultClientGetDeletedCertificatesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2121,7 +2121,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedCertificate(vaultBaseUrl: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDeletedCertificate(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDeletedCertificate(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2156,7 +2156,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ purgeDeletedCertificate(vaultBaseUrl: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - purgeDeletedCertificate(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + purgeDeletedCertificate(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2192,7 +2192,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ recoverDeletedCertificate(vaultBaseUrl: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - recoverDeletedCertificate(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + recoverDeletedCertificate(vaultBaseUrl: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2222,7 +2222,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getStorageAccounts(vaultBaseUrl: string, options: Models.KeyVaultClientGetStorageAccountsOptionalParams, callback: msRest.ServiceCallback): void; - getStorageAccounts(vaultBaseUrl: string, options?: Models.KeyVaultClientGetStorageAccountsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getStorageAccounts(vaultBaseUrl: string, options?: Models.KeyVaultClientGetStorageAccountsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2252,7 +2252,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedStorageAccounts(vaultBaseUrl: string, options: Models.KeyVaultClientGetDeletedStorageAccountsOptionalParams, callback: msRest.ServiceCallback): void; - getDeletedStorageAccounts(vaultBaseUrl: string, options?: Models.KeyVaultClientGetDeletedStorageAccountsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeletedStorageAccounts(vaultBaseUrl: string, options?: Models.KeyVaultClientGetDeletedStorageAccountsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2285,7 +2285,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedStorageAccount(vaultBaseUrl: string, storageAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDeletedStorageAccount(vaultBaseUrl: string, storageAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDeletedStorageAccount(vaultBaseUrl: string, storageAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2320,7 +2320,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ purgeDeletedStorageAccount(vaultBaseUrl: string, storageAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - purgeDeletedStorageAccount(vaultBaseUrl: string, storageAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + purgeDeletedStorageAccount(vaultBaseUrl: string, storageAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2355,7 +2355,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ recoverDeletedStorageAccount(vaultBaseUrl: string, storageAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - recoverDeletedStorageAccount(vaultBaseUrl: string, storageAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + recoverDeletedStorageAccount(vaultBaseUrl: string, storageAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2389,7 +2389,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ backupStorageAccount(vaultBaseUrl: string, storageAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - backupStorageAccount(vaultBaseUrl: string, storageAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + backupStorageAccount(vaultBaseUrl: string, storageAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2423,7 +2423,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ restoreStorageAccount(vaultBaseUrl: string, storageBundleBackup: Uint8Array, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - restoreStorageAccount(vaultBaseUrl: string, storageBundleBackup: Uint8Array, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + restoreStorageAccount(vaultBaseUrl: string, storageBundleBackup: Uint8Array, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2455,7 +2455,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ deleteStorageAccount(vaultBaseUrl: string, storageAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteStorageAccount(vaultBaseUrl: string, storageAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteStorageAccount(vaultBaseUrl: string, storageAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2488,7 +2488,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getStorageAccount(vaultBaseUrl: string, storageAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getStorageAccount(vaultBaseUrl: string, storageAccountName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getStorageAccount(vaultBaseUrl: string, storageAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2529,7 +2529,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ setStorageAccount(vaultBaseUrl: string, storageAccountName: string, resourceId: string, activeKeyName: string, autoRegenerateKey: boolean, options: Models.KeyVaultClientSetStorageAccountOptionalParams, callback: msRest.ServiceCallback): void; - setStorageAccount(vaultBaseUrl: string, storageAccountName: string, resourceId: string, activeKeyName: string, autoRegenerateKey: boolean, options?: Models.KeyVaultClientSetStorageAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + setStorageAccount(vaultBaseUrl: string, storageAccountName: string, resourceId: string, activeKeyName: string, autoRegenerateKey: boolean, options?: Models.KeyVaultClientSetStorageAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2565,7 +2565,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ updateStorageAccount(vaultBaseUrl: string, storageAccountName: string, options: Models.KeyVaultClientUpdateStorageAccountOptionalParams, callback: msRest.ServiceCallback): void; - updateStorageAccount(vaultBaseUrl: string, storageAccountName: string, options?: Models.KeyVaultClientUpdateStorageAccountOptionalParams, callback?: msRest.ServiceCallback): Promise { + updateStorageAccount(vaultBaseUrl: string, storageAccountName: string, options?: Models.KeyVaultClientUpdateStorageAccountOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2601,7 +2601,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ regenerateStorageAccountKey(vaultBaseUrl: string, storageAccountName: string, keyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateStorageAccountKey(vaultBaseUrl: string, storageAccountName: string, keyName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + regenerateStorageAccountKey(vaultBaseUrl: string, storageAccountName: string, keyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2635,7 +2635,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getSasDefinitions(vaultBaseUrl: string, storageAccountName: string, options: Models.KeyVaultClientGetSasDefinitionsOptionalParams, callback: msRest.ServiceCallback): void; - getSasDefinitions(vaultBaseUrl: string, storageAccountName: string, options?: Models.KeyVaultClientGetSasDefinitionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getSasDefinitions(vaultBaseUrl: string, storageAccountName: string, options?: Models.KeyVaultClientGetSasDefinitionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2669,7 +2669,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedSasDefinitions(vaultBaseUrl: string, storageAccountName: string, options: Models.KeyVaultClientGetDeletedSasDefinitionsOptionalParams, callback: msRest.ServiceCallback): void; - getDeletedSasDefinitions(vaultBaseUrl: string, storageAccountName: string, options?: Models.KeyVaultClientGetDeletedSasDefinitionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeletedSasDefinitions(vaultBaseUrl: string, storageAccountName: string, options?: Models.KeyVaultClientGetDeletedSasDefinitionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2706,7 +2706,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDeletedSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDeletedSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2745,7 +2745,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ recoverDeletedSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - recoverDeletedSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + recoverDeletedSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2782,7 +2782,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ deleteSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2819,7 +2819,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2871,7 +2871,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ setSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, templateUri: string, sasType: Models.SasTokenType, validityPeriod: string, options: Models.KeyVaultClientSetSasDefinitionOptionalParams, callback: msRest.ServiceCallback): void; - setSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, templateUri: string, sasType: Models.SasTokenType, validityPeriod: string, options?: Models.KeyVaultClientSetSasDefinitionOptionalParams, callback?: msRest.ServiceCallback): Promise { + setSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, templateUri: string, sasType: Models.SasTokenType, validityPeriod: string, options?: Models.KeyVaultClientSetSasDefinitionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2911,7 +2911,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ updateSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options: Models.KeyVaultClientUpdateSasDefinitionOptionalParams, callback: msRest.ServiceCallback): void; - updateSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options?: Models.KeyVaultClientUpdateSasDefinitionOptionalParams, callback?: msRest.ServiceCallback): Promise { + updateSasDefinition(vaultBaseUrl: string, storageAccountName: string, sasDefinitionName: string, options?: Models.KeyVaultClientUpdateSasDefinitionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { vaultBaseUrl, @@ -2943,7 +2943,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getKeyVersionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getKeyVersionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getKeyVersionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -2975,7 +2975,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getKeysNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getKeysNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getKeysNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -3008,7 +3008,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedKeysNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDeletedKeysNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDeletedKeysNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -3039,7 +3039,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getSecretsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSecretsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSecretsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -3069,7 +3069,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getSecretVersionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSecretVersionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSecretVersionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -3099,7 +3099,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedSecretsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDeletedSecretsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDeletedSecretsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -3129,7 +3129,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getCertificatesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCertificatesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCertificatesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -3160,7 +3160,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getCertificateIssuersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCertificateIssuersNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCertificateIssuersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -3190,7 +3190,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getCertificateVersionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getCertificateVersionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getCertificateVersionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -3222,7 +3222,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedCertificatesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDeletedCertificatesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDeletedCertificatesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -3251,7 +3251,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getStorageAccountsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getStorageAccountsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getStorageAccountsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -3281,7 +3281,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedStorageAccountsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDeletedStorageAccountsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDeletedStorageAccountsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -3310,7 +3310,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getSasDefinitionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSasDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getSasDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, @@ -3340,7 +3340,7 @@ class KeyVaultClient extends KeyVaultClientContext { * @param callback The callback */ getDeletedSasDefinitionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDeletedSasDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getDeletedSasDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, diff --git a/packages/@azure/keyvault/lib/keyVaultClientContext.ts b/packages/@azure/keyvault/lib/keyVaultClientContext.ts index 5ec73590c6e9..9f84cabf70ce 100644 --- a/packages/@azure/keyvault/lib/keyVaultClientContext.ts +++ b/packages/@azure/keyvault/lib/keyVaultClientContext.ts @@ -8,21 +8,15 @@ * 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"; const packageName = "@azure/keyvault"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class KeyVaultClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; - - apiVersion: string; - - acceptLanguage: string; - - longRunningOperationRetryTimeout: number; + apiVersion?: string; /** * Initializes a new instance of the KeyVaultClient class. @@ -37,6 +31,11 @@ export class KeyVaultClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + super(credentials, options); this.apiVersion = '7.0'; @@ -46,7 +45,6 @@ export class KeyVaultClientContext extends msRestAzure.AzureServiceClient { this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } diff --git a/packages/@azure/keyvault/lib/models/index.ts b/packages/@azure/keyvault/lib/models/index.ts index e5c1e8ec3906..9bf0e4c254a8 100644 --- a/packages/@azure/keyvault/lib/models/index.ts +++ b/packages/@azure/keyvault/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { BaseResource, CloudError } from "ms-rest-azure-js"; -import * as msRest from "ms-rest-js"; +import { BaseResource, CloudError } from "@azure/ms-rest-azure-js"; +import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; @@ -2970,110 +2970,36 @@ export interface DeletedSasDefinitionListResult extends Array"someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum JsonWebKeyType { - /** - * Elliptic Curve. - */ - EC = 'EC', - /** - * Elliptic Curve with a private key which is not exportable from the HSM. - */ - ECHSM = 'EC-HSM', - /** - * RSA (https://tools.ietf.org/html/rfc3447) - */ - RSA = 'RSA', - /** - * RSA with a private key which is not exportable from the HSM. - */ - RSAHSM = 'RSA-HSM', - /** - * Octet sequence (used to represent symmetric keys) - */ - Oct = 'oct', -} +export type JsonWebKeyType = 'EC' | 'EC-HSM' | 'RSA' | 'RSA-HSM' | 'oct'; /** * Defines values for JsonWebKeyCurveName. * Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: JsonWebKeyCurveName = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum JsonWebKeyCurveName { - /** - * The NIST P-256 elliptic curve, AKA SECG curve SECP256R1. - */ - P256 = 'P-256', - /** - * The NIST P-384 elliptic curve, AKA SECG curve SECP384R1. - */ - P384 = 'P-384', - /** - * The NIST P-521 elliptic curve, AKA SECG curve SECP521R1. - */ - P521 = 'P-521', - /** - * The SECG SECP256K1 elliptic curve. - */ - P256K = 'P-256K', -} +export type JsonWebKeyCurveName = 'P-256' | 'P-384' | 'P-521' | 'P-256K'; /** * Defines values for DeletionRecoveryLevel. - * Possible values include: 'Purgeable', 'Recoverable+Purgeable', - * 'Recoverable', 'Recoverable+ProtectedSubscription' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DeletionRecoveryLevel = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Purgeable', 'Recoverable+Purgeable', 'Recoverable', + * 'Recoverable+ProtectedSubscription' * @readonly * @enum {string} */ -export enum DeletionRecoveryLevel { - Purgeable = 'Purgeable', - RecoverablePurgeable = 'Recoverable+Purgeable', - Recoverable = 'Recoverable', - RecoverableProtectedSubscription = 'Recoverable+ProtectedSubscription', -} +export type DeletionRecoveryLevel = 'Purgeable' | 'Recoverable+Purgeable' | 'Recoverable' | 'Recoverable+ProtectedSubscription'; /** * Defines values for KeyUsageType. - * Possible values include: 'digitalSignature', 'nonRepudiation', - * 'keyEncipherment', 'dataEncipherment', 'keyAgreement', 'keyCertSign', - * 'cRLSign', 'encipherOnly', 'decipherOnly' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: KeyUsageType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'digitalSignature', 'nonRepudiation', 'keyEncipherment', + * 'dataEncipherment', 'keyAgreement', 'keyCertSign', 'cRLSign', 'encipherOnly', 'decipherOnly' * @readonly * @enum {string} */ -export enum KeyUsageType { - DigitalSignature = 'digitalSignature', - NonRepudiation = 'nonRepudiation', - KeyEncipherment = 'keyEncipherment', - DataEncipherment = 'dataEncipherment', - KeyAgreement = 'keyAgreement', - KeyCertSign = 'keyCertSign', - CRLSign = 'cRLSign', - EncipherOnly = 'encipherOnly', - DecipherOnly = 'decipherOnly', -} +export type KeyUsageType = 'digitalSignature' | 'nonRepudiation' | 'keyEncipherment' | 'dataEncipherment' | 'keyAgreement' | 'keyCertSign' | 'cRLSign' | 'encipherOnly' | 'decipherOnly'; /** * Defines values for ActionType. @@ -3081,133 +3007,40 @@ export enum KeyUsageType { * @readonly * @enum {string} */ -export enum ActionType { - EmailContacts = 'EmailContacts', - AutoRenew = 'AutoRenew', -} +export type ActionType = 'EmailContacts' | 'AutoRenew'; /** * Defines values for JsonWebKeyOperation. - * Possible values include: 'encrypt', 'decrypt', 'sign', 'verify', 'wrapKey', - * 'unwrapKey' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: JsonWebKeyOperation = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'encrypt', 'decrypt', 'sign', 'verify', 'wrapKey', 'unwrapKey' * @readonly * @enum {string} */ -export enum JsonWebKeyOperation { - Encrypt = 'encrypt', - Decrypt = 'decrypt', - Sign = 'sign', - Verify = 'verify', - WrapKey = 'wrapKey', - UnwrapKey = 'unwrapKey', -} +export type JsonWebKeyOperation = 'encrypt' | 'decrypt' | 'sign' | 'verify' | 'wrapKey' | 'unwrapKey'; /** * Defines values for JsonWebKeyEncryptionAlgorithm. * Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: JsonWebKeyEncryptionAlgorithm = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum JsonWebKeyEncryptionAlgorithm { - RSAOAEP = 'RSA-OAEP', - RSAOAEP256 = 'RSA-OAEP-256', - RSA15 = 'RSA1_5', -} +export type JsonWebKeyEncryptionAlgorithm = 'RSA-OAEP' | 'RSA-OAEP-256' | 'RSA1_5'; /** * Defines values for JsonWebKeySignatureAlgorithm. - * Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', - * 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ES256K' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: JsonWebKeySignatureAlgorithm = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', + * 'ES256', 'ES384', 'ES512', 'ES256K' * @readonly * @enum {string} */ -export enum JsonWebKeySignatureAlgorithm { - /** - * RSASSA-PSS using SHA-256 and MGF1 with SHA-256, as described in - * https://tools.ietf.org/html/rfc7518 - */ - PS256 = 'PS256', - /** - * RSASSA-PSS using SHA-384 and MGF1 with SHA-384, as described in - * https://tools.ietf.org/html/rfc7518 - */ - PS384 = 'PS384', - /** - * RSASSA-PSS using SHA-512 and MGF1 with SHA-512, as described in - * https://tools.ietf.org/html/rfc7518 - */ - PS512 = 'PS512', - /** - * RSASSA-PKCS1-v1_5 using SHA-256, as described in - * https://tools.ietf.org/html/rfc7518 - */ - RS256 = 'RS256', - /** - * RSASSA-PKCS1-v1_5 using SHA-384, as described in - * https://tools.ietf.org/html/rfc7518 - */ - RS384 = 'RS384', - /** - * RSASSA-PKCS1-v1_5 using SHA-512, as described in - * https://tools.ietf.org/html/rfc7518 - */ - RS512 = 'RS512', - /** - * Reserved - */ - RSNULL = 'RSNULL', - /** - * ECDSA using P-256 and SHA-256, as described in - * https://tools.ietf.org/html/rfc7518. - */ - ES256 = 'ES256', - /** - * ECDSA using P-384 and SHA-384, as described in - * https://tools.ietf.org/html/rfc7518 - */ - ES384 = 'ES384', - /** - * ECDSA using P-521 and SHA-512, as described in - * https://tools.ietf.org/html/rfc7518 - */ - ES512 = 'ES512', - /** - * ECDSA using P-256K and SHA-256, as described in - * https://tools.ietf.org/html/rfc7518 - */ - ES256K = 'ES256K', -} +export type JsonWebKeySignatureAlgorithm = 'PS256' | 'PS384' | 'PS512' | 'RS256' | 'RS384' | 'RS512' | 'RSNULL' | 'ES256' | 'ES384' | 'ES512' | 'ES256K'; /** * Defines values for SasTokenType. * Possible values include: 'account', 'service' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SasTokenType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum SasTokenType { - Account = 'account', - Service = 'service', -} +export type SasTokenType = 'account' | 'service'; /** * Contains response data for the createKey operation. diff --git a/packages/@azure/keyvault/lib/models/mappers.ts b/packages/@azure/keyvault/lib/models/mappers.ts index f2ee44868373..24f9fd6f7a97 100644 --- a/packages/@azure/keyvault/lib/models/mappers.ts +++ b/packages/@azure/keyvault/lib/models/mappers.ts @@ -8,8 +8,8 @@ * 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; diff --git a/packages/@azure/keyvault/lib/models/parameters.ts b/packages/@azure/keyvault/lib/models/parameters.ts index 69ebfc35e6fa..d09462859f3e 100644 --- a/packages/@azure/keyvault/lib/models/parameters.ts +++ b/packages/@azure/keyvault/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/keyvault/package.json b/packages/@azure/keyvault/package.json new file mode 100644 index 000000000000..10ab98ebe309 --- /dev/null +++ b/packages/@azure/keyvault/package.json @@ -0,0 +1,55 @@ +{ + "name": "@azure/keyvault", + "author": "Microsoft Corporation", + "description": "KeyVaultClient 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", + "tslib": "^1.9.3" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "license": "MIT", + "main": "./dist/keyvault.js", + "module": "./esm/keyVaultClient.js", + "types": "./esm/keyVaultClient.d.ts", + "devDependencies": { + "typescript": "^3.1.1", + "rollup": "^0.66.2", + "rollup-plugin-node-resolve": "^3.4.0", + "uglify-js": "^3.4.9" + }, + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/packages/@azure/keyvault", + "repository": { + "type": "git", + "url": "https://github.com/azure/azure-sdk-for-js.git" + }, + "bugs": { + "url": "https://github.com/azure/azure-sdk-for-js/issues" + }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], + "scripts": { + "build": "tsc && rollup -c rollup.config.js && npm run minify", + "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/keyvault.js.map'\" -o ./dist/keyvault.min.js ./dist/keyvault.js", + "prepack": "npm install && npm run build" + }, + "sideEffects": false +} diff --git a/packages/@azure/keyvault/rollup.config.js b/packages/@azure/keyvault/rollup.config.js index 40ef155d5590..96e7f2fb0991 100644 --- a/packages/@azure/keyvault/rollup.config.js +++ b/packages/@azure/keyvault/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/keyVaultClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/keyvault.js", format: "umd", name: "Azure.Keyvault", 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/keyvault/tsconfig.esm.json b/packages/@azure/keyvault/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/keyvault/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/keyvault/tsconfig.json b/packages/@azure/keyvault/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/keyvault/tsconfig.json +++ b/packages/@azure/keyvault/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/keyvault/webpack.config.js b/packages/@azure/keyvault/webpack.config.js deleted file mode 100644 index f10b9a41ba3b..000000000000 --- a/packages/@azure/keyvault/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/keyVaultClient.js', - devtool: 'source-map', - output: { - filename: 'keyVaultClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'keyVaultClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/loganalytics/.npmignore b/packages/@azure/loganalytics/.npmignore deleted file mode 100644 index a07a455ac10c..000000000000 --- a/packages/@azure/loganalytics/.npmignore +++ /dev/null @@ -1,35 +0,0 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config diff --git a/packages/@azure/loganalytics/README.md b/packages/@azure/loganalytics/README.md index eff48e3b769e..f55a75730112 100644 --- a/packages/@azure/loganalytics/README.md +++ b/packages/@azure/loganalytics/README.md @@ -1,26 +1,33 @@ -# An isomorphic javascript sdk for - LogAnalyticsClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - LogAnalyticsClient -## How to Install +This package contains an isomorphic SDK for LogAnalyticsClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/loganalytics ``` -- browser -```html - -``` -## How to use +### How to use -### nodejs - Authentication, client creation and execute query as an example written in TypeScript. +#### nodejs - Authentication, client creation and execute query as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code ```ts -import * as msRest from "ms-rest-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { LogAnalyticsClient, LogAnalyticsModels, LogAnalyticsMappers } from "@azure/loganalytics"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -41,7 +48,17 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and execute query as an example written in javascript. +#### browser - Authentication, client creation and execute query as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -49,8 +66,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => { @azure/loganalytics 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/loganalytics/lib/logAnalyticsClient.ts b/packages/@azure/loganalytics/lib/logAnalyticsClient.ts index 35a1f382dbee..da6795a42df5 100644 --- a/packages/@azure/loganalytics/lib/logAnalyticsClient.ts +++ b/packages/@azure/loganalytics/lib/logAnalyticsClient.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/loganalytics/lib/logAnalyticsClientContext.ts b/packages/@azure/loganalytics/lib/logAnalyticsClientContext.ts index bc137527b9a3..ff55138f8c26 100644 --- a/packages/@azure/loganalytics/lib/logAnalyticsClientContext.ts +++ b/packages/@azure/loganalytics/lib/logAnalyticsClientContext.ts @@ -8,11 +8,11 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; const packageName = "@azure/loganalytics"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class LogAnalyticsClientContext extends msRest.ServiceClient { credentials: msRest.ServiceClientCredentials; @@ -30,6 +30,10 @@ export class LogAnalyticsClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(credentials, options); @@ -37,6 +41,5 @@ export class LogAnalyticsClientContext extends msRest.ServiceClient { this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); } } diff --git a/packages/@azure/loganalytics/lib/models/index.ts b/packages/@azure/loganalytics/lib/models/index.ts index c980400b2923..52da54ffbedb 100644 --- a/packages/@azure/loganalytics/lib/models/index.ts +++ b/packages/@azure/loganalytics/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { ServiceClientOptions } from "ms-rest-js"; -import * as msRest from "ms-rest-js"; +import { ServiceClientOptions } from "@azure/ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** diff --git a/packages/@azure/loganalytics/lib/models/mappers.ts b/packages/@azure/loganalytics/lib/models/mappers.ts index 5578736678ee..cd3f848e53c8 100644 --- a/packages/@azure/loganalytics/lib/models/mappers.ts +++ b/packages/@azure/loganalytics/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const QueryBody: msRest.CompositeMapper = { diff --git a/packages/@azure/loganalytics/lib/models/parameters.ts b/packages/@azure/loganalytics/lib/models/parameters.ts index 5985f5d7be4c..4a414cdb76f6 100644 --- a/packages/@azure/loganalytics/lib/models/parameters.ts +++ b/packages/@azure/loganalytics/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 workspaceId: msRest.OperationURLParameter = { parameterPath: "workspaceId", diff --git a/packages/@azure/loganalytics/lib/operations/query.ts b/packages/@azure/loganalytics/lib/operations/query.ts index f2eb0876cf0d..9fe30ac699db 100644 --- a/packages/@azure/loganalytics/lib/operations/query.ts +++ b/packages/@azure/loganalytics/lib/operations/query.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/queryMappers"; import * as Parameters from "../models/parameters"; @@ -56,7 +56,7 @@ export class Query { * @param callback The callback */ execute(workspaceId: string, body: Models.QueryBody, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - execute(workspaceId: string, body: Models.QueryBody, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + execute(workspaceId: string, body: Models.QueryBody, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { workspaceId, diff --git a/packages/@azure/loganalytics/package.json b/packages/@azure/loganalytics/package.json index 824d198f7e61..fbc3a8fa1b59 100644 --- a/packages/@azure/loganalytics/package.json +++ b/packages/@azure/loganalytics/package.json @@ -4,7 +4,7 @@ "description": "LogAnalyticsClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -32,10 +32,23 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], "scripts": { "build": "tsc && rollup -c rollup.config.js && npm run minify", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/loganalytics.js.map'\" -o ./dist/loganalytics.min.js ./dist/loganalytics.js", - "prepare": "npm run build" + "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/loganalytics/rollup.config.js b/packages/@azure/loganalytics/rollup.config.js index 8486fe0fa199..a25a9cc464b5 100644 --- a/packages/@azure/loganalytics/rollup.config.js +++ b/packages/@azure/loganalytics/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/logAnalyticsClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/loganalytics.js", format: "umd", name: "Azure.Loganalytics", 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/loganalytics/tsconfig.esm.json b/packages/@azure/loganalytics/tsconfig.esm.json deleted file mode 100644 index 0b3aed07505c..000000000000 --- a/packages/@azure/loganalytics/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "./esm", - "module": "es6", - "target": "es5" - } -} diff --git a/packages/@azure/loganalytics/tsconfig.json b/packages/@azure/loganalytics/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/loganalytics/tsconfig.json +++ b/packages/@azure/loganalytics/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/loganalytics/webpack.config.js b/packages/@azure/loganalytics/webpack.config.js deleted file mode 100644 index 7427b1a32db6..000000000000 --- a/packages/@azure/loganalytics/webpack.config.js +++ /dev/null @@ -1,30 +0,0 @@ -// This is a template webpack config file with minimal configuration. -// Users are free to create their own webpack configuration files in their application. -const path = require('path'); - -/** - * @type {import('webpack').Configuration} - */ -const config = { - mode: 'production', - entry: './esm/logAnalyticsClient.js', - devtool: 'source-map', - output: { - filename: 'logAnalyticsClientBundle.js', - path: __dirname, - libraryTarget: 'var', - library: 'logAnalyticsClient' - }, - // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. - // Customer is expected to import/include this library in browser javascript - // (probably using the script tag in their html file). - externals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" - }, - resolve: { - extensions: [".tsx", ".ts", ".js"] - } -}; - -module.exports = config; diff --git a/packages/@azure/servicefabric/README.md b/packages/@azure/servicefabric/README.md index f8031417001a..371073ed5dd8 100644 --- a/packages/@azure/servicefabric/README.md +++ b/packages/@azure/servicefabric/README.md @@ -1,26 +1,33 @@ -# An isomorphic javascript sdk for - ServiceFabricClient -This project provides an isomorphic javascript package. Right now it supports: -- node.js version 6.x.x or higher -- browser javascript +## An isomorphic javascript sdk for - ServiceFabricClient -## How to Install +This package contains an isomorphic SDK for ServiceFabricClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install -- nodejs ``` npm install @azure/servicefabric ``` -- browser -```html - -``` -## How to use +### How to use -### nodejs - Authentication, client creation and getClusterManifest as an example written in TypeScript. +#### nodejs - Authentication, client creation and getClusterManifest as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code ```ts -import * as msRest from "ms-rest-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { ServiceFabricClient, ServiceFabricModels, ServiceFabricMappers } from "@azure/servicefabric"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -36,7 +43,17 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -### browser - Authentication, client creation and getClusterManifest as an example written in javascript. +#### browser - Authentication, client creation and getClusterManifest as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html ```html @@ -44,8 +61,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => { @azure/servicefabric 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/servicefabric/lib/models/index.ts b/packages/@azure/servicefabric/lib/models/index.ts index 3bdeae269ee7..71e5d3b2138b 100644 --- a/packages/@azure/servicefabric/lib/models/index.ts +++ b/packages/@azure/servicefabric/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { ServiceClientOptions } from "ms-rest-js"; -import * as msRest from "ms-rest-js"; +import { ServiceClientOptions } from "@azure/ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; /** @@ -21977,3549 +21977,823 @@ export interface ServiceFabricClientGetCorrelatedEventListOptionalParams extends /** * Defines values for ApplicationDefinitionKind. - * Possible values include: 'Invalid', 'ServiceFabricApplicationDescription', - * 'Compose' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApplicationDefinitionKind = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'ServiceFabricApplicationDescription', 'Compose' * @readonly * @enum {string} */ -export enum ApplicationDefinitionKind { - /** - * Indicates the application definition kind is invalid. All Service Fabric - * enumerations have the invalid type. The value is 65535. - */ - Invalid = 'Invalid', - /** - * Indicates the application is defined by a Service Fabric application - * description. The value is 0. - */ - ServiceFabricApplicationDescription = 'ServiceFabricApplicationDescription', - /** - * Indicates the application is defined by compose file(s). The value is 1. - */ - Compose = 'Compose', -} +export type ApplicationDefinitionKind = 'Invalid' | 'ServiceFabricApplicationDescription' | 'Compose'; /** * Defines values for HealthState. * Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HealthState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum HealthState { - /** - * Indicates an invalid health state. All Service Fabric enumerations have - * the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates the health state is okay. The value is 1. - */ - Ok = 'Ok', - /** - * Indicates the health state is at a warning level. The value is 2. - */ - Warning = 'Warning', - /** - * Indicates the health state is at an error level. Error health state should - * be investigated, as they can impact the correct functionality of the - * cluster. The value is 3. - */ - Error = 'Error', - /** - * Indicates an unknown health status. The value is 65535. - */ - Unknown = 'Unknown', -} +export type HealthState = 'Invalid' | 'Ok' | 'Warning' | 'Error' | 'Unknown'; /** * Defines values for ApplicationStatus. - * Possible values include: 'Invalid', 'Ready', 'Upgrading', 'Creating', - * 'Deleting', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApplicationStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' * @readonly * @enum {string} */ -export enum ApplicationStatus { - /** - * Indicates the application status is invalid. All Service Fabric - * enumerations have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates the application status is ready. The value is 1. - */ - Ready = 'Ready', - /** - * Indicates the application status is upgrading. The value is 2. - */ - Upgrading = 'Upgrading', - /** - * Indicates the application status is creating. The value is 3. - */ - Creating = 'Creating', - /** - * Indicates the application status is deleting. The value is 4. - */ - Deleting = 'Deleting', - /** - * Indicates the creation or deletion of application was terminated due to - * persistent failures. Another create/delete request can be accepted to - * resume a failed application. The value is 5. - */ - Failed = 'Failed', -} +export type ApplicationStatus = 'Invalid' | 'Ready' | 'Upgrading' | 'Creating' | 'Deleting' | 'Failed'; /** * Defines values for ApplicationPackageCleanupPolicy. * Possible values include: 'Invalid', 'Default', 'Automatic', 'Manual' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApplicationPackageCleanupPolicy = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ApplicationPackageCleanupPolicy { - /** - * Indicates that the application package cleanup policy is invalid. This - * value is default. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that the cleanup policy of application packages is based on the - * cluster setting "CleanupApplicationPackageOnProvisionSuccess." The value - * is 1. - */ - Default = 'Default', - /** - * Indicates that the service fabric runtime determines when to do the - * application package cleanup. By default, cleanup is done on successful - * provision. The value is 2. - */ - Automatic = 'Automatic', - /** - * Indicates that the user has to explicitly clean up the application - * package. The value is 3. - */ - Manual = 'Manual', -} +export type ApplicationPackageCleanupPolicy = 'Invalid' | 'Default' | 'Automatic' | 'Manual'; /** * Defines values for ApplicationTypeDefinitionKind. - * Possible values include: 'Invalid', 'ServiceFabricApplicationPackage', - * 'Compose' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApplicationTypeDefinitionKind = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'ServiceFabricApplicationPackage', 'Compose' * @readonly * @enum {string} */ -export enum ApplicationTypeDefinitionKind { - /** - * Indicates the application type definition kind is invalid. All Service - * Fabric enumerations have the invalid type. The value is 0. - */ - Invalid = 'Invalid', - /** - * Indicates the application type is defined and created by a Service Fabric - * application package provided by the user. The value is 1. - */ - ServiceFabricApplicationPackage = 'ServiceFabricApplicationPackage', - /** - * Indicates the application type is defined and created implicitly as part - * of a compose deployment. The value is 2. - */ - Compose = 'Compose', -} +export type ApplicationTypeDefinitionKind = 'Invalid' | 'ServiceFabricApplicationPackage' | 'Compose'; /** * Defines values for ApplicationTypeStatus. - * Possible values include: 'Invalid', 'Provisioning', 'Available', - * 'Unprovisioning', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApplicationTypeStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Provisioning', 'Available', 'Unprovisioning', 'Failed' * @readonly * @enum {string} */ -export enum ApplicationTypeStatus { - /** - * Indicates the application type status is invalid. All Service Fabric - * enumerations have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that the application type is being provisioned in the cluster. - * The value is 1. - */ - Provisioning = 'Provisioning', - /** - * Indicates that the application type is fully provisioned and is available - * for use. An application of this type and version can be created. The value - * is 2. - */ - Available = 'Available', - /** - * Indicates that the application type is in process of being unprovisioned - * from the cluster. The value is 3. - */ - Unprovisioning = 'Unprovisioning', - /** - * Indicates that the application type provisioning failed and it is - * unavailable for use. The failure details can be obtained from the - * application type information query. The failed application type - * information remains in the cluster until it is unprovisioned or - * reprovisioned successfully. The value is 4. - */ - Failed = 'Failed', -} +export type ApplicationTypeStatus = 'Invalid' | 'Provisioning' | 'Available' | 'Unprovisioning' | 'Failed'; /** * Defines values for UpgradeKind. * Possible values include: 'Invalid', 'Rolling' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UpgradeKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum UpgradeKind { - /** - * Indicates the upgrade kind is invalid. All Service Fabric enumerations - * have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * The upgrade progresses one upgrade domain at a time. The value is 1 - */ - Rolling = 'Rolling', -} +export type UpgradeKind = 'Invalid' | 'Rolling'; /** * Defines values for UpgradeMode. - * Possible values include: 'Invalid', 'UnmonitoredAuto', 'UnmonitoredManual', - * 'Monitored' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UpgradeMode = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'UnmonitoredAuto', 'UnmonitoredManual', 'Monitored' * @readonly * @enum {string} */ -export enum UpgradeMode { - /** - * Indicates the upgrade mode is invalid. All Service Fabric enumerations - * have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * The upgrade will proceed automatically without performing any health - * monitoring. The value is 1 - */ - UnmonitoredAuto = 'UnmonitoredAuto', - /** - * The upgrade will stop after completing each upgrade domain, giving the - * opportunity to manually monitor health before proceeding. The value is 2 - */ - UnmonitoredManual = 'UnmonitoredManual', - /** - * The upgrade will stop after completing each upgrade domain and - * automatically monitor health before proceeding. The value is 3 - */ - Monitored = 'Monitored', -} +export type UpgradeMode = 'Invalid' | 'UnmonitoredAuto' | 'UnmonitoredManual' | 'Monitored'; /** * Defines values for FailureAction. * Possible values include: 'Invalid', 'Rollback', 'Manual' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FailureAction = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FailureAction { - /** - * Indicates the failure action is invalid. All Service Fabric enumerations - * have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * The upgrade will start rolling back automatically. The value is 1 - */ - Rollback = 'Rollback', - /** - * The upgrade will switch to UnmonitoredManual upgrade mode. The value is 2 - */ - Manual = 'Manual', -} +export type FailureAction = 'Invalid' | 'Rollback' | 'Manual'; /** * Defines values for UpgradeDomainState. * Possible values include: 'Invalid', 'Pending', 'InProgress', 'Completed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UpgradeDomainState = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum UpgradeDomainState { - /** - * Indicates the upgrade domain state is invalid. All Service Fabric - * enumerations have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * The upgrade domain has not started upgrading yet. The value is 1 - */ - Pending = 'Pending', - /** - * The upgrade domain is being upgraded but not complete yet. The value is 2 - */ - InProgress = 'InProgress', - /** - * The upgrade domain has completed upgrade. The value is 3 - */ - Completed = 'Completed', -} +export type UpgradeDomainState = 'Invalid' | 'Pending' | 'InProgress' | 'Completed'; /** * Defines values for UpgradeState. - * Possible values include: 'Invalid', 'RollingBackInProgress', - * 'RollingBackCompleted', 'RollingForwardPending', 'RollingForwardInProgress', - * 'RollingForwardCompleted', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UpgradeState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'RollingBackInProgress', 'RollingBackCompleted', + * 'RollingForwardPending', 'RollingForwardInProgress', 'RollingForwardCompleted', 'Failed' * @readonly * @enum {string} */ -export enum UpgradeState { - /** - * Indicates the upgrade state is invalid. All Service Fabric enumerations - * have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * The upgrade is rolling back to the previous version but is not complete - * yet. The value is 1 - */ - RollingBackInProgress = 'RollingBackInProgress', - /** - * The upgrade has finished rolling back. The value is 2 - */ - RollingBackCompleted = 'RollingBackCompleted', - /** - * The current upgrade domain has finished upgrading. The overall upgrade is - * waiting for an explicit move next request in UnmonitoredManual mode or - * performing health checks in Monitored mode. The value is 3 - */ - RollingForwardPending = 'RollingForwardPending', - /** - * The upgrade is rolling forward to the target version but is not complete - * yet. The value is 4 - */ - RollingForwardInProgress = 'RollingForwardInProgress', - /** - * The upgrade has finished rolling forward. The value is 5 - */ - RollingForwardCompleted = 'RollingForwardCompleted', - /** - * The upgrade has failed and is unable to execute FailureAction. The value - * is 6 - */ - Failed = 'Failed', -} +export type UpgradeState = 'Invalid' | 'RollingBackInProgress' | 'RollingBackCompleted' | 'RollingForwardPending' | 'RollingForwardInProgress' | 'RollingForwardCompleted' | 'Failed'; /** * Defines values for NodeUpgradePhase. * Possible values include: 'Invalid', 'PreUpgradeSafetyCheck', 'Upgrading', * 'PostUpgradeSafetyCheck' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NodeUpgradePhase = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum NodeUpgradePhase { - /** - * Indicates the upgrade state is invalid. All Service Fabric enumerations - * have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * The upgrade has not started yet due to pending safety checks. The value is - * 1 - */ - PreUpgradeSafetyCheck = 'PreUpgradeSafetyCheck', - /** - * The upgrade is in progress. The value is 2 - */ - Upgrading = 'Upgrading', - /** - * The upgrade has completed and post upgrade safety checks are being - * performed. The value is 3 - */ - PostUpgradeSafetyCheck = 'PostUpgradeSafetyCheck', -} +export type NodeUpgradePhase = 'Invalid' | 'PreUpgradeSafetyCheck' | 'Upgrading' | 'PostUpgradeSafetyCheck'; /** * Defines values for FailureReason. - * Possible values include: 'None', 'Interrupted', 'HealthCheck', - * 'UpgradeDomainTimeout', 'OverallUpgradeTimeout' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FailureReason = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'Interrupted', 'HealthCheck', 'UpgradeDomainTimeout', + * 'OverallUpgradeTimeout' * @readonly * @enum {string} */ -export enum FailureReason { - /** - * Indicates the reason is invalid or unknown. All Service Fabric - * enumerations have the invalid type. The value is zero. - */ - None = 'None', - /** - * There was an external request to roll back the upgrade. The value is 1 - */ - Interrupted = 'Interrupted', - /** - * The upgrade failed due to health policy violations. The value is 2 - */ - HealthCheck = 'HealthCheck', - /** - * An upgrade domain took longer than the allowed upgrade domain timeout to - * process. The value is 3 - */ - UpgradeDomainTimeout = 'UpgradeDomainTimeout', - /** - * The overall upgrade took longer than the allowed upgrade timeout to - * process. The value is 4 - */ - OverallUpgradeTimeout = 'OverallUpgradeTimeout', -} +export type FailureReason = 'None' | 'Interrupted' | 'HealthCheck' | 'UpgradeDomainTimeout' | 'OverallUpgradeTimeout'; /** * Defines values for DeactivationIntent. * Possible values include: 'Pause', 'Restart', 'RemoveData' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DeactivationIntent = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DeactivationIntent { - /** - * Indicates that the node should be paused. The value is 1. - */ - Pause = 'Pause', - /** - * Indicates that the intent is for the node to be restarted after a short - * period of time. The value is 2. - */ - Restart = 'Restart', - /** - * Indicates the intent is for the node to remove data. The value is 3. - */ - RemoveData = 'RemoveData', -} +export type DeactivationIntent = 'Pause' | 'Restart' | 'RemoveData'; /** * Defines values for DeployedApplicationStatus. - * Possible values include: 'Invalid', 'Downloading', 'Activating', 'Active', - * 'Upgrading', 'Deactivating' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DeployedApplicationStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Downloading', 'Activating', 'Active', 'Upgrading', + * 'Deactivating' * @readonly * @enum {string} */ -export enum DeployedApplicationStatus { - /** - * Indicates that deployment status is not valid. All Service Fabric - * enumerations have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that the package is downloading from the ImageStore. The value - * is 1. - */ - Downloading = 'Downloading', - /** - * Indicates that the package is activating. The value is 2. - */ - Activating = 'Activating', - /** - * Indicates that the package is active. The value is 3. - */ - Active = 'Active', - /** - * Indicates that the package is upgrading. The value is 4. - */ - Upgrading = 'Upgrading', - /** - * Indicates that the package is deactivating. The value is 5. - */ - Deactivating = 'Deactivating', -} +export type DeployedApplicationStatus = 'Invalid' | 'Downloading' | 'Activating' | 'Active' | 'Upgrading' | 'Deactivating'; /** * Defines values for ReplicaStatus. - * Possible values include: 'Invalid', 'InBuild', 'Standby', 'Ready', 'Down', - * 'Dropped' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReplicaStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'InBuild', 'Standby', 'Ready', 'Down', 'Dropped' * @readonly * @enum {string} */ -export enum ReplicaStatus { - /** - * Indicates the replica status is invalid. All Service Fabric enumerations - * have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * The replica is being built. This means that a primary replica is seeding - * this replica. The value is 1. - */ - InBuild = 'InBuild', - /** - * The replica is in standby. The value is 2. - */ - Standby = 'Standby', - /** - * The replica is ready. The value is 3. - */ - Ready = 'Ready', - /** - * The replica is down. The value is 4. - */ - Down = 'Down', - /** - * Replica is dropped. This means that the replica has been removed from the - * replica set. If it is persisted, its state has been deleted. The value is - * 5. - */ - Dropped = 'Dropped', -} +export type ReplicaStatus = 'Invalid' | 'InBuild' | 'Standby' | 'Ready' | 'Down' | 'Dropped'; /** * Defines values for ReplicaRole. - * Possible values include: 'Unknown', 'None', 'Primary', 'IdleSecondary', - * 'ActiveSecondary' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReplicaRole = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'None', 'Primary', 'IdleSecondary', 'ActiveSecondary' * @readonly * @enum {string} */ -export enum ReplicaRole { - /** - * Indicates the initial role that a replica is created in. The value is - * zero. - */ - Unknown = 'Unknown', - /** - * Specifies that the replica has no responsibility in regard to the replica - * set. The value is 1 - */ - None = 'None', - /** - * Refers to the replica in the set on which all read and write operations - * are complete in order to enforce strong consistency semantics. Read - * operations are handled directly by the Primary replica, while write - * operations must be acknowledged by a quorum of the replicas in the replica - * set. There can only be one Primary replica in a replica set at a time. The - * value is 2. - */ - Primary = 'Primary', - /** - * Refers to a replica in the set that receives a state transfer from the - * Primary replica to prepare for becoming an active Secondary replica. There - * can be multiple Idle Secondary replicas in a replica set at a time. Idle - * Secondary replicas do not count as a part of a write quorum. The value is - * 3. - */ - IdleSecondary = 'IdleSecondary', - /** - * Refers to a replica in the set that receives state updates from the - * Primary replica, applies them, and sends acknowledgements back. Secondary - * replicas must participate in the write quorum for a replica set. There can - * be multiple active Secondary replicas in a replica set at a time. The - * number of active Secondary replicas is configurable that the reliability - * subsystem should maintain. The value is 4. - */ - ActiveSecondary = 'ActiveSecondary', -} +export type ReplicaRole = 'Unknown' | 'None' | 'Primary' | 'IdleSecondary' | 'ActiveSecondary'; /** * Defines values for ReconfigurationPhase. - * Possible values include: 'Unknown', 'None', 'Phase0', 'Phase1', 'Phase2', - * 'Phase3', 'Phase4', 'AbortPhaseZero' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReconfigurationPhase = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'None', 'Phase0', 'Phase1', 'Phase2', 'Phase3', 'Phase4', + * 'AbortPhaseZero' * @readonly * @enum {string} */ -export enum ReconfigurationPhase { - /** - * Indicates the invalid reconfiguration phase. - */ - Unknown = 'Unknown', - /** - * Specifies that there is no reconfiguration in progress. - */ - None = 'None', - /** - * Refers to the phase where the reconfiguration is transferring data from - * the previous primary to the new primary. - */ - Phase0 = 'Phase0', - /** - * Refers to the phase where the reconfiguration is querying the replica set - * for the progress. - */ - Phase1 = 'Phase1', - /** - * Refers to the phase where the reconfiguration is ensuring that data from - * the current primary is present in a majority of the replica set. - */ - Phase2 = 'Phase2', - /** - * This phase is for internal use only. - */ - Phase3 = 'Phase3', - /** - * This phase is for internal use only. - */ - Phase4 = 'Phase4', - /** - * This phase is for internal use only. - */ - AbortPhaseZero = 'AbortPhaseZero', -} +export type ReconfigurationPhase = 'Unknown' | 'None' | 'Phase0' | 'Phase1' | 'Phase2' | 'Phase3' | 'Phase4' | 'AbortPhaseZero'; /** * Defines values for ReconfigurationType. * Possible values include: 'Unknown', 'SwapPrimary', 'Failover', 'Other' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReconfigurationType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ReconfigurationType { - /** - * Indicates the invalid reconfiguration type. - */ - Unknown = 'Unknown', - /** - * Specifies that the primary replica is being swapped with a different - * replica. - */ - SwapPrimary = 'SwapPrimary', - /** - * Reconfiguration triggered in response to a primary going down. This could - * be due to many reasons such as primary replica crashing etc. - */ - Failover = 'Failover', - /** - * Reconfigurations where the primary replica is not changing. - */ - Other = 'Other', -} +export type ReconfigurationType = 'Unknown' | 'SwapPrimary' | 'Failover' | 'Other'; /** * Defines values for EntityKind. - * Possible values include: 'Invalid', 'Node', 'Partition', 'Service', - * 'Application', 'Replica', 'DeployedApplication', 'DeployedServicePackage', - * 'Cluster' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EntityKind = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Node', 'Partition', 'Service', 'Application', 'Replica', + * 'DeployedApplication', 'DeployedServicePackage', 'Cluster' * @readonly * @enum {string} */ -export enum EntityKind { - /** - * Indicates an invalid entity kind. All Service Fabric enumerations have the - * invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates the entity is a Service Fabric node. The value is 1. - */ - Node = 'Node', - /** - * Indicates the entity is a Service Fabric partition. The value is 2. - */ - Partition = 'Partition', - /** - * Indicates the entity is a Service Fabric service. The value is 3. - */ - Service = 'Service', - /** - * Indicates the entity is a Service Fabric application. The value is 4. - */ - Application = 'Application', - /** - * Indicates the entity is a Service Fabric replica. The value is 5. - */ - Replica = 'Replica', - /** - * Indicates the entity is a Service Fabric deployed application. The value - * is 6. - */ - DeployedApplication = 'DeployedApplication', - /** - * Indicates the entity is a Service Fabric deployed service package. The - * value is 7. - */ - DeployedServicePackage = 'DeployedServicePackage', - /** - * Indicates the entity is a Service Fabric cluster. The value is 8. - */ - Cluster = 'Cluster', -} +export type EntityKind = 'Invalid' | 'Node' | 'Partition' | 'Service' | 'Application' | 'Replica' | 'DeployedApplication' | 'DeployedServicePackage' | 'Cluster'; /** * Defines values for FabricErrorCodes. * Possible values include: 'FABRIC_E_INVALID_PARTITION_KEY', * 'FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR', 'FABRIC_E_INVALID_ADDRESS', - * 'FABRIC_E_APPLICATION_NOT_UPGRADING', - * 'FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR', + * 'FABRIC_E_APPLICATION_NOT_UPGRADING', 'FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR', * 'FABRIC_E_FABRIC_NOT_UPGRADING', 'FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR', - * 'FABRIC_E_INVALID_CONFIGURATION', 'FABRIC_E_INVALID_NAME_URI', - * 'FABRIC_E_PATH_TOO_LONG', 'FABRIC_E_KEY_TOO_LARGE', - * 'FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED', - * 'FABRIC_E_INVALID_ATOMIC_GROUP', 'FABRIC_E_VALUE_EMPTY', - * 'FABRIC_E_NODE_NOT_FOUND', 'FABRIC_E_APPLICATION_TYPE_NOT_FOUND', - * 'FABRIC_E_APPLICATION_NOT_FOUND', 'FABRIC_E_SERVICE_TYPE_NOT_FOUND', - * 'FABRIC_E_SERVICE_DOES_NOT_EXIST', - * 'FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND', - * 'FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND', 'FABRIC_E_PARTITION_NOT_FOUND', - * 'FABRIC_E_REPLICA_DOES_NOT_EXIST', 'FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST', - * 'FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND', - * 'FABRIC_E_DIRECTORY_NOT_FOUND', 'FABRIC_E_FABRIC_VERSION_NOT_FOUND', - * 'FABRIC_E_FILE_NOT_FOUND', 'FABRIC_E_NAME_DOES_NOT_EXIST', - * 'FABRIC_E_PROPERTY_DOES_NOT_EXIST', 'FABRIC_E_ENUMERATION_COMPLETED', - * 'FABRIC_E_SERVICE_MANIFEST_NOT_FOUND', 'FABRIC_E_KEY_NOT_FOUND', - * 'FABRIC_E_HEALTH_ENTITY_NOT_FOUND', - * 'FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS', - * 'FABRIC_E_APPLICATION_ALREADY_EXISTS', + * 'FABRIC_E_INVALID_CONFIGURATION', 'FABRIC_E_INVALID_NAME_URI', 'FABRIC_E_PATH_TOO_LONG', + * 'FABRIC_E_KEY_TOO_LARGE', 'FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED', + * 'FABRIC_E_INVALID_ATOMIC_GROUP', 'FABRIC_E_VALUE_EMPTY', 'FABRIC_E_NODE_NOT_FOUND', + * 'FABRIC_E_APPLICATION_TYPE_NOT_FOUND', 'FABRIC_E_APPLICATION_NOT_FOUND', + * 'FABRIC_E_SERVICE_TYPE_NOT_FOUND', 'FABRIC_E_SERVICE_DOES_NOT_EXIST', + * 'FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND', 'FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND', + * 'FABRIC_E_PARTITION_NOT_FOUND', 'FABRIC_E_REPLICA_DOES_NOT_EXIST', + * 'FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST', 'FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND', + * 'FABRIC_E_DIRECTORY_NOT_FOUND', 'FABRIC_E_FABRIC_VERSION_NOT_FOUND', 'FABRIC_E_FILE_NOT_FOUND', + * 'FABRIC_E_NAME_DOES_NOT_EXIST', 'FABRIC_E_PROPERTY_DOES_NOT_EXIST', + * 'FABRIC_E_ENUMERATION_COMPLETED', 'FABRIC_E_SERVICE_MANIFEST_NOT_FOUND', + * 'FABRIC_E_KEY_NOT_FOUND', 'FABRIC_E_HEALTH_ENTITY_NOT_FOUND', + * 'FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS', 'FABRIC_E_APPLICATION_ALREADY_EXISTS', * 'FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION', - * 'FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS', - * 'FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS', + * 'FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS', 'FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS', * 'FABRIC_E_SERVICE_ALREADY_EXISTS', 'FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS', - * 'FABRIC_E_APPLICATION_TYPE_IN_USE', - * 'FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION', + * 'FABRIC_E_APPLICATION_TYPE_IN_USE', 'FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION', * 'FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS', 'FABRIC_E_FABRIC_VERSION_IN_USE', * 'FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS', 'FABRIC_E_NAME_ALREADY_EXISTS', * 'FABRIC_E_NAME_NOT_EMPTY', 'FABRIC_E_PROPERTY_CHECK_FAILED', * 'FABRIC_E_SERVICE_METADATA_MISMATCH', 'FABRIC_E_SERVICE_TYPE_MISMATCH', * 'FABRIC_E_HEALTH_STALE_REPORT', 'FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED', * 'FABRIC_E_NODE_HAS_NOT_STOPPED_YET', 'FABRIC_E_INSTANCE_ID_MISMATCH', - * 'FABRIC_E_VALUE_TOO_LARGE', 'FABRIC_E_NO_WRITE_QUORUM', - * 'FABRIC_E_NOT_PRIMARY', 'FABRIC_E_NOT_READY', - * 'FABRIC_E_RECONFIGURATION_PENDING', 'FABRIC_E_SERVICE_OFFLINE', 'E_ABORT', - * 'FABRIC_E_COMMUNICATION_ERROR', 'FABRIC_E_OPERATION_NOT_COMPLETE', - * 'FABRIC_E_TIMEOUT', 'FABRIC_E_NODE_IS_UP', 'E_FAIL', - * 'FABRIC_E_BACKUP_IS_ENABLED', - * 'FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH', - * 'FABRIC_E_INVALID_FOR_STATELESS_SERVICES', 'FABRIC_E_BACKUP_NOT_ENABLED', - * 'FABRIC_E_BACKUP_POLICY_NOT_EXISTING', - * 'FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_EXISTING', - * 'FABRIC_E_BACKUP_IN_PROGRESS', 'FABRIC_E_RESTORE_IN_PROGRESS', - * 'FABRIC_E_BACKUP_POLICY_ALREADY_EXISTING', + * 'FABRIC_E_VALUE_TOO_LARGE', 'FABRIC_E_NO_WRITE_QUORUM', 'FABRIC_E_NOT_PRIMARY', + * 'FABRIC_E_NOT_READY', 'FABRIC_E_RECONFIGURATION_PENDING', 'FABRIC_E_SERVICE_OFFLINE', 'E_ABORT', + * 'FABRIC_E_COMMUNICATION_ERROR', 'FABRIC_E_OPERATION_NOT_COMPLETE', 'FABRIC_E_TIMEOUT', + * 'FABRIC_E_NODE_IS_UP', 'E_FAIL', 'FABRIC_E_BACKUP_IS_ENABLED', + * 'FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH', 'FABRIC_E_INVALID_FOR_STATELESS_SERVICES', + * 'FABRIC_E_BACKUP_NOT_ENABLED', 'FABRIC_E_BACKUP_POLICY_NOT_EXISTING', + * 'FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_EXISTING', 'FABRIC_E_BACKUP_IN_PROGRESS', + * 'FABRIC_E_RESTORE_IN_PROGRESS', 'FABRIC_E_BACKUP_POLICY_ALREADY_EXISTING', * 'FABRIC_E_INVALID_SERVICE_SCALING_POLICY', 'E_INVALIDARG', * 'FABRIC_E_SINGLE_INSTANCE_APPLICATION_ALREADY_EXISTS', - * 'FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND', - * 'FABRIC_E_VOLUME_ALREADY_EXISTS', 'FABRIC_E_VOLUME_NOT_FOUND', - * 'SerializationError' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FabricErrorCodes = - * "someUnknownValueThatWillStillBeValid"; + * 'FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND', 'FABRIC_E_VOLUME_ALREADY_EXISTS', + * 'FABRIC_E_VOLUME_NOT_FOUND', 'SerializationError' * @readonly * @enum {string} */ -export enum FabricErrorCodes { - FABRICEINVALIDPARTITIONKEY = 'FABRIC_E_INVALID_PARTITION_KEY', - FABRICEIMAGEBUILDERVALIDATIONERROR = 'FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR', - FABRICEINVALIDADDRESS = 'FABRIC_E_INVALID_ADDRESS', - FABRICEAPPLICATIONNOTUPGRADING = 'FABRIC_E_APPLICATION_NOT_UPGRADING', - FABRICEAPPLICATIONUPGRADEVALIDATIONERROR = 'FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR', - FABRICEFABRICNOTUPGRADING = 'FABRIC_E_FABRIC_NOT_UPGRADING', - FABRICEFABRICUPGRADEVALIDATIONERROR = 'FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR', - FABRICEINVALIDCONFIGURATION = 'FABRIC_E_INVALID_CONFIGURATION', - FABRICEINVALIDNAMEURI = 'FABRIC_E_INVALID_NAME_URI', - FABRICEPATHTOOLONG = 'FABRIC_E_PATH_TOO_LONG', - FABRICEKEYTOOLARGE = 'FABRIC_E_KEY_TOO_LARGE', - FABRICESERVICEAFFINITYCHAINNOTSUPPORTED = 'FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED', - FABRICEINVALIDATOMICGROUP = 'FABRIC_E_INVALID_ATOMIC_GROUP', - FABRICEVALUEEMPTY = 'FABRIC_E_VALUE_EMPTY', - FABRICENODENOTFOUND = 'FABRIC_E_NODE_NOT_FOUND', - FABRICEAPPLICATIONTYPENOTFOUND = 'FABRIC_E_APPLICATION_TYPE_NOT_FOUND', - FABRICEAPPLICATIONNOTFOUND = 'FABRIC_E_APPLICATION_NOT_FOUND', - FABRICESERVICETYPENOTFOUND = 'FABRIC_E_SERVICE_TYPE_NOT_FOUND', - FABRICESERVICEDOESNOTEXIST = 'FABRIC_E_SERVICE_DOES_NOT_EXIST', - FABRICESERVICETYPETEMPLATENOTFOUND = 'FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND', - FABRICECONFIGURATIONSECTIONNOTFOUND = 'FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND', - FABRICEPARTITIONNOTFOUND = 'FABRIC_E_PARTITION_NOT_FOUND', - FABRICEREPLICADOESNOTEXIST = 'FABRIC_E_REPLICA_DOES_NOT_EXIST', - FABRICESERVICEGROUPDOESNOTEXIST = 'FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST', - FABRICECONFIGURATIONPARAMETERNOTFOUND = 'FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND', - FABRICEDIRECTORYNOTFOUND = 'FABRIC_E_DIRECTORY_NOT_FOUND', - FABRICEFABRICVERSIONNOTFOUND = 'FABRIC_E_FABRIC_VERSION_NOT_FOUND', - FABRICEFILENOTFOUND = 'FABRIC_E_FILE_NOT_FOUND', - FABRICENAMEDOESNOTEXIST = 'FABRIC_E_NAME_DOES_NOT_EXIST', - FABRICEPROPERTYDOESNOTEXIST = 'FABRIC_E_PROPERTY_DOES_NOT_EXIST', - FABRICEENUMERATIONCOMPLETED = 'FABRIC_E_ENUMERATION_COMPLETED', - FABRICESERVICEMANIFESTNOTFOUND = 'FABRIC_E_SERVICE_MANIFEST_NOT_FOUND', - FABRICEKEYNOTFOUND = 'FABRIC_E_KEY_NOT_FOUND', - FABRICEHEALTHENTITYNOTFOUND = 'FABRIC_E_HEALTH_ENTITY_NOT_FOUND', - FABRICEAPPLICATIONTYPEALREADYEXISTS = 'FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS', - FABRICEAPPLICATIONALREADYEXISTS = 'FABRIC_E_APPLICATION_ALREADY_EXISTS', - FABRICEAPPLICATIONALREADYINTARGETVERSION = 'FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION', - FABRICEAPPLICATIONTYPEPROVISIONINPROGRESS = 'FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS', - FABRICEAPPLICATIONUPGRADEINPROGRESS = 'FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS', - FABRICESERVICEALREADYEXISTS = 'FABRIC_E_SERVICE_ALREADY_EXISTS', - FABRICESERVICEGROUPALREADYEXISTS = 'FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS', - FABRICEAPPLICATIONTYPEINUSE = 'FABRIC_E_APPLICATION_TYPE_IN_USE', - FABRICEFABRICALREADYINTARGETVERSION = 'FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION', - FABRICEFABRICVERSIONALREADYEXISTS = 'FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS', - FABRICEFABRICVERSIONINUSE = 'FABRIC_E_FABRIC_VERSION_IN_USE', - FABRICEFABRICUPGRADEINPROGRESS = 'FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS', - FABRICENAMEALREADYEXISTS = 'FABRIC_E_NAME_ALREADY_EXISTS', - FABRICENAMENOTEMPTY = 'FABRIC_E_NAME_NOT_EMPTY', - FABRICEPROPERTYCHECKFAILED = 'FABRIC_E_PROPERTY_CHECK_FAILED', - FABRICESERVICEMETADATAMISMATCH = 'FABRIC_E_SERVICE_METADATA_MISMATCH', - FABRICESERVICETYPEMISMATCH = 'FABRIC_E_SERVICE_TYPE_MISMATCH', - FABRICEHEALTHSTALEREPORT = 'FABRIC_E_HEALTH_STALE_REPORT', - FABRICESEQUENCENUMBERCHECKFAILED = 'FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED', - FABRICENODEHASNOTSTOPPEDYET = 'FABRIC_E_NODE_HAS_NOT_STOPPED_YET', - FABRICEINSTANCEIDMISMATCH = 'FABRIC_E_INSTANCE_ID_MISMATCH', - FABRICEVALUETOOLARGE = 'FABRIC_E_VALUE_TOO_LARGE', - FABRICENOWRITEQUORUM = 'FABRIC_E_NO_WRITE_QUORUM', - FABRICENOTPRIMARY = 'FABRIC_E_NOT_PRIMARY', - FABRICENOTREADY = 'FABRIC_E_NOT_READY', - FABRICERECONFIGURATIONPENDING = 'FABRIC_E_RECONFIGURATION_PENDING', - FABRICESERVICEOFFLINE = 'FABRIC_E_SERVICE_OFFLINE', - EABORT = 'E_ABORT', - FABRICECOMMUNICATIONERROR = 'FABRIC_E_COMMUNICATION_ERROR', - FABRICEOPERATIONNOTCOMPLETE = 'FABRIC_E_OPERATION_NOT_COMPLETE', - FABRICETIMEOUT = 'FABRIC_E_TIMEOUT', - FABRICENODEISUP = 'FABRIC_E_NODE_IS_UP', - EFAIL = 'E_FAIL', - FABRICEBACKUPISENABLED = 'FABRIC_E_BACKUP_IS_ENABLED', - FABRICERESTORESOURCETARGETPARTITIONMISMATCH = 'FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH', - FABRICEINVALIDFORSTATELESSSERVICES = 'FABRIC_E_INVALID_FOR_STATELESS_SERVICES', - FABRICEBACKUPNOTENABLED = 'FABRIC_E_BACKUP_NOT_ENABLED', - FABRICEBACKUPPOLICYNOTEXISTING = 'FABRIC_E_BACKUP_POLICY_NOT_EXISTING', - FABRICEFAULTANALYSISSERVICENOTEXISTING = 'FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_EXISTING', - FABRICEBACKUPINPROGRESS = 'FABRIC_E_BACKUP_IN_PROGRESS', - FABRICERESTOREINPROGRESS = 'FABRIC_E_RESTORE_IN_PROGRESS', - FABRICEBACKUPPOLICYALREADYEXISTING = 'FABRIC_E_BACKUP_POLICY_ALREADY_EXISTING', - FABRICEINVALIDSERVICESCALINGPOLICY = 'FABRIC_E_INVALID_SERVICE_SCALING_POLICY', - EINVALIDARG = 'E_INVALIDARG', - FABRICESINGLEINSTANCEAPPLICATIONALREADYEXISTS = 'FABRIC_E_SINGLE_INSTANCE_APPLICATION_ALREADY_EXISTS', - FABRICESINGLEINSTANCEAPPLICATIONNOTFOUND = 'FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND', - FABRICEVOLUMEALREADYEXISTS = 'FABRIC_E_VOLUME_ALREADY_EXISTS', - FABRICEVOLUMENOTFOUND = 'FABRIC_E_VOLUME_NOT_FOUND', - SerializationError = 'SerializationError', -} +export type FabricErrorCodes = 'FABRIC_E_INVALID_PARTITION_KEY' | 'FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR' | 'FABRIC_E_INVALID_ADDRESS' | 'FABRIC_E_APPLICATION_NOT_UPGRADING' | 'FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR' | 'FABRIC_E_FABRIC_NOT_UPGRADING' | 'FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR' | 'FABRIC_E_INVALID_CONFIGURATION' | 'FABRIC_E_INVALID_NAME_URI' | 'FABRIC_E_PATH_TOO_LONG' | 'FABRIC_E_KEY_TOO_LARGE' | 'FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED' | 'FABRIC_E_INVALID_ATOMIC_GROUP' | 'FABRIC_E_VALUE_EMPTY' | 'FABRIC_E_NODE_NOT_FOUND' | 'FABRIC_E_APPLICATION_TYPE_NOT_FOUND' | 'FABRIC_E_APPLICATION_NOT_FOUND' | 'FABRIC_E_SERVICE_TYPE_NOT_FOUND' | 'FABRIC_E_SERVICE_DOES_NOT_EXIST' | 'FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND' | 'FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND' | 'FABRIC_E_PARTITION_NOT_FOUND' | 'FABRIC_E_REPLICA_DOES_NOT_EXIST' | 'FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST' | 'FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND' | 'FABRIC_E_DIRECTORY_NOT_FOUND' | 'FABRIC_E_FABRIC_VERSION_NOT_FOUND' | 'FABRIC_E_FILE_NOT_FOUND' | 'FABRIC_E_NAME_DOES_NOT_EXIST' | 'FABRIC_E_PROPERTY_DOES_NOT_EXIST' | 'FABRIC_E_ENUMERATION_COMPLETED' | 'FABRIC_E_SERVICE_MANIFEST_NOT_FOUND' | 'FABRIC_E_KEY_NOT_FOUND' | 'FABRIC_E_HEALTH_ENTITY_NOT_FOUND' | 'FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS' | 'FABRIC_E_APPLICATION_ALREADY_EXISTS' | 'FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION' | 'FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS' | 'FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS' | 'FABRIC_E_SERVICE_ALREADY_EXISTS' | 'FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS' | 'FABRIC_E_APPLICATION_TYPE_IN_USE' | 'FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION' | 'FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS' | 'FABRIC_E_FABRIC_VERSION_IN_USE' | 'FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS' | 'FABRIC_E_NAME_ALREADY_EXISTS' | 'FABRIC_E_NAME_NOT_EMPTY' | 'FABRIC_E_PROPERTY_CHECK_FAILED' | 'FABRIC_E_SERVICE_METADATA_MISMATCH' | 'FABRIC_E_SERVICE_TYPE_MISMATCH' | 'FABRIC_E_HEALTH_STALE_REPORT' | 'FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED' | 'FABRIC_E_NODE_HAS_NOT_STOPPED_YET' | 'FABRIC_E_INSTANCE_ID_MISMATCH' | 'FABRIC_E_VALUE_TOO_LARGE' | 'FABRIC_E_NO_WRITE_QUORUM' | 'FABRIC_E_NOT_PRIMARY' | 'FABRIC_E_NOT_READY' | 'FABRIC_E_RECONFIGURATION_PENDING' | 'FABRIC_E_SERVICE_OFFLINE' | 'E_ABORT' | 'FABRIC_E_COMMUNICATION_ERROR' | 'FABRIC_E_OPERATION_NOT_COMPLETE' | 'FABRIC_E_TIMEOUT' | 'FABRIC_E_NODE_IS_UP' | 'E_FAIL' | 'FABRIC_E_BACKUP_IS_ENABLED' | 'FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH' | 'FABRIC_E_INVALID_FOR_STATELESS_SERVICES' | 'FABRIC_E_BACKUP_NOT_ENABLED' | 'FABRIC_E_BACKUP_POLICY_NOT_EXISTING' | 'FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_EXISTING' | 'FABRIC_E_BACKUP_IN_PROGRESS' | 'FABRIC_E_RESTORE_IN_PROGRESS' | 'FABRIC_E_BACKUP_POLICY_ALREADY_EXISTING' | 'FABRIC_E_INVALID_SERVICE_SCALING_POLICY' | 'E_INVALIDARG' | 'FABRIC_E_SINGLE_INSTANCE_APPLICATION_ALREADY_EXISTS' | 'FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND' | 'FABRIC_E_VOLUME_ALREADY_EXISTS' | 'FABRIC_E_VOLUME_NOT_FOUND' | 'SerializationError'; /** * Defines values for FabricEventKind. - * Possible values include: 'ClusterEvent', 'ContainerInstanceEvent', - * 'NodeEvent', 'ApplicationEvent', 'ServiceEvent', 'PartitionEvent', - * 'ReplicaEvent', 'PartitionAnalysisEvent', 'ApplicationCreated', - * 'ApplicationDeleted', 'ApplicationHealthReportCreated', + * Possible values include: 'ClusterEvent', 'ContainerInstanceEvent', 'NodeEvent', + * 'ApplicationEvent', 'ServiceEvent', 'PartitionEvent', 'ReplicaEvent', 'PartitionAnalysisEvent', + * 'ApplicationCreated', 'ApplicationDeleted', 'ApplicationHealthReportCreated', * 'ApplicationHealthReportExpired', 'ApplicationUpgradeComplete', * 'ApplicationUpgradeDomainComplete', 'ApplicationUpgradeRollbackComplete', * 'ApplicationUpgradeRollbackStart', 'ApplicationUpgradeStart', - * 'DeployedApplicationHealthReportCreated', - * 'DeployedApplicationHealthReportExpired', 'ProcessDeactivated', - * 'ContainerDeactivated', 'NodeAborted', 'NodeAborting', 'NodeAdded', - * 'NodeClose', 'NodeClosing', 'NodeDeactivateComplete', 'NodeDeactivateStart', - * 'NodeDown', 'NodeHealthReportCreated', 'NodeHealthReportExpired', - * 'NodeOpenedSuccess', 'NodeOpenFailed', 'NodeOpening', 'NodeRemoved', - * 'NodeUp', 'PartitionHealthReportCreated', 'PartitionHealthReportExpired', - * 'PartitionReconfigurationCompleted', 'PartitionPrimaryMoveAnalysis', - * 'ServiceCreated', 'ServiceDeleted', 'ServiceHealthReportCreated', - * 'ServiceHealthReportExpired', 'DeployedServiceHealthReportCreated', - * 'DeployedServiceHealthReportExpired', 'StatefulReplicaHealthReportCreated', - * 'StatefulReplicaHealthReportExpired', 'StatelessReplicaHealthReportCreated', - * 'StatelessReplicaHealthReportExpired', 'ClusterHealthReportCreated', - * 'ClusterHealthReportExpired', 'ClusterUpgradeComplete', - * 'ClusterUpgradeDomainComplete', 'ClusterUpgradeRollbackComplete', - * 'ClusterUpgradeRollbackStart', 'ClusterUpgradeStart', 'ChaosStopped', - * 'ChaosStarted', 'ChaosRestartNodeFaultCompleted', - * 'ChaosRestartCodePackageFaultScheduled', - * 'ChaosRestartCodePackageFaultCompleted', 'ChaosRemoveReplicaFaultScheduled', - * 'ChaosRemoveReplicaFaultCompleted', 'ChaosMoveSecondaryFaultScheduled', - * 'ChaosMovePrimaryFaultScheduled', 'ChaosRestartReplicaFaultScheduled', - * 'ChaosRestartNodeFaultScheduled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FabricEventKind = - * "someUnknownValueThatWillStillBeValid"; + * 'DeployedApplicationHealthReportCreated', 'DeployedApplicationHealthReportExpired', + * 'ProcessDeactivated', 'ContainerDeactivated', 'NodeAborted', 'NodeAborting', 'NodeAdded', + * 'NodeClose', 'NodeClosing', 'NodeDeactivateComplete', 'NodeDeactivateStart', 'NodeDown', + * 'NodeHealthReportCreated', 'NodeHealthReportExpired', 'NodeOpenedSuccess', 'NodeOpenFailed', + * 'NodeOpening', 'NodeRemoved', 'NodeUp', 'PartitionHealthReportCreated', + * 'PartitionHealthReportExpired', 'PartitionReconfigurationCompleted', + * 'PartitionPrimaryMoveAnalysis', 'ServiceCreated', 'ServiceDeleted', + * 'ServiceHealthReportCreated', 'ServiceHealthReportExpired', + * 'DeployedServiceHealthReportCreated', 'DeployedServiceHealthReportExpired', + * 'StatefulReplicaHealthReportCreated', 'StatefulReplicaHealthReportExpired', + * 'StatelessReplicaHealthReportCreated', 'StatelessReplicaHealthReportExpired', + * 'ClusterHealthReportCreated', 'ClusterHealthReportExpired', 'ClusterUpgradeComplete', + * 'ClusterUpgradeDomainComplete', 'ClusterUpgradeRollbackComplete', 'ClusterUpgradeRollbackStart', + * 'ClusterUpgradeStart', 'ChaosStopped', 'ChaosStarted', 'ChaosRestartNodeFaultCompleted', + * 'ChaosRestartCodePackageFaultScheduled', 'ChaosRestartCodePackageFaultCompleted', + * 'ChaosRemoveReplicaFaultScheduled', 'ChaosRemoveReplicaFaultCompleted', + * 'ChaosMoveSecondaryFaultScheduled', 'ChaosMovePrimaryFaultScheduled', + * 'ChaosRestartReplicaFaultScheduled', 'ChaosRestartNodeFaultScheduled' * @readonly * @enum {string} */ -export enum FabricEventKind { - ClusterEvent = 'ClusterEvent', - ContainerInstanceEvent = 'ContainerInstanceEvent', - NodeEvent = 'NodeEvent', - ApplicationEvent = 'ApplicationEvent', - ServiceEvent = 'ServiceEvent', - PartitionEvent = 'PartitionEvent', - ReplicaEvent = 'ReplicaEvent', - PartitionAnalysisEvent = 'PartitionAnalysisEvent', - ApplicationCreated = 'ApplicationCreated', - ApplicationDeleted = 'ApplicationDeleted', - ApplicationHealthReportCreated = 'ApplicationHealthReportCreated', - ApplicationHealthReportExpired = 'ApplicationHealthReportExpired', - ApplicationUpgradeComplete = 'ApplicationUpgradeComplete', - ApplicationUpgradeDomainComplete = 'ApplicationUpgradeDomainComplete', - ApplicationUpgradeRollbackComplete = 'ApplicationUpgradeRollbackComplete', - ApplicationUpgradeRollbackStart = 'ApplicationUpgradeRollbackStart', - ApplicationUpgradeStart = 'ApplicationUpgradeStart', - DeployedApplicationHealthReportCreated = 'DeployedApplicationHealthReportCreated', - DeployedApplicationHealthReportExpired = 'DeployedApplicationHealthReportExpired', - ProcessDeactivated = 'ProcessDeactivated', - ContainerDeactivated = 'ContainerDeactivated', - NodeAborted = 'NodeAborted', - NodeAborting = 'NodeAborting', - NodeAdded = 'NodeAdded', - NodeClose = 'NodeClose', - NodeClosing = 'NodeClosing', - NodeDeactivateComplete = 'NodeDeactivateComplete', - NodeDeactivateStart = 'NodeDeactivateStart', - NodeDown = 'NodeDown', - NodeHealthReportCreated = 'NodeHealthReportCreated', - NodeHealthReportExpired = 'NodeHealthReportExpired', - NodeOpenedSuccess = 'NodeOpenedSuccess', - NodeOpenFailed = 'NodeOpenFailed', - NodeOpening = 'NodeOpening', - NodeRemoved = 'NodeRemoved', - NodeUp = 'NodeUp', - PartitionHealthReportCreated = 'PartitionHealthReportCreated', - PartitionHealthReportExpired = 'PartitionHealthReportExpired', - PartitionReconfigurationCompleted = 'PartitionReconfigurationCompleted', - PartitionPrimaryMoveAnalysis = 'PartitionPrimaryMoveAnalysis', - ServiceCreated = 'ServiceCreated', - ServiceDeleted = 'ServiceDeleted', - ServiceHealthReportCreated = 'ServiceHealthReportCreated', - ServiceHealthReportExpired = 'ServiceHealthReportExpired', - DeployedServiceHealthReportCreated = 'DeployedServiceHealthReportCreated', - DeployedServiceHealthReportExpired = 'DeployedServiceHealthReportExpired', - StatefulReplicaHealthReportCreated = 'StatefulReplicaHealthReportCreated', - StatefulReplicaHealthReportExpired = 'StatefulReplicaHealthReportExpired', - StatelessReplicaHealthReportCreated = 'StatelessReplicaHealthReportCreated', - StatelessReplicaHealthReportExpired = 'StatelessReplicaHealthReportExpired', - ClusterHealthReportCreated = 'ClusterHealthReportCreated', - ClusterHealthReportExpired = 'ClusterHealthReportExpired', - ClusterUpgradeComplete = 'ClusterUpgradeComplete', - ClusterUpgradeDomainComplete = 'ClusterUpgradeDomainComplete', - ClusterUpgradeRollbackComplete = 'ClusterUpgradeRollbackComplete', - ClusterUpgradeRollbackStart = 'ClusterUpgradeRollbackStart', - ClusterUpgradeStart = 'ClusterUpgradeStart', - ChaosStopped = 'ChaosStopped', - ChaosStarted = 'ChaosStarted', - ChaosRestartNodeFaultCompleted = 'ChaosRestartNodeFaultCompleted', - ChaosRestartCodePackageFaultScheduled = 'ChaosRestartCodePackageFaultScheduled', - ChaosRestartCodePackageFaultCompleted = 'ChaosRestartCodePackageFaultCompleted', - ChaosRemoveReplicaFaultScheduled = 'ChaosRemoveReplicaFaultScheduled', - ChaosRemoveReplicaFaultCompleted = 'ChaosRemoveReplicaFaultCompleted', - ChaosMoveSecondaryFaultScheduled = 'ChaosMoveSecondaryFaultScheduled', - ChaosMovePrimaryFaultScheduled = 'ChaosMovePrimaryFaultScheduled', - ChaosRestartReplicaFaultScheduled = 'ChaosRestartReplicaFaultScheduled', - ChaosRestartNodeFaultScheduled = 'ChaosRestartNodeFaultScheduled', -} +export type FabricEventKind = 'ClusterEvent' | 'ContainerInstanceEvent' | 'NodeEvent' | 'ApplicationEvent' | 'ServiceEvent' | 'PartitionEvent' | 'ReplicaEvent' | 'PartitionAnalysisEvent' | 'ApplicationCreated' | 'ApplicationDeleted' | 'ApplicationHealthReportCreated' | 'ApplicationHealthReportExpired' | 'ApplicationUpgradeComplete' | 'ApplicationUpgradeDomainComplete' | 'ApplicationUpgradeRollbackComplete' | 'ApplicationUpgradeRollbackStart' | 'ApplicationUpgradeStart' | 'DeployedApplicationHealthReportCreated' | 'DeployedApplicationHealthReportExpired' | 'ProcessDeactivated' | 'ContainerDeactivated' | 'NodeAborted' | 'NodeAborting' | 'NodeAdded' | 'NodeClose' | 'NodeClosing' | 'NodeDeactivateComplete' | 'NodeDeactivateStart' | 'NodeDown' | 'NodeHealthReportCreated' | 'NodeHealthReportExpired' | 'NodeOpenedSuccess' | 'NodeOpenFailed' | 'NodeOpening' | 'NodeRemoved' | 'NodeUp' | 'PartitionHealthReportCreated' | 'PartitionHealthReportExpired' | 'PartitionReconfigurationCompleted' | 'PartitionPrimaryMoveAnalysis' | 'ServiceCreated' | 'ServiceDeleted' | 'ServiceHealthReportCreated' | 'ServiceHealthReportExpired' | 'DeployedServiceHealthReportCreated' | 'DeployedServiceHealthReportExpired' | 'StatefulReplicaHealthReportCreated' | 'StatefulReplicaHealthReportExpired' | 'StatelessReplicaHealthReportCreated' | 'StatelessReplicaHealthReportExpired' | 'ClusterHealthReportCreated' | 'ClusterHealthReportExpired' | 'ClusterUpgradeComplete' | 'ClusterUpgradeDomainComplete' | 'ClusterUpgradeRollbackComplete' | 'ClusterUpgradeRollbackStart' | 'ClusterUpgradeStart' | 'ChaosStopped' | 'ChaosStarted' | 'ChaosRestartNodeFaultCompleted' | 'ChaosRestartCodePackageFaultScheduled' | 'ChaosRestartCodePackageFaultCompleted' | 'ChaosRemoveReplicaFaultScheduled' | 'ChaosRemoveReplicaFaultCompleted' | 'ChaosMoveSecondaryFaultScheduled' | 'ChaosMovePrimaryFaultScheduled' | 'ChaosRestartReplicaFaultScheduled' | 'ChaosRestartNodeFaultScheduled'; /** * Defines values for HealthEvaluationKind. * Possible values include: 'Invalid', 'Event', 'Replicas', 'Partitions', - * 'DeployedServicePackages', 'DeployedApplications', 'Services', 'Nodes', - * 'Applications', 'SystemApplication', 'UpgradeDomainDeployedApplications', - * 'UpgradeDomainNodes', 'Replica', 'Partition', 'DeployedServicePackage', - * 'DeployedApplication', 'Service', 'Node', 'Application', 'DeltaNodesCheck', - * 'UpgradeDomainDeltaNodesCheck', 'ApplicationTypeApplications' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HealthEvaluationKind = - * "someUnknownValueThatWillStillBeValid"; + * 'DeployedServicePackages', 'DeployedApplications', 'Services', 'Nodes', 'Applications', + * 'SystemApplication', 'UpgradeDomainDeployedApplications', 'UpgradeDomainNodes', 'Replica', + * 'Partition', 'DeployedServicePackage', 'DeployedApplication', 'Service', 'Node', 'Application', + * 'DeltaNodesCheck', 'UpgradeDomainDeltaNodesCheck', 'ApplicationTypeApplications' * @readonly * @enum {string} */ -export enum HealthEvaluationKind { - /** - * Indicates that the health evaluation is invalid. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that the health evaluation is for a health event. The value is - * 1. - */ - Event = 'Event', - /** - * Indicates that the health evaluation is for the replicas of a partition. - * The value is 2. - */ - Replicas = 'Replicas', - /** - * Indicates that the health evaluation is for the partitions of a service. - * The value is 3. - */ - Partitions = 'Partitions', - /** - * Indicates that the health evaluation is for the deployed service packages - * of a deployed application. The value is 4. - */ - DeployedServicePackages = 'DeployedServicePackages', - /** - * Indicates that the health evaluation is for the deployed applications of - * an application. The value is 5. - */ - DeployedApplications = 'DeployedApplications', - /** - * Indicates that the health evaluation is for services of an application. - * The value is 6. - */ - Services = 'Services', - /** - * Indicates that the health evaluation is for the cluster nodes. The value - * is 7. - */ - Nodes = 'Nodes', - /** - * Indicates that the health evaluation is for the cluster applications. The - * value is 8. - */ - Applications = 'Applications', - /** - * Indicates that the health evaluation is for the system application. The - * value is 9. - */ - SystemApplication = 'SystemApplication', - /** - * Indicates that the health evaluation is for the deployed applications of - * an application in an upgrade domain. The value is 10. - */ - UpgradeDomainDeployedApplications = 'UpgradeDomainDeployedApplications', - /** - * Indicates that the health evaluation is for the cluster nodes in an - * upgrade domain. The value is 11. - */ - UpgradeDomainNodes = 'UpgradeDomainNodes', - /** - * Indicates that the health evaluation is for a replica. The value is 13. - */ - Replica = 'Replica', - /** - * Indicates that the health evaluation is for a partition. The value is 14. - */ - Partition = 'Partition', - /** - * Indicates that the health evaluation is for a deployed service package. - * The value is 16. - */ - DeployedServicePackage = 'DeployedServicePackage', - /** - * Indicates that the health evaluation is for a deployed application. The - * value is 17. - */ - DeployedApplication = 'DeployedApplication', - /** - * Indicates that the health evaluation is for a service. The value is 15. - */ - Service = 'Service', - /** - * Indicates that the health evaluation is for a node. The value is 12. - */ - Node = 'Node', - /** - * Indicates that the health evaluation is for an application. The value is - * 18. - */ - Application = 'Application', - /** - * Indicates that the health evaluation is for the delta of unhealthy cluster - * nodes. The value is 19. - */ - DeltaNodesCheck = 'DeltaNodesCheck', - /** - * Indicates that the health evaluation is for the delta of unhealthy upgrade - * domain cluster nodes. The value is 20. - */ - UpgradeDomainDeltaNodesCheck = 'UpgradeDomainDeltaNodesCheck', - /** - * – Indicates that the health evaluation is for applications of an - * application type. The value is 21. - */ - ApplicationTypeApplications = 'ApplicationTypeApplications', -} +export type HealthEvaluationKind = 'Invalid' | 'Event' | 'Replicas' | 'Partitions' | 'DeployedServicePackages' | 'DeployedApplications' | 'Services' | 'Nodes' | 'Applications' | 'SystemApplication' | 'UpgradeDomainDeployedApplications' | 'UpgradeDomainNodes' | 'Replica' | 'Partition' | 'DeployedServicePackage' | 'DeployedApplication' | 'Service' | 'Node' | 'Application' | 'DeltaNodesCheck' | 'UpgradeDomainDeltaNodesCheck' | 'ApplicationTypeApplications'; /** * Defines values for NodeDeactivationIntent. - * Possible values include: 'Invalid', 'Pause', 'Restart', 'RemoveData', - * 'RemoveNode' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NodeDeactivationIntent = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Pause', 'Restart', 'RemoveData', 'RemoveNode' * @readonly * @enum {string} */ -export enum NodeDeactivationIntent { - /** - * Indicates the node deactivation intent is invalid. All Service Fabric - * enumerations have the invalid type. The value is zero. This value is not - * used. - */ - Invalid = 'Invalid', - /** - * Indicates that the node should be paused. The value is 1. - */ - Pause = 'Pause', - /** - * Indicates that the intent is for the node to be restarted after a short - * period of time. Service Fabric does not restart the node, this action is - * done outside of Service Fabric. The value is 2. - */ - Restart = 'Restart', - /** - * Indicates that the intent is to reimage the node. Service Fabric does not - * reimage the node, this action is done outside of Service Fabric. The value - * is 3. - */ - RemoveData = 'RemoveData', - /** - * Indicates that the node is being decommissioned and is not expected to - * return. Service Fabric does not decommission the node, this action is done - * outside of Service Fabric. The value is 4. - */ - RemoveNode = 'RemoveNode', -} +export type NodeDeactivationIntent = 'Invalid' | 'Pause' | 'Restart' | 'RemoveData' | 'RemoveNode'; /** * Defines values for NodeDeactivationStatus. - * Possible values include: 'None', 'SafetyCheckInProgress', - * 'SafetyCheckComplete', 'Completed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NodeDeactivationStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'None', 'SafetyCheckInProgress', 'SafetyCheckComplete', 'Completed' * @readonly * @enum {string} */ -export enum NodeDeactivationStatus { - /** - * No status is associated with the task. The value is zero. - */ - None = 'None', - /** - * When a node is deactivated Service Fabric performs checks to ensure that - * the operation is safe to proceed to ensure availability of the service and - * reliability of the state. This value indicates that one or more safety - * checks are in progress. The value is 1. - */ - SafetyCheckInProgress = 'SafetyCheckInProgress', - /** - * When a node is deactivated Service Fabric performs checks to ensure that - * the operation is safe to proceed to ensure availability of the service and - * reliability of the state. This value indicates that all safety checks have - * been completed. The value is 2. - */ - SafetyCheckComplete = 'SafetyCheckComplete', - /** - * The task is completed. The value is 3. - */ - Completed = 'Completed', -} +export type NodeDeactivationStatus = 'None' | 'SafetyCheckInProgress' | 'SafetyCheckComplete' | 'Completed'; /** * Defines values for NodeDeactivationTaskType. * Possible values include: 'Invalid', 'Infrastructure', 'Repair', 'Client' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NodeDeactivationTaskType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum NodeDeactivationTaskType { - /** - * Indicates the node deactivation task type is invalid. All Service Fabric - * enumerations have the invalid type. The value is zero. This value is not - * used. - */ - Invalid = 'Invalid', - /** - * Specifies the task created by Infrastructure hosting the nodes. The value - * is 1. - */ - Infrastructure = 'Infrastructure', - /** - * Specifies the task that was created by the Repair Manager service. The - * value is 2. - */ - Repair = 'Repair', - /** - * Specifies that the task was created by using the public API. The value is - * 3. - */ - Client = 'Client', -} +export type NodeDeactivationTaskType = 'Invalid' | 'Infrastructure' | 'Repair' | 'Client'; /** * Defines values for NodeStatus. - * Possible values include: 'Invalid', 'Up', 'Down', 'Enabling', 'Disabling', - * 'Disabled', 'Unknown', 'Removed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NodeStatus = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Up', 'Down', 'Enabling', 'Disabling', 'Disabled', + * 'Unknown', 'Removed' * @readonly * @enum {string} */ -export enum NodeStatus { - /** - * Indicates the node status is invalid. All Service Fabric enumerations have - * the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates the node is up. The value is 1. - */ - Up = 'Up', - /** - * Indicates the node is down. The value is 2. - */ - Down = 'Down', - /** - * Indicates the node is in process of being enabled. The value is 3. - */ - Enabling = 'Enabling', - /** - * Indicates the node is in the process of being disabled. The value is 4. - */ - Disabling = 'Disabling', - /** - * Indicates the node is disabled. The value is 5. - */ - Disabled = 'Disabled', - /** - * Indicates the node is unknown. A node would be in Unknown state if Service - * Fabric does not have authoritative information about that node. This can - * happen if the system learns about a node at runtime.The value is 6. - */ - Unknown = 'Unknown', - /** - * Indicates the node is removed. A node would be in Removed state if - * NodeStateRemoved API has been called for this node. In other words, - * Service Fabric has been informed that the persisted state on the node has - * been permanently lost. The value is 7. - */ - Removed = 'Removed', -} +export type NodeStatus = 'Invalid' | 'Up' | 'Down' | 'Enabling' | 'Disabling' | 'Disabled' | 'Unknown' | 'Removed'; /** * Defines values for ServicePartitionStatus. - * Possible values include: 'Invalid', 'Ready', 'NotReady', 'InQuorumLoss', - * 'Reconfiguring', 'Deleting' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServicePartitionStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Ready', 'NotReady', 'InQuorumLoss', 'Reconfiguring', + * 'Deleting' * @readonly * @enum {string} */ -export enum ServicePartitionStatus { - /** - * Indicates the partition status is invalid. All Service Fabric enumerations - * have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that the partition is ready. This means that for a stateless - * service partition there is at least one instance that is up and for a - * stateful service partition the number of ready replicas is greater than or - * equal to the MinReplicaSetSize. The value is 1. - */ - Ready = 'Ready', - /** - * Indicates that the partition is not ready. This status is returned when - * none of the other states apply. The value is 2. - */ - NotReady = 'NotReady', - /** - * Indicates that the partition is in quorum loss. This means that number of - * replicas that are up and participating in a replica set is less than - * MinReplicaSetSize for this partition. The value is 3. - */ - InQuorumLoss = 'InQuorumLoss', - /** - * Indicates that the partition is undergoing reconfiguration of its replica - * sets. This can happen due to failover, upgrade, load balancing or addition - * or removal of replicas from the replica set. The value is 4. - */ - Reconfiguring = 'Reconfiguring', - /** - * Indicates that the partition is being deleted. The value is 5. - */ - Deleting = 'Deleting', -} +export type ServicePartitionStatus = 'Invalid' | 'Ready' | 'NotReady' | 'InQuorumLoss' | 'Reconfiguring' | 'Deleting'; /** * Defines values for ServiceStatus. - * Possible values include: 'Unknown', 'Active', 'Upgrading', 'Deleting', - * 'Creating', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServiceStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'Active', 'Upgrading', 'Deleting', 'Creating', 'Failed' * @readonly * @enum {string} */ -export enum ServiceStatus { - /** - * Indicates the service status is unknown. The value is zero. - */ - Unknown = 'Unknown', - /** - * Indicates the service status is active. The value is 1. - */ - Active = 'Active', - /** - * Indicates the service is upgrading. The value is 2. - */ - Upgrading = 'Upgrading', - /** - * Indicates the service is being deleted. The value is 3. - */ - Deleting = 'Deleting', - /** - * Indicates the service is being created. The value is 4. - */ - Creating = 'Creating', - /** - * Indicates creation or deletion was terminated due to persistent failures. - * Another create/delete request can be accepted. The value is 5. - */ - Failed = 'Failed', -} +export type ServiceStatus = 'Unknown' | 'Active' | 'Upgrading' | 'Deleting' | 'Creating' | 'Failed'; /** * Defines values for ProvisionApplicationTypeKind. * Possible values include: 'Invalid', 'ImageStorePath', 'ExternalStore' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ProvisionApplicationTypeKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ProvisionApplicationTypeKind { - /** - * Indicates that the provision kind is invalid. This value is default and - * should not be used. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that the provision is for a package that was previously uploaded - * to the image store. The value is 1. - */ - ImageStorePath = 'ImageStorePath', - /** - * Indicates that the provision is for an application package that was - * previously uploaded to an external store. The application package ends - * with the extension *.sfpkg. The value is 2. - */ - ExternalStore = 'ExternalStore', -} +export type ProvisionApplicationTypeKind = 'Invalid' | 'ImageStorePath' | 'ExternalStore'; /** * Defines values for UpgradeType. * Possible values include: 'Invalid', 'Rolling', 'Rolling_ForceRestart' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: UpgradeType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum UpgradeType { - /** - * Indicates the upgrade kind is invalid. All Service Fabric enumerations - * have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * The upgrade progresses one upgrade domain at a time. The value is 1. - */ - Rolling = 'Rolling', - /** - * The upgrade gets restarted by force. The value is 2. - */ - RollingForceRestart = 'Rolling_ForceRestart', -} +export type UpgradeType = 'Invalid' | 'Rolling' | 'Rolling_ForceRestart'; /** * Defines values for SafetyCheckKind. - * Possible values include: 'Invalid', 'EnsureSeedNodeQuorum', - * 'EnsurePartitionQuorum', 'WaitForPrimaryPlacement', 'WaitForPrimarySwap', - * 'WaitForReconfiguration', 'WaitForInbuildReplica', 'EnsureAvailability' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: SafetyCheckKind = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'EnsureSeedNodeQuorum', 'EnsurePartitionQuorum', + * 'WaitForPrimaryPlacement', 'WaitForPrimarySwap', 'WaitForReconfiguration', + * 'WaitForInbuildReplica', 'EnsureAvailability' * @readonly * @enum {string} */ -export enum SafetyCheckKind { - /** - * Indicates that the upgrade safety check kind is invalid. All Service - * Fabric enumerations have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that if we bring down the node then this will result in global - * seed node quorum loss. The value is 1. - */ - EnsureSeedNodeQuorum = 'EnsureSeedNodeQuorum', - /** - * Indicates that there is some partition for which if we bring down the - * replica on the node, it will result in quorum loss for that partition. The - * value is 2. - */ - EnsurePartitionQuorum = 'EnsurePartitionQuorum', - /** - * Indicates that there is some replica on the node that was moved out of - * this node due to upgrade. Service Fabric is now waiting for the primary to - * be moved back to this node. The value is 3. - */ - WaitForPrimaryPlacement = 'WaitForPrimaryPlacement', - /** - * Indicates that Service Fabric is waiting for a primary replica to be moved - * out of the node before starting upgrade on that node. The value is 4. - */ - WaitForPrimarySwap = 'WaitForPrimarySwap', - /** - * Indicates that there is some replica on the node that is involved in a - * reconfiguration. Service Fabric is waiting for the reconfiguration to be - * complete before staring upgrade on that node. The value is 5. - */ - WaitForReconfiguration = 'WaitForReconfiguration', - /** - * Indicates that there is either a replica on the node that is going through - * copy, or there is a primary replica on the node that is copying data to - * some other replica. In both cases, bringing down the replica on the node - * due to upgrade will abort the copy. The value is 6. - */ - WaitForInbuildReplica = 'WaitForInbuildReplica', - /** - * Indicates that there is either a stateless service partition on the node - * having exactly one instance, or there is a primary replica on the node for - * which the partition is quorum loss. In both cases, bringing down the - * replicas due to upgrade will result in loss of availability. The value is - * 7. - */ - EnsureAvailability = 'EnsureAvailability', -} +export type SafetyCheckKind = 'Invalid' | 'EnsureSeedNodeQuorum' | 'EnsurePartitionQuorum' | 'WaitForPrimaryPlacement' | 'WaitForPrimarySwap' | 'WaitForReconfiguration' | 'WaitForInbuildReplica' | 'EnsureAvailability'; /** * Defines values for CreateFabricDump. * Possible values include: 'False', 'True' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: CreateFabricDump = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum CreateFabricDump { - False = 'False', - True = 'True', -} +export type CreateFabricDump = 'False' | 'True'; /** * Defines values for ServicePackageActivationMode. * Possible values include: 'SharedProcess', 'ExclusiveProcess' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServicePackageActivationMode = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ServicePackageActivationMode { - /** - * This is the default activation mode. With this activation mode, replicas - * or instances from different partition(s) of service, on a given node, will - * share same activation of service package on a node. The value is zero. - */ - SharedProcess = 'SharedProcess', - /** - * With this activation mode, each replica or instance of service, on a given - * node, will have its own dedicated activation of service package on a node. - * The value is 1. - */ - ExclusiveProcess = 'ExclusiveProcess', -} +export type ServicePackageActivationMode = 'SharedProcess' | 'ExclusiveProcess'; /** * Defines values for ServiceKind. * Possible values include: 'Invalid', 'Stateless', 'Stateful' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServiceKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ServiceKind { - /** - * Indicates the service kind is invalid. All Service Fabric enumerations - * have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Does not use Service Fabric to make its state highly available or - * reliable. The value is 1. - */ - Stateless = 'Stateless', - /** - * Uses Service Fabric to make its state or part of its state highly - * available and reliable. The value is 2. - */ - Stateful = 'Stateful', -} +export type ServiceKind = 'Invalid' | 'Stateless' | 'Stateful'; /** * Defines values for ServicePartitionKind. * Possible values include: 'Invalid', 'Singleton', 'Int64Range', 'Named' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServicePartitionKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ServicePartitionKind { - /** - * Indicates the partition kind is invalid. All Service Fabric enumerations - * have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that there is only one partition, and - * SingletonPartitionSchemeDescription was specified while creating the - * service. The value is 1. - */ - Singleton = 'Singleton', - /** - * Indicates that the partition is based on Int64 key ranges, and - * UniformInt64RangePartitionSchemeDescription was specified while creating - * the service. The value is 2. - */ - Int64Range = 'Int64Range', - /** - * Indicates that the partition is based on string names, and - * NamedPartitionInformation was specified while creating the service. The - * value is 3. - */ - Named = 'Named', -} +export type ServicePartitionKind = 'Invalid' | 'Singleton' | 'Int64Range' | 'Named'; /** * Defines values for ServicePlacementPolicyType. - * Possible values include: 'Invalid', 'InvalidDomain', 'RequiredDomain', - * 'PreferredPrimaryDomain', 'RequiredDomainDistribution', - * 'NonPartiallyPlaceService' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServicePlacementPolicyType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'InvalidDomain', 'RequiredDomain', 'PreferredPrimaryDomain', + * 'RequiredDomainDistribution', 'NonPartiallyPlaceService' * @readonly * @enum {string} */ -export enum ServicePlacementPolicyType { - /** - * Indicates the type of the placement policy is invalid. All Service Fabric - * enumerations have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that the ServicePlacementPolicyDescription is of type - * ServicePlacementInvalidDomainPolicyDescription, which indicates that a - * particular fault or upgrade domain cannot be used for placement of this - * service. The value is 1. - */ - InvalidDomain = 'InvalidDomain', - /** - * Indicates that the ServicePlacementPolicyDescription is of type - * ServicePlacementRequireDomainDistributionPolicyDescription indicating that - * the replicas of the service must be placed in a specific domain. The value - * is 2. - */ - RequiredDomain = 'RequiredDomain', - /** - * Indicates that the ServicePlacementPolicyDescription is of type - * ServicePlacementPreferPrimaryDomainPolicyDescription, which indicates that - * if possible the Primary replica for the partitions of the service should - * be located in a particular domain as an optimization. The value is 3. - */ - PreferredPrimaryDomain = 'PreferredPrimaryDomain', - /** - * Indicates that the ServicePlacementPolicyDescription is of type - * ServicePlacementRequireDomainDistributionPolicyDescription, indicating - * that the system will disallow placement of any two replicas from the same - * partition in the same domain at any time. The value is 4. - */ - RequiredDomainDistribution = 'RequiredDomainDistribution', - /** - * Indicates that the ServicePlacementPolicyDescription is of type - * ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates - * that if possible all replicas of a particular partition of the service - * should be placed atomically. The value is 5. - */ - NonPartiallyPlaceService = 'NonPartiallyPlaceService', -} +export type ServicePlacementPolicyType = 'Invalid' | 'InvalidDomain' | 'RequiredDomain' | 'PreferredPrimaryDomain' | 'RequiredDomainDistribution' | 'NonPartiallyPlaceService'; /** * Defines values for ServiceLoadMetricWeight. * Possible values include: 'Zero', 'Low', 'Medium', 'High' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServiceLoadMetricWeight = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ServiceLoadMetricWeight { - /** - * Disables resource balancing for this metric. This value is zero. - */ - Zero = 'Zero', - /** - * Specifies the metric weight of the service load as Low. The value is 1. - */ - Low = 'Low', - /** - * Specifies the metric weight of the service load as Medium. The value is 2. - */ - Medium = 'Medium', - /** - * Specifies the metric weight of the service load as High. The value is 3. - */ - High = 'High', -} +export type ServiceLoadMetricWeight = 'Zero' | 'Low' | 'Medium' | 'High'; /** * Defines values for HostType. * Possible values include: 'Invalid', 'ExeHost', 'ContainerHost' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HostType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum HostType { - /** - * Indicates the type of host is not known or invalid. The value is 0. - */ - Invalid = 'Invalid', - /** - * Indicates the host is an executable. The value is 1. - */ - ExeHost = 'ExeHost', - /** - * Indicates the host is a container. The value is 2. - */ - ContainerHost = 'ContainerHost', -} +export type HostType = 'Invalid' | 'ExeHost' | 'ContainerHost'; /** * Defines values for HostIsolationMode. * Possible values include: 'None', 'Process', 'HyperV' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: HostIsolationMode = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum HostIsolationMode { - /** - * Indicates the isolation mode is not applicable for given HostType. The - * value is 0. - */ - None = 'None', - /** - * This is the default isolation mode for a ContainerHost. The value is 1. - */ - Process = 'Process', - /** - * Indicates the ContainerHost is a Hyper-V container. This applies to only - * Windows containers. The value is 2. - */ - HyperV = 'HyperV', -} +export type HostIsolationMode = 'None' | 'Process' | 'HyperV'; /** * Defines values for DeploymentStatus. - * Possible values include: 'Invalid', 'Downloading', 'Activating', 'Active', - * 'Upgrading', 'Deactivating' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DeploymentStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Downloading', 'Activating', 'Active', 'Upgrading', + * 'Deactivating' * @readonly * @enum {string} */ -export enum DeploymentStatus { - /** - * Indicates status of the application or service package is not known or - * invalid. The value is 0. - */ - Invalid = 'Invalid', - /** - * Indicates the application or service package is being downloaded to the - * node from the ImageStore. The value is 1. - */ - Downloading = 'Downloading', - /** - * Indicates the application or service package is being activated. The value - * is 2. - */ - Activating = 'Activating', - /** - * Indicates the application or service package is active the node. The value - * is 3. - */ - Active = 'Active', - /** - * Indicates the application or service package is being upgraded. The value - * is 4. - */ - Upgrading = 'Upgrading', - /** - * Indicates the application or service package is being deactivated. The - * value is 5. - */ - Deactivating = 'Deactivating', -} +export type DeploymentStatus = 'Invalid' | 'Downloading' | 'Activating' | 'Active' | 'Upgrading' | 'Deactivating'; /** * Defines values for EntryPointStatus. - * Possible values include: 'Invalid', 'Pending', 'Starting', 'Started', - * 'Stopping', 'Stopped' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: EntryPointStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Pending', 'Starting', 'Started', 'Stopping', 'Stopped' * @readonly * @enum {string} */ -export enum EntryPointStatus { - /** - * Indicates status of entry point is not known or invalid. The value is 0. - */ - Invalid = 'Invalid', - /** - * Indicates the entry point is scheduled to be started. The value is 1. - */ - Pending = 'Pending', - /** - * Indicates the entry point is being started. The value is 2. - */ - Starting = 'Starting', - /** - * Indicates the entry point was started successfully and is running. The - * value is 3. - */ - Started = 'Started', - /** - * Indicates the entry point is being stopped. The value is 4. - */ - Stopping = 'Stopping', - /** - * Indicates the entry point is not running. The value is 5. - */ - Stopped = 'Stopped', -} +export type EntryPointStatus = 'Invalid' | 'Pending' | 'Starting' | 'Started' | 'Stopping' | 'Stopped'; /** * Defines values for ChaosStatus. * Possible values include: 'Invalid', 'Running', 'Stopped' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ChaosStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ChaosStatus { - /** - * Indicates an invalid Chaos status. All Service Fabric enumerations have - * the invalid type. The valus is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that Chaos is not stopped. The value is one. - */ - Running = 'Running', - /** - * Indicates that Chaos is not scheduling further faults. The value is two. - */ - Stopped = 'Stopped', -} +export type ChaosStatus = 'Invalid' | 'Running' | 'Stopped'; /** * Defines values for ChaosScheduleStatus. - * Possible values include: 'Invalid', 'Stopped', 'Active', 'Expired', - * 'Pending' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ChaosScheduleStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Stopped', 'Active', 'Expired', 'Pending' * @readonly * @enum {string} */ -export enum ChaosScheduleStatus { - /** - * Indicates an invalid Chaos Schedule status. All Service Fabric - * enumerations have the invalid type. The valus is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that the schedule is stopped and not being used to schedule runs - * of chaos. The value is one. - */ - Stopped = 'Stopped', - /** - * Indicates that the schedule is active and is being used to schedule runs - * of Chaos. The value is two. - */ - Active = 'Active', - /** - * Indicates that the schedule is expired and will no longer be used to - * schedule runs of Chaos. The value is three. - */ - Expired = 'Expired', - /** - * Indicates that the schedule is pending and is not yet being used to - * schedule runs of Chaos but will be used when the start time is passed. The - * value is four. - */ - Pending = 'Pending', -} +export type ChaosScheduleStatus = 'Invalid' | 'Stopped' | 'Active' | 'Expired' | 'Pending'; /** * Defines values for ChaosEventKind. - * Possible values include: 'Invalid', 'Started', 'ExecutingFaults', 'Waiting', - * 'ValidationFailed', 'TestError', 'Stopped' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ChaosEventKind = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Started', 'ExecutingFaults', 'Waiting', 'ValidationFailed', + * 'TestError', 'Stopped' * @readonly * @enum {string} */ -export enum ChaosEventKind { - /** - * Indicates an invalid Chaos event kind. All Service Fabric enumerations - * have the invalid type. - */ - Invalid = 'Invalid', - /** - * Indicates a Chaos event that gets generated when Chaos is started. - */ - Started = 'Started', - /** - * Indicates a Chaos event that gets generated when Chaos has decided on the - * faults for an iteration. This Chaos event contains the details of the - * faults as a list of strings. - */ - ExecutingFaults = 'ExecutingFaults', - /** - * Indicates a Chaos event that gets generated when Chaos is waiting for the - * cluster to become ready for faulting, for example, Chaos may be waiting - * for the on-going upgrade to finish. - */ - Waiting = 'Waiting', - /** - * Indicates a Chaos event that gets generated when the cluster entities do - * not become stable and healthy within - * ChaosParameters.MaxClusterStabilizationTimeoutInSeconds. - */ - ValidationFailed = 'ValidationFailed', - /** - * Indicates a Chaos event that gets generated when an unexpected event has - * occurred in the Chaos engine, for example, due to the cluster snapshot - * being inconsistent, while faulting a faultable entity Chaos found that the - * entity was already faulted. - */ - TestError = 'TestError', - /** - * Indicates a Chaos event that gets generated when Chaos stops because - * either the user issued a stop or the time to run was up. - */ - Stopped = 'Stopped', -} +export type ChaosEventKind = 'Invalid' | 'Started' | 'ExecutingFaults' | 'Waiting' | 'ValidationFailed' | 'TestError' | 'Stopped'; /** * Defines values for ComposeDeploymentStatus. - * Possible values include: 'Invalid', 'Provisioning', 'Creating', 'Ready', - * 'Unprovisioning', 'Deleting', 'Failed', 'Upgrading' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ComposeDeploymentStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Provisioning', 'Creating', 'Ready', 'Unprovisioning', + * 'Deleting', 'Failed', 'Upgrading' * @readonly * @enum {string} */ -export enum ComposeDeploymentStatus { - /** - * Indicates that the compose deployment status is invalid. The value is - * zero. - */ - Invalid = 'Invalid', - /** - * Indicates that the compose deployment is being provisioned in background. - * The value is 1. - */ - Provisioning = 'Provisioning', - /** - * Indicates that the compose deployment is being created in background. The - * value is 2. - */ - Creating = 'Creating', - /** - * Indicates that the compose deployment has been successfully created or - * upgraded. The value is 3. - */ - Ready = 'Ready', - /** - * Indicates that the compose deployment is being unprovisioned in - * background. The value is 4. - */ - Unprovisioning = 'Unprovisioning', - /** - * Indicates that the compose deployment is being deleted in background. The - * value is 5. - */ - Deleting = 'Deleting', - /** - * Indicates that the compose deployment was terminated due to persistent - * failures. The value is 6. - */ - Failed = 'Failed', - /** - * Indicates that the compose deployment is being upgraded in the background. - * The value is 7. - */ - Upgrading = 'Upgrading', -} +export type ComposeDeploymentStatus = 'Invalid' | 'Provisioning' | 'Creating' | 'Ready' | 'Unprovisioning' | 'Deleting' | 'Failed' | 'Upgrading'; /** * Defines values for ComposeDeploymentUpgradeState. - * Possible values include: 'Invalid', 'ProvisioningTarget', - * 'RollingForwardInProgress', 'RollingForwardPending', - * 'UnprovisioningCurrent', 'RollingForwardCompleted', 'RollingBackInProgress', - * 'UnprovisioningTarget', 'RollingBackCompleted', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ComposeDeploymentUpgradeState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'ProvisioningTarget', 'RollingForwardInProgress', + * 'RollingForwardPending', 'UnprovisioningCurrent', 'RollingForwardCompleted', + * 'RollingBackInProgress', 'UnprovisioningTarget', 'RollingBackCompleted', 'Failed' * @readonly * @enum {string} */ -export enum ComposeDeploymentUpgradeState { - /** - * Indicates the upgrade state is invalid. All Service Fabric enumerations - * have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * The upgrade is in the progress of provisioning target application type - * version. The value is 1. - */ - ProvisioningTarget = 'ProvisioningTarget', - /** - * The upgrade is rolling forward to the target version but is not complete - * yet. The value is 2. - */ - RollingForwardInProgress = 'RollingForwardInProgress', - /** - * The current upgrade domain has finished upgrading. The overall upgrade is - * waiting for an explicit move next request in UnmonitoredManual mode or - * performing health checks in Monitored mode. The value is 3 - */ - RollingForwardPending = 'RollingForwardPending', - /** - * The upgrade is in the progress of unprovisioning current application type - * version and rolling forward to the target version is completed. The value - * is 4. - */ - UnprovisioningCurrent = 'UnprovisioningCurrent', - /** - * The upgrade has finished rolling forward. The value is 5. - */ - RollingForwardCompleted = 'RollingForwardCompleted', - /** - * The upgrade is rolling back to the previous version but is not complete - * yet. The value is 6. - */ - RollingBackInProgress = 'RollingBackInProgress', - /** - * The upgrade is in the progress of unprovisioning target application type - * version and rolling back to the current version is completed. The value is - * 7. - */ - UnprovisioningTarget = 'UnprovisioningTarget', - /** - * The upgrade has finished rolling back. The value is 8. - */ - RollingBackCompleted = 'RollingBackCompleted', - /** - * The upgrade has failed and is unable to execute FailureAction. The value - * is 9. - */ - Failed = 'Failed', -} +export type ComposeDeploymentUpgradeState = 'Invalid' | 'ProvisioningTarget' | 'RollingForwardInProgress' | 'RollingForwardPending' | 'UnprovisioningCurrent' | 'RollingForwardCompleted' | 'RollingBackInProgress' | 'UnprovisioningTarget' | 'RollingBackCompleted' | 'Failed'; /** * Defines values for ServiceCorrelationScheme. - * Possible values include: 'Invalid', 'Affinity', 'AlignedAffinity', - * 'NonAlignedAffinity' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServiceCorrelationScheme = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Affinity', 'AlignedAffinity', 'NonAlignedAffinity' * @readonly * @enum {string} */ -export enum ServiceCorrelationScheme { - /** - * An invalid correlation scheme. Cannot be used. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that this service has an affinity relationship with another - * service. Provided for backwards compatibility, consider preferring the - * Aligned or NonAlignedAffinity options. The value is 1. - */ - Affinity = 'Affinity', - /** - * Aligned affinity ensures that the primaries of the partitions of the - * affinitized services are collocated on the same nodes. This is the default - * and is the same as selecting the Affinity scheme. The value is 2. - */ - AlignedAffinity = 'AlignedAffinity', - /** - * Non-Aligned affinity guarantees that all replicas of each service will be - * placed on the same nodes. Unlike Aligned Affinity, this does not guarantee - * that replicas of particular role will be collocated. The value is 3. - */ - NonAlignedAffinity = 'NonAlignedAffinity', -} +export type ServiceCorrelationScheme = 'Invalid' | 'Affinity' | 'AlignedAffinity' | 'NonAlignedAffinity'; /** * Defines values for MoveCost. * Possible values include: 'Zero', 'Low', 'Medium', 'High' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: MoveCost = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum MoveCost { - /** - * Zero move cost. This value is zero. - */ - Zero = 'Zero', - /** - * Specifies the move cost of the service as Low. The value is 1. - */ - Low = 'Low', - /** - * Specifies the move cost of the service as Medium. The value is 2. - */ - Medium = 'Medium', - /** - * Specifies the move cost of the service as High. The value is 3. - */ - High = 'High', -} +export type MoveCost = 'Zero' | 'Low' | 'Medium' | 'High'; /** * Defines values for PartitionScheme. - * Possible values include: 'Invalid', 'Singleton', 'UniformInt64Range', - * 'Named' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PartitionScheme = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Singleton', 'UniformInt64Range', 'Named' * @readonly * @enum {string} */ -export enum PartitionScheme { - /** - * Indicates the partition kind is invalid. All Service Fabric enumerations - * have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that the partition is based on string names, and is a - * SingletonPartitionSchemeDescription object, The value is 1. - */ - Singleton = 'Singleton', - /** - * Indicates that the partition is based on Int64 key ranges, and is a - * UniformInt64RangePartitionSchemeDescription object. The value is 2. - */ - UniformInt64Range = 'UniformInt64Range', - /** - * Indicates that the partition is based on string names, and is a - * NamedPartitionSchemeDescription object. The value is 3 - */ - Named = 'Named', -} +export type PartitionScheme = 'Invalid' | 'Singleton' | 'UniformInt64Range' | 'Named'; /** * Defines values for ServiceOperationName. - * Possible values include: 'Unknown', 'None', 'Open', 'ChangeRole', 'Close', - * 'Abort' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServiceOperationName = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'None', 'Open', 'ChangeRole', 'Close', 'Abort' * @readonly * @enum {string} */ -export enum ServiceOperationName { - /** - * Reserved for future use. - */ - Unknown = 'Unknown', - /** - * The service replica or instance is not going through any life-cycle - * changes. - */ - None = 'None', - /** - * The service replica or instance is being opened. - */ - Open = 'Open', - /** - * The service replica is changing roles. - */ - ChangeRole = 'ChangeRole', - /** - * The service replica or instance is being closed. - */ - Close = 'Close', - /** - * The service replica or instance is being aborted. - */ - Abort = 'Abort', -} +export type ServiceOperationName = 'Unknown' | 'None' | 'Open' | 'ChangeRole' | 'Close' | 'Abort'; /** * Defines values for ReplicatorOperationName. - * Possible values include: 'Invalid', 'None', 'Open', 'ChangeRole', - * 'UpdateEpoch', 'Close', 'Abort', 'OnDataLoss', 'WaitForCatchup', 'Build' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReplicatorOperationName = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'None', 'Open', 'ChangeRole', 'UpdateEpoch', 'Close', + * 'Abort', 'OnDataLoss', 'WaitForCatchup', 'Build' * @readonly * @enum {string} */ -export enum ReplicatorOperationName { - /** - * Default value if the replicator is not yet ready. - */ - Invalid = 'Invalid', - /** - * Replicator is not running any operation from Service Fabric perspective. - */ - None = 'None', - /** - * Replicator is opening. - */ - Open = 'Open', - /** - * Replicator is in the process of changing its role. - */ - ChangeRole = 'ChangeRole', - /** - * Due to a change in the replica set, replicator is being updated with its - * Epoch. - */ - UpdateEpoch = 'UpdateEpoch', - /** - * Replicator is closing. - */ - Close = 'Close', - /** - * Replicator is being aborted. - */ - Abort = 'Abort', - /** - * Replicator is handling the data loss condition, where the user service may - * potentially be recovering state from an external source. - */ - OnDataLoss = 'OnDataLoss', - /** - * Replicator is waiting for a quorum of replicas to be caught up to the - * latest state. - */ - WaitForCatchup = 'WaitForCatchup', - /** - * Replicator is in the process of building one or more replicas. - */ - Build = 'Build', -} +export type ReplicatorOperationName = 'Invalid' | 'None' | 'Open' | 'ChangeRole' | 'UpdateEpoch' | 'Close' | 'Abort' | 'OnDataLoss' | 'WaitForCatchup' | 'Build'; /** * Defines values for PartitionAccessStatus. - * Possible values include: 'Invalid', 'Granted', 'ReconfigurationPending', - * 'NotPrimary', 'NoWriteQuorum' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PartitionAccessStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Granted', 'ReconfigurationPending', 'NotPrimary', + * 'NoWriteQuorum' * @readonly * @enum {string} */ -export enum PartitionAccessStatus { - /** - * Indicates that the read or write operation access status is not valid. - * This value is not returned to the caller. - */ - Invalid = 'Invalid', - /** - * Indicates that the read or write operation access is granted and the - * operation is allowed. - */ - Granted = 'Granted', - /** - * Indicates that the client should try again later, because a - * reconfiguration is in progress. - */ - ReconfigurationPending = 'ReconfigurationPending', - /** - * Indicates that this client request was received by a replica that is not a - * Primary replica. - */ - NotPrimary = 'NotPrimary', - /** - * Indicates that no write quorum is available and, therefore, no write - * operation can be accepted. - */ - NoWriteQuorum = 'NoWriteQuorum', -} +export type PartitionAccessStatus = 'Invalid' | 'Granted' | 'ReconfigurationPending' | 'NotPrimary' | 'NoWriteQuorum'; /** * Defines values for FabricReplicaStatus. * Possible values include: 'Invalid', 'Down', 'Up' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: FabricReplicaStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum FabricReplicaStatus { - /** - * Indicates that the read or write operation access status is not valid. - * This value is not returned to the caller. - */ - Invalid = 'Invalid', - /** - * Indicates that the replica is down. - */ - Down = 'Down', - /** - * Indicates that the replica is up. - */ - Up = 'Up', -} +export type FabricReplicaStatus = 'Invalid' | 'Down' | 'Up'; /** * Defines values for ReplicaKind. * Possible values include: 'Invalid', 'KeyValueStore' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReplicaKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ReplicaKind { - /** - * Represents an invalid replica kind. The value is zero. - */ - Invalid = 'Invalid', - /** - * Represents a key value store replica. The value is 1 - */ - KeyValueStore = 'KeyValueStore', -} +export type ReplicaKind = 'Invalid' | 'KeyValueStore'; /** * Defines values for ServiceTypeRegistrationStatus. * Possible values include: 'Invalid', 'Disabled', 'Enabled', 'Registered' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServiceTypeRegistrationStatus = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ServiceTypeRegistrationStatus { - /** - * Indicates the registration status is invalid. All Service Fabric - * enumerations have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that the service type is disabled on this node. A type gets - * disabled when there are too many failures of the code package hosting the - * service type. If the service type is disabled, new replicas of that - * service type will not be placed on the node until it is enabled again. The - * service type is enabled again after the process hosting it comes up and - * re-registers the type or a preconfigured time interval has passed. The - * value is 1. - */ - Disabled = 'Disabled', - /** - * Indicates that the service type is enabled on this node. Replicas of this - * service type can be placed on this node when the code package registers - * the service type. The value is 2. - */ - Enabled = 'Enabled', - /** - * Indicates that the service type is enabled and registered on the node by a - * code package. Replicas of this service type can now be placed on this - * node. The value is 3. - */ - Registered = 'Registered', -} +export type ServiceTypeRegistrationStatus = 'Invalid' | 'Disabled' | 'Enabled' | 'Registered'; /** * Defines values for ServiceEndpointRole. - * Possible values include: 'Invalid', 'Stateless', 'StatefulPrimary', - * 'StatefulSecondary' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServiceEndpointRole = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Stateless', 'StatefulPrimary', 'StatefulSecondary' * @readonly * @enum {string} */ -export enum ServiceEndpointRole { - /** - * Indicates the service endpoint role is invalid. All Service Fabric - * enumerations have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates that the service endpoint is of a stateless service. The value - * is 1. - */ - Stateless = 'Stateless', - /** - * Indicates that the service endpoint is of a primary replica of a stateful - * service. The value is 2. - */ - StatefulPrimary = 'StatefulPrimary', - /** - * Indicates that the service endpoint is of a secondary replica of a - * stateful service. The value is 3. - */ - StatefulSecondary = 'StatefulSecondary', -} +export type ServiceEndpointRole = 'Invalid' | 'Stateless' | 'StatefulPrimary' | 'StatefulSecondary'; /** * Defines values for OperationState. - * Possible values include: 'Invalid', 'Running', 'RollingBack', 'Completed', - * 'Faulted', 'Cancelled', 'ForceCancelled' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OperationState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Running', 'RollingBack', 'Completed', 'Faulted', + * 'Cancelled', 'ForceCancelled' * @readonly * @enum {string} */ -export enum OperationState { - /** - * The operation state is invalid. - */ - Invalid = 'Invalid', - /** - * The operation is in progress. - */ - Running = 'Running', - /** - * The operation is rolling back internal system state because it encountered - * a fatal error or was cancelled by the user. "RollingBack" does not - * refer to user state. For example, if CancelOperation is called on a - * command of type PartitionDataLoss, state of "RollingBack" does not mean - * service data is being restored (assuming the command has progressed far - * enough to cause data loss). It means the system is rolling back/cleaning - * up internal system state associated with the command. - */ - RollingBack = 'RollingBack', - /** - * The operation has completed successfully and is no longer running. - */ - Completed = 'Completed', - /** - * The operation has failed and is no longer running. - */ - Faulted = 'Faulted', - /** - * The operation was cancelled by the user using CancelOperation, and is no - * longer running. - */ - Cancelled = 'Cancelled', - /** - * The operation was cancelled by the user using CancelOperation, with the - * force parameter set to true. It is no longer running. Refer to - * CancelOperation for more details. - */ - ForceCancelled = 'ForceCancelled', -} +export type OperationState = 'Invalid' | 'Running' | 'RollingBack' | 'Completed' | 'Faulted' | 'Cancelled' | 'ForceCancelled'; /** * Defines values for OperationType. - * Possible values include: 'Invalid', 'PartitionDataLoss', - * 'PartitionQuorumLoss', 'PartitionRestart', 'NodeTransition' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OperationType = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'PartitionDataLoss', 'PartitionQuorumLoss', + * 'PartitionRestart', 'NodeTransition' * @readonly * @enum {string} */ -export enum OperationType { - /** - * The operation state is invalid. - */ - Invalid = 'Invalid', - /** - * An operation started using the StartDataLoss API. - */ - PartitionDataLoss = 'PartitionDataLoss', - /** - * An operation started using the StartQuorumLoss API. - */ - PartitionQuorumLoss = 'PartitionQuorumLoss', - /** - * An operation started using the StartPartitionRestart API. - */ - PartitionRestart = 'PartitionRestart', - /** - * An operation started using the StartNodeTransition API. - */ - NodeTransition = 'NodeTransition', -} +export type OperationType = 'Invalid' | 'PartitionDataLoss' | 'PartitionQuorumLoss' | 'PartitionRestart' | 'NodeTransition'; /** * Defines values for PackageSharingPolicyScope. * Possible values include: 'None', 'All', 'Code', 'Config', 'Data' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PackageSharingPolicyScope = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PackageSharingPolicyScope { - /** - * No package sharing policy scope. The value is 0. - */ - None = 'None', - /** - * Share all code, config and data packages from corresponding service - * manifest. The value is 1. - */ - All = 'All', - /** - * Share all code packages from corresponding service manifest. The value is - * 2. - */ - Code = 'Code', - /** - * Share all config packages from corresponding service manifest. The value - * is 3. - */ - Config = 'Config', - /** - * Share all data packages from corresponding service manifest. The value is - * 4. - */ - Data = 'Data', -} +export type PackageSharingPolicyScope = 'None' | 'All' | 'Code' | 'Config' | 'Data'; /** * Defines values for PropertyValueKind. - * Possible values include: 'Invalid', 'Binary', 'Int64', 'Double', 'String', - * 'Guid' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PropertyValueKind = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Binary', 'Int64', 'Double', 'String', 'Guid' * @readonly * @enum {string} */ -export enum PropertyValueKind { - /** - * Indicates the property is invalid. All Service Fabric enumerations have - * the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * The data inside the property is a binary blob. The value is 1. - */ - Binary = 'Binary', - /** - * The data inside the property is an int64. The value is 2. - */ - Int64 = 'Int64', - /** - * The data inside the property is a double. The value is 3. - */ - Double = 'Double', - /** - * The data inside the property is a string. The value is 4. - */ - String = 'String', - /** - * The data inside the property is a guid. The value is 5. - */ - Guid = 'Guid', -} +export type PropertyValueKind = 'Invalid' | 'Binary' | 'Int64' | 'Double' | 'String' | 'Guid'; /** * Defines values for PropertyBatchOperationKind. - * Possible values include: 'Invalid', 'Put', 'Get', 'CheckExists', - * 'CheckSequence', 'Delete', 'CheckValue' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PropertyBatchOperationKind = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Put', 'Get', 'CheckExists', 'CheckSequence', 'Delete', + * 'CheckValue' * @readonly * @enum {string} */ -export enum PropertyBatchOperationKind { - /** - * Indicates the property operation is invalid. All Service Fabric - * enumerations have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * The operation will create or edit a property. The value is 1. - */ - Put = 'Put', - /** - * The operation will get a property. The value is 2. - */ - Get = 'Get', - /** - * The operation will check that a property exists or doesn't exists, - * depending on the provided value. The value is 3. - */ - CheckExists = 'CheckExists', - /** - * The operation will ensure that the sequence number is equal to the - * provided value. The value is 4. - */ - CheckSequence = 'CheckSequence', - /** - * The operation will delete a property. The value is 5. - */ - Delete = 'Delete', - /** - * The operation will ensure that the value of a property is equal to the - * provided value. The value is 7. - */ - CheckValue = 'CheckValue', -} +export type PropertyBatchOperationKind = 'Invalid' | 'Put' | 'Get' | 'CheckExists' | 'CheckSequence' | 'Delete' | 'CheckValue'; /** * Defines values for PropertyBatchInfoKind. * Possible values include: 'Invalid', 'Successful', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: PropertyBatchInfoKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum PropertyBatchInfoKind { - /** - * Indicates the property batch info is invalid. All Service Fabric - * enumerations have the invalid type. - */ - Invalid = 'Invalid', - /** - * The property batch succeeded. - */ - Successful = 'Successful', - /** - * The property batch failed. - */ - Failed = 'Failed', -} +export type PropertyBatchInfoKind = 'Invalid' | 'Successful' | 'Failed'; /** * Defines values for BackupStorageKind. * Possible values include: 'Invalid', 'FileShare', 'AzureBlobStore' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BackupStorageKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum BackupStorageKind { - /** - * Indicates an invalid backup storage kind. All Service Fabric enumerations - * have the invalid type. - */ - Invalid = 'Invalid', - /** - * Indicates file/ SMB share to be used as backup storage. - */ - FileShare = 'FileShare', - /** - * Indicates Azure blob store to be used as backup storage. - */ - AzureBlobStore = 'AzureBlobStore', -} +export type BackupStorageKind = 'Invalid' | 'FileShare' | 'AzureBlobStore'; /** * Defines values for BackupScheduleKind. * Possible values include: 'Invalid', 'TimeBased', 'FrequencyBased' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BackupScheduleKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum BackupScheduleKind { - /** - * Indicates an invalid backup schedule kind. All Service Fabric enumerations - * have the invalid type. - */ - Invalid = 'Invalid', - /** - * Indicates a time-based backup schedule. - */ - TimeBased = 'TimeBased', - /** - * Indicates a frequency-based backup schedule. - */ - FrequencyBased = 'FrequencyBased', -} +export type BackupScheduleKind = 'Invalid' | 'TimeBased' | 'FrequencyBased'; /** * Defines values for BackupPolicyScope. * Possible values include: 'Invalid', 'Partition', 'Service', 'Application' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BackupPolicyScope = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum BackupPolicyScope { - /** - * Indicates an invalid backup policy scope type. All Service Fabric - * enumerations have the invalid type. - */ - Invalid = 'Invalid', - /** - * Indicates the backup policy is applied at partition level. Hence - * overriding any policy which may have applied at partition's service or - * application level. - */ - Partition = 'Partition', - /** - * Indicates the backup policy is applied at service level. All partitions of - * the service inherit this policy unless explicitly overridden at partition - * level. - */ - Service = 'Service', - /** - * Indicates the backup policy is applied at application level. All services - * and partitions of the application inherit this policy unless explicitly - * overridden at service or partition level. - */ - Application = 'Application', -} +export type BackupPolicyScope = 'Invalid' | 'Partition' | 'Service' | 'Application'; /** * Defines values for BackupSuspensionScope. * Possible values include: 'Invalid', 'Partition', 'Service', 'Application' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BackupSuspensionScope = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum BackupSuspensionScope { - /** - * Indicates an invalid backup suspension scope type also indicating entity - * is not suspended. All Service Fabric enumerations have the invalid type. - */ - Invalid = 'Invalid', - /** - * Indicates the backup suspension is applied at partition level. - */ - Partition = 'Partition', - /** - * Indicates the backup suspension is applied at service level. All - * partitions of the service are hence suspended for backup. - */ - Service = 'Service', - /** - * Indicates the backup suspension is applied at application level. All - * services and partitions of the application are hence suspended for backup. - */ - Application = 'Application', -} +export type BackupSuspensionScope = 'Invalid' | 'Partition' | 'Service' | 'Application'; /** * Defines values for RestoreState. - * Possible values include: 'Invalid', 'Accepted', 'RestoreInProgress', - * 'Success', 'Failure', 'Timeout' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RestoreState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Accepted', 'RestoreInProgress', 'Success', 'Failure', + * 'Timeout' * @readonly * @enum {string} */ -export enum RestoreState { - /** - * Indicates an invalid restore state. All Service Fabric enumerations have - * the invalid type. - */ - Invalid = 'Invalid', - /** - * Operation has been validated and accepted. Restore is yet to be triggered. - */ - Accepted = 'Accepted', - /** - * Restore operation has been triggered and is under process. - */ - RestoreInProgress = 'RestoreInProgress', - /** - * Operation completed with success. - */ - Success = 'Success', - /** - * Operation completed with failure. - */ - Failure = 'Failure', - /** - * Operation timed out. - */ - Timeout = 'Timeout', -} +export type RestoreState = 'Invalid' | 'Accepted' | 'RestoreInProgress' | 'Success' | 'Failure' | 'Timeout'; /** * Defines values for BackupType. * Possible values include: 'Invalid', 'Full', 'Incremental' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BackupType = "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum BackupType { - /** - * Indicates an invalid backup type. All Service Fabric enumerations have the - * invalid type. - */ - Invalid = 'Invalid', - /** - * Indicates a full backup. - */ - Full = 'Full', - /** - * Indicates an incremental backup. A backup chain is comprised of a full - * backup followed by 0 or more incremental backups. - */ - Incremental = 'Incremental', -} +export type BackupType = 'Invalid' | 'Full' | 'Incremental'; /** * Defines values for BackupScheduleFrequencyType. * Possible values include: 'Invalid', 'Daily', 'Weekly' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BackupScheduleFrequencyType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum BackupScheduleFrequencyType { - /** - * Indicates an invalid backup schedule frequency type. All Service Fabric - * enumerations have the invalid type. - */ - Invalid = 'Invalid', - /** - * Indicates that the time based backup schedule is repeated at a daily - * frequency. - */ - Daily = 'Daily', - /** - * Indicates that the time based backup schedule is repeated at a weekly - * frequency. - */ - Weekly = 'Weekly', -} +export type BackupScheduleFrequencyType = 'Invalid' | 'Daily' | 'Weekly'; /** * Defines values for DayOfWeek. - * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', - * 'Thursday', 'Friday', 'Saturday' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DayOfWeek = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + * 'Saturday' * @readonly * @enum {string} */ -export enum DayOfWeek { - /** - * Indicates the Day referred is Sunday. - */ - Sunday = 'Sunday', - /** - * Indicates the Day referred is Monday. - */ - Monday = 'Monday', - /** - * Indicates the Day referred is Tuesday. - */ - Tuesday = 'Tuesday', - /** - * Indicates the Day referred is Wednesday. - */ - Wednesday = 'Wednesday', - /** - * Indicates the Day referred is Thursday. - */ - Thursday = 'Thursday', - /** - * Indicates the Day referred is Friday. - */ - Friday = 'Friday', - /** - * Indicates the Day referred is Saturday. - */ - Saturday = 'Saturday', -} +export type DayOfWeek = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'; /** * Defines values for BackupState. - * Possible values include: 'Invalid', 'Accepted', 'BackupInProgress', - * 'Success', 'Failure', 'Timeout' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BackupState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Accepted', 'BackupInProgress', 'Success', 'Failure', + * 'Timeout' * @readonly * @enum {string} */ -export enum BackupState { - /** - * Indicates an invalid backup state. All Service Fabric enumerations have - * the invalid type. - */ - Invalid = 'Invalid', - /** - * Operation has been validated and accepted. Backup is yet to be triggered. - */ - Accepted = 'Accepted', - /** - * Backup operation has been triggered and is under process. - */ - BackupInProgress = 'BackupInProgress', - /** - * Operation completed with success. - */ - Success = 'Success', - /** - * Operation completed with failure. - */ - Failure = 'Failure', - /** - * Operation timed out. - */ - Timeout = 'Timeout', -} +export type BackupState = 'Invalid' | 'Accepted' | 'BackupInProgress' | 'Success' | 'Failure' | 'Timeout'; /** * Defines values for BackupEntityKind. * Possible values include: 'Invalid', 'Partition', 'Service', 'Application' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: BackupEntityKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum BackupEntityKind { - /** - * Indicates an invalid entity kind. All Service Fabric enumerations have the - * invalid type. - */ - Invalid = 'Invalid', - /** - * Indicates the entity is a Service Fabric partition. - */ - Partition = 'Partition', - /** - * Indicates the entity is a Service Fabric service. - */ - Service = 'Service', - /** - * Indicates the entity is a Service Fabric application. - */ - Application = 'Application', -} +export type BackupEntityKind = 'Invalid' | 'Partition' | 'Service' | 'Application'; /** * Defines values for ImpactLevel. - * Possible values include: 'Invalid', 'None', 'Restart', 'RemoveData', - * 'RemoveNode' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ImpactLevel = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'None', 'Restart', 'RemoveData', 'RemoveNode' * @readonly * @enum {string} */ -export enum ImpactLevel { - Invalid = 'Invalid', - None = 'None', - Restart = 'Restart', - RemoveData = 'RemoveData', - RemoveNode = 'RemoveNode', -} +export type ImpactLevel = 'Invalid' | 'None' | 'Restart' | 'RemoveData' | 'RemoveNode'; /** * Defines values for RepairImpactKind. * Possible values include: 'Invalid', 'Node' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RepairImpactKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RepairImpactKind { - /** - * The repair impact is not valid or is of an unknown type. - */ - Invalid = 'Invalid', - /** - * The repair impact affects a set of Service Fabric nodes. - */ - Node = 'Node', -} +export type RepairImpactKind = 'Invalid' | 'Node'; /** * Defines values for RepairTargetKind. * Possible values include: 'Invalid', 'Node' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RepairTargetKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum RepairTargetKind { - /** - * The repair target is not valid or is of an unknown type. - */ - Invalid = 'Invalid', - /** - * The repair target is a set of Service Fabric nodes. - */ - Node = 'Node', -} +export type RepairTargetKind = 'Invalid' | 'Node'; /** * Defines values for State. - * Possible values include: 'Invalid', 'Created', 'Claimed', 'Preparing', - * 'Approved', 'Executing', 'Restoring', 'Completed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: State = "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Created', 'Claimed', 'Preparing', 'Approved', 'Executing', + * 'Restoring', 'Completed' * @readonly * @enum {string} */ -export enum State { - /** - * Indicates that the repair task state is invalid. All Service Fabric - * enumerations have the invalid value. - */ - Invalid = 'Invalid', - /** - * Indicates that the repair task has been created. - */ - Created = 'Created', - /** - * Indicates that the repair task has been claimed by a repair executor. - */ - Claimed = 'Claimed', - /** - * Indicates that the Repair Manager is preparing the system to handle the - * impact of the repair task, usually by taking resources offline gracefully. - */ - Preparing = 'Preparing', - /** - * Indicates that the repair task has been approved by the Repair Manager and - * is safe to execute. - */ - Approved = 'Approved', - /** - * Indicates that execution of the repair task is in progress. - */ - Executing = 'Executing', - /** - * Indicates that the Repair Manager is restoring the system to its - * pre-repair state, usually by bringing resources back online. - */ - Restoring = 'Restoring', - /** - * Indicates that the repair task has completed, and no further state changes - * will occur. - */ - Completed = 'Completed', -} +export type State = 'Invalid' | 'Created' | 'Claimed' | 'Preparing' | 'Approved' | 'Executing' | 'Restoring' | 'Completed'; /** * Defines values for ResultStatus. - * Possible values include: 'Invalid', 'Succeeded', 'Cancelled', 'Interrupted', - * 'Failed', 'Pending' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ResultStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Succeeded', 'Cancelled', 'Interrupted', 'Failed', 'Pending' * @readonly * @enum {string} */ -export enum ResultStatus { - /** - * Indicates that the repair task result is invalid. All Service Fabric - * enumerations have the invalid value. - */ - Invalid = 'Invalid', - /** - * Indicates that the repair task completed execution successfully. - */ - Succeeded = 'Succeeded', - /** - * Indicates that the repair task was cancelled prior to execution. - */ - Cancelled = 'Cancelled', - /** - * Indicates that execution of the repair task was interrupted by a - * cancellation request after some work had already been performed. - */ - Interrupted = 'Interrupted', - /** - * Indicates that there was a failure during execution of the repair task. - * Some work may have been performed. - */ - Failed = 'Failed', - /** - * Indicates that the repair task result is not yet available, because the - * repair task has not finished executing. - */ - Pending = 'Pending', -} +export type ResultStatus = 'Invalid' | 'Succeeded' | 'Cancelled' | 'Interrupted' | 'Failed' | 'Pending'; /** * Defines values for RepairTaskHealthCheckState. - * Possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Skipped', - * 'TimedOut' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RepairTaskHealthCheckState = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Skipped', 'TimedOut' * @readonly * @enum {string} */ -export enum RepairTaskHealthCheckState { - /** - * Indicates that the health check has not started. - */ - NotStarted = 'NotStarted', - /** - * Indicates that the health check is in progress. - */ - InProgress = 'InProgress', - /** - * Indicates that the health check succeeded. - */ - Succeeded = 'Succeeded', - /** - * Indicates that the health check was skipped. - */ - Skipped = 'Skipped', - /** - * Indicates that the health check timed out. - */ - TimedOut = 'TimedOut', -} +export type RepairTaskHealthCheckState = 'NotStarted' | 'InProgress' | 'Succeeded' | 'Skipped' | 'TimedOut'; /** * Defines values for ScalingTriggerKind. - * Possible values include: 'Invalid', 'AveragePartitionLoad', - * 'AverageServiceLoad' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ScalingTriggerKind = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'AveragePartitionLoad', 'AverageServiceLoad' * @readonly * @enum {string} */ -export enum ScalingTriggerKind { - /** - * Indicates the scaling trigger is invalid. All Service Fabric enumerations - * have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates a trigger where scaling decisions are made based on average load - * of a partition. The value is 1. - */ - AveragePartitionLoad = 'AveragePartitionLoad', - /** - * Indicates a trigger where scaling decisions are made based on average load - * of a service. The value is 2. - */ - AverageServiceLoad = 'AverageServiceLoad', -} +export type ScalingTriggerKind = 'Invalid' | 'AveragePartitionLoad' | 'AverageServiceLoad'; /** * Defines values for ScalingMechanismKind. * Possible values include: 'Invalid', 'PartitionInstanceCount', * 'AddRemoveIncrementalNamedPartition' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ScalingMechanismKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ScalingMechanismKind { - /** - * Indicates the scaling mechanism is invalid. All Service Fabric - * enumerations have the invalid type. The value is zero. - */ - Invalid = 'Invalid', - /** - * Indicates a mechanism for scaling where new instances are added or removed - * from a partition. The value is 1. - */ - PartitionInstanceCount = 'PartitionInstanceCount', - /** - * Indicates a mechanism for scaling where new named partitions are added or - * removed from a service. The value is 2. - */ - AddRemoveIncrementalNamedPartition = 'AddRemoveIncrementalNamedPartition', -} +export type ScalingMechanismKind = 'Invalid' | 'PartitionInstanceCount' | 'AddRemoveIncrementalNamedPartition'; /** * Defines values for ServiceResourceStatus. - * Possible values include: 'Unknown', 'Active', 'Upgrading', 'Deleting', - * 'Creating', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ServiceResourceStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Unknown', 'Active', 'Upgrading', 'Deleting', 'Creating', 'Failed' * @readonly * @enum {string} */ -export enum ServiceResourceStatus { - Unknown = 'Unknown', - Active = 'Active', - Upgrading = 'Upgrading', - Deleting = 'Deleting', - Creating = 'Creating', - Failed = 'Failed', -} +export type ServiceResourceStatus = 'Unknown' | 'Active' | 'Upgrading' | 'Deleting' | 'Creating' | 'Failed'; /** * Defines values for ApplicationResourceStatus. - * Possible values include: 'Invalid', 'Ready', 'Upgrading', 'Creating', - * 'Deleting', 'Failed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ApplicationResourceStatus = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' * @readonly * @enum {string} */ -export enum ApplicationResourceStatus { - Invalid = 'Invalid', - Ready = 'Ready', - Upgrading = 'Upgrading', - Creating = 'Creating', - Deleting = 'Deleting', - Failed = 'Failed', -} +export type ApplicationResourceStatus = 'Invalid' | 'Ready' | 'Upgrading' | 'Creating' | 'Deleting' | 'Failed'; /** * Defines values for DiagnosticsSinkKind. * Possible values include: 'Invalid', 'AzureInternalMonitoringPipeline' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DiagnosticsSinkKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DiagnosticsSinkKind { - /** - * Indicates an invalid sink kind. All Service Fabric enumerations have the - * invalid type. - */ - Invalid = 'Invalid', - /** - * Diagnostics settings for Geneva. - */ - AzureInternalMonitoringPipeline = 'AzureInternalMonitoringPipeline', -} +export type DiagnosticsSinkKind = 'Invalid' | 'AzureInternalMonitoringPipeline'; /** * Defines values for OperatingSystemTypes. * Possible values include: 'Linux', 'Windows' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: OperatingSystemTypes = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum OperatingSystemTypes { - Linux = 'Linux', - Windows = 'Windows', -} +export type OperatingSystemTypes = 'Linux' | 'Windows'; /** * Defines values for NodeStatusFilter. - * Possible values include: 'default', 'all', 'up', 'down', 'enabling', - * 'disabling', 'disabled', 'unknown', 'removed' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NodeStatusFilter = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'default', 'all', 'up', 'down', 'enabling', 'disabling', 'disabled', + * 'unknown', 'removed' * @readonly * @enum {string} */ -export enum NodeStatusFilter { - /** - * This filter value will match all of the nodes excepts the ones with with - * status as Unknown or Removed. - */ - Default = 'default', - /** - * This filter value will match all of the nodes. - */ - All = 'all', - /** - * This filter value will match nodes that are Up. - */ - Up = 'up', - /** - * This filter value will match nodes that are Down. - */ - Down = 'down', - /** - * This filter value will match nodes that are in the process of being - * enabled with status as Enabling. - */ - Enabling = 'enabling', - /** - * This filter value will match nodes that are in the process of being - * disabled with status as Disabling. - */ - Disabling = 'disabling', - /** - * This filter value will match nodes that are Disabled. - */ - Disabled = 'disabled', - /** - * This filter value will match nodes whose status is Unknown. A node would - * be in Unknown state if Service Fabric does not have authoritative - * information about that node. This can happen if the system learns about a - * node at runtime. - */ - Unknown = 'unknown', - /** - * This filter value will match nodes whose status is Removed. These are the - * nodes that are removed from the cluster using the RemoveNodeState API. - */ - Removed = 'removed', -} +export type NodeStatusFilter = 'default' | 'all' | 'up' | 'down' | 'enabling' | 'disabling' | 'disabled' | 'unknown' | 'removed'; /** * Defines values for ReplicaHealthReportServiceKind. * Possible values include: 'Stateless', 'Stateful' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: ReplicaHealthReportServiceKind = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum ReplicaHealthReportServiceKind { - /** - * Does not use Service Fabric to make its state highly available or - * reliable. The value is 1 - */ - Stateless = 'Stateless', - /** - * Uses Service Fabric to make its state or part of its state highly - * available and reliable. The value is 2. - */ - Stateful = 'Stateful', -} +export type ReplicaHealthReportServiceKind = 'Stateless' | 'Stateful'; /** * Defines values for DataLossMode. * Possible values include: 'Invalid', 'PartialDataLoss', 'FullDataLoss' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: DataLossMode = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum DataLossMode { - /** - * Reserved. Do not pass into API. - */ - Invalid = 'Invalid', - /** - * PartialDataLoss option will cause a quorum of replicas to go down, - * triggering an OnDataLoss event in the system for the given partition. - */ - PartialDataLoss = 'PartialDataLoss', - /** - * FullDataLoss option will drop all the replicas which means that all the - * data will be lost. - */ - FullDataLoss = 'FullDataLoss', -} +export type DataLossMode = 'Invalid' | 'PartialDataLoss' | 'FullDataLoss'; /** * Defines values for NodeTransitionType. * Possible values include: 'Invalid', 'Start', 'Stop' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: NodeTransitionType = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum NodeTransitionType { - /** - * Reserved. Do not pass into API. - */ - Invalid = 'Invalid', - /** - * Transition a stopped node to up. - */ - Start = 'Start', - /** - * Transition an up node to stopped. - */ - Stop = 'Stop', -} +export type NodeTransitionType = 'Invalid' | 'Start' | 'Stop'; /** * Defines values for QuorumLossMode. * Possible values include: 'Invalid', 'QuorumReplicas', 'AllReplicas' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: QuorumLossMode = - * "someUnknownValueThatWillStillBeValid"; * @readonly * @enum {string} */ -export enum QuorumLossMode { - /** - * Reserved. Do not pass into API. - */ - Invalid = 'Invalid', - /** - * Partial Quorum loss mode : Minimum number of replicas for a partition will - * be down that will cause a quorum loss. - */ - QuorumReplicas = 'QuorumReplicas', - AllReplicas = 'AllReplicas', -} +export type QuorumLossMode = 'Invalid' | 'QuorumReplicas' | 'AllReplicas'; /** * Defines values for RestartPartitionMode. - * Possible values include: 'Invalid', 'AllReplicasOrInstances', - * 'OnlyActiveSecondaries' - * There could be more values for this enum apart from the ones defined here.If - * you want to set a value that is not from the known values then you can do - * the following: - * let param: RestartPartitionMode = - * "someUnknownValueThatWillStillBeValid"; + * Possible values include: 'Invalid', 'AllReplicasOrInstances', 'OnlyActiveSecondaries' * @readonly * @enum {string} */ -export enum RestartPartitionMode { - /** - * Reserved. Do not pass into API. - */ - Invalid = 'Invalid', - /** - * All replicas or instances in the partition are restarted at once. - */ - AllReplicasOrInstances = 'AllReplicasOrInstances', - /** - * Only the secondary replicas are restarted. - */ - OnlyActiveSecondaries = 'OnlyActiveSecondaries', -} +export type RestartPartitionMode = 'Invalid' | 'AllReplicasOrInstances' | 'OnlyActiveSecondaries'; /** * Contains response data for the getClusterManifest operation. diff --git a/packages/@azure/servicefabric/lib/models/mappers.ts b/packages/@azure/servicefabric/lib/models/mappers.ts index 1931ec9a0be0..973ec3fa3bd6 100644 --- a/packages/@azure/servicefabric/lib/models/mappers.ts +++ b/packages/@azure/servicefabric/lib/models/mappers.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const AadMetadata: msRest.CompositeMapper = { diff --git a/packages/@azure/servicefabric/lib/models/parameters.ts b/packages/@azure/servicefabric/lib/models/parameters.ts index 1aa1044909f5..b241bcdd96c3 100644 --- a/packages/@azure/servicefabric/lib/models/parameters.ts +++ b/packages/@azure/servicefabric/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 apiVersion0: msRest.OperationQueryParameter = { parameterPath: "apiVersion", diff --git a/packages/@azure/servicefabric/lib/serviceFabricClient.ts b/packages/@azure/servicefabric/lib/serviceFabricClient.ts index e41f3ee767d8..03aa856d812f 100644 --- a/packages/@azure/servicefabric/lib/serviceFabricClient.ts +++ b/packages/@azure/servicefabric/lib/serviceFabricClient.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 Parameters from "./models/parameters"; @@ -49,7 +49,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getClusterManifest(options: Models.ServiceFabricClientGetClusterManifestOptionalParams, callback: msRest.ServiceCallback): void; - getClusterManifest(options?: Models.ServiceFabricClientGetClusterManifestOptionalParams, callback?: msRest.ServiceCallback): Promise { + getClusterManifest(options?: Models.ServiceFabricClientGetClusterManifestOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -77,7 +77,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getClusterHealth(options: Models.ServiceFabricClientGetClusterHealthOptionalParams, callback: msRest.ServiceCallback): void; - getClusterHealth(options?: Models.ServiceFabricClientGetClusterHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + getClusterHealth(options?: Models.ServiceFabricClientGetClusterHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -106,7 +106,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getClusterHealthUsingPolicy(options: Models.ServiceFabricClientGetClusterHealthUsingPolicyOptionalParams, callback: msRest.ServiceCallback): void; - getClusterHealthUsingPolicy(options?: Models.ServiceFabricClientGetClusterHealthUsingPolicyOptionalParams, callback?: msRest.ServiceCallback): Promise { + getClusterHealthUsingPolicy(options?: Models.ServiceFabricClientGetClusterHealthUsingPolicyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -134,7 +134,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getClusterHealthChunk(options: Models.ServiceFabricClientGetClusterHealthChunkOptionalParams, callback: msRest.ServiceCallback): void; - getClusterHealthChunk(options?: Models.ServiceFabricClientGetClusterHealthChunkOptionalParams, callback?: msRest.ServiceCallback): Promise { + getClusterHealthChunk(options?: Models.ServiceFabricClientGetClusterHealthChunkOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -168,7 +168,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getClusterHealthChunkUsingPolicyAndAdvancedFilters(options: Models.ServiceFabricClientGetClusterHealthChunkUsingPolicyAndAdvancedFiltersOptionalParams, callback: msRest.ServiceCallback): void; - getClusterHealthChunkUsingPolicyAndAdvancedFilters(options?: Models.ServiceFabricClientGetClusterHealthChunkUsingPolicyAndAdvancedFiltersOptionalParams, callback?: msRest.ServiceCallback): Promise { + getClusterHealthChunkUsingPolicyAndAdvancedFilters(options?: Models.ServiceFabricClientGetClusterHealthChunkUsingPolicyAndAdvancedFiltersOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -207,7 +207,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ reportClusterHealth(healthInformation: Models.HealthInformation, options: Models.ServiceFabricClientReportClusterHealthOptionalParams, callback: msRest.ServiceCallback): void; - reportClusterHealth(healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportClusterHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + reportClusterHealth(healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportClusterHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { healthInformation, @@ -235,7 +235,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getProvisionedFabricCodeVersionInfoList(options: Models.ServiceFabricClientGetProvisionedFabricCodeVersionInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getProvisionedFabricCodeVersionInfoList(options?: Models.ServiceFabricClientGetProvisionedFabricCodeVersionInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getProvisionedFabricCodeVersionInfoList(options?: Models.ServiceFabricClientGetProvisionedFabricCodeVersionInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -262,7 +262,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getProvisionedFabricConfigVersionInfoList(options: Models.ServiceFabricClientGetProvisionedFabricConfigVersionInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getProvisionedFabricConfigVersionInfoList(options?: Models.ServiceFabricClientGetProvisionedFabricConfigVersionInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getProvisionedFabricConfigVersionInfoList(options?: Models.ServiceFabricClientGetProvisionedFabricConfigVersionInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -288,7 +288,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getClusterUpgradeProgress(options: Models.ServiceFabricClientGetClusterUpgradeProgressOptionalParams, callback: msRest.ServiceCallback): void; - getClusterUpgradeProgress(options?: Models.ServiceFabricClientGetClusterUpgradeProgressOptionalParams, callback?: msRest.ServiceCallback): Promise { + getClusterUpgradeProgress(options?: Models.ServiceFabricClientGetClusterUpgradeProgressOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -318,7 +318,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getClusterConfiguration(configurationApiVersion: string, options: Models.ServiceFabricClientGetClusterConfigurationOptionalParams, callback: msRest.ServiceCallback): void; - getClusterConfiguration(configurationApiVersion: string, options?: Models.ServiceFabricClientGetClusterConfigurationOptionalParams, callback?: msRest.ServiceCallback): Promise { + getClusterConfiguration(configurationApiVersion: string, options?: Models.ServiceFabricClientGetClusterConfigurationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { configurationApiVersion, @@ -344,7 +344,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getClusterConfigurationUpgradeStatus(options: Models.ServiceFabricClientGetClusterConfigurationUpgradeStatusOptionalParams, callback: msRest.ServiceCallback): void; - getClusterConfigurationUpgradeStatus(options?: Models.ServiceFabricClientGetClusterConfigurationUpgradeStatusOptionalParams, callback?: msRest.ServiceCallback): Promise { + getClusterConfigurationUpgradeStatus(options?: Models.ServiceFabricClientGetClusterConfigurationUpgradeStatusOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -370,7 +370,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getUpgradeOrchestrationServiceState(options: Models.ServiceFabricClientGetUpgradeOrchestrationServiceStateOptionalParams, callback: msRest.ServiceCallback): void; - getUpgradeOrchestrationServiceState(options?: Models.ServiceFabricClientGetUpgradeOrchestrationServiceStateOptionalParams, callback?: msRest.ServiceCallback): Promise { + getUpgradeOrchestrationServiceState(options?: Models.ServiceFabricClientGetUpgradeOrchestrationServiceStateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -402,7 +402,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ setUpgradeOrchestrationServiceState(upgradeOrchestrationServiceState: Models.UpgradeOrchestrationServiceState, options: Models.ServiceFabricClientSetUpgradeOrchestrationServiceStateOptionalParams, callback: msRest.ServiceCallback): void; - setUpgradeOrchestrationServiceState(upgradeOrchestrationServiceState: Models.UpgradeOrchestrationServiceState, options?: Models.ServiceFabricClientSetUpgradeOrchestrationServiceStateOptionalParams, callback?: msRest.ServiceCallback): Promise { + setUpgradeOrchestrationServiceState(upgradeOrchestrationServiceState: Models.UpgradeOrchestrationServiceState, options?: Models.ServiceFabricClientSetUpgradeOrchestrationServiceStateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { upgradeOrchestrationServiceState, @@ -431,7 +431,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ provisionCluster(provisionFabricDescription: Models.ProvisionFabricDescription, options: Models.ServiceFabricClientProvisionClusterOptionalParams, callback: msRest.ServiceCallback): void; - provisionCluster(provisionFabricDescription: Models.ProvisionFabricDescription, options?: Models.ServiceFabricClientProvisionClusterOptionalParams, callback?: msRest.ServiceCallback): Promise { + provisionCluster(provisionFabricDescription: Models.ProvisionFabricDescription, options?: Models.ServiceFabricClientProvisionClusterOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { provisionFabricDescription, @@ -460,7 +460,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ unprovisionCluster(unprovisionFabricDescription: Models.UnprovisionFabricDescription, options: Models.ServiceFabricClientUnprovisionClusterOptionalParams, callback: msRest.ServiceCallback): void; - unprovisionCluster(unprovisionFabricDescription: Models.UnprovisionFabricDescription, options?: Models.ServiceFabricClientUnprovisionClusterOptionalParams, callback?: msRest.ServiceCallback): Promise { + unprovisionCluster(unprovisionFabricDescription: Models.UnprovisionFabricDescription, options?: Models.ServiceFabricClientUnprovisionClusterOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { unprovisionFabricDescription, @@ -486,7 +486,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ rollbackClusterUpgrade(options: Models.ServiceFabricClientRollbackClusterUpgradeOptionalParams, callback: msRest.ServiceCallback): void; - rollbackClusterUpgrade(options?: Models.ServiceFabricClientRollbackClusterUpgradeOptionalParams, callback?: msRest.ServiceCallback): Promise { + rollbackClusterUpgrade(options?: Models.ServiceFabricClientRollbackClusterUpgradeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -515,7 +515,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ resumeClusterUpgrade(resumeClusterUpgradeDescription: Models.ResumeClusterUpgradeDescription, options: Models.ServiceFabricClientResumeClusterUpgradeOptionalParams, callback: msRest.ServiceCallback): void; - resumeClusterUpgrade(resumeClusterUpgradeDescription: Models.ResumeClusterUpgradeDescription, options?: Models.ServiceFabricClientResumeClusterUpgradeOptionalParams, callback?: msRest.ServiceCallback): Promise { + resumeClusterUpgrade(resumeClusterUpgradeDescription: Models.ResumeClusterUpgradeDescription, options?: Models.ServiceFabricClientResumeClusterUpgradeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { resumeClusterUpgradeDescription, @@ -545,7 +545,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ startClusterUpgrade(startClusterUpgradeDescription: Models.StartClusterUpgradeDescription, options: Models.ServiceFabricClientStartClusterUpgradeOptionalParams, callback: msRest.ServiceCallback): void; - startClusterUpgrade(startClusterUpgradeDescription: Models.StartClusterUpgradeDescription, options?: Models.ServiceFabricClientStartClusterUpgradeOptionalParams, callback?: msRest.ServiceCallback): Promise { + startClusterUpgrade(startClusterUpgradeDescription: Models.StartClusterUpgradeDescription, options?: Models.ServiceFabricClientStartClusterUpgradeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { startClusterUpgradeDescription, @@ -578,7 +578,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ startClusterConfigurationUpgrade(clusterConfigurationUpgradeDescription: Models.ClusterConfigurationUpgradeDescription, options: Models.ServiceFabricClientStartClusterConfigurationUpgradeOptionalParams, callback: msRest.ServiceCallback): void; - startClusterConfigurationUpgrade(clusterConfigurationUpgradeDescription: Models.ClusterConfigurationUpgradeDescription, options?: Models.ServiceFabricClientStartClusterConfigurationUpgradeOptionalParams, callback?: msRest.ServiceCallback): Promise { + startClusterConfigurationUpgrade(clusterConfigurationUpgradeDescription: Models.ClusterConfigurationUpgradeDescription, options?: Models.ServiceFabricClientStartClusterConfigurationUpgradeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { clusterConfigurationUpgradeDescription, @@ -607,7 +607,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ updateClusterUpgrade(updateClusterUpgradeDescription: Models.UpdateClusterUpgradeDescription, options: Models.ServiceFabricClientUpdateClusterUpgradeOptionalParams, callback: msRest.ServiceCallback): void; - updateClusterUpgrade(updateClusterUpgradeDescription: Models.UpdateClusterUpgradeDescription, options?: Models.ServiceFabricClientUpdateClusterUpgradeOptionalParams, callback?: msRest.ServiceCallback): Promise { + updateClusterUpgrade(updateClusterUpgradeDescription: Models.UpdateClusterUpgradeDescription, options?: Models.ServiceFabricClientUpdateClusterUpgradeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { updateClusterUpgradeDescription, @@ -635,7 +635,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getAadMetadata(options: Models.ServiceFabricClientGetAadMetadataOptionalParams, callback: msRest.ServiceCallback): void; - getAadMetadata(options?: Models.ServiceFabricClientGetAadMetadataOptionalParams, callback?: msRest.ServiceCallback): Promise { + getAadMetadata(options?: Models.ServiceFabricClientGetAadMetadataOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -660,7 +660,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getNodeInfoList(options: Models.ServiceFabricClientGetNodeInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getNodeInfoList(options?: Models.ServiceFabricClientGetNodeInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getNodeInfoList(options?: Models.ServiceFabricClientGetNodeInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -688,7 +688,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getNodeInfo(nodeName: string, options: Models.ServiceFabricClientGetNodeInfoOptionalParams, callback: msRest.ServiceCallback): void; - getNodeInfo(nodeName: string, options?: Models.ServiceFabricClientGetNodeInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getNodeInfo(nodeName: string, options?: Models.ServiceFabricClientGetNodeInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -719,7 +719,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getNodeHealth(nodeName: string, options: Models.ServiceFabricClientGetNodeHealthOptionalParams, callback: msRest.ServiceCallback): void; - getNodeHealth(nodeName: string, options?: Models.ServiceFabricClientGetNodeHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + getNodeHealth(nodeName: string, options?: Models.ServiceFabricClientGetNodeHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -751,7 +751,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getNodeHealthUsingPolicy(nodeName: string, options: Models.ServiceFabricClientGetNodeHealthUsingPolicyOptionalParams, callback: msRest.ServiceCallback): void; - getNodeHealthUsingPolicy(nodeName: string, options?: Models.ServiceFabricClientGetNodeHealthUsingPolicyOptionalParams, callback?: msRest.ServiceCallback): Promise { + getNodeHealthUsingPolicy(nodeName: string, options?: Models.ServiceFabricClientGetNodeHealthUsingPolicyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -794,7 +794,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ reportNodeHealth(nodeName: string, healthInformation: Models.HealthInformation, options: Models.ServiceFabricClientReportNodeHealthOptionalParams, callback: msRest.ServiceCallback): void; - reportNodeHealth(nodeName: string, healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportNodeHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + reportNodeHealth(nodeName: string, healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportNodeHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -825,7 +825,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getNodeLoadInfo(nodeName: string, options: Models.ServiceFabricClientGetNodeLoadInfoOptionalParams, callback: msRest.ServiceCallback): void; - getNodeLoadInfo(nodeName: string, options?: Models.ServiceFabricClientGetNodeLoadInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getNodeLoadInfo(nodeName: string, options?: Models.ServiceFabricClientGetNodeLoadInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -863,7 +863,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ disableNode(nodeName: string, deactivationIntentDescription: Models.DeactivationIntentDescription, options: Models.ServiceFabricClientDisableNodeOptionalParams, callback: msRest.ServiceCallback): void; - disableNode(nodeName: string, deactivationIntentDescription: Models.DeactivationIntentDescription, options?: Models.ServiceFabricClientDisableNodeOptionalParams, callback?: msRest.ServiceCallback): Promise { + disableNode(nodeName: string, deactivationIntentDescription: Models.DeactivationIntentDescription, options?: Models.ServiceFabricClientDisableNodeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -895,7 +895,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ enableNode(nodeName: string, options: Models.ServiceFabricClientEnableNodeOptionalParams, callback: msRest.ServiceCallback): void; - enableNode(nodeName: string, options?: Models.ServiceFabricClientEnableNodeOptionalParams, callback?: msRest.ServiceCallback): Promise { + enableNode(nodeName: string, options?: Models.ServiceFabricClientEnableNodeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -930,7 +930,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ removeNodeState(nodeName: string, options: Models.ServiceFabricClientRemoveNodeStateOptionalParams, callback: msRest.ServiceCallback): void; - removeNodeState(nodeName: string, options?: Models.ServiceFabricClientRemoveNodeStateOptionalParams, callback?: msRest.ServiceCallback): Promise { + removeNodeState(nodeName: string, options?: Models.ServiceFabricClientRemoveNodeStateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -965,7 +965,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ restartNode(nodeName: string, restartNodeDescription: Models.RestartNodeDescription, options: Models.ServiceFabricClientRestartNodeOptionalParams, callback: msRest.ServiceCallback): void; - restartNode(nodeName: string, restartNodeDescription: Models.RestartNodeDescription, options?: Models.ServiceFabricClientRestartNodeOptionalParams, callback?: msRest.ServiceCallback): Promise { + restartNode(nodeName: string, restartNodeDescription: Models.RestartNodeDescription, options?: Models.ServiceFabricClientRestartNodeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -1001,7 +1001,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationTypeInfoList(options: Models.ServiceFabricClientGetApplicationTypeInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getApplicationTypeInfoList(options?: Models.ServiceFabricClientGetApplicationTypeInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getApplicationTypeInfoList(options?: Models.ServiceFabricClientGetApplicationTypeInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -1041,7 +1041,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationTypeInfoListByName(applicationTypeName: string, options: Models.ServiceFabricClientGetApplicationTypeInfoListByNameOptionalParams, callback: msRest.ServiceCallback): void; - getApplicationTypeInfoListByName(applicationTypeName: string, options?: Models.ServiceFabricClientGetApplicationTypeInfoListByNameOptionalParams, callback?: msRest.ServiceCallback): Promise { + getApplicationTypeInfoListByName(applicationTypeName: string, options?: Models.ServiceFabricClientGetApplicationTypeInfoListByNameOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationTypeName, @@ -1080,7 +1080,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ provisionApplicationType(provisionApplicationTypeDescriptionBaseRequiredBodyParam: Models.ProvisionApplicationTypeDescriptionBaseUnion, options: Models.ServiceFabricClientProvisionApplicationTypeOptionalParams, callback: msRest.ServiceCallback): void; - provisionApplicationType(provisionApplicationTypeDescriptionBaseRequiredBodyParam: Models.ProvisionApplicationTypeDescriptionBaseUnion, options?: Models.ServiceFabricClientProvisionApplicationTypeOptionalParams, callback?: msRest.ServiceCallback): Promise { + provisionApplicationType(provisionApplicationTypeDescriptionBaseRequiredBodyParam: Models.ProvisionApplicationTypeDescriptionBaseUnion, options?: Models.ServiceFabricClientProvisionApplicationTypeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { provisionApplicationTypeDescriptionBaseRequiredBodyParam, @@ -1117,7 +1117,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ unprovisionApplicationType(applicationTypeName: string, unprovisionApplicationTypeDescriptionInfo: Models.UnprovisionApplicationTypeDescriptionInfo, options: Models.ServiceFabricClientUnprovisionApplicationTypeOptionalParams, callback: msRest.ServiceCallback): void; - unprovisionApplicationType(applicationTypeName: string, unprovisionApplicationTypeDescriptionInfo: Models.UnprovisionApplicationTypeDescriptionInfo, options?: Models.ServiceFabricClientUnprovisionApplicationTypeOptionalParams, callback?: msRest.ServiceCallback): Promise { + unprovisionApplicationType(applicationTypeName: string, unprovisionApplicationTypeDescriptionInfo: Models.UnprovisionApplicationTypeDescriptionInfo, options?: Models.ServiceFabricClientUnprovisionApplicationTypeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationTypeName, @@ -1153,7 +1153,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getServiceTypeInfoList(applicationTypeName: string, applicationTypeVersion: string, options: Models.ServiceFabricClientGetServiceTypeInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getServiceTypeInfoList(applicationTypeName: string, applicationTypeVersion: string, options?: Models.ServiceFabricClientGetServiceTypeInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getServiceTypeInfoList(applicationTypeName: string, applicationTypeVersion: string, options?: Models.ServiceFabricClientGetServiceTypeInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationTypeName, @@ -1193,7 +1193,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getServiceTypeInfoByName(applicationTypeName: string, applicationTypeVersion: string, serviceTypeName: string, options: Models.ServiceFabricClientGetServiceTypeInfoByNameOptionalParams, callback: msRest.ServiceCallback): void; - getServiceTypeInfoByName(applicationTypeName: string, applicationTypeVersion: string, serviceTypeName: string, options?: Models.ServiceFabricClientGetServiceTypeInfoByNameOptionalParams, callback?: msRest.ServiceCallback): Promise { + getServiceTypeInfoByName(applicationTypeName: string, applicationTypeVersion: string, serviceTypeName: string, options?: Models.ServiceFabricClientGetServiceTypeInfoByNameOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationTypeName, @@ -1234,7 +1234,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getServiceManifest(applicationTypeName: string, applicationTypeVersion: string, serviceManifestName: string, options: Models.ServiceFabricClientGetServiceManifestOptionalParams, callback: msRest.ServiceCallback): void; - getServiceManifest(applicationTypeName: string, applicationTypeVersion: string, serviceManifestName: string, options?: Models.ServiceFabricClientGetServiceManifestOptionalParams, callback?: msRest.ServiceCallback): Promise { + getServiceManifest(applicationTypeName: string, applicationTypeVersion: string, serviceManifestName: string, options?: Models.ServiceFabricClientGetServiceManifestOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationTypeName, @@ -1284,7 +1284,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDeployedServiceTypeInfoList(nodeName: string, applicationId: string, options: Models.ServiceFabricClientGetDeployedServiceTypeInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getDeployedServiceTypeInfoList(nodeName: string, applicationId: string, options?: Models.ServiceFabricClientGetDeployedServiceTypeInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeployedServiceTypeInfoList(nodeName: string, applicationId: string, options?: Models.ServiceFabricClientGetDeployedServiceTypeInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -1337,7 +1337,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDeployedServiceTypeInfoByName(nodeName: string, applicationId: string, serviceTypeName: string, options: Models.ServiceFabricClientGetDeployedServiceTypeInfoByNameOptionalParams, callback: msRest.ServiceCallback): void; - getDeployedServiceTypeInfoByName(nodeName: string, applicationId: string, serviceTypeName: string, options?: Models.ServiceFabricClientGetDeployedServiceTypeInfoByNameOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeployedServiceTypeInfoByName(nodeName: string, applicationId: string, serviceTypeName: string, options?: Models.ServiceFabricClientGetDeployedServiceTypeInfoByNameOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -1368,7 +1368,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ createApplication(applicationDescription: Models.ApplicationDescription, options: Models.ServiceFabricClientCreateApplicationOptionalParams, callback: msRest.ServiceCallback): void; - createApplication(applicationDescription: Models.ApplicationDescription, options?: Models.ServiceFabricClientCreateApplicationOptionalParams, callback?: msRest.ServiceCallback): Promise { + createApplication(applicationDescription: Models.ApplicationDescription, options?: Models.ServiceFabricClientCreateApplicationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationDescription, @@ -1414,7 +1414,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ deleteApplication(applicationId: string, options: Models.ServiceFabricClientDeleteApplicationOptionalParams, callback: msRest.ServiceCallback): void; - deleteApplication(applicationId: string, options?: Models.ServiceFabricClientDeleteApplicationOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteApplication(applicationId: string, options?: Models.ServiceFabricClientDeleteApplicationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -1459,7 +1459,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationLoadInfo(applicationId: string, options: Models.ServiceFabricClientGetApplicationLoadInfoOptionalParams, callback: msRest.ServiceCallback): void; - getApplicationLoadInfo(applicationId: string, options?: Models.ServiceFabricClientGetApplicationLoadInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getApplicationLoadInfo(applicationId: string, options?: Models.ServiceFabricClientGetApplicationLoadInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -1491,7 +1491,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationInfoList(options: Models.ServiceFabricClientGetApplicationInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getApplicationInfoList(options?: Models.ServiceFabricClientGetApplicationInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getApplicationInfoList(options?: Models.ServiceFabricClientGetApplicationInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -1534,7 +1534,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationInfo(applicationId: string, options: Models.ServiceFabricClientGetApplicationInfoOptionalParams, callback: msRest.ServiceCallback): void; - getApplicationInfo(applicationId: string, options?: Models.ServiceFabricClientGetApplicationInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getApplicationInfo(applicationId: string, options?: Models.ServiceFabricClientGetApplicationInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -1576,7 +1576,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationHealth(applicationId: string, options: Models.ServiceFabricClientGetApplicationHealthOptionalParams, callback: msRest.ServiceCallback): void; - getApplicationHealth(applicationId: string, options?: Models.ServiceFabricClientGetApplicationHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + getApplicationHealth(applicationId: string, options?: Models.ServiceFabricClientGetApplicationHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -1619,7 +1619,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationHealthUsingPolicy(applicationId: string, options: Models.ServiceFabricClientGetApplicationHealthUsingPolicyOptionalParams, callback: msRest.ServiceCallback): void; - getApplicationHealthUsingPolicy(applicationId: string, options?: Models.ServiceFabricClientGetApplicationHealthUsingPolicyOptionalParams, callback?: msRest.ServiceCallback): Promise { + getApplicationHealthUsingPolicy(applicationId: string, options?: Models.ServiceFabricClientGetApplicationHealthUsingPolicyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -1674,7 +1674,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ reportApplicationHealth(applicationId: string, healthInformation: Models.HealthInformation, options: Models.ServiceFabricClientReportApplicationHealthOptionalParams, callback: msRest.ServiceCallback): void; - reportApplicationHealth(applicationId: string, healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportApplicationHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + reportApplicationHealth(applicationId: string, healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportApplicationHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -1720,7 +1720,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ startApplicationUpgrade(applicationId: string, applicationUpgradeDescription: Models.ApplicationUpgradeDescription, options: Models.ServiceFabricClientStartApplicationUpgradeOptionalParams, callback: msRest.ServiceCallback): void; - startApplicationUpgrade(applicationId: string, applicationUpgradeDescription: Models.ApplicationUpgradeDescription, options?: Models.ServiceFabricClientStartApplicationUpgradeOptionalParams, callback?: msRest.ServiceCallback): Promise { + startApplicationUpgrade(applicationId: string, applicationUpgradeDescription: Models.ApplicationUpgradeDescription, options?: Models.ServiceFabricClientStartApplicationUpgradeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -1763,7 +1763,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationUpgrade(applicationId: string, options: Models.ServiceFabricClientGetApplicationUpgradeOptionalParams, callback: msRest.ServiceCallback): void; - getApplicationUpgrade(applicationId: string, options?: Models.ServiceFabricClientGetApplicationUpgradeOptionalParams, callback?: msRest.ServiceCallback): Promise { + getApplicationUpgrade(applicationId: string, options?: Models.ServiceFabricClientGetApplicationUpgradeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -1812,7 +1812,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ updateApplicationUpgrade(applicationId: string, applicationUpgradeUpdateDescription: Models.ApplicationUpgradeUpdateDescription, options: Models.ServiceFabricClientUpdateApplicationUpgradeOptionalParams, callback: msRest.ServiceCallback): void; - updateApplicationUpgrade(applicationId: string, applicationUpgradeUpdateDescription: Models.ApplicationUpgradeUpdateDescription, options?: Models.ServiceFabricClientUpdateApplicationUpgradeOptionalParams, callback?: msRest.ServiceCallback): Promise { + updateApplicationUpgrade(applicationId: string, applicationUpgradeUpdateDescription: Models.ApplicationUpgradeUpdateDescription, options?: Models.ServiceFabricClientUpdateApplicationUpgradeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -1862,7 +1862,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ resumeApplicationUpgrade(applicationId: string, resumeApplicationUpgradeDescription: Models.ResumeApplicationUpgradeDescription, options: Models.ServiceFabricClientResumeApplicationUpgradeOptionalParams, callback: msRest.ServiceCallback): void; - resumeApplicationUpgrade(applicationId: string, resumeApplicationUpgradeDescription: Models.ResumeApplicationUpgradeDescription, options?: Models.ServiceFabricClientResumeApplicationUpgradeOptionalParams, callback?: msRest.ServiceCallback): Promise { + resumeApplicationUpgrade(applicationId: string, resumeApplicationUpgradeDescription: Models.ResumeApplicationUpgradeDescription, options?: Models.ServiceFabricClientResumeApplicationUpgradeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -1908,7 +1908,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ rollbackApplicationUpgrade(applicationId: string, options: Models.ServiceFabricClientRollbackApplicationUpgradeOptionalParams, callback: msRest.ServiceCallback): void; - rollbackApplicationUpgrade(applicationId: string, options?: Models.ServiceFabricClientRollbackApplicationUpgradeOptionalParams, callback?: msRest.ServiceCallback): Promise { + rollbackApplicationUpgrade(applicationId: string, options?: Models.ServiceFabricClientRollbackApplicationUpgradeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -1941,7 +1941,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDeployedApplicationInfoList(nodeName: string, options: Models.ServiceFabricClientGetDeployedApplicationInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getDeployedApplicationInfoList(nodeName: string, options?: Models.ServiceFabricClientGetDeployedApplicationInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeployedApplicationInfoList(nodeName: string, options?: Models.ServiceFabricClientGetDeployedApplicationInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -1989,7 +1989,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDeployedApplicationInfo(nodeName: string, applicationId: string, options: Models.ServiceFabricClientGetDeployedApplicationInfoOptionalParams, callback: msRest.ServiceCallback): void; - getDeployedApplicationInfo(nodeName: string, applicationId: string, options?: Models.ServiceFabricClientGetDeployedApplicationInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeployedApplicationInfo(nodeName: string, applicationId: string, options?: Models.ServiceFabricClientGetDeployedApplicationInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -2037,7 +2037,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDeployedApplicationHealth(nodeName: string, applicationId: string, options: Models.ServiceFabricClientGetDeployedApplicationHealthOptionalParams, callback: msRest.ServiceCallback): void; - getDeployedApplicationHealth(nodeName: string, applicationId: string, options?: Models.ServiceFabricClientGetDeployedApplicationHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeployedApplicationHealth(nodeName: string, applicationId: string, options?: Models.ServiceFabricClientGetDeployedApplicationHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -2090,7 +2090,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDeployedApplicationHealthUsingPolicy(nodeName: string, applicationId: string, options: Models.ServiceFabricClientGetDeployedApplicationHealthUsingPolicyOptionalParams, callback: msRest.ServiceCallback): void; - getDeployedApplicationHealthUsingPolicy(nodeName: string, applicationId: string, options?: Models.ServiceFabricClientGetDeployedApplicationHealthUsingPolicyOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeployedApplicationHealthUsingPolicy(nodeName: string, applicationId: string, options?: Models.ServiceFabricClientGetDeployedApplicationHealthUsingPolicyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -2151,7 +2151,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ reportDeployedApplicationHealth(nodeName: string, applicationId: string, healthInformation: Models.HealthInformation, options: Models.ServiceFabricClientReportDeployedApplicationHealthOptionalParams, callback: msRest.ServiceCallback): void; - reportDeployedApplicationHealth(nodeName: string, applicationId: string, healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportDeployedApplicationHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + reportDeployedApplicationHealth(nodeName: string, applicationId: string, healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportDeployedApplicationHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -2185,7 +2185,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationManifest(applicationTypeName: string, applicationTypeVersion: string, options: Models.ServiceFabricClientGetApplicationManifestOptionalParams, callback: msRest.ServiceCallback): void; - getApplicationManifest(applicationTypeName: string, applicationTypeVersion: string, options?: Models.ServiceFabricClientGetApplicationManifestOptionalParams, callback?: msRest.ServiceCallback): Promise { + getApplicationManifest(applicationTypeName: string, applicationTypeVersion: string, options?: Models.ServiceFabricClientGetApplicationManifestOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationTypeName, @@ -2229,7 +2229,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getServiceInfoList(applicationId: string, options: Models.ServiceFabricClientGetServiceInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getServiceInfoList(applicationId: string, options?: Models.ServiceFabricClientGetServiceInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getServiceInfoList(applicationId: string, options?: Models.ServiceFabricClientGetServiceInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -2287,7 +2287,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getServiceInfo(applicationId: string, serviceId: string, options: Models.ServiceFabricClientGetServiceInfoOptionalParams, callback: msRest.ServiceCallback): void; - getServiceInfo(applicationId: string, serviceId: string, options?: Models.ServiceFabricClientGetServiceInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getServiceInfo(applicationId: string, serviceId: string, options?: Models.ServiceFabricClientGetServiceInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -2331,7 +2331,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationNameInfo(serviceId: string, options: Models.ServiceFabricClientGetApplicationNameInfoOptionalParams, callback: msRest.ServiceCallback): void; - getApplicationNameInfo(serviceId: string, options?: Models.ServiceFabricClientGetApplicationNameInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getApplicationNameInfo(serviceId: string, options?: Models.ServiceFabricClientGetApplicationNameInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -2378,7 +2378,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ createService(applicationId: string, serviceDescription: Models.ServiceDescriptionUnion, options: Models.ServiceFabricClientCreateServiceOptionalParams, callback: msRest.ServiceCallback): void; - createService(applicationId: string, serviceDescription: Models.ServiceDescriptionUnion, options?: Models.ServiceFabricClientCreateServiceOptionalParams, callback?: msRest.ServiceCallback): Promise { + createService(applicationId: string, serviceDescription: Models.ServiceDescriptionUnion, options?: Models.ServiceFabricClientCreateServiceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -2429,7 +2429,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ createServiceFromTemplate(applicationId: string, serviceFromTemplateDescription: Models.ServiceFromTemplateDescription, options: Models.ServiceFabricClientCreateServiceFromTemplateOptionalParams, callback: msRest.ServiceCallback): void; - createServiceFromTemplate(applicationId: string, serviceFromTemplateDescription: Models.ServiceFromTemplateDescription, options?: Models.ServiceFabricClientCreateServiceFromTemplateOptionalParams, callback?: msRest.ServiceCallback): Promise { + createServiceFromTemplate(applicationId: string, serviceFromTemplateDescription: Models.ServiceFromTemplateDescription, options?: Models.ServiceFabricClientCreateServiceFromTemplateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -2475,7 +2475,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ deleteService(serviceId: string, options: Models.ServiceFabricClientDeleteServiceOptionalParams, callback: msRest.ServiceCallback): void; - deleteService(serviceId: string, options?: Models.ServiceFabricClientDeleteServiceOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteService(serviceId: string, options?: Models.ServiceFabricClientDeleteServiceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -2525,7 +2525,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ updateService(serviceId: string, serviceUpdateDescription: Models.ServiceUpdateDescriptionUnion, options: Models.ServiceFabricClientUpdateServiceOptionalParams, callback: msRest.ServiceCallback): void; - updateService(serviceId: string, serviceUpdateDescription: Models.ServiceUpdateDescriptionUnion, options?: Models.ServiceFabricClientUpdateServiceOptionalParams, callback?: msRest.ServiceCallback): Promise { + updateService(serviceId: string, serviceUpdateDescription: Models.ServiceUpdateDescriptionUnion, options?: Models.ServiceFabricClientUpdateServiceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -2568,7 +2568,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getServiceDescription(serviceId: string, options: Models.ServiceFabricClientGetServiceDescriptionOptionalParams, callback: msRest.ServiceCallback): void; - getServiceDescription(serviceId: string, options?: Models.ServiceFabricClientGetServiceDescriptionOptionalParams, callback?: msRest.ServiceCallback): Promise { + getServiceDescription(serviceId: string, options?: Models.ServiceFabricClientGetServiceDescriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -2613,7 +2613,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getServiceHealth(serviceId: string, options: Models.ServiceFabricClientGetServiceHealthOptionalParams, callback: msRest.ServiceCallback): void; - getServiceHealth(serviceId: string, options?: Models.ServiceFabricClientGetServiceHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + getServiceHealth(serviceId: string, options?: Models.ServiceFabricClientGetServiceHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -2664,7 +2664,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getServiceHealthUsingPolicy(serviceId: string, options: Models.ServiceFabricClientGetServiceHealthUsingPolicyOptionalParams, callback: msRest.ServiceCallback): void; - getServiceHealthUsingPolicy(serviceId: string, options?: Models.ServiceFabricClientGetServiceHealthUsingPolicyOptionalParams, callback?: msRest.ServiceCallback): Promise { + getServiceHealthUsingPolicy(serviceId: string, options?: Models.ServiceFabricClientGetServiceHealthUsingPolicyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -2719,7 +2719,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ reportServiceHealth(serviceId: string, healthInformation: Models.HealthInformation, options: Models.ServiceFabricClientReportServiceHealthOptionalParams, callback: msRest.ServiceCallback): void; - reportServiceHealth(serviceId: string, healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportServiceHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + reportServiceHealth(serviceId: string, healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportServiceHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -2761,7 +2761,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ resolveService(serviceId: string, options: Models.ServiceFabricClientResolveServiceOptionalParams, callback: msRest.ServiceCallback): void; - resolveService(serviceId: string, options?: Models.ServiceFabricClientResolveServiceOptionalParams, callback?: msRest.ServiceCallback): Promise { + resolveService(serviceId: string, options?: Models.ServiceFabricClientResolveServiceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -2803,7 +2803,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPartitionInfoList(serviceId: string, options: Models.ServiceFabricClientGetPartitionInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getPartitionInfoList(serviceId: string, options?: Models.ServiceFabricClientGetPartitionInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPartitionInfoList(serviceId: string, options?: Models.ServiceFabricClientGetPartitionInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -2834,7 +2834,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPartitionInfo(partitionId: string, options: Models.ServiceFabricClientGetPartitionInfoOptionalParams, callback: msRest.ServiceCallback): void; - getPartitionInfo(partitionId: string, options?: Models.ServiceFabricClientGetPartitionInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPartitionInfo(partitionId: string, options?: Models.ServiceFabricClientGetPartitionInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -2864,7 +2864,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getServiceNameInfo(partitionId: string, options: Models.ServiceFabricClientGetServiceNameInfoOptionalParams, callback: msRest.ServiceCallback): void; - getServiceNameInfo(partitionId: string, options?: Models.ServiceFabricClientGetServiceNameInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getServiceNameInfo(partitionId: string, options?: Models.ServiceFabricClientGetServiceNameInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -2898,7 +2898,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPartitionHealth(partitionId: string, options: Models.ServiceFabricClientGetPartitionHealthOptionalParams, callback: msRest.ServiceCallback): void; - getPartitionHealth(partitionId: string, options?: Models.ServiceFabricClientGetPartitionHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPartitionHealth(partitionId: string, options?: Models.ServiceFabricClientGetPartitionHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -2940,7 +2940,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPartitionHealthUsingPolicy(partitionId: string, options: Models.ServiceFabricClientGetPartitionHealthUsingPolicyOptionalParams, callback: msRest.ServiceCallback): void; - getPartitionHealthUsingPolicy(partitionId: string, options?: Models.ServiceFabricClientGetPartitionHealthUsingPolicyOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPartitionHealthUsingPolicy(partitionId: string, options?: Models.ServiceFabricClientGetPartitionHealthUsingPolicyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -2983,7 +2983,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ reportPartitionHealth(partitionId: string, healthInformation: Models.HealthInformation, options: Models.ServiceFabricClientReportPartitionHealthOptionalParams, callback: msRest.ServiceCallback): void; - reportPartitionHealth(partitionId: string, healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportPartitionHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + reportPartitionHealth(partitionId: string, healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportPartitionHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -3015,7 +3015,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPartitionLoadInformation(partitionId: string, options: Models.ServiceFabricClientGetPartitionLoadInformationOptionalParams, callback: msRest.ServiceCallback): void; - getPartitionLoadInformation(partitionId: string, options?: Models.ServiceFabricClientGetPartitionLoadInformationOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPartitionLoadInformation(partitionId: string, options?: Models.ServiceFabricClientGetPartitionLoadInformationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -3044,7 +3044,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ resetPartitionLoad(partitionId: string, options: Models.ServiceFabricClientResetPartitionLoadOptionalParams, callback: msRest.ServiceCallback): void; - resetPartitionLoad(partitionId: string, options?: Models.ServiceFabricClientResetPartitionLoadOptionalParams, callback?: msRest.ServiceCallback): Promise { + resetPartitionLoad(partitionId: string, options?: Models.ServiceFabricClientResetPartitionLoadOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -3075,7 +3075,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ recoverPartition(partitionId: string, options: Models.ServiceFabricClientRecoverPartitionOptionalParams, callback: msRest.ServiceCallback): void; - recoverPartition(partitionId: string, options?: Models.ServiceFabricClientRecoverPartitionOptionalParams, callback?: msRest.ServiceCallback): Promise { + recoverPartition(partitionId: string, options?: Models.ServiceFabricClientRecoverPartitionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -3120,7 +3120,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ recoverServicePartitions(serviceId: string, options: Models.ServiceFabricClientRecoverServicePartitionsOptionalParams, callback: msRest.ServiceCallback): void; - recoverServicePartitions(serviceId: string, options?: Models.ServiceFabricClientRecoverServicePartitionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + recoverServicePartitions(serviceId: string, options?: Models.ServiceFabricClientRecoverServicePartitionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -3150,7 +3150,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ recoverSystemPartitions(options: Models.ServiceFabricClientRecoverSystemPartitionsOptionalParams, callback: msRest.ServiceCallback): void; - recoverSystemPartitions(options?: Models.ServiceFabricClientRecoverSystemPartitionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + recoverSystemPartitions(options?: Models.ServiceFabricClientRecoverSystemPartitionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -3177,7 +3177,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ recoverAllPartitions(options: Models.ServiceFabricClientRecoverAllPartitionsOptionalParams, callback: msRest.ServiceCallback): void; - recoverAllPartitions(options?: Models.ServiceFabricClientRecoverAllPartitionsOptionalParams, callback?: msRest.ServiceCallback): Promise { + recoverAllPartitions(options?: Models.ServiceFabricClientRecoverAllPartitionsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -3216,7 +3216,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ createRepairTask(repairTask: Models.RepairTask, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createRepairTask(repairTask: Models.RepairTask, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createRepairTask(repairTask: Models.RepairTask, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { repairTask, @@ -3246,7 +3246,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ cancelRepairTask(repairTaskCancelDescription: Models.RepairTaskCancelDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - cancelRepairTask(repairTaskCancelDescription: Models.RepairTaskCancelDescription, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + cancelRepairTask(repairTaskCancelDescription: Models.RepairTaskCancelDescription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { repairTaskCancelDescription, @@ -3276,7 +3276,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ deleteRepairTask(repairTaskDeleteDescription: Models.RepairTaskDeleteDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteRepairTask(repairTaskDeleteDescription: Models.RepairTaskDeleteDescription, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteRepairTask(repairTaskDeleteDescription: Models.RepairTaskDeleteDescription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { repairTaskDeleteDescription, @@ -3303,7 +3303,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getRepairTaskList(options: Models.ServiceFabricClientGetRepairTaskListOptionalParams, callback: msRest.ServiceCallback): void; - getRepairTaskList(options?: Models.ServiceFabricClientGetRepairTaskListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getRepairTaskList(options?: Models.ServiceFabricClientGetRepairTaskListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -3332,7 +3332,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ forceApproveRepairTask(repairTaskApproveDescription: Models.RepairTaskApproveDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - forceApproveRepairTask(repairTaskApproveDescription: Models.RepairTaskApproveDescription, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + forceApproveRepairTask(repairTaskApproveDescription: Models.RepairTaskApproveDescription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { repairTaskApproveDescription, @@ -3365,7 +3365,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ updateRepairTaskHealthPolicy(repairTaskUpdateHealthPolicyDescription: Models.RepairTaskUpdateHealthPolicyDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateRepairTaskHealthPolicy(repairTaskUpdateHealthPolicyDescription: Models.RepairTaskUpdateHealthPolicyDescription, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateRepairTaskHealthPolicy(repairTaskUpdateHealthPolicyDescription: Models.RepairTaskUpdateHealthPolicyDescription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { repairTaskUpdateHealthPolicyDescription, @@ -3395,7 +3395,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ updateRepairExecutionState(repairTask: Models.RepairTask, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateRepairExecutionState(repairTask: Models.RepairTask, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + updateRepairExecutionState(repairTask: Models.RepairTask, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { repairTask, @@ -3426,7 +3426,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getReplicaInfoList(partitionId: string, options: Models.ServiceFabricClientGetReplicaInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getReplicaInfoList(partitionId: string, options?: Models.ServiceFabricClientGetReplicaInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getReplicaInfoList(partitionId: string, options?: Models.ServiceFabricClientGetReplicaInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -3459,7 +3459,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getReplicaInfo(partitionId: string, replicaId: string, options: Models.ServiceFabricClientGetReplicaInfoOptionalParams, callback: msRest.ServiceCallback): void; - getReplicaInfo(partitionId: string, replicaId: string, options?: Models.ServiceFabricClientGetReplicaInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getReplicaInfo(partitionId: string, replicaId: string, options?: Models.ServiceFabricClientGetReplicaInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -3495,7 +3495,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getReplicaHealth(partitionId: string, replicaId: string, options: Models.ServiceFabricClientGetReplicaHealthOptionalParams, callback: msRest.ServiceCallback): void; - getReplicaHealth(partitionId: string, replicaId: string, options?: Models.ServiceFabricClientGetReplicaHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + getReplicaHealth(partitionId: string, replicaId: string, options?: Models.ServiceFabricClientGetReplicaHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -3534,7 +3534,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getReplicaHealthUsingPolicy(partitionId: string, replicaId: string, options: Models.ServiceFabricClientGetReplicaHealthUsingPolicyOptionalParams, callback: msRest.ServiceCallback): void; - getReplicaHealthUsingPolicy(partitionId: string, replicaId: string, options?: Models.ServiceFabricClientGetReplicaHealthUsingPolicyOptionalParams, callback?: msRest.ServiceCallback): Promise { + getReplicaHealthUsingPolicy(partitionId: string, replicaId: string, options?: Models.ServiceFabricClientGetReplicaHealthUsingPolicyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -3590,7 +3590,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ reportReplicaHealth(partitionId: string, replicaId: string, replicaHealthReportServiceKind: Models.ReplicaHealthReportServiceKind, healthInformation: Models.HealthInformation, options: Models.ServiceFabricClientReportReplicaHealthOptionalParams, callback: msRest.ServiceCallback): void; - reportReplicaHealth(partitionId: string, replicaId: string, replicaHealthReportServiceKind: Models.ReplicaHealthReportServiceKind, healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportReplicaHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + reportReplicaHealth(partitionId: string, replicaId: string, replicaHealthReportServiceKind: Models.ReplicaHealthReportServiceKind, healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportReplicaHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -3641,7 +3641,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDeployedServiceReplicaInfoList(nodeName: string, applicationId: string, options: Models.ServiceFabricClientGetDeployedServiceReplicaInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getDeployedServiceReplicaInfoList(nodeName: string, applicationId: string, options?: Models.ServiceFabricClientGetDeployedServiceReplicaInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeployedServiceReplicaInfoList(nodeName: string, applicationId: string, options?: Models.ServiceFabricClientGetDeployedServiceReplicaInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -3679,7 +3679,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDeployedServiceReplicaDetailInfo(nodeName: string, partitionId: string, replicaId: string, options: Models.ServiceFabricClientGetDeployedServiceReplicaDetailInfoOptionalParams, callback: msRest.ServiceCallback): void; - getDeployedServiceReplicaDetailInfo(nodeName: string, partitionId: string, replicaId: string, options?: Models.ServiceFabricClientGetDeployedServiceReplicaDetailInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeployedServiceReplicaDetailInfo(nodeName: string, partitionId: string, replicaId: string, options?: Models.ServiceFabricClientGetDeployedServiceReplicaDetailInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -3715,7 +3715,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDeployedServiceReplicaDetailInfoByPartitionId(nodeName: string, partitionId: string, options: Models.ServiceFabricClientGetDeployedServiceReplicaDetailInfoByPartitionIdOptionalParams, callback: msRest.ServiceCallback): void; - getDeployedServiceReplicaDetailInfoByPartitionId(nodeName: string, partitionId: string, options?: Models.ServiceFabricClientGetDeployedServiceReplicaDetailInfoByPartitionIdOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeployedServiceReplicaDetailInfoByPartitionId(nodeName: string, partitionId: string, options?: Models.ServiceFabricClientGetDeployedServiceReplicaDetailInfoByPartitionIdOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -3753,7 +3753,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ restartReplica(nodeName: string, partitionId: string, replicaId: string, options: Models.ServiceFabricClientRestartReplicaOptionalParams, callback: msRest.ServiceCallback): void; - restartReplica(nodeName: string, partitionId: string, replicaId: string, options?: Models.ServiceFabricClientRestartReplicaOptionalParams, callback?: msRest.ServiceCallback): Promise { + restartReplica(nodeName: string, partitionId: string, replicaId: string, options?: Models.ServiceFabricClientRestartReplicaOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -3796,7 +3796,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ removeReplica(nodeName: string, partitionId: string, replicaId: string, options: Models.ServiceFabricClientRemoveReplicaOptionalParams, callback: msRest.ServiceCallback): void; - removeReplica(nodeName: string, partitionId: string, replicaId: string, options?: Models.ServiceFabricClientRemoveReplicaOptionalParams, callback?: msRest.ServiceCallback): Promise { + removeReplica(nodeName: string, partitionId: string, replicaId: string, options?: Models.ServiceFabricClientRemoveReplicaOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -3843,7 +3843,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDeployedServicePackageInfoList(nodeName: string, applicationId: string, options: Models.ServiceFabricClientGetDeployedServicePackageInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getDeployedServicePackageInfoList(nodeName: string, applicationId: string, options?: Models.ServiceFabricClientGetDeployedServicePackageInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeployedServicePackageInfoList(nodeName: string, applicationId: string, options?: Models.ServiceFabricClientGetDeployedServicePackageInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -3894,7 +3894,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDeployedServicePackageInfoListByName(nodeName: string, applicationId: string, servicePackageName: string, options: Models.ServiceFabricClientGetDeployedServicePackageInfoListByNameOptionalParams, callback: msRest.ServiceCallback): void; - getDeployedServicePackageInfoListByName(nodeName: string, applicationId: string, servicePackageName: string, options?: Models.ServiceFabricClientGetDeployedServicePackageInfoListByNameOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeployedServicePackageInfoListByName(nodeName: string, applicationId: string, servicePackageName: string, options?: Models.ServiceFabricClientGetDeployedServicePackageInfoListByNameOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -3946,7 +3946,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDeployedServicePackageHealth(nodeName: string, applicationId: string, servicePackageName: string, options: Models.ServiceFabricClientGetDeployedServicePackageHealthOptionalParams, callback: msRest.ServiceCallback): void; - getDeployedServicePackageHealth(nodeName: string, applicationId: string, servicePackageName: string, options?: Models.ServiceFabricClientGetDeployedServicePackageHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeployedServicePackageHealth(nodeName: string, applicationId: string, servicePackageName: string, options?: Models.ServiceFabricClientGetDeployedServicePackageHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -4002,7 +4002,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDeployedServicePackageHealthUsingPolicy(nodeName: string, applicationId: string, servicePackageName: string, options: Models.ServiceFabricClientGetDeployedServicePackageHealthUsingPolicyOptionalParams, callback: msRest.ServiceCallback): void; - getDeployedServicePackageHealthUsingPolicy(nodeName: string, applicationId: string, servicePackageName: string, options?: Models.ServiceFabricClientGetDeployedServicePackageHealthUsingPolicyOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeployedServicePackageHealthUsingPolicy(nodeName: string, applicationId: string, servicePackageName: string, options?: Models.ServiceFabricClientGetDeployedServicePackageHealthUsingPolicyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -4066,7 +4066,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ reportDeployedServicePackageHealth(nodeName: string, applicationId: string, servicePackageName: string, healthInformation: Models.HealthInformation, options: Models.ServiceFabricClientReportDeployedServicePackageHealthOptionalParams, callback: msRest.ServiceCallback): void; - reportDeployedServicePackageHealth(nodeName: string, applicationId: string, servicePackageName: string, healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportDeployedServicePackageHealthOptionalParams, callback?: msRest.ServiceCallback): Promise { + reportDeployedServicePackageHealth(nodeName: string, applicationId: string, servicePackageName: string, healthInformation: Models.HealthInformation, options?: Models.ServiceFabricClientReportDeployedServicePackageHealthOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -4109,7 +4109,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ deployServicePackageToNode(nodeName: string, deployServicePackageToNodeDescription: Models.DeployServicePackageToNodeDescription, options: Models.ServiceFabricClientDeployServicePackageToNodeOptionalParams, callback: msRest.ServiceCallback): void; - deployServicePackageToNode(nodeName: string, deployServicePackageToNodeDescription: Models.DeployServicePackageToNodeDescription, options?: Models.ServiceFabricClientDeployServicePackageToNodeOptionalParams, callback?: msRest.ServiceCallback): Promise { + deployServicePackageToNode(nodeName: string, deployServicePackageToNodeDescription: Models.DeployServicePackageToNodeDescription, options?: Models.ServiceFabricClientDeployServicePackageToNodeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -4154,7 +4154,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDeployedCodePackageInfoList(nodeName: string, applicationId: string, options: Models.ServiceFabricClientGetDeployedCodePackageInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getDeployedCodePackageInfoList(nodeName: string, applicationId: string, options?: Models.ServiceFabricClientGetDeployedCodePackageInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDeployedCodePackageInfoList(nodeName: string, applicationId: string, options?: Models.ServiceFabricClientGetDeployedCodePackageInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -4206,7 +4206,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ restartDeployedCodePackage(nodeName: string, applicationId: string, restartDeployedCodePackageDescription: Models.RestartDeployedCodePackageDescription, options: Models.ServiceFabricClientRestartDeployedCodePackageOptionalParams, callback: msRest.ServiceCallback): void; - restartDeployedCodePackage(nodeName: string, applicationId: string, restartDeployedCodePackageDescription: Models.RestartDeployedCodePackageDescription, options?: Models.ServiceFabricClientRestartDeployedCodePackageOptionalParams, callback?: msRest.ServiceCallback): Promise { + restartDeployedCodePackage(nodeName: string, applicationId: string, restartDeployedCodePackageDescription: Models.RestartDeployedCodePackageDescription, options?: Models.ServiceFabricClientRestartDeployedCodePackageOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -4265,7 +4265,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getContainerLogsDeployedOnNode(nodeName: string, applicationId: string, serviceManifestName: string, codePackageName: string, options: Models.ServiceFabricClientGetContainerLogsDeployedOnNodeOptionalParams, callback: msRest.ServiceCallback): void; - getContainerLogsDeployedOnNode(nodeName: string, applicationId: string, serviceManifestName: string, codePackageName: string, options?: Models.ServiceFabricClientGetContainerLogsDeployedOnNodeOptionalParams, callback?: msRest.ServiceCallback): Promise { + getContainerLogsDeployedOnNode(nodeName: string, applicationId: string, serviceManifestName: string, codePackageName: string, options?: Models.ServiceFabricClientGetContainerLogsDeployedOnNodeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -4334,7 +4334,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ invokeContainerApi(nodeName: string, applicationId: string, serviceManifestName: string, codePackageName: string, codePackageInstanceId: string, containerApiRequestBody: Models.ContainerApiRequestBody, options: Models.ServiceFabricClientInvokeContainerApiOptionalParams, callback: msRest.ServiceCallback): void; - invokeContainerApi(nodeName: string, applicationId: string, serviceManifestName: string, codePackageName: string, codePackageInstanceId: string, containerApiRequestBody: Models.ContainerApiRequestBody, options?: Models.ServiceFabricClientInvokeContainerApiOptionalParams, callback?: msRest.ServiceCallback): Promise { + invokeContainerApi(nodeName: string, applicationId: string, serviceManifestName: string, codePackageName: string, codePackageInstanceId: string, containerApiRequestBody: Models.ContainerApiRequestBody, options?: Models.ServiceFabricClientInvokeContainerApiOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -4373,7 +4373,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ createComposeDeployment(createComposeDeploymentDescription: Models.CreateComposeDeploymentDescription, options: Models.ServiceFabricClientCreateComposeDeploymentOptionalParams, callback: msRest.ServiceCallback): void; - createComposeDeployment(createComposeDeploymentDescription: Models.CreateComposeDeploymentDescription, options?: Models.ServiceFabricClientCreateComposeDeploymentOptionalParams, callback?: msRest.ServiceCallback): Promise { + createComposeDeployment(createComposeDeploymentDescription: Models.CreateComposeDeploymentDescription, options?: Models.ServiceFabricClientCreateComposeDeploymentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { createComposeDeploymentDescription, @@ -4404,7 +4404,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getComposeDeploymentStatus(deploymentName: string, options: Models.ServiceFabricClientGetComposeDeploymentStatusOptionalParams, callback: msRest.ServiceCallback): void; - getComposeDeploymentStatus(deploymentName: string, options?: Models.ServiceFabricClientGetComposeDeploymentStatusOptionalParams, callback?: msRest.ServiceCallback): Promise { + getComposeDeploymentStatus(deploymentName: string, options?: Models.ServiceFabricClientGetComposeDeploymentStatusOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { deploymentName, @@ -4433,7 +4433,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getComposeDeploymentStatusList(options: Models.ServiceFabricClientGetComposeDeploymentStatusListOptionalParams, callback: msRest.ServiceCallback): void; - getComposeDeploymentStatusList(options?: Models.ServiceFabricClientGetComposeDeploymentStatusListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getComposeDeploymentStatusList(options?: Models.ServiceFabricClientGetComposeDeploymentStatusListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -4463,7 +4463,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getComposeDeploymentUpgradeProgress(deploymentName: string, options: Models.ServiceFabricClientGetComposeDeploymentUpgradeProgressOptionalParams, callback: msRest.ServiceCallback): void; - getComposeDeploymentUpgradeProgress(deploymentName: string, options?: Models.ServiceFabricClientGetComposeDeploymentUpgradeProgressOptionalParams, callback?: msRest.ServiceCallback): Promise { + getComposeDeploymentUpgradeProgress(deploymentName: string, options?: Models.ServiceFabricClientGetComposeDeploymentUpgradeProgressOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { deploymentName, @@ -4492,7 +4492,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ removeComposeDeployment(deploymentName: string, options: Models.ServiceFabricClientRemoveComposeDeploymentOptionalParams, callback: msRest.ServiceCallback): void; - removeComposeDeployment(deploymentName: string, options?: Models.ServiceFabricClientRemoveComposeDeploymentOptionalParams, callback?: msRest.ServiceCallback): Promise { + removeComposeDeployment(deploymentName: string, options?: Models.ServiceFabricClientRemoveComposeDeploymentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { deploymentName, @@ -4525,7 +4525,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ startComposeDeploymentUpgrade(deploymentName: string, composeDeploymentUpgradeDescription: Models.ComposeDeploymentUpgradeDescription, options: Models.ServiceFabricClientStartComposeDeploymentUpgradeOptionalParams, callback: msRest.ServiceCallback): void; - startComposeDeploymentUpgrade(deploymentName: string, composeDeploymentUpgradeDescription: Models.ComposeDeploymentUpgradeDescription, options?: Models.ServiceFabricClientStartComposeDeploymentUpgradeOptionalParams, callback?: msRest.ServiceCallback): Promise { + startComposeDeploymentUpgrade(deploymentName: string, composeDeploymentUpgradeDescription: Models.ComposeDeploymentUpgradeDescription, options?: Models.ServiceFabricClientStartComposeDeploymentUpgradeOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { deploymentName, @@ -4553,7 +4553,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getChaos(options: Models.ServiceFabricClientGetChaosOptionalParams, callback: msRest.ServiceCallback): void; - getChaos(options?: Models.ServiceFabricClientGetChaosOptionalParams, callback?: msRest.ServiceCallback): Promise { + getChaos(options?: Models.ServiceFabricClientGetChaosOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -4587,7 +4587,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ startChaos(chaosParameters: Models.ChaosParameters, options: Models.ServiceFabricClientStartChaosOptionalParams, callback: msRest.ServiceCallback): void; - startChaos(chaosParameters: Models.ChaosParameters, options?: Models.ServiceFabricClientStartChaosOptionalParams, callback?: msRest.ServiceCallback): Promise { + startChaos(chaosParameters: Models.ChaosParameters, options?: Models.ServiceFabricClientStartChaosOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { chaosParameters, @@ -4617,7 +4617,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ stopChaos(options: Models.ServiceFabricClientStopChaosOptionalParams, callback: msRest.ServiceCallback): void; - stopChaos(options?: Models.ServiceFabricClientStopChaosOptionalParams, callback?: msRest.ServiceCallback): Promise { + stopChaos(options?: Models.ServiceFabricClientStopChaosOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -4649,7 +4649,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getChaosEvents(options: Models.ServiceFabricClientGetChaosEventsOptionalParams, callback: msRest.ServiceCallback): void; - getChaosEvents(options?: Models.ServiceFabricClientGetChaosEventsOptionalParams, callback?: msRest.ServiceCallback): Promise { + getChaosEvents(options?: Models.ServiceFabricClientGetChaosEventsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -4675,7 +4675,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getChaosSchedule(options: Models.ServiceFabricClientGetChaosScheduleOptionalParams, callback: msRest.ServiceCallback): void; - getChaosSchedule(options?: Models.ServiceFabricClientGetChaosScheduleOptionalParams, callback?: msRest.ServiceCallback): Promise { + getChaosSchedule(options?: Models.ServiceFabricClientGetChaosScheduleOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -4707,7 +4707,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ postChaosSchedule(chaosSchedule: Models.ChaosScheduleDescription, options: Models.ServiceFabricClientPostChaosScheduleOptionalParams, callback: msRest.ServiceCallback): void; - postChaosSchedule(chaosSchedule: Models.ChaosScheduleDescription, options?: Models.ServiceFabricClientPostChaosScheduleOptionalParams, callback?: msRest.ServiceCallback): Promise { + postChaosSchedule(chaosSchedule: Models.ChaosScheduleDescription, options?: Models.ServiceFabricClientPostChaosScheduleOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { chaosSchedule, @@ -4743,7 +4743,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ uploadFile(contentPath: string, options: Models.ServiceFabricClientUploadFileOptionalParams, callback: msRest.ServiceCallback): void; - uploadFile(contentPath: string, options?: Models.ServiceFabricClientUploadFileOptionalParams, callback?: msRest.ServiceCallback): Promise { + uploadFile(contentPath: string, options?: Models.ServiceFabricClientUploadFileOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { contentPath, @@ -4773,7 +4773,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getImageStoreContent(contentPath: string, options: Models.ServiceFabricClientGetImageStoreContentOptionalParams, callback: msRest.ServiceCallback): void; - getImageStoreContent(contentPath: string, options?: Models.ServiceFabricClientGetImageStoreContentOptionalParams, callback?: msRest.ServiceCallback): Promise { + getImageStoreContent(contentPath: string, options?: Models.ServiceFabricClientGetImageStoreContentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { contentPath, @@ -4803,7 +4803,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ deleteImageStoreContent(contentPath: string, options: Models.ServiceFabricClientDeleteImageStoreContentOptionalParams, callback: msRest.ServiceCallback): void; - deleteImageStoreContent(contentPath: string, options?: Models.ServiceFabricClientDeleteImageStoreContentOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteImageStoreContent(contentPath: string, options?: Models.ServiceFabricClientDeleteImageStoreContentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { contentPath, @@ -4829,7 +4829,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getImageStoreRootContent(options: Models.ServiceFabricClientGetImageStoreRootContentOptionalParams, callback: msRest.ServiceCallback): void; - getImageStoreRootContent(options?: Models.ServiceFabricClientGetImageStoreRootContentOptionalParams, callback?: msRest.ServiceCallback): Promise { + getImageStoreRootContent(options?: Models.ServiceFabricClientGetImageStoreRootContentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -4858,7 +4858,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ copyImageStoreContent(imageStoreCopyDescription: Models.ImageStoreCopyDescription, options: Models.ServiceFabricClientCopyImageStoreContentOptionalParams, callback: msRest.ServiceCallback): void; - copyImageStoreContent(imageStoreCopyDescription: Models.ImageStoreCopyDescription, options?: Models.ServiceFabricClientCopyImageStoreContentOptionalParams, callback?: msRest.ServiceCallback): Promise { + copyImageStoreContent(imageStoreCopyDescription: Models.ImageStoreCopyDescription, options?: Models.ServiceFabricClientCopyImageStoreContentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { imageStoreCopyDescription, @@ -4891,7 +4891,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ deleteImageStoreUploadSession(sessionId: string, options: Models.ServiceFabricClientDeleteImageStoreUploadSessionOptionalParams, callback: msRest.ServiceCallback): void; - deleteImageStoreUploadSession(sessionId: string, options?: Models.ServiceFabricClientDeleteImageStoreUploadSessionOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteImageStoreUploadSession(sessionId: string, options?: Models.ServiceFabricClientDeleteImageStoreUploadSessionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { sessionId, @@ -4925,7 +4925,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ commitImageStoreUploadSession(sessionId: string, options: Models.ServiceFabricClientCommitImageStoreUploadSessionOptionalParams, callback: msRest.ServiceCallback): void; - commitImageStoreUploadSession(sessionId: string, options?: Models.ServiceFabricClientCommitImageStoreUploadSessionOptionalParams, callback?: msRest.ServiceCallback): Promise { + commitImageStoreUploadSession(sessionId: string, options?: Models.ServiceFabricClientCommitImageStoreUploadSessionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { sessionId, @@ -4958,7 +4958,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getImageStoreUploadSessionById(sessionId: string, options: Models.ServiceFabricClientGetImageStoreUploadSessionByIdOptionalParams, callback: msRest.ServiceCallback): void; - getImageStoreUploadSessionById(sessionId: string, options?: Models.ServiceFabricClientGetImageStoreUploadSessionByIdOptionalParams, callback?: msRest.ServiceCallback): Promise { + getImageStoreUploadSessionById(sessionId: string, options?: Models.ServiceFabricClientGetImageStoreUploadSessionByIdOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { sessionId, @@ -4988,7 +4988,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getImageStoreUploadSessionByPath(contentPath: string, options: Models.ServiceFabricClientGetImageStoreUploadSessionByPathOptionalParams, callback: msRest.ServiceCallback): void; - getImageStoreUploadSessionByPath(contentPath: string, options?: Models.ServiceFabricClientGetImageStoreUploadSessionByPathOptionalParams, callback?: msRest.ServiceCallback): Promise { + getImageStoreUploadSessionByPath(contentPath: string, options?: Models.ServiceFabricClientGetImageStoreUploadSessionByPathOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { contentPath, @@ -5046,7 +5046,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ uploadFileChunk(contentPath: string, sessionId: string, contentRange: string, options: Models.ServiceFabricClientUploadFileChunkOptionalParams, callback: msRest.ServiceCallback): void; - uploadFileChunk(contentPath: string, sessionId: string, contentRange: string, options?: Models.ServiceFabricClientUploadFileChunkOptionalParams, callback?: msRest.ServiceCallback): Promise { + uploadFileChunk(contentPath: string, sessionId: string, contentRange: string, options?: Models.ServiceFabricClientUploadFileChunkOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { contentPath, @@ -5088,7 +5088,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ invokeInfrastructureCommand(command: string, options: Models.ServiceFabricClientInvokeInfrastructureCommandOptionalParams, callback: msRest.ServiceCallback): void; - invokeInfrastructureCommand(command: string, options?: Models.ServiceFabricClientInvokeInfrastructureCommandOptionalParams, callback?: msRest.ServiceCallback): Promise { + invokeInfrastructureCommand(command: string, options?: Models.ServiceFabricClientInvokeInfrastructureCommandOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { command, @@ -5128,7 +5128,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ invokeInfrastructureQuery(command: string, options: Models.ServiceFabricClientInvokeInfrastructureQueryOptionalParams, callback: msRest.ServiceCallback): void; - invokeInfrastructureQuery(command: string, options?: Models.ServiceFabricClientInvokeInfrastructureQueryOptionalParams, callback?: msRest.ServiceCallback): Promise { + invokeInfrastructureQuery(command: string, options?: Models.ServiceFabricClientInvokeInfrastructureQueryOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { command, @@ -5202,7 +5202,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ startDataLoss(serviceId: string, partitionId: string, operationId: string, dataLossMode: Models.DataLossMode, options: Models.ServiceFabricClientStartDataLossOptionalParams, callback: msRest.ServiceCallback): void; - startDataLoss(serviceId: string, partitionId: string, operationId: string, dataLossMode: Models.DataLossMode, options?: Models.ServiceFabricClientStartDataLossOptionalParams, callback?: msRest.ServiceCallback): Promise { + startDataLoss(serviceId: string, partitionId: string, operationId: string, dataLossMode: Models.DataLossMode, options?: Models.ServiceFabricClientStartDataLossOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -5256,7 +5256,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getDataLossProgress(serviceId: string, partitionId: string, operationId: string, options: Models.ServiceFabricClientGetDataLossProgressOptionalParams, callback: msRest.ServiceCallback): void; - getDataLossProgress(serviceId: string, partitionId: string, operationId: string, options?: Models.ServiceFabricClientGetDataLossProgressOptionalParams, callback?: msRest.ServiceCallback): Promise { + getDataLossProgress(serviceId: string, partitionId: string, operationId: string, options?: Models.ServiceFabricClientGetDataLossProgressOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -5326,7 +5326,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ startQuorumLoss(serviceId: string, partitionId: string, operationId: string, quorumLossMode: Models.QuorumLossMode, quorumLossDuration: number, options: Models.ServiceFabricClientStartQuorumLossOptionalParams, callback: msRest.ServiceCallback): void; - startQuorumLoss(serviceId: string, partitionId: string, operationId: string, quorumLossMode: Models.QuorumLossMode, quorumLossDuration: number, options?: Models.ServiceFabricClientStartQuorumLossOptionalParams, callback?: msRest.ServiceCallback): Promise { + startQuorumLoss(serviceId: string, partitionId: string, operationId: string, quorumLossMode: Models.QuorumLossMode, quorumLossDuration: number, options?: Models.ServiceFabricClientStartQuorumLossOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -5382,7 +5382,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getQuorumLossProgress(serviceId: string, partitionId: string, operationId: string, options: Models.ServiceFabricClientGetQuorumLossProgressOptionalParams, callback: msRest.ServiceCallback): void; - getQuorumLossProgress(serviceId: string, partitionId: string, operationId: string, options?: Models.ServiceFabricClientGetQuorumLossProgressOptionalParams, callback?: msRest.ServiceCallback): Promise { + getQuorumLossProgress(serviceId: string, partitionId: string, operationId: string, options?: Models.ServiceFabricClientGetQuorumLossProgressOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -5445,7 +5445,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ startPartitionRestart(serviceId: string, partitionId: string, operationId: string, restartPartitionMode: Models.RestartPartitionMode, options: Models.ServiceFabricClientStartPartitionRestartOptionalParams, callback: msRest.ServiceCallback): void; - startPartitionRestart(serviceId: string, partitionId: string, operationId: string, restartPartitionMode: Models.RestartPartitionMode, options?: Models.ServiceFabricClientStartPartitionRestartOptionalParams, callback?: msRest.ServiceCallback): Promise { + startPartitionRestart(serviceId: string, partitionId: string, operationId: string, restartPartitionMode: Models.RestartPartitionMode, options?: Models.ServiceFabricClientStartPartitionRestartOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -5499,7 +5499,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPartitionRestartProgress(serviceId: string, partitionId: string, operationId: string, options: Models.ServiceFabricClientGetPartitionRestartProgressOptionalParams, callback: msRest.ServiceCallback): void; - getPartitionRestartProgress(serviceId: string, partitionId: string, operationId: string, options?: Models.ServiceFabricClientGetPartitionRestartProgressOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPartitionRestartProgress(serviceId: string, partitionId: string, operationId: string, options?: Models.ServiceFabricClientGetPartitionRestartProgressOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -5564,7 +5564,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ startNodeTransition(nodeName: string, operationId: string, nodeTransitionType: Models.NodeTransitionType, nodeInstanceId: string, stopDurationInSeconds: number, options: Models.ServiceFabricClientStartNodeTransitionOptionalParams, callback: msRest.ServiceCallback): void; - startNodeTransition(nodeName: string, operationId: string, nodeTransitionType: Models.NodeTransitionType, nodeInstanceId: string, stopDurationInSeconds: number, options?: Models.ServiceFabricClientStartNodeTransitionOptionalParams, callback?: msRest.ServiceCallback): Promise { + startNodeTransition(nodeName: string, operationId: string, nodeTransitionType: Models.NodeTransitionType, nodeInstanceId: string, stopDurationInSeconds: number, options?: Models.ServiceFabricClientStartNodeTransitionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -5604,7 +5604,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getNodeTransitionProgress(nodeName: string, operationId: string, options: Models.ServiceFabricClientGetNodeTransitionProgressOptionalParams, callback: msRest.ServiceCallback): void; - getNodeTransitionProgress(nodeName: string, operationId: string, options?: Models.ServiceFabricClientGetNodeTransitionProgressOptionalParams, callback?: msRest.ServiceCallback): Promise { + getNodeTransitionProgress(nodeName: string, operationId: string, options?: Models.ServiceFabricClientGetNodeTransitionProgressOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -5679,7 +5679,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getFaultOperationList(typeFilter: number, stateFilter: number, options: Models.ServiceFabricClientGetFaultOperationListOptionalParams, callback: msRest.ServiceCallback): void; - getFaultOperationList(typeFilter: number, stateFilter: number, options?: Models.ServiceFabricClientGetFaultOperationListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getFaultOperationList(typeFilter: number, stateFilter: number, options?: Models.ServiceFabricClientGetFaultOperationListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { typeFilter, @@ -5734,7 +5734,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ cancelOperation(operationId: string, force: boolean, options: Models.ServiceFabricClientCancelOperationOptionalParams, callback: msRest.ServiceCallback): void; - cancelOperation(operationId: string, force: boolean, options?: Models.ServiceFabricClientCancelOperationOptionalParams, callback?: msRest.ServiceCallback): Promise { + cancelOperation(operationId: string, force: boolean, options?: Models.ServiceFabricClientCancelOperationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { operationId, @@ -5765,7 +5765,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ createBackupPolicy(backupPolicyDescription: Models.BackupPolicyDescription, options: Models.ServiceFabricClientCreateBackupPolicyOptionalParams, callback: msRest.ServiceCallback): void; - createBackupPolicy(backupPolicyDescription: Models.BackupPolicyDescription, options?: Models.ServiceFabricClientCreateBackupPolicyOptionalParams, callback?: msRest.ServiceCallback): Promise { + createBackupPolicy(backupPolicyDescription: Models.BackupPolicyDescription, options?: Models.ServiceFabricClientCreateBackupPolicyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { backupPolicyDescription, @@ -5796,7 +5796,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ deleteBackupPolicy(backupPolicyName: string, options: Models.ServiceFabricClientDeleteBackupPolicyOptionalParams, callback: msRest.ServiceCallback): void; - deleteBackupPolicy(backupPolicyName: string, options?: Models.ServiceFabricClientDeleteBackupPolicyOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteBackupPolicy(backupPolicyName: string, options?: Models.ServiceFabricClientDeleteBackupPolicyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { backupPolicyName, @@ -5822,7 +5822,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getBackupPolicyList(options: Models.ServiceFabricClientGetBackupPolicyListOptionalParams, callback: msRest.ServiceCallback): void; - getBackupPolicyList(options?: Models.ServiceFabricClientGetBackupPolicyListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getBackupPolicyList(options?: Models.ServiceFabricClientGetBackupPolicyListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { options @@ -5850,7 +5850,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getBackupPolicyByName(backupPolicyName: string, options: Models.ServiceFabricClientGetBackupPolicyByNameOptionalParams, callback: msRest.ServiceCallback): void; - getBackupPolicyByName(backupPolicyName: string, options?: Models.ServiceFabricClientGetBackupPolicyByNameOptionalParams, callback?: msRest.ServiceCallback): Promise { + getBackupPolicyByName(backupPolicyName: string, options?: Models.ServiceFabricClientGetBackupPolicyByNameOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { backupPolicyName, @@ -5880,7 +5880,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getAllEntitiesBackedUpByPolicy(backupPolicyName: string, options: Models.ServiceFabricClientGetAllEntitiesBackedUpByPolicyOptionalParams, callback: msRest.ServiceCallback): void; - getAllEntitiesBackedUpByPolicy(backupPolicyName: string, options?: Models.ServiceFabricClientGetAllEntitiesBackedUpByPolicyOptionalParams, callback?: msRest.ServiceCallback): Promise { + getAllEntitiesBackedUpByPolicy(backupPolicyName: string, options?: Models.ServiceFabricClientGetAllEntitiesBackedUpByPolicyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { backupPolicyName, @@ -5912,7 +5912,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ updateBackupPolicy(backupPolicyDescription: Models.BackupPolicyDescription, backupPolicyName: string, options: Models.ServiceFabricClientUpdateBackupPolicyOptionalParams, callback: msRest.ServiceCallback): void; - updateBackupPolicy(backupPolicyDescription: Models.BackupPolicyDescription, backupPolicyName: string, options?: Models.ServiceFabricClientUpdateBackupPolicyOptionalParams, callback?: msRest.ServiceCallback): Promise { + updateBackupPolicy(backupPolicyDescription: Models.BackupPolicyDescription, backupPolicyName: string, options?: Models.ServiceFabricClientUpdateBackupPolicyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { backupPolicyDescription, @@ -5961,7 +5961,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ enableApplicationBackup(applicationId: string, enableBackupDescription: Models.EnableBackupDescription, options: Models.ServiceFabricClientEnableApplicationBackupOptionalParams, callback: msRest.ServiceCallback): void; - enableApplicationBackup(applicationId: string, enableBackupDescription: Models.EnableBackupDescription, options?: Models.ServiceFabricClientEnableApplicationBackupOptionalParams, callback?: msRest.ServiceCallback): Promise { + enableApplicationBackup(applicationId: string, enableBackupDescription: Models.EnableBackupDescription, options?: Models.ServiceFabricClientEnableApplicationBackupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -6003,7 +6003,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ disableApplicationBackup(applicationId: string, options: Models.ServiceFabricClientDisableApplicationBackupOptionalParams, callback: msRest.ServiceCallback): void; - disableApplicationBackup(applicationId: string, options?: Models.ServiceFabricClientDisableApplicationBackupOptionalParams, callback?: msRest.ServiceCallback): Promise { + disableApplicationBackup(applicationId: string, options?: Models.ServiceFabricClientDisableApplicationBackupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -6045,7 +6045,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationBackupConfigurationInfo(applicationId: string, options: Models.ServiceFabricClientGetApplicationBackupConfigurationInfoOptionalParams, callback: msRest.ServiceCallback): void; - getApplicationBackupConfigurationInfo(applicationId: string, options?: Models.ServiceFabricClientGetApplicationBackupConfigurationInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getApplicationBackupConfigurationInfo(applicationId: string, options?: Models.ServiceFabricClientGetApplicationBackupConfigurationInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -6089,7 +6089,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationBackupList(applicationId: string, options: Models.ServiceFabricClientGetApplicationBackupListOptionalParams, callback: msRest.ServiceCallback): void; - getApplicationBackupList(applicationId: string, options?: Models.ServiceFabricClientGetApplicationBackupListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getApplicationBackupList(applicationId: string, options?: Models.ServiceFabricClientGetApplicationBackupListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -6132,7 +6132,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ suspendApplicationBackup(applicationId: string, options: Models.ServiceFabricClientSuspendApplicationBackupOptionalParams, callback: msRest.ServiceCallback): void; - suspendApplicationBackup(applicationId: string, options?: Models.ServiceFabricClientSuspendApplicationBackupOptionalParams, callback?: msRest.ServiceCallback): Promise { + suspendApplicationBackup(applicationId: string, options?: Models.ServiceFabricClientSuspendApplicationBackupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -6174,7 +6174,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ resumeApplicationBackup(applicationId: string, options: Models.ServiceFabricClientResumeApplicationBackupOptionalParams, callback: msRest.ServiceCallback): void; - resumeApplicationBackup(applicationId: string, options?: Models.ServiceFabricClientResumeApplicationBackupOptionalParams, callback?: msRest.ServiceCallback): Promise { + resumeApplicationBackup(applicationId: string, options?: Models.ServiceFabricClientResumeApplicationBackupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -6224,7 +6224,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ enableServiceBackup(serviceId: string, enableBackupDescription: Models.EnableBackupDescription, options: Models.ServiceFabricClientEnableServiceBackupOptionalParams, callback: msRest.ServiceCallback): void; - enableServiceBackup(serviceId: string, enableBackupDescription: Models.EnableBackupDescription, options?: Models.ServiceFabricClientEnableServiceBackupOptionalParams, callback?: msRest.ServiceCallback): Promise { + enableServiceBackup(serviceId: string, enableBackupDescription: Models.EnableBackupDescription, options?: Models.ServiceFabricClientEnableServiceBackupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -6270,7 +6270,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ disableServiceBackup(serviceId: string, options: Models.ServiceFabricClientDisableServiceBackupOptionalParams, callback: msRest.ServiceCallback): void; - disableServiceBackup(serviceId: string, options?: Models.ServiceFabricClientDisableServiceBackupOptionalParams, callback?: msRest.ServiceCallback): Promise { + disableServiceBackup(serviceId: string, options?: Models.ServiceFabricClientDisableServiceBackupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -6312,7 +6312,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getServiceBackupConfigurationInfo(serviceId: string, options: Models.ServiceFabricClientGetServiceBackupConfigurationInfoOptionalParams, callback: msRest.ServiceCallback): void; - getServiceBackupConfigurationInfo(serviceId: string, options?: Models.ServiceFabricClientGetServiceBackupConfigurationInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getServiceBackupConfigurationInfo(serviceId: string, options?: Models.ServiceFabricClientGetServiceBackupConfigurationInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -6356,7 +6356,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getServiceBackupList(serviceId: string, options: Models.ServiceFabricClientGetServiceBackupListOptionalParams, callback: msRest.ServiceCallback): void; - getServiceBackupList(serviceId: string, options?: Models.ServiceFabricClientGetServiceBackupListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getServiceBackupList(serviceId: string, options?: Models.ServiceFabricClientGetServiceBackupListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -6399,7 +6399,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ suspendServiceBackup(serviceId: string, options: Models.ServiceFabricClientSuspendServiceBackupOptionalParams, callback: msRest.ServiceCallback): void; - suspendServiceBackup(serviceId: string, options?: Models.ServiceFabricClientSuspendServiceBackupOptionalParams, callback?: msRest.ServiceCallback): Promise { + suspendServiceBackup(serviceId: string, options?: Models.ServiceFabricClientSuspendServiceBackupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -6441,7 +6441,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ resumeServiceBackup(serviceId: string, options: Models.ServiceFabricClientResumeServiceBackupOptionalParams, callback: msRest.ServiceCallback): void; - resumeServiceBackup(serviceId: string, options?: Models.ServiceFabricClientResumeServiceBackupOptionalParams, callback?: msRest.ServiceCallback): Promise { + resumeServiceBackup(serviceId: string, options?: Models.ServiceFabricClientResumeServiceBackupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -6478,7 +6478,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ enablePartitionBackup(partitionId: string, enableBackupDescription: Models.EnableBackupDescription, options: Models.ServiceFabricClientEnablePartitionBackupOptionalParams, callback: msRest.ServiceCallback): void; - enablePartitionBackup(partitionId: string, enableBackupDescription: Models.EnableBackupDescription, options?: Models.ServiceFabricClientEnablePartitionBackupOptionalParams, callback?: msRest.ServiceCallback): Promise { + enablePartitionBackup(partitionId: string, enableBackupDescription: Models.EnableBackupDescription, options?: Models.ServiceFabricClientEnablePartitionBackupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -6512,7 +6512,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ disablePartitionBackup(partitionId: string, options: Models.ServiceFabricClientDisablePartitionBackupOptionalParams, callback: msRest.ServiceCallback): void; - disablePartitionBackup(partitionId: string, options?: Models.ServiceFabricClientDisablePartitionBackupOptionalParams, callback?: msRest.ServiceCallback): Promise { + disablePartitionBackup(partitionId: string, options?: Models.ServiceFabricClientDisablePartitionBackupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -6541,7 +6541,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPartitionBackupConfigurationInfo(partitionId: string, options: Models.ServiceFabricClientGetPartitionBackupConfigurationInfoOptionalParams, callback: msRest.ServiceCallback): void; - getPartitionBackupConfigurationInfo(partitionId: string, options?: Models.ServiceFabricClientGetPartitionBackupConfigurationInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPartitionBackupConfigurationInfo(partitionId: string, options?: Models.ServiceFabricClientGetPartitionBackupConfigurationInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -6573,7 +6573,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPartitionBackupList(partitionId: string, options: Models.ServiceFabricClientGetPartitionBackupListOptionalParams, callback: msRest.ServiceCallback): void; - getPartitionBackupList(partitionId: string, options?: Models.ServiceFabricClientGetPartitionBackupListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPartitionBackupList(partitionId: string, options?: Models.ServiceFabricClientGetPartitionBackupListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -6603,7 +6603,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ suspendPartitionBackup(partitionId: string, options: Models.ServiceFabricClientSuspendPartitionBackupOptionalParams, callback: msRest.ServiceCallback): void; - suspendPartitionBackup(partitionId: string, options?: Models.ServiceFabricClientSuspendPartitionBackupOptionalParams, callback?: msRest.ServiceCallback): Promise { + suspendPartitionBackup(partitionId: string, options?: Models.ServiceFabricClientSuspendPartitionBackupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -6633,7 +6633,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ resumePartitionBackup(partitionId: string, options: Models.ServiceFabricClientResumePartitionBackupOptionalParams, callback: msRest.ServiceCallback): void; - resumePartitionBackup(partitionId: string, options?: Models.ServiceFabricClientResumePartitionBackupOptionalParams, callback?: msRest.ServiceCallback): Promise { + resumePartitionBackup(partitionId: string, options?: Models.ServiceFabricClientResumePartitionBackupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -6667,7 +6667,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ backupPartition(partitionId: string, options: Models.ServiceFabricClientBackupPartitionOptionalParams, callback: msRest.ServiceCallback): void; - backupPartition(partitionId: string, options?: Models.ServiceFabricClientBackupPartitionOptionalParams, callback?: msRest.ServiceCallback): Promise { + backupPartition(partitionId: string, options?: Models.ServiceFabricClientBackupPartitionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -6697,7 +6697,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPartitionBackupProgress(partitionId: string, options: Models.ServiceFabricClientGetPartitionBackupProgressOptionalParams, callback: msRest.ServiceCallback): void; - getPartitionBackupProgress(partitionId: string, options?: Models.ServiceFabricClientGetPartitionBackupProgressOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPartitionBackupProgress(partitionId: string, options?: Models.ServiceFabricClientGetPartitionBackupProgressOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -6736,7 +6736,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ restorePartition(partitionId: string, restorePartitionDescription: Models.RestorePartitionDescription, options: Models.ServiceFabricClientRestorePartitionOptionalParams, callback: msRest.ServiceCallback): void; - restorePartition(partitionId: string, restorePartitionDescription: Models.RestorePartitionDescription, options?: Models.ServiceFabricClientRestorePartitionOptionalParams, callback?: msRest.ServiceCallback): Promise { + restorePartition(partitionId: string, restorePartitionDescription: Models.RestorePartitionDescription, options?: Models.ServiceFabricClientRestorePartitionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -6767,7 +6767,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPartitionRestoreProgress(partitionId: string, options: Models.ServiceFabricClientGetPartitionRestoreProgressOptionalParams, callback: msRest.ServiceCallback): void; - getPartitionRestoreProgress(partitionId: string, options?: Models.ServiceFabricClientGetPartitionRestoreProgressOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPartitionRestoreProgress(partitionId: string, options?: Models.ServiceFabricClientGetPartitionRestoreProgressOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -6801,7 +6801,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getBackupsFromBackupLocation(getBackupByStorageQueryDescription: Models.GetBackupByStorageQueryDescription, options: Models.ServiceFabricClientGetBackupsFromBackupLocationOptionalParams, callback: msRest.ServiceCallback): void; - getBackupsFromBackupLocation(getBackupByStorageQueryDescription: Models.GetBackupByStorageQueryDescription, options?: Models.ServiceFabricClientGetBackupsFromBackupLocationOptionalParams, callback?: msRest.ServiceCallback): Promise { + getBackupsFromBackupLocation(getBackupByStorageQueryDescription: Models.GetBackupByStorageQueryDescription, options?: Models.ServiceFabricClientGetBackupsFromBackupLocationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { getBackupByStorageQueryDescription, @@ -6830,7 +6830,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ createName(nameDescription: Models.NameDescription, options: Models.ServiceFabricClientCreateNameOptionalParams, callback: msRest.ServiceCallback): void; - createName(nameDescription: Models.NameDescription, options?: Models.ServiceFabricClientCreateNameOptionalParams, callback?: msRest.ServiceCallback): Promise { + createName(nameDescription: Models.NameDescription, options?: Models.ServiceFabricClientCreateNameOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nameDescription, @@ -6859,7 +6859,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getNameExistsInfo(nameId: string, options: Models.ServiceFabricClientGetNameExistsInfoOptionalParams, callback: msRest.ServiceCallback): void; - getNameExistsInfo(nameId: string, options?: Models.ServiceFabricClientGetNameExistsInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getNameExistsInfo(nameId: string, options?: Models.ServiceFabricClientGetNameExistsInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nameId, @@ -6889,7 +6889,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ deleteName(nameId: string, options: Models.ServiceFabricClientDeleteNameOptionalParams, callback: msRest.ServiceCallback): void; - deleteName(nameId: string, options?: Models.ServiceFabricClientDeleteNameOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteName(nameId: string, options?: Models.ServiceFabricClientDeleteNameOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nameId, @@ -6920,7 +6920,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getSubNameInfoList(nameId: string, options: Models.ServiceFabricClientGetSubNameInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getSubNameInfoList(nameId: string, options?: Models.ServiceFabricClientGetSubNameInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getSubNameInfoList(nameId: string, options?: Models.ServiceFabricClientGetSubNameInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nameId, @@ -6951,7 +6951,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPropertyInfoList(nameId: string, options: Models.ServiceFabricClientGetPropertyInfoListOptionalParams, callback: msRest.ServiceCallback): void; - getPropertyInfoList(nameId: string, options?: Models.ServiceFabricClientGetPropertyInfoListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPropertyInfoList(nameId: string, options?: Models.ServiceFabricClientGetPropertyInfoListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nameId, @@ -6983,7 +6983,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ putProperty(nameId: string, propertyDescription: Models.PropertyDescription, options: Models.ServiceFabricClientPutPropertyOptionalParams, callback: msRest.ServiceCallback): void; - putProperty(nameId: string, propertyDescription: Models.PropertyDescription, options?: Models.ServiceFabricClientPutPropertyOptionalParams, callback?: msRest.ServiceCallback): Promise { + putProperty(nameId: string, propertyDescription: Models.PropertyDescription, options?: Models.ServiceFabricClientPutPropertyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nameId, @@ -7017,7 +7017,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPropertyInfo(nameId: string, propertyName: string, options: Models.ServiceFabricClientGetPropertyInfoOptionalParams, callback: msRest.ServiceCallback): void; - getPropertyInfo(nameId: string, propertyName: string, options?: Models.ServiceFabricClientGetPropertyInfoOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPropertyInfo(nameId: string, propertyName: string, options?: Models.ServiceFabricClientGetPropertyInfoOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nameId, @@ -7051,7 +7051,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ deleteProperty(nameId: string, propertyName: string, options: Models.ServiceFabricClientDeletePropertyOptionalParams, callback: msRest.ServiceCallback): void; - deleteProperty(nameId: string, propertyName: string, options?: Models.ServiceFabricClientDeletePropertyOptionalParams, callback?: msRest.ServiceCallback): Promise { + deleteProperty(nameId: string, propertyName: string, options?: Models.ServiceFabricClientDeletePropertyOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nameId, @@ -7084,7 +7084,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ submitPropertyBatch(nameId: string, propertyBatchDescriptionList: Models.PropertyBatchDescriptionList, options: Models.ServiceFabricClientSubmitPropertyBatchOptionalParams, callback: msRest.ServiceCallback): void; - submitPropertyBatch(nameId: string, propertyBatchDescriptionList: Models.PropertyBatchDescriptionList, options?: Models.ServiceFabricClientSubmitPropertyBatchOptionalParams, callback?: msRest.ServiceCallback): Promise { + submitPropertyBatch(nameId: string, propertyBatchDescriptionList: Models.PropertyBatchDescriptionList, options?: Models.ServiceFabricClientSubmitPropertyBatchOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nameId, @@ -7117,7 +7117,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getClusterEventList(startTimeUtc: string, endTimeUtc: string, options: Models.ServiceFabricClientGetClusterEventListOptionalParams, callback: msRest.ServiceCallback): void; - getClusterEventList(startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetClusterEventListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getClusterEventList(startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetClusterEventListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { startTimeUtc, @@ -7150,7 +7150,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getContainersEventList(startTimeUtc: string, endTimeUtc: string, options: Models.ServiceFabricClientGetContainersEventListOptionalParams, callback: msRest.ServiceCallback): void; - getContainersEventList(startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetContainersEventListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getContainersEventList(startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetContainersEventListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { startTimeUtc, @@ -7186,7 +7186,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getNodeEventList(nodeName: string, startTimeUtc: string, endTimeUtc: string, options: Models.ServiceFabricClientGetNodeEventListOptionalParams, callback: msRest.ServiceCallback): void; - getNodeEventList(nodeName: string, startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetNodeEventListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getNodeEventList(nodeName: string, startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetNodeEventListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nodeName, @@ -7220,7 +7220,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getNodesEventList(startTimeUtc: string, endTimeUtc: string, options: Models.ServiceFabricClientGetNodesEventListOptionalParams, callback: msRest.ServiceCallback): void; - getNodesEventList(startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetNodesEventListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getNodesEventList(startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetNodesEventListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { startTimeUtc, @@ -7268,7 +7268,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationEventList(applicationId: string, startTimeUtc: string, endTimeUtc: string, options: Models.ServiceFabricClientGetApplicationEventListOptionalParams, callback: msRest.ServiceCallback): void; - getApplicationEventList(applicationId: string, startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetApplicationEventListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getApplicationEventList(applicationId: string, startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetApplicationEventListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationId, @@ -7302,7 +7302,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationsEventList(startTimeUtc: string, endTimeUtc: string, options: Models.ServiceFabricClientGetApplicationsEventListOptionalParams, callback: msRest.ServiceCallback): void; - getApplicationsEventList(startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetApplicationsEventListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getApplicationsEventList(startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetApplicationsEventListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { startTimeUtc, @@ -7350,7 +7350,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getServiceEventList(serviceId: string, startTimeUtc: string, endTimeUtc: string, options: Models.ServiceFabricClientGetServiceEventListOptionalParams, callback: msRest.ServiceCallback): void; - getServiceEventList(serviceId: string, startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetServiceEventListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getServiceEventList(serviceId: string, startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetServiceEventListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { serviceId, @@ -7384,7 +7384,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getServicesEventList(startTimeUtc: string, endTimeUtc: string, options: Models.ServiceFabricClientGetServicesEventListOptionalParams, callback: msRest.ServiceCallback): void; - getServicesEventList(startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetServicesEventListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getServicesEventList(startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetServicesEventListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { startTimeUtc, @@ -7420,7 +7420,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPartitionEventList(partitionId: string, startTimeUtc: string, endTimeUtc: string, options: Models.ServiceFabricClientGetPartitionEventListOptionalParams, callback: msRest.ServiceCallback): void; - getPartitionEventList(partitionId: string, startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetPartitionEventListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPartitionEventList(partitionId: string, startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetPartitionEventListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -7454,7 +7454,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPartitionsEventList(startTimeUtc: string, endTimeUtc: string, options: Models.ServiceFabricClientGetPartitionsEventListOptionalParams, callback: msRest.ServiceCallback): void; - getPartitionsEventList(startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetPartitionsEventListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPartitionsEventList(startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetPartitionsEventListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { startTimeUtc, @@ -7493,7 +7493,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPartitionReplicaEventList(partitionId: string, replicaId: string, startTimeUtc: string, endTimeUtc: string, options: Models.ServiceFabricClientGetPartitionReplicaEventListOptionalParams, callback: msRest.ServiceCallback): void; - getPartitionReplicaEventList(partitionId: string, replicaId: string, startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetPartitionReplicaEventListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPartitionReplicaEventList(partitionId: string, replicaId: string, startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetPartitionReplicaEventListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -7531,7 +7531,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getPartitionReplicasEventList(partitionId: string, startTimeUtc: string, endTimeUtc: string, options: Models.ServiceFabricClientGetPartitionReplicasEventListOptionalParams, callback: msRest.ServiceCallback): void; - getPartitionReplicasEventList(partitionId: string, startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetPartitionReplicasEventListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getPartitionReplicasEventList(partitionId: string, startTimeUtc: string, endTimeUtc: string, options?: Models.ServiceFabricClientGetPartitionReplicasEventListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { partitionId, @@ -7562,7 +7562,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getCorrelatedEventList(eventInstanceId: string, options: Models.ServiceFabricClientGetCorrelatedEventListOptionalParams, callback: msRest.ServiceCallback): void; - getCorrelatedEventList(eventInstanceId: string, options?: Models.ServiceFabricClientGetCorrelatedEventListOptionalParams, callback?: msRest.ServiceCallback): Promise { + getCorrelatedEventList(eventInstanceId: string, options?: Models.ServiceFabricClientGetCorrelatedEventListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { eventInstanceId, @@ -7595,7 +7595,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ createApplicationResource(applicationResourceName: string, applicationResourceDescription: Models.ApplicationResourceDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createApplicationResource(applicationResourceName: string, applicationResourceDescription: Models.ApplicationResourceDescription, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createApplicationResource(applicationResourceName: string, applicationResourceDescription: Models.ApplicationResourceDescription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationResourceName, @@ -7626,7 +7626,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getApplicationResource(applicationResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getApplicationResource(applicationResourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getApplicationResource(applicationResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationResourceName, @@ -7655,7 +7655,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ deleteApplicationResource(applicationResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteApplicationResource(applicationResourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteApplicationResource(applicationResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationResourceName, @@ -7684,7 +7684,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getServices(applicationResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getServices(applicationResourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getServices(applicationResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationResourceName, @@ -7716,7 +7716,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getService(applicationResourceName: string, serviceResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getService(applicationResourceName: string, serviceResourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getService(applicationResourceName: string, serviceResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationResourceName, @@ -7750,7 +7750,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getReplicas(applicationResourceName: string, serviceResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getReplicas(applicationResourceName: string, serviceResourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getReplicas(applicationResourceName: string, serviceResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationResourceName, @@ -7787,7 +7787,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getReplica(applicationResourceName: string, serviceResourceName: string, replicaName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getReplica(applicationResourceName: string, serviceResourceName: string, replicaName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getReplica(applicationResourceName: string, serviceResourceName: string, replicaName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { applicationResourceName, @@ -7822,7 +7822,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ createVolumeResource(volumeResourceName: string, volumeResourceDescription: Models.VolumeResourceDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createVolumeResource(volumeResourceName: string, volumeResourceDescription: Models.VolumeResourceDescription, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + createVolumeResource(volumeResourceName: string, volumeResourceDescription: Models.VolumeResourceDescription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { volumeResourceName, @@ -7853,7 +7853,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ getVolumeResource(volumeResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getVolumeResource(volumeResourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + getVolumeResource(volumeResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { volumeResourceName, @@ -7882,7 +7882,7 @@ class ServiceFabricClient extends ServiceFabricClientContext { * @param callback The callback */ deleteVolumeResource(volumeResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteVolumeResource(volumeResourceName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + deleteVolumeResource(volumeResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { volumeResourceName, diff --git a/packages/@azure/servicefabric/lib/serviceFabricClientContext.ts b/packages/@azure/servicefabric/lib/serviceFabricClientContext.ts index 37417c0ccd9e..1f14a3317605 100644 --- a/packages/@azure/servicefabric/lib/serviceFabricClientContext.ts +++ b/packages/@azure/servicefabric/lib/serviceFabricClientContext.ts @@ -8,11 +8,11 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; const packageName = "@azure/servicefabric"; -const packageVersion = "1.0.0"; +const packageVersion = "0.1.0"; export class ServiceFabricClientContext extends msRest.ServiceClient { @@ -25,12 +25,15 @@ export class ServiceFabricClientContext extends msRest.ServiceClient { if (!options) { options = {}; } + if(!options.userAgent) { + const defaultUserAgent = msRest.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } super(undefined, options); this.baseUri = options.baseUri || this.baseUri || "http://localhost:19080"; this.requestContentType = "application/json; charset=utf-8"; - this.addUserAgentInfo(`${packageName}/${packageVersion}`); } } diff --git a/packages/@azure/servicefabric/package.json b/packages/@azure/servicefabric/package.json index 17372a2f5ac0..0de31100445b 100644 --- a/packages/@azure/servicefabric/package.json +++ b/packages/@azure/servicefabric/package.json @@ -4,7 +4,7 @@ "description": "ServiceFabricClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "ms-rest-js": "^1.0.455", + "@azure/ms-rest-js": "^1.1.0", "tslib": "^1.9.3" }, "keywords": [ @@ -51,4 +51,4 @@ "prepack": "npm install && npm run build" }, "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/@azure/servicefabric/rollup.config.js b/packages/@azure/servicefabric/rollup.config.js index 996fb663cc9b..e6df5ac273a9 100644 --- a/packages/@azure/servicefabric/rollup.config.js +++ b/packages/@azure/servicefabric/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/serviceFabricClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { file: "./dist/servicefabric.js", format: "umd", name: "Azure.Servicefabric", 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/servicefabric/tsconfig.json b/packages/@azure/servicefabric/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/servicefabric/tsconfig.json +++ b/packages/@azure/servicefabric/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/@azure/storage-datalake/LICENSE.txt b/packages/@azure/storage-datalake/LICENSE.txt new file mode 100644 index 000000000000..a70e8cf66038 --- /dev/null +++ b/packages/@azure/storage-datalake/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/@azure/storage-datalake/README.md b/packages/@azure/storage-datalake/README.md new file mode 100644 index 000000000000..cf8c992c817b --- /dev/null +++ b/packages/@azure/storage-datalake/README.md @@ -0,0 +1,108 @@ +## Azure DataLakeStorageClient SDK for JavaScript + +This package contains an isomorphic SDK for DataLakeStorageClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install + +``` +npm install @azure/storage-datalake +``` + +### How to use + +#### nodejs - Authentication, client creation and list filesystem as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +``` +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code + +```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 { DataLakeStorageClient, DataLakeStorageModels, DataLakeStorageMappers } from "@azure/storage-datalake"; +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; + +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new DataLakeStorageClient(creds, subscriptionId); + const prefix = "testprefix"; + const continuation = "testcontinuation"; + const maxResults = 1; + const xMsClientRequestId = "testxMsClientRequestId"; + const timeout = 1; + const xMsDate = "testxMsDate"; + client.filesystem.list(prefix, continuation, maxResults, xMsClientRequestId, timeout, xMsDate).then((result) => { + console.log("The result is:"); + console.log(result); + }); +}).catch((err) => { + console.error(err); +}); +``` + +#### browser - Authentication, client creation and list filesystem as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +``` +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. + +- index.html +```html + + + + @azure/storage-datalake sample + + + + + + + + +``` + +## Related projects + +- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/storage-datalake/lib/dataLakeStorageClient.ts b/packages/@azure/storage-datalake/lib/dataLakeStorageClient.ts new file mode 100644 index 000000000000..1e91a7cfa61d --- /dev/null +++ b/packages/@azure/storage-datalake/lib/dataLakeStorageClient.ts @@ -0,0 +1,44 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "./models"; +import * as Mappers from "./models/mappers"; +import * as operations from "./operations"; +import { DataLakeStorageClientContext } from "./dataLakeStorageClientContext"; + + +class DataLakeStorageClient extends DataLakeStorageClientContext { + // Operation groups + filesystem: operations.FilesystemOperations; + path: operations.PathOperations; + + /** + * Initializes a new instance of the DataLakeStorageClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param accountName The Azure Storage account name. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, accountName: string, options?: Models.DataLakeStorageClientOptions) { + super(credentials, accountName, options); + this.filesystem = new operations.FilesystemOperations(this); + this.path = new operations.PathOperations(this); + } +} + +// Operation Specifications + +export { + DataLakeStorageClient, + DataLakeStorageClientContext, + Models as DataLakeStorageModels, + Mappers as DataLakeStorageMappers +}; +export * from "./operations"; diff --git a/packages/@azure/storage-datalake/lib/dataLakeStorageClientContext.ts b/packages/@azure/storage-datalake/lib/dataLakeStorageClientContext.ts new file mode 100644 index 000000000000..6f0bfb36a4d4 --- /dev/null +++ b/packages/@azure/storage-datalake/lib/dataLakeStorageClientContext.ts @@ -0,0 +1,69 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as Models from "./models"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; + +const packageName = "@azure/storage-datalake"; +const packageVersion = "0.1.0"; + +export class DataLakeStorageClientContext extends msRestAzure.AzureServiceClient { + credentials: msRest.ServiceClientCredentials; + xMsVersion?: string; + accountName: string; + dnsSuffix?: string; + + /** + * Initializes a new instance of the DataLakeStorageClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param accountName The Azure Storage account name. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, accountName: string, options?: Models.DataLakeStorageClientOptions) { + if (credentials == undefined) { + throw new Error('\'credentials\' cannot be null.'); + } + if (accountName == undefined) { + throw new Error('\'accountName\' cannot be null.'); + } + + if (!options) { + options = {}; + } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + + super(credentials, options); + + this.dnsSuffix = 'dfs.core.windows.net'; + this.acceptLanguage = 'en-US'; + this.longRunningOperationRetryTimeout = 30; + this.baseUri = 'http://{accountName}.{dnsSuffix}'; + this.requestContentType = "application/json; charset=utf-8"; + this.credentials = credentials; + this.accountName = accountName; + + if(options.xMsVersion !== null && options.xMsVersion !== undefined) { + this.xMsVersion = options.xMsVersion; + } + if(options.dnsSuffix !== null && options.dnsSuffix !== undefined) { + this.dnsSuffix = options.dnsSuffix; + } + if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + this.acceptLanguage = options.acceptLanguage; + } + if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; + } + } +} diff --git a/packages/@azure/storage-datalake/lib/models/filesystemOperationsMappers.ts b/packages/@azure/storage-datalake/lib/models/filesystemOperationsMappers.ts new file mode 100644 index 000000000000..b0669fbd7a5d --- /dev/null +++ b/packages/@azure/storage-datalake/lib/models/filesystemOperationsMappers.ts @@ -0,0 +1,22 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export { + FilesystemList, + Filesystem, + FilesystemListHeaders, + DataLakeStorageError, + DataLakeStorageErrorError, + FilesystemCreateHeaders, + FilesystemSetPropertiesHeaders, + FilesystemGetPropertiesHeaders, + FilesystemDeleteHeaders +} from "../models/mappers"; + diff --git a/packages/@azure/storage-datalake/lib/models/index.ts b/packages/@azure/storage-datalake/lib/models/index.ts new file mode 100644 index 000000000000..c6a2ec26114a --- /dev/null +++ b/packages/@azure/storage-datalake/lib/models/index.ts @@ -0,0 +1,1969 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +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 DataLakeStorageErrorError. + * The service error response object. + * + */ +export interface DataLakeStorageErrorError { + /** + * @member {string} [code] The service error code. + */ + code?: string; + /** + * @member {string} [message] The service error message. + */ + message?: string; +} + +/** + * @interface + * An interface representing DataLakeStorageError. + */ +export interface DataLakeStorageError { + /** + * @member {DataLakeStorageErrorError} [error] The service error response + * object. + */ + error?: DataLakeStorageErrorError; +} + +/** + * @interface + * An interface representing Path. + */ +export interface Path { + /** + * @member {string} [name] + */ + name?: string; + /** + * @member {boolean} [isDirectory] Default value: false . + */ + isDirectory?: boolean; + /** + * @member {string} [lastModified] + */ + lastModified?: string; + /** + * @member {string} [eTag] + */ + eTag?: string; + /** + * @member {number} [contentLength] + */ + contentLength?: number; + /** + * @member {string} [owner] + */ + owner?: string; + /** + * @member {string} [group] + */ + group?: string; + /** + * @member {string} [permissions] + */ + permissions?: string; +} + +/** + * @interface + * An interface representing Filesystem. + */ +export interface Filesystem { + /** + * @member {string} [name] + */ + name?: string; + /** + * @member {string} [lastModified] + */ + lastModified?: string; + /** + * @member {string} [eTag] + */ + eTag?: string; +} + +/** + * @interface + * An interface representing FilesystemListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface FilesystemListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [prefix] Filters results to filesystems within the + * specified prefix. + */ + prefix?: string; + /** + * @member {string} [continuation] The number of filesystems returned with + * each invocation is limited. If the number of filesystems to be returned + * exceeds this limit, a continuation token is returned in the response + * header x-ms-continuation. When a continuation token is returned in the + * response, it must be specified in a subsequent invocation of the list + * operation to continue listing the filesystems. + */ + continuation?: string; + /** + * @member {number} [maxResults] An optional value that specifies the maximum + * number of items to return. If omitted or greater than 5,000, the response + * will include up to 5,000 items. + */ + maxResults?: number; + /** + * @member {string} [xMsClientRequestId] A UUID recorded in the analytics + * logs for troubleshooting and correlation. + */ + xMsClientRequestId?: string; + /** + * @member {number} [timeoutParameter] An optional operation timeout value in + * seconds. The period begins when the request is received by the service. If + * the timeout value elapses before the operation completes, the operation + * fails. + */ + timeoutParameter?: number; + /** + * @member {string} [xMsDate] Specifies the Coordinated Universal Time (UTC) + * for the request. This is required when using shared key authorization. + */ + xMsDate?: string; +} + +/** + * @interface + * An interface representing FilesystemCreateOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface FilesystemCreateOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [xMsProperties] User-defined properties to be stored with + * the filesystem, in the format of a comma-separated list of name and value + * pairs "n1=v1, n2=v2, ...", where each value is base64 encoded. + */ + xMsProperties?: string; + /** + * @member {string} [xMsClientRequestId] A UUID recorded in the analytics + * logs for troubleshooting and correlation. + */ + xMsClientRequestId?: string; + /** + * @member {number} [timeoutParameter] An optional operation timeout value in + * seconds. The period begins when the request is received by the service. If + * the timeout value elapses before the operation completes, the operation + * fails. + */ + timeoutParameter?: number; + /** + * @member {string} [xMsDate] Specifies the Coordinated Universal Time (UTC) + * for the request. This is required when using shared key authorization. + */ + xMsDate?: string; +} + +/** + * @interface + * An interface representing FilesystemSetPropertiesOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface FilesystemSetPropertiesOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [xMsProperties] Optional. User-defined properties to be + * stored with the filesystem, in the format of a comma-separated list of + * name and value pairs "n1=v1, n2=v2, ...", where each value is base64 + * encoded. If the filesystem exists, any properties not included in the + * list will be removed. All properties are removed if the header is + * omitted. To merge new and existing properties, first get all existing + * properties and the current E-Tag, then make a conditional request with the + * E-Tag and include values for all properties. + */ + xMsProperties?: string; + /** + * @member {string} [ifModifiedSince] Optional. A date and time value. + * Specify this header to perform the operation only if the resource has been + * modified since the specified date and time. + */ + ifModifiedSince?: string; + /** + * @member {string} [ifUnmodifiedSince] Optional. A date and time value. + * Specify this header to perform the operation only if the resource has not + * been modified since the specified date and time. + */ + ifUnmodifiedSince?: string; + /** + * @member {string} [xMsClientRequestId] A UUID recorded in the analytics + * logs for troubleshooting and correlation. + */ + xMsClientRequestId?: string; + /** + * @member {number} [timeoutParameter] An optional operation timeout value in + * seconds. The period begins when the request is received by the service. If + * the timeout value elapses before the operation completes, the operation + * fails. + */ + timeoutParameter?: number; + /** + * @member {string} [xMsDate] Specifies the Coordinated Universal Time (UTC) + * for the request. This is required when using shared key authorization. + */ + xMsDate?: string; +} + +/** + * @interface + * An interface representing FilesystemGetPropertiesOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface FilesystemGetPropertiesOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [xMsClientRequestId] A UUID recorded in the analytics + * logs for troubleshooting and correlation. + */ + xMsClientRequestId?: string; + /** + * @member {number} [timeoutParameter] An optional operation timeout value in + * seconds. The period begins when the request is received by the service. If + * the timeout value elapses before the operation completes, the operation + * fails. + */ + timeoutParameter?: number; + /** + * @member {string} [xMsDate] Specifies the Coordinated Universal Time (UTC) + * for the request. This is required when using shared key authorization. + */ + xMsDate?: string; +} + +/** + * @interface + * An interface representing FilesystemDeleteMethodOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface FilesystemDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [ifModifiedSince] Optional. A date and time value. + * Specify this header to perform the operation only if the resource has been + * modified since the specified date and time. + */ + ifModifiedSince?: string; + /** + * @member {string} [ifUnmodifiedSince] Optional. A date and time value. + * Specify this header to perform the operation only if the resource has not + * been modified since the specified date and time. + */ + ifUnmodifiedSince?: string; + /** + * @member {string} [xMsClientRequestId] A UUID recorded in the analytics + * logs for troubleshooting and correlation. + */ + xMsClientRequestId?: string; + /** + * @member {number} [timeoutParameter] An optional operation timeout value in + * seconds. The period begins when the request is received by the service. If + * the timeout value elapses before the operation completes, the operation + * fails. + */ + timeoutParameter?: number; + /** + * @member {string} [xMsDate] Specifies the Coordinated Universal Time (UTC) + * for the request. This is required when using shared key authorization. + */ + xMsDate?: string; +} + +/** + * @interface + * An interface representing PathListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface PathListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [directory] Filters results to paths within the specified + * directory. An error occurs if the directory does not exist. + */ + directory?: string; + /** + * @member {string} [continuation] The number of paths returned with each + * invocation is limited. If the number of paths to be returned exceeds this + * limit, a continuation token is returned in the response header + * x-ms-continuation. When a continuation token is returned in the response, + * it must be specified in a subsequent invocation of the list operation to + * continue listing the paths. + */ + continuation?: string; + /** + * @member {number} [maxResults] An optional value that specifies the maximum + * number of items to return. If omitted or greater than 5,000, the response + * will include up to 5,000 items. + */ + maxResults?: number; + /** + * @member {string} [xMsClientRequestId] A UUID recorded in the analytics + * logs for troubleshooting and correlation. + */ + xMsClientRequestId?: string; + /** + * @member {number} [timeoutParameter] An optional operation timeout value in + * seconds. The period begins when the request is received by the service. If + * the timeout value elapses before the operation completes, the operation + * fails. + */ + timeoutParameter?: number; + /** + * @member {string} [xMsDate] Specifies the Coordinated Universal Time (UTC) + * for the request. This is required when using shared key authorization. + */ + xMsDate?: string; +} + +/** + * @interface + * An interface representing PathCreateOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface PathCreateOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {PathResourceType} [resource] Required only for Create File and + * Create Directory. The value must be "file" or "directory". Possible values + * include: 'directory', 'file' + */ + resource?: PathResourceType; + /** + * @member {string} [continuation] Optional. When renaming a directory, the + * number of paths that are renamed with each invocation is limited. If the + * number of paths to be renamed exceeds this limit, a continuation token is + * returned in this response header. When a continuation token is returned + * in the response, it must be specified in a subsequent invocation of the + * rename operation to continue renaming the directory. + */ + continuation?: string; + /** + * @member {PathRenameMode} [mode] Optional. Valid only when namespace is + * enabled. This parameter determines the behavior of the rename operation. + * The value must be "legacy" or "posix", and the default value will be + * "posix". Possible values include: 'legacy', 'posix' + */ + mode?: PathRenameMode; + /** + * @member {string} [cacheControl] Optional. The service stores this value + * and includes it in the "Cache-Control" response header for "Read File" + * operations for "Read File" operations. + */ + cacheControl?: string; + /** + * @member {string} [contentEncoding] Optional. Specifies which content + * encodings have been applied to the file. This value is returned to the + * client when the "Read File" operation is performed. + */ + contentEncoding?: string; + /** + * @member {string} [contentLanguage] Optional. Specifies the natural + * language used by the intended audience for the file. + */ + contentLanguage?: string; + /** + * @member {string} [contentDisposition] Optional. The service stores this + * value and includes it in the "Content-Disposition" response header for + * "Read File" operations. + */ + contentDisposition?: string; + /** + * @member {string} [xMsCacheControl] Optional. The service stores this + * value and includes it in the "Cache-Control" response header for "Read + * File" operations. + */ + xMsCacheControl?: string; + /** + * @member {string} [xMsContentType] Optional. The service stores this value + * and includes it in the "Content-Type" response header for "Read File" + * operations. + */ + xMsContentType?: string; + /** + * @member {string} [xMsContentEncoding] Optional. The service stores this + * value and includes it in the "Content-Encoding" response header for "Read + * File" operations. + */ + xMsContentEncoding?: string; + /** + * @member {string} [xMsContentLanguage] Optional. The service stores this + * value and includes it in the "Content-Language" response header for "Read + * File" operations. + */ + xMsContentLanguage?: string; + /** + * @member {string} [xMsContentDisposition] Optional. The service stores + * this value and includes it in the "Content-Disposition" response header + * for "Read File" operations. + */ + xMsContentDisposition?: string; + /** + * @member {string} [xMsRenameSource] An optional file or directory to be + * renamed. The value must have the following format: + * "/{filesysystem}/{path}". If "x-ms-properties" is specified, the + * properties will overwrite the existing properties; otherwise, the existing + * properties will be preserved. + */ + xMsRenameSource?: string; + /** + * @member {string} [xMsLeaseId] Optional. A lease ID for the path specified + * in the URI. The path to be overwritten must have an active lease and the + * lease ID must match. + */ + xMsLeaseId?: string; + /** + * @member {string} [xMsProposedLeaseId] Optional for create operations. + * Required when "x-ms-lease-action" is used. A lease will be acquired using + * the proposed ID when the resource is created. + */ + xMsProposedLeaseId?: string; + /** + * @member {string} [xMsSourceLeaseId] Optional for rename operations. A + * lease ID for the source path. The source path must have an active lease + * and the lease ID must match. + */ + xMsSourceLeaseId?: string; + /** + * @member {string} [xMsProperties] Optional. User-defined properties to be + * stored with the file or directory, in the format of a comma-separated list + * of name and value pairs "n1=v1, n2=v2, ...", where each value is base64 + * encoded. + */ + xMsProperties?: string; + /** + * @member {string} [xMsPermissions] Optional and only valid if Hierarchical + * Namespace is enabled for the account. Sets POSIX access permissions for + * the file owner, the file owning group, and others. Each class may be + * granted read, write, or execute permission. The sticky bit is also + * supported. Both symbolic (rwxrw-rw-) and 4-digit octal notation (e.g. + * 0766) are supported. + */ + xMsPermissions?: string; + /** + * @member {string} [ifMatch] Optional. An ETag value. Specify this header + * to perform the operation only if the resource's ETag matches the value + * specified. The ETag must be specified in quotes. + */ + ifMatch?: string; + /** + * @member {string} [ifNoneMatch] Optional. An ETag value or the special + * wildcard ("*") value. Specify this header to perform the operation only if + * the resource's ETag does not match the value specified. The ETag must be + * specified in quotes. + */ + ifNoneMatch?: string; + /** + * @member {string} [ifModifiedSince] Optional. A date and time value. + * Specify this header to perform the operation only if the resource has been + * modified since the specified date and time. + */ + ifModifiedSince?: string; + /** + * @member {string} [ifUnmodifiedSince] Optional. A date and time value. + * Specify this header to perform the operation only if the resource has not + * been modified since the specified date and time. + */ + ifUnmodifiedSince?: string; + /** + * @member {string} [xMsSourceIfMatch] Optional. An ETag value. Specify this + * header to perform the rename operation only if the source's ETag matches + * the value specified. The ETag must be specified in quotes. + */ + xMsSourceIfMatch?: string; + /** + * @member {string} [xMsSourceIfNoneMatch] Optional. An ETag value or the + * special wildcard ("*") value. Specify this header to perform the rename + * operation only if the source's ETag does not match the value specified. + * The ETag must be specified in quotes. + */ + xMsSourceIfNoneMatch?: string; + /** + * @member {string} [xMsSourceIfModifiedSince] Optional. A date and time + * value. Specify this header to perform the rename operation only if the + * source has been modified since the specified date and time. + */ + xMsSourceIfModifiedSince?: string; + /** + * @member {string} [xMsSourceIfUnmodifiedSince] Optional. A date and time + * value. Specify this header to perform the rename operation only if the + * source has not been modified since the specified date and time. + */ + xMsSourceIfUnmodifiedSince?: string; + /** + * @member {string} [xMsClientRequestId] A UUID recorded in the analytics + * logs for troubleshooting and correlation. + */ + xMsClientRequestId?: string; + /** + * @member {number} [timeoutParameter] An optional operation timeout value in + * seconds. The period begins when the request is received by the service. If + * the timeout value elapses before the operation completes, the operation + * fails. + */ + timeoutParameter?: number; + /** + * @member {string} [xMsDate] Specifies the Coordinated Universal Time (UTC) + * for the request. This is required when using shared key authorization. + */ + xMsDate?: string; +} + +/** + * @interface + * An interface representing PathUpdateOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface PathUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [position] This parameter allows the caller to upload + * data in parallel and control the order in which it is appended to the + * file. It is required when uploading data to be appended to the file and + * when flushing previously uploaded data to the file. The value must be the + * position where the data is to be appended. Uploaded data is not + * immediately flushed, or written, to the file. To flush, the previously + * uploaded data must be contiguous, the position parameter must be specified + * and equal to the length of the file after all data has been written, and + * there must not be a request entity body included with the request. + */ + position?: number; + /** + * @member {boolean} [retainUncommittedData] Valid only for flush operations. + * If "true", uncommitted data is retained after the flush operation + * completes; otherwise, the uncommitted data is deleted after the flush + * operation. The default is false. Data at offsets less than the specified + * position are written to the file when flush succeeds, but this optional + * parameter allows data after the flush position to be retained for a future + * flush operation. + */ + retainUncommittedData?: boolean; + /** + * @member {string} [contentLength] Required for "Append Data" and "Flush + * Data". Must be 0 for "Flush Data". Must be the length of the request + * content in bytes for "Append Data". + */ + contentLength?: string; + /** + * @member {PathUpdateLeaseAction} [xMsLeaseAction] Optional. The lease + * action can be "renew" to renew an existing lease or "release" to release a + * lease. Possible values include: 'renew', 'release' + */ + xMsLeaseAction?: PathUpdateLeaseAction; + /** + * @member {string} [xMsLeaseId] The lease ID must be specified if there is + * an active lease. + */ + xMsLeaseId?: string; + /** + * @member {string} [xMsCacheControl] Optional and only valid for flush and + * set properties operations. The service stores this value and includes it + * in the "Cache-Control" response header for "Read File" operations. + */ + xMsCacheControl?: string; + /** + * @member {string} [xMsContentType] Optional and only valid for flush and + * set properties operations. The service stores this value and includes it + * in the "Content-Type" response header for "Read File" operations. + */ + xMsContentType?: string; + /** + * @member {string} [xMsContentDisposition] Optional and only valid for flush + * and set properties operations. The service stores this value and includes + * it in the "Content-Disposition" response header for "Read File" + * operations. + */ + xMsContentDisposition?: string; + /** + * @member {string} [xMsContentEncoding] Optional and only valid for flush + * and set properties operations. The service stores this value and includes + * it in the "Content-Encoding" response header for "Read File" operations. + */ + xMsContentEncoding?: string; + /** + * @member {string} [xMsContentLanguage] Optional and only valid for flush + * and set properties operations. The service stores this value and includes + * it in the "Content-Language" response header for "Read File" operations. + */ + xMsContentLanguage?: string; + /** + * @member {string} [xMsProperties] Optional. User-defined properties to be + * stored with the file or directory, in the format of a comma-separated list + * of name and value pairs "n1=v1, n2=v2, ...", where each value is base64 + * encoded. Valid only for the setProperties operation. If the file or + * directory exists, any properties not included in the list will be removed. + * All properties are removed if the header is omitted. To merge new and + * existing properties, first get all existing properties and the current + * E-Tag, then make a conditional request with the E-Tag and include values + * for all properties. + */ + xMsProperties?: string; + /** + * @member {string} [xMsOwner] Optional and valid only for the + * setAccessControl operation. Sets the owner of the file or directory. + */ + xMsOwner?: string; + /** + * @member {string} [xMsGroup] Optional and valid only for the + * setAccessControl operation. Sets the owning group of the file or + * directory. + */ + xMsGroup?: string; + /** + * @member {string} [xMsPermissions] Optional and only valid if Hierarchical + * Namespace is enabled for the account. Sets POSIX access permissions for + * the file owner, the file owning group, and others. Each class may be + * granted read, write, or execute permission. The sticky bit is also + * supported. Both symbolic (rwxrw-rw-) and 4-digit octal notation (e.g. + * 0766) are supported. Invalid in conjunction with x-ms-acl. + */ + xMsPermissions?: string; + /** + * @member {string} [xMsAcl] Optional and valid only for the setAccessControl + * operation. Sets POSIX access control rights on files and directories. The + * value is a comma-separated list of access control entries that fully + * replaces the existing access control list (ACL). Each access control + * entry (ACE) consists of a scope, a type, a user or group identifier, and + * permissions in the format "[scope:][type]:[id]:[permissions]". The scope + * must be "default" to indicate the ACE belongs to the default ACL for a + * directory; otherwise scope is implicit and the ACE belongs to the access + * ACL. There are four ACE types: "user" grants rights to the owner or a + * named user, "group" grants rights to the owning group or a named group, + * "mask" restricts rights granted to named users and the members of groups, + * and "other" grants rights to all users not found in any of the other + * entries. The user or group identifier is omitted for entries of type + * "mask" and "other". The user or group identifier is also omitted for the + * owner and owning group. The permission field is a 3-character sequence + * where the first character is 'r' to grant read access, the second + * character is 'w' to grant write access, and the third character is 'x' to + * grant execute permission. If access is not granted, the '-' character is + * used to denote that the permission is denied. For example, the following + * ACL grants read, write, and execute rights to the file owner and + * john.doe@contoso, the read right to the owning group, and nothing to + * everyone else: + * "user::rwx,user:john.doe@contoso:rwx,group::r--,other::---,mask=rwx". + * Invalid in conjunction with x-ms-permissions. + */ + xMsAcl?: string; + /** + * @member {string} [ifMatch] Optional for Flush Data and Set Properties, but + * invalid for Append Data. An ETag value. Specify this header to perform + * the operation only if the resource's ETag matches the value specified. The + * ETag must be specified in quotes. + */ + ifMatch?: string; + /** + * @member {string} [ifNoneMatch] Optional for Flush Data and Set Properties, + * but invalid for Append Data. An ETag value or the special wildcard ("*") + * value. Specify this header to perform the operation only if the resource's + * ETag does not match the value specified. The ETag must be specified in + * quotes. + */ + ifNoneMatch?: string; + /** + * @member {string} [ifModifiedSince] Optional for Flush Data and Set + * Properties, but invalid for Append Data. A date and time value. Specify + * this header to perform the operation only if the resource has been + * modified since the specified date and time. + */ + ifModifiedSince?: string; + /** + * @member {string} [ifUnmodifiedSince] Optional for Flush Data and Set + * Properties, but invalid for Append Data. A date and time value. Specify + * this header to perform the operation only if the resource has not been + * modified since the specified date and time. + */ + ifUnmodifiedSince?: string; + /** + * @member {msRest.HttpRequestBody} [requestBody] Valid only for append + * operations. The data to be uploaded and appended to the file. + */ + requestBody?: msRest.HttpRequestBody; + /** + * @member {string} [xMsClientRequestId] A UUID recorded in the analytics + * logs for troubleshooting and correlation. + */ + xMsClientRequestId?: string; + /** + * @member {number} [timeoutParameter] An optional operation timeout value in + * seconds. The period begins when the request is received by the service. If + * the timeout value elapses before the operation completes, the operation + * fails. + */ + timeoutParameter?: number; + /** + * @member {string} [xMsDate] Specifies the Coordinated Universal Time (UTC) + * for the request. This is required when using shared key authorization. + */ + xMsDate?: string; +} + +/** + * @interface + * An interface representing PathLeaseOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface PathLeaseOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [xMsLeaseDuration] The lease duration is required to + * acquire a lease, and specifies the duration of the lease in seconds. The + * lease duration must be between 15 and 60 seconds or -1 for infinite lease. + */ + xMsLeaseDuration?: number; + /** + * @member {number} [xMsLeaseBreakPeriod] The lease break period duration is + * optional to break a lease, and specifies the break period of the lease in + * seconds. The lease break duration must be between 0 and 60 seconds. + */ + xMsLeaseBreakPeriod?: number; + /** + * @member {string} [xMsLeaseId] Required when "x-ms-lease-action" is + * "renew", "change" or "release". For the renew and release actions, this + * must match the current lease ID. + */ + xMsLeaseId?: string; + /** + * @member {string} [xMsProposedLeaseId] Required when "x-ms-lease-action" is + * "acquire" or "change". A lease will be acquired with this lease ID if the + * operation is successful. + */ + xMsProposedLeaseId?: string; + /** + * @member {string} [ifMatch] Optional. An ETag value. Specify this header + * to perform the operation only if the resource's ETag matches the value + * specified. The ETag must be specified in quotes. + */ + ifMatch?: string; + /** + * @member {string} [ifNoneMatch] Optional. An ETag value or the special + * wildcard ("*") value. Specify this header to perform the operation only if + * the resource's ETag does not match the value specified. The ETag must be + * specified in quotes. + */ + ifNoneMatch?: string; + /** + * @member {string} [ifModifiedSince] Optional. A date and time value. + * Specify this header to perform the operation only if the resource has been + * modified since the specified date and time. + */ + ifModifiedSince?: string; + /** + * @member {string} [ifUnmodifiedSince] Optional. A date and time value. + * Specify this header to perform the operation only if the resource has not + * been modified since the specified date and time. + */ + ifUnmodifiedSince?: string; + /** + * @member {string} [xMsClientRequestId] A UUID recorded in the analytics + * logs for troubleshooting and correlation. + */ + xMsClientRequestId?: string; + /** + * @member {number} [timeoutParameter] An optional operation timeout value in + * seconds. The period begins when the request is received by the service. If + * the timeout value elapses before the operation completes, the operation + * fails. + */ + timeoutParameter?: number; + /** + * @member {string} [xMsDate] Specifies the Coordinated Universal Time (UTC) + * for the request. This is required when using shared key authorization. + */ + xMsDate?: string; +} + +/** + * @interface + * An interface representing PathReadOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface PathReadOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [range] The HTTP Range request header specifies one or + * more byte ranges of the resource to be retrieved. + */ + range?: string; + /** + * @member {string} [ifMatch] Optional. An ETag value. Specify this header + * to perform the operation only if the resource's ETag matches the value + * specified. The ETag must be specified in quotes. + */ + ifMatch?: string; + /** + * @member {string} [ifNoneMatch] Optional. An ETag value or the special + * wildcard ("*") value. Specify this header to perform the operation only if + * the resource's ETag does not match the value specified. The ETag must be + * specified in quotes. + */ + ifNoneMatch?: string; + /** + * @member {string} [ifModifiedSince] Optional. A date and time value. + * Specify this header to perform the operation only if the resource has been + * modified since the specified date and time. + */ + ifModifiedSince?: string; + /** + * @member {string} [ifUnmodifiedSince] Optional. A date and time value. + * Specify this header to perform the operation only if the resource has not + * been modified since the specified date and time. + */ + ifUnmodifiedSince?: string; + /** + * @member {string} [xMsClientRequestId] A UUID recorded in the analytics + * logs for troubleshooting and correlation. + */ + xMsClientRequestId?: string; + /** + * @member {number} [timeoutParameter] An optional operation timeout value in + * seconds. The period begins when the request is received by the service. If + * the timeout value elapses before the operation completes, the operation + * fails. + */ + timeoutParameter?: number; + /** + * @member {string} [xMsDate] Specifies the Coordinated Universal Time (UTC) + * for the request. This is required when using shared key authorization. + */ + xMsDate?: string; +} + +/** + * @interface + * An interface representing PathGetPropertiesOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface PathGetPropertiesOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {PathGetPropertiesAction} [action] Optional. If the value is + * "getAccessControl" the access control list is returned in the response + * headers (Hierarchical Namespace must be enabled for the account). Possible + * values include: 'getAccessControl' + */ + action?: PathGetPropertiesAction; + /** + * @member {string} [ifMatch] Optional. An ETag value. Specify this header + * to perform the operation only if the resource's ETag matches the value + * specified. The ETag must be specified in quotes. + */ + ifMatch?: string; + /** + * @member {string} [ifNoneMatch] Optional. An ETag value or the special + * wildcard ("*") value. Specify this header to perform the operation only if + * the resource's ETag does not match the value specified. The ETag must be + * specified in quotes. + */ + ifNoneMatch?: string; + /** + * @member {string} [ifModifiedSince] Optional. A date and time value. + * Specify this header to perform the operation only if the resource has been + * modified since the specified date and time. + */ + ifModifiedSince?: string; + /** + * @member {string} [ifUnmodifiedSince] Optional. A date and time value. + * Specify this header to perform the operation only if the resource has not + * been modified since the specified date and time. + */ + ifUnmodifiedSince?: string; + /** + * @member {string} [xMsClientRequestId] A UUID recorded in the analytics + * logs for troubleshooting and correlation. + */ + xMsClientRequestId?: string; + /** + * @member {number} [timeoutParameter] An optional operation timeout value in + * seconds. The period begins when the request is received by the service. If + * the timeout value elapses before the operation completes, the operation + * fails. + */ + timeoutParameter?: number; + /** + * @member {string} [xMsDate] Specifies the Coordinated Universal Time (UTC) + * for the request. This is required when using shared key authorization. + */ + xMsDate?: string; +} + +/** + * @interface + * An interface representing PathDeleteMethodOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface PathDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {boolean} [recursive] Required and valid only when the resource is + * a directory. If "true", all paths beneath the directory will be deleted. + * If "false" and the directory is non-empty, an error occurs. + */ + recursive?: boolean; + /** + * @member {string} [continuation] Optional. When deleting a directory, the + * number of paths that are deleted with each invocation is limited. If the + * number of paths to be deleted exceeds this limit, a continuation token is + * returned in this response header. When a continuation token is returned + * in the response, it must be specified in a subsequent invocation of the + * delete operation to continue deleting the directory. + */ + continuation?: string; + /** + * @member {string} [xMsLeaseId] The lease ID must be specified if there is + * an active lease. + */ + xMsLeaseId?: string; + /** + * @member {string} [ifMatch] Optional. An ETag value. Specify this header + * to perform the operation only if the resource's ETag matches the value + * specified. The ETag must be specified in quotes. + */ + ifMatch?: string; + /** + * @member {string} [ifNoneMatch] Optional. An ETag value or the special + * wildcard ("*") value. Specify this header to perform the operation only if + * the resource's ETag does not match the value specified. The ETag must be + * specified in quotes. + */ + ifNoneMatch?: string; + /** + * @member {string} [ifModifiedSince] Optional. A date and time value. + * Specify this header to perform the operation only if the resource has been + * modified since the specified date and time. + */ + ifModifiedSince?: string; + /** + * @member {string} [ifUnmodifiedSince] Optional. A date and time value. + * Specify this header to perform the operation only if the resource has not + * been modified since the specified date and time. + */ + ifUnmodifiedSince?: string; + /** + * @member {string} [xMsClientRequestId] A UUID recorded in the analytics + * logs for troubleshooting and correlation. + */ + xMsClientRequestId?: string; + /** + * @member {number} [timeoutParameter] An optional operation timeout value in + * seconds. The period begins when the request is received by the service. If + * the timeout value elapses before the operation completes, the operation + * fails. + */ + timeoutParameter?: number; + /** + * @member {string} [xMsDate] Specifies the Coordinated Universal Time (UTC) + * for the request. This is required when using shared key authorization. + */ + xMsDate?: string; +} + +/** + * @interface + * An interface representing DataLakeStorageClientOptions. + * @extends AzureServiceClientOptions + */ +export interface DataLakeStorageClientOptions extends AzureServiceClientOptions { + /** + * @member {string} [xMsVersion] Specifies the version of the REST protocol + * used for processing the request. This is required when using shared key + * authorization. + */ + xMsVersion?: string; + /** + * @member {string} [dnsSuffix] The DNS suffix for the Azure Data Lake + * Storage endpoint. Default value: 'dfs.core.windows.net' . + */ + dnsSuffix?: string; +} + +/** + * @interface + * An interface representing FilesystemListHeaders. + * Defines headers for List operation. + * + */ +export interface FilesystemListHeaders { + /** + * @member {string} [date] A UTC date/time value generated by the service + * that indicates the time at which the response was initiated. + */ + date: string; + /** + * @member {string} [xMsRequestId] A server-generated UUID recorded in the + * analytics logs for troubleshooting and correlation. + */ + xMsRequestId: string; + /** + * @member {string} [xMsVersion] The version of the REST protocol used to + * process the request. + */ + xMsVersion: string; + /** + * @member {string} [xMsContinuation] If the number of filesystems to be + * listed exceeds the maxResults limit, a continuation token is returned in + * this response header. When a continuation token is returned in the + * response, it must be specified in a subsequent invocation of the list + * operation to continue listing the filesystems. + */ + xMsContinuation: string; + /** + * @member {string} [contentType] The content type of list filesystem + * response. The default content type is application/json. + */ + contentType: string; +} + +/** + * @interface + * An interface representing FilesystemCreateHeaders. + * Defines headers for Create operation. + * + */ +export interface FilesystemCreateHeaders { + /** + * @member {string} [date] A UTC date/time value generated by the service + * that indicates the time at which the response was initiated. + */ + date: string; + /** + * @member {string} [eTag] An HTTP entity tag associated with the filesystem. + */ + eTag: string; + /** + * @member {string} [lastModified] The data and time the filesystem was last + * modified. Operations on files and directories do not affect the last + * modified time. + */ + lastModified: string; + /** + * @member {string} [xMsRequestId] A server-generated UUID recorded in the + * analytics logs for troubleshooting and correlation. + */ + xMsRequestId: string; + /** + * @member {string} [xMsVersion] The version of the REST protocol used to + * process the request. + */ + xMsVersion: string; + /** + * @member {string} [xMsNamespaceEnabled] A bool string indicates whether the + * namespace feature is enabled. If "true", the namespace is enabled for the + * filesystem. + */ + xMsNamespaceEnabled: string; +} + +/** + * @interface + * An interface representing FilesystemSetPropertiesHeaders. + * Defines headers for SetProperties operation. + * + */ +export interface FilesystemSetPropertiesHeaders { + /** + * @member {string} [date] A UTC date/time value generated by the service + * that indicates the time at which the response was initiated. + */ + date: string; + /** + * @member {string} [eTag] An HTTP entity tag associated with the filesystem. + * Changes to filesystem properties affect the entity tag, but operations on + * files and directories do not. + */ + eTag: string; + /** + * @member {string} [lastModified] The data and time the filesystem was last + * modified. Changes to filesystem properties update the last modified time, + * but operations on files and directories do not. + */ + lastModified: string; + /** + * @member {string} [xMsRequestId] A server-generated UUID recorded in the + * analytics logs for troubleshooting and correlation. + */ + xMsRequestId: string; + /** + * @member {string} [xMsVersion] The version of the REST protocol used to + * process the request. + */ + xMsVersion: string; +} + +/** + * @interface + * An interface representing PathListHeaders. + * Defines headers for List operation. + * + */ +export interface PathListHeaders { + /** + * @member {string} [date] A UTC date/time value generated by the service + * that indicates the time at which the response was initiated. + */ + date: string; + /** + * @member {string} [eTag] An HTTP entity tag associated with the filesystem. + * Changes to filesystem properties affect the entity tag, but operations on + * files and directories do not. + */ + eTag: string; + /** + * @member {string} [lastModified] The data and time the filesystem was last + * modified. Changes to filesystem properties update the last modified time, + * but operations on files and directories do not. + */ + lastModified: string; + /** + * @member {string} [xMsRequestId] A server-generated UUID recorded in the + * analytics logs for troubleshooting and correlation. + */ + xMsRequestId: string; + /** + * @member {string} [xMsVersion] The version of the REST protocol used to + * process the request. + */ + xMsVersion: string; + /** + * @member {string} [xMsContinuation] If the number of paths to be listed + * exceeds the maxResults limit, a continuation token is returned in this + * response header. When a continuation token is returned in the response, + * it must be specified in a subsequent invocation of the list operation to + * continue listing the paths. + */ + xMsContinuation: string; +} + +/** + * @interface + * An interface representing FilesystemGetPropertiesHeaders. + * Defines headers for GetProperties operation. + * + */ +export interface FilesystemGetPropertiesHeaders { + /** + * @member {string} [date] A UTC date/time value generated by the service + * that indicates the time at which the response was initiated. + */ + date: string; + /** + * @member {string} [eTag] An HTTP entity tag associated with the filesystem. + * Changes to filesystem properties affect the entity tag, but operations on + * files and directories do not. + */ + eTag: string; + /** + * @member {string} [lastModified] The data and time the filesystem was last + * modified. Changes to filesystem properties update the last modified time, + * but operations on files and directories do not. + */ + lastModified: string; + /** + * @member {string} [xMsRequestId] A server-generated UUID recorded in the + * analytics logs for troubleshooting and correlation. + */ + xMsRequestId: string; + /** + * @member {string} [xMsVersion] The version of the REST protocol used to + * process the request. + */ + xMsVersion: string; + /** + * @member {string} [xMsProperties] The user-defined properties associated + * with the filesystem. A comma-separated list of name and value pairs in + * the format "n1=v1, n2=v2, ...", where each value is base64 encoded. + */ + xMsProperties: string; + /** + * @member {string} [xMsNamespaceEnabled] A bool string indicates whether the + * namespace feature is enabled. If "true", the namespace is enabled for the + * filesystem. + */ + xMsNamespaceEnabled: string; +} + +/** + * @interface + * An interface representing FilesystemDeleteHeaders. + * Defines headers for Delete operation. + * + */ +export interface FilesystemDeleteHeaders { + /** + * @member {string} [xMsRequestId] A server-generated UUID recorded in the + * analytics logs for troubleshooting and correlation. + */ + xMsRequestId: string; + /** + * @member {string} [xMsVersion] The version of the REST protocol used to + * process the request. + */ + xMsVersion: string; + /** + * @member {string} [date] A UTC date/time value generated by the service + * that indicates the time at which the response was initiated. + */ + date: string; +} + +/** + * @interface + * An interface representing PathCreateHeaders. + * Defines headers for Create operation. + * + */ +export interface PathCreateHeaders { + /** + * @member {string} [date] A UTC date/time value generated by the service + * that indicates the time at which the response was initiated. + */ + date: string; + /** + * @member {string} [eTag] An HTTP entity tag associated with the file or + * directory. + */ + eTag: string; + /** + * @member {string} [lastModified] The data and time the file or directory + * was last modified. Write operations on the file or directory update the + * last modified time. + */ + lastModified: string; + /** + * @member {string} [xMsRequestId] A server-generated UUID recorded in the + * analytics logs for troubleshooting and correlation. + */ + xMsRequestId: string; + /** + * @member {string} [xMsVersion] The version of the REST protocol used to + * process the request. + */ + xMsVersion: string; + /** + * @member {string} [xMsContinuation] When renaming a directory, the number + * of paths that are renamed with each invocation is limited. If the number + * of paths to be renamed exceeds this limit, a continuation token is + * returned in this response header. When a continuation token is returned + * in the response, it must be specified in a subsequent invocation of the + * rename operation to continue renaming the directory. + */ + xMsContinuation: string; + /** + * @member {string} [contentLength] The size of the resource in bytes. + */ + contentLength: string; +} + +/** + * @interface + * An interface representing PathUpdateHeaders. + * Defines headers for Update operation. + * + */ +export interface PathUpdateHeaders { + /** + * @member {string} [date] A UTC date/time value generated by the service + * that indicates the time at which the response was initiated. + */ + date: string; + /** + * @member {string} [eTag] An HTTP entity tag associated with the file or + * directory. + */ + eTag: string; + /** + * @member {string} [lastModified] The data and time the file or directory + * was last modified. Write operations on the file or directory update the + * last modified time. + */ + lastModified: string; + /** + * @member {string} [acceptRanges] Indicates that the service supports + * requests for partial file content. + */ + acceptRanges: string; + /** + * @member {string} [cacheControl] If the Cache-Control request header has + * previously been set for the resource, that value is returned in this + * header. + */ + cacheControl: string; + /** + * @member {string} [contentDisposition] If the Content-Disposition request + * header has previously been set for the resource, that value is returned in + * this header. + */ + contentDisposition: string; + /** + * @member {string} [contentEncoding] If the Content-Encoding request header + * has previously been set for the resource, that value is returned in this + * header. + */ + contentEncoding: string; + /** + * @member {string} [contentLanguage] If the Content-Language request header + * has previously been set for the resource, that value is returned in this + * header. + */ + contentLanguage: string; + /** + * @member {string} [contentLength] The size of the resource in bytes. + */ + contentLength: string; + /** + * @member {string} [contentRange] Indicates the range of bytes returned in + * the event that the client requested a subset of the file by setting the + * Range request header. + */ + contentRange: string; + /** + * @member {string} [contentType] The content type specified for the + * resource. If no content type was specified, the default content type is + * application/octet-stream. + */ + contentType: string; + /** + * @member {string} [xMsProperties] User-defined properties associated with + * the file or directory, in the format of a comma-separated list of name and + * value pairs "n1=v1, n2=v2, ...", where each value is base64 encoded. + */ + xMsProperties: string; + /** + * @member {string} [xMsRequestId] A server-generated UUID recorded in the + * analytics logs for troubleshooting and correlation. + */ + xMsRequestId: string; + /** + * @member {string} [xMsVersion] The version of the REST protocol used to + * process the request. + */ + xMsVersion: string; +} + +/** + * @interface + * An interface representing PathLeaseHeaders. + * Defines headers for Lease operation. + * + */ +export interface PathLeaseHeaders { + /** + * @member {string} [date] A UTC date/time value generated by the service + * that indicates the time at which the response was initiated. + */ + date: string; + /** + * @member {string} [eTag] An HTTP entity tag associated with the file or + * directory. + */ + eTag: string; + /** + * @member {string} [lastModified] The data and time the file or directory + * was last modified. Write operations on the file or directory update the + * last modified time. + */ + lastModified: string; + /** + * @member {string} [xMsRequestId] A server-generated UUID recorded in the + * analytics logs for troubleshooting and correlation. + */ + xMsRequestId: string; + /** + * @member {string} [xMsVersion] The version of the REST protocol used to + * process the request. + */ + xMsVersion: string; + /** + * @member {string} [xMsLeaseId] A successful "acquire" action returns the + * lease ID. + */ + xMsLeaseId: string; + /** + * @member {string} [xMsLeaseTime] The time remaining in the lease period in + * seconds. + */ + xMsLeaseTime: string; +} + +/** + * @interface + * An interface representing PathReadHeaders. + * Defines headers for Read operation. + * + */ +export interface PathReadHeaders { + /** + * @member {string} [acceptRanges] Indicates that the service supports + * requests for partial file content. + */ + acceptRanges: string; + /** + * @member {string} [cacheControl] If the Cache-Control request header has + * previously been set for the resource, that value is returned in this + * header. + */ + cacheControl: string; + /** + * @member {string} [contentDisposition] If the Content-Disposition request + * header has previously been set for the resource, that value is returned in + * this header. + */ + contentDisposition: string; + /** + * @member {string} [contentEncoding] If the Content-Encoding request header + * has previously been set for the resource, that value is returned in this + * header. + */ + contentEncoding: string; + /** + * @member {string} [contentLanguage] If the Content-Language request header + * has previously been set for the resource, that value is returned in this + * header. + */ + contentLanguage: string; + /** + * @member {string} [contentLength] The size of the resource in bytes. + */ + contentLength: string; + /** + * @member {string} [contentRange] Indicates the range of bytes returned in + * the event that the client requested a subset of the file by setting the + * Range request header. + */ + contentRange: string; + /** + * @member {string} [contentType] The content type specified for the + * resource. If no content type was specified, the default content type is + * application/octet-stream. + */ + contentType: string; + /** + * @member {string} [date] A UTC date/time value generated by the service + * that indicates the time at which the response was initiated. + */ + date: string; + /** + * @member {string} [eTag] An HTTP entity tag associated with the file or + * directory. + */ + eTag: string; + /** + * @member {string} [lastModified] The data and time the file or directory + * was last modified. Write operations on the file or directory update the + * last modified time. + */ + lastModified: string; + /** + * @member {string} [xMsRequestId] A server-generated UUID recorded in the + * analytics logs for troubleshooting and correlation. + */ + xMsRequestId: string; + /** + * @member {string} [xMsVersion] The version of the REST protocol used to + * process the request. + */ + xMsVersion: string; + /** + * @member {string} [xMsResourceType] The type of the resource. The value + * may be "file" or "directory". If not set, the value is "file". + */ + xMsResourceType: string; + /** + * @member {string} [xMsProperties] The user-defined properties associated + * with the file or directory, in the format of a comma-separated list of + * name and value pairs "n1=v1, n2=v2, ...", where each value is base64 + * encoded. + */ + xMsProperties: string; + /** + * @member {string} [xMsLeaseDuration] When a resource is leased, specifies + * whether the lease is of infinite or fixed duration. + */ + xMsLeaseDuration: string; + /** + * @member {string} [xMsLeaseState] Lease state of the resource. + */ + xMsLeaseState: string; + /** + * @member {string} [xMsLeaseStatus] The lease status of the resource. + */ + xMsLeaseStatus: string; +} + +/** + * @interface + * An interface representing PathGetPropertiesHeaders. + * Defines headers for GetProperties operation. + * + */ +export interface PathGetPropertiesHeaders { + /** + * @member {string} [acceptRanges] Indicates that the service supports + * requests for partial file content. + */ + acceptRanges: string; + /** + * @member {string} [cacheControl] If the Cache-Control request header has + * previously been set for the resource, that value is returned in this + * header. + */ + cacheControl: string; + /** + * @member {string} [contentDisposition] If the Content-Disposition request + * header has previously been set for the resource, that value is returned in + * this header. + */ + contentDisposition: string; + /** + * @member {string} [contentEncoding] If the Content-Encoding request header + * has previously been set for the resource, that value is returned in this + * header. + */ + contentEncoding: string; + /** + * @member {string} [contentLanguage] If the Content-Language request header + * has previously been set for the resource, that value is returned in this + * header. + */ + contentLanguage: string; + /** + * @member {string} [contentLength] The size of the resource in bytes. + */ + contentLength: string; + /** + * @member {string} [contentRange] Indicates the range of bytes returned in + * the event that the client requested a subset of the file by setting the + * Range request header. + */ + contentRange: string; + /** + * @member {string} [contentType] The content type specified for the + * resource. If no content type was specified, the default content type is + * application/octet-stream. + */ + contentType: string; + /** + * @member {string} [date] A UTC date/time value generated by the service + * that indicates the time at which the response was initiated. + */ + date: string; + /** + * @member {string} [eTag] An HTTP entity tag associated with the file or + * directory. + */ + eTag: string; + /** + * @member {string} [lastModified] The data and time the file or directory + * was last modified. Write operations on the file or directory update the + * last modified time. + */ + lastModified: string; + /** + * @member {string} [xMsRequestId] A server-generated UUID recorded in the + * analytics logs for troubleshooting and correlation. + */ + xMsRequestId: string; + /** + * @member {string} [xMsVersion] The version of the REST protocol used to + * process the request. + */ + xMsVersion: string; + /** + * @member {string} [xMsResourceType] The type of the resource. The value + * may be "file" or "directory". If not set, the value is "file". + */ + xMsResourceType: string; + /** + * @member {string} [xMsProperties] The user-defined properties associated + * with the file or directory, in the format of a comma-separated list of + * name and value pairs "n1=v1, n2=v2, ...", where each value is base64 + * encoded. + */ + xMsProperties: string; + /** + * @member {string} [xMsOwner] The owner of the file or directory. Included + * in the response if Hierarchical Namespace is enabled for the account. + */ + xMsOwner: string; + /** + * @member {string} [xMsGroup] The owning group of the file or directory. + * Included in the response if Hierarchical Namespace is enabled for the + * account. + */ + xMsGroup: string; + /** + * @member {string} [xMsPermissions] The POSIX access permissions for the + * file owner, the file owning group, and others. Included in the response if + * Hierarchical Namespace is enabled for the account. + */ + xMsPermissions: string; + /** + * @member {string} [xMsAcl] The POSIX access control list for the file or + * directory. Included in the response only if the action is + * "getAccessControl" and Hierarchical Namespace is enabled for the account. + */ + xMsAcl: string; + /** + * @member {string} [xMsLeaseDuration] When a resource is leased, specifies + * whether the lease is of infinite or fixed duration. + */ + xMsLeaseDuration: string; + /** + * @member {string} [xMsLeaseState] Lease state of the resource. + */ + xMsLeaseState: string; + /** + * @member {string} [xMsLeaseStatus] The lease status of the resource. + */ + xMsLeaseStatus: string; +} + +/** + * @interface + * An interface representing PathDeleteHeaders. + * Defines headers for Delete operation. + * + */ +export interface PathDeleteHeaders { + /** + * @member {string} [date] A UTC date/time value generated by the service + * that indicates the time at which the response was initiated. + */ + date: string; + /** + * @member {string} [xMsRequestId] A server-generated UUID recorded in the + * analytics logs for troubleshooting and correlation. + */ + xMsRequestId: string; + /** + * @member {string} [xMsVersion] The version of the REST protocol used to + * process the request. + */ + xMsVersion: string; + /** + * @member {string} [xMsContinuation] When deleting a directory, the number + * of paths that are deleted with each invocation is limited. If the number + * of paths to be deleted exceeds this limit, a continuation token is + * returned in this response header. When a continuation token is returned + * in the response, it must be specified in a subsequent invocation of the + * delete operation to continue deleting the directory. + */ + xMsContinuation: string; +} + + +/** + * @interface + * An interface representing the FilesystemList. + * @extends Array + */ +export interface FilesystemList extends Array { + /** + * @member {Filesystem[]} [filesystems] + */ + filesystems?: Filesystem[]; +} + +/** + * @interface + * An interface representing the PathList. + * @extends Array + */ +export interface PathList extends Array { + /** + * @member {Path[]} [paths] + */ + paths?: Path[]; +} + +/** + * Defines values for PathResourceType. + * Possible values include: 'directory', 'file' + * @readonly + * @enum {string} + */ +export type PathResourceType = 'directory' | 'file'; + +/** + * Defines values for PathRenameMode. + * Possible values include: 'legacy', 'posix' + * @readonly + * @enum {string} + */ +export type PathRenameMode = 'legacy' | 'posix'; + +/** + * Defines values for PathUpdateAction. + * Possible values include: 'append', 'flush', 'setProperties', 'setAccessControl' + * @readonly + * @enum {string} + */ +export type PathUpdateAction = 'append' | 'flush' | 'setProperties' | 'setAccessControl'; + +/** + * Defines values for PathUpdateLeaseAction. + * Possible values include: 'renew', 'release' + * @readonly + * @enum {string} + */ +export type PathUpdateLeaseAction = 'renew' | 'release'; + +/** + * Defines values for PathLeaseAction. + * Possible values include: 'acquire', 'break', 'change', 'renew', 'release' + * @readonly + * @enum {string} + */ +export type PathLeaseAction = 'acquire' | 'break' | 'change' | 'renew' | 'release'; + +/** + * Defines values for PathGetPropertiesAction. + * Possible values include: 'getAccessControl' + * @readonly + * @enum {string} + */ +export type PathGetPropertiesAction = 'getAccessControl'; + +/** + * Contains response data for the list operation. + */ +export type FilesystemListResponse = FilesystemList & FilesystemListHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: FilesystemListHeaders; + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: FilesystemList; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type FilesystemCreateResponse = FilesystemCreateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: FilesystemCreateHeaders; + }; +}; + +/** + * Contains response data for the setProperties operation. + */ +export type FilesystemSetPropertiesResponse = FilesystemSetPropertiesHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: FilesystemSetPropertiesHeaders; + }; +}; + +/** + * Contains response data for the getProperties operation. + */ +export type FilesystemGetPropertiesResponse = FilesystemGetPropertiesHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: FilesystemGetPropertiesHeaders; + }; +}; + +/** + * Contains response data for the deleteMethod operation. + */ +export type FilesystemDeleteResponse = FilesystemDeleteHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: FilesystemDeleteHeaders; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type PathListResponse = PathList & PathListHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PathListHeaders; + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PathList; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type PathCreateResponse = PathCreateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PathCreateHeaders; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type PathUpdateResponse = PathUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PathUpdateHeaders; + }; +}; + +/** + * Contains response data for the lease operation. + */ +export type PathLeaseResponse = PathLeaseHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PathLeaseHeaders; + }; +}; + +/** + * Contains response data for the read operation. + */ +export type PathReadResponse = PathReadHeaders & { + /** + * BROWSER ONLY + * + * The response body as a browser Blob. + * Always undefined in node.js. + */ + blobBody?: Promise; + /** + * NODEJS ONLY + * + * The response body as a node.js Readable stream. + * Always undefined in the browser. + */ + readableStreamBody?: NodeJS.ReadableStream; + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PathReadHeaders; + }; +}; + +/** + * Contains response data for the getProperties operation. + */ +export type PathGetPropertiesResponse = PathGetPropertiesHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PathGetPropertiesHeaders; + }; +}; + +/** + * Contains response data for the deleteMethod operation. + */ +export type PathDeleteResponse = PathDeleteHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PathDeleteHeaders; + }; +}; diff --git a/packages/@azure/storage-datalake/lib/models/mappers.ts b/packages/@azure/storage-datalake/lib/models/mappers.ts new file mode 100644 index 000000000000..dce3825c74be --- /dev/null +++ b/packages/@azure/storage-datalake/lib/models/mappers.ts @@ -0,0 +1,929 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +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; + +export const DataLakeStorageErrorError: msRest.CompositeMapper = { + serializedName: "DataLakeStorageError_error", + type: { + name: "Composite", + className: "DataLakeStorageErrorError", + modelProperties: { + code: { + serializedName: "code", + type: { + name: "String" + } + }, + message: { + serializedName: "message", + type: { + name: "String" + } + } + } + } +}; + +export const DataLakeStorageError: msRest.CompositeMapper = { + serializedName: "DataLakeStorageError", + type: { + name: "Composite", + className: "DataLakeStorageError", + modelProperties: { + error: { + serializedName: "error", + type: { + name: "Composite", + className: "DataLakeStorageErrorError" + } + } + } + } +}; + +export const Path: msRest.CompositeMapper = { + serializedName: "Path", + type: { + name: "Composite", + className: "Path", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + isDirectory: { + serializedName: "isDirectory", + defaultValue: false, + type: { + name: "Boolean" + } + }, + lastModified: { + serializedName: "lastModified", + type: { + name: "String" + } + }, + eTag: { + serializedName: "eTag", + type: { + name: "String" + } + }, + contentLength: { + serializedName: "contentLength", + type: { + name: "Number" + } + }, + owner: { + serializedName: "owner", + type: { + name: "String" + } + }, + group: { + serializedName: "group", + type: { + name: "String" + } + }, + permissions: { + serializedName: "permissions", + type: { + name: "String" + } + } + } + } +}; + +export const Filesystem: msRest.CompositeMapper = { + serializedName: "Filesystem", + type: { + name: "Composite", + className: "Filesystem", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "lastModified", + type: { + name: "String" + } + }, + eTag: { + serializedName: "eTag", + type: { + name: "String" + } + } + } + } +}; + +export const FilesystemListHeaders: msRest.CompositeMapper = { + serializedName: "filesystem-list-headers", + type: { + name: "Composite", + className: "FilesystemListHeaders", + modelProperties: { + date: { + serializedName: "date", + type: { + name: "String" + } + }, + xMsRequestId: { + serializedName: "x-ms-request-id", + type: { + name: "String" + } + }, + xMsVersion: { + serializedName: "x-ms-version", + type: { + name: "String" + } + }, + xMsContinuation: { + serializedName: "x-ms-continuation", + type: { + name: "String" + } + }, + contentType: { + serializedName: "content-type", + type: { + name: "String" + } + } + } + } +}; + +export const FilesystemCreateHeaders: msRest.CompositeMapper = { + serializedName: "filesystem-create-headers", + type: { + name: "Composite", + className: "FilesystemCreateHeaders", + modelProperties: { + date: { + serializedName: "date", + type: { + name: "String" + } + }, + eTag: { + serializedName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + type: { + name: "String" + } + }, + xMsRequestId: { + serializedName: "x-ms-request-id", + type: { + name: "String" + } + }, + xMsVersion: { + serializedName: "x-ms-version", + type: { + name: "String" + } + }, + xMsNamespaceEnabled: { + serializedName: "x-ms-namespace-enabled", + type: { + name: "String" + } + } + } + } +}; + +export const FilesystemSetPropertiesHeaders: msRest.CompositeMapper = { + serializedName: "filesystem-setproperties-headers", + type: { + name: "Composite", + className: "FilesystemSetPropertiesHeaders", + modelProperties: { + date: { + serializedName: "date", + type: { + name: "String" + } + }, + eTag: { + serializedName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + type: { + name: "String" + } + }, + xMsRequestId: { + serializedName: "x-ms-request-id", + type: { + name: "String" + } + }, + xMsVersion: { + serializedName: "x-ms-version", + type: { + name: "String" + } + } + } + } +}; + +export const PathListHeaders: msRest.CompositeMapper = { + serializedName: "path-list-headers", + type: { + name: "Composite", + className: "PathListHeaders", + modelProperties: { + date: { + serializedName: "date", + type: { + name: "String" + } + }, + eTag: { + serializedName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + type: { + name: "String" + } + }, + xMsRequestId: { + serializedName: "x-ms-request-id", + type: { + name: "String" + } + }, + xMsVersion: { + serializedName: "x-ms-version", + type: { + name: "String" + } + }, + xMsContinuation: { + serializedName: "x-ms-continuation", + type: { + name: "String" + } + } + } + } +}; + +export const FilesystemGetPropertiesHeaders: msRest.CompositeMapper = { + serializedName: "filesystem-getproperties-headers", + type: { + name: "Composite", + className: "FilesystemGetPropertiesHeaders", + modelProperties: { + date: { + serializedName: "date", + type: { + name: "String" + } + }, + eTag: { + serializedName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + type: { + name: "String" + } + }, + xMsRequestId: { + serializedName: "x-ms-request-id", + type: { + name: "String" + } + }, + xMsVersion: { + serializedName: "x-ms-version", + type: { + name: "String" + } + }, + xMsProperties: { + serializedName: "x-ms-properties", + type: { + name: "String" + } + }, + xMsNamespaceEnabled: { + serializedName: "x-ms-namespace-enabled", + type: { + name: "String" + } + } + } + } +}; + +export const FilesystemDeleteHeaders: msRest.CompositeMapper = { + serializedName: "filesystem-delete-headers", + type: { + name: "Composite", + className: "FilesystemDeleteHeaders", + modelProperties: { + xMsRequestId: { + serializedName: "x-ms-request-id", + type: { + name: "String" + } + }, + xMsVersion: { + serializedName: "x-ms-version", + type: { + name: "String" + } + }, + date: { + serializedName: "date", + type: { + name: "String" + } + } + } + } +}; + +export const PathCreateHeaders: msRest.CompositeMapper = { + serializedName: "path-create-headers", + type: { + name: "Composite", + className: "PathCreateHeaders", + modelProperties: { + date: { + serializedName: "date", + type: { + name: "String" + } + }, + eTag: { + serializedName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + type: { + name: "String" + } + }, + xMsRequestId: { + serializedName: "x-ms-request-id", + type: { + name: "String" + } + }, + xMsVersion: { + serializedName: "x-ms-version", + type: { + name: "String" + } + }, + xMsContinuation: { + serializedName: "x-ms-continuation", + type: { + name: "String" + } + }, + contentLength: { + serializedName: "content-length", + type: { + name: "String" + } + } + } + } +}; + +export const PathUpdateHeaders: msRest.CompositeMapper = { + serializedName: "path-update-headers", + type: { + name: "Composite", + className: "PathUpdateHeaders", + modelProperties: { + date: { + serializedName: "date", + type: { + name: "String" + } + }, + eTag: { + serializedName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + type: { + name: "String" + } + }, + acceptRanges: { + serializedName: "accept-ranges", + type: { + name: "String" + } + }, + cacheControl: { + serializedName: "cache-control", + type: { + name: "String" + } + }, + contentDisposition: { + serializedName: "content-disposition", + type: { + name: "String" + } + }, + contentEncoding: { + serializedName: "content-encoding", + type: { + name: "String" + } + }, + contentLanguage: { + serializedName: "content-language", + type: { + name: "String" + } + }, + contentLength: { + serializedName: "content-length", + type: { + name: "String" + } + }, + contentRange: { + serializedName: "content-range", + type: { + name: "String" + } + }, + contentType: { + serializedName: "content-type", + type: { + name: "String" + } + }, + xMsProperties: { + serializedName: "x-ms-properties", + type: { + name: "String" + } + }, + xMsRequestId: { + serializedName: "x-ms-request-id", + type: { + name: "String" + } + }, + xMsVersion: { + serializedName: "x-ms-version", + type: { + name: "String" + } + } + } + } +}; + +export const PathLeaseHeaders: msRest.CompositeMapper = { + serializedName: "path-lease-headers", + type: { + name: "Composite", + className: "PathLeaseHeaders", + modelProperties: { + date: { + serializedName: "date", + type: { + name: "String" + } + }, + eTag: { + serializedName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + type: { + name: "String" + } + }, + xMsRequestId: { + serializedName: "x-ms-request-id", + type: { + name: "String" + } + }, + xMsVersion: { + serializedName: "x-ms-version", + type: { + name: "String" + } + }, + xMsLeaseId: { + serializedName: "x-ms-lease-id", + type: { + name: "String" + } + }, + xMsLeaseTime: { + serializedName: "x-ms-lease-time", + type: { + name: "String" + } + } + } + } +}; + +export const PathReadHeaders: msRest.CompositeMapper = { + serializedName: "path-read-headers", + type: { + name: "Composite", + className: "PathReadHeaders", + modelProperties: { + acceptRanges: { + serializedName: "accept-ranges", + type: { + name: "String" + } + }, + cacheControl: { + serializedName: "cache-control", + type: { + name: "String" + } + }, + contentDisposition: { + serializedName: "content-disposition", + type: { + name: "String" + } + }, + contentEncoding: { + serializedName: "content-encoding", + type: { + name: "String" + } + }, + contentLanguage: { + serializedName: "content-language", + type: { + name: "String" + } + }, + contentLength: { + serializedName: "content-length", + type: { + name: "String" + } + }, + contentRange: { + serializedName: "content-range", + type: { + name: "String" + } + }, + contentType: { + serializedName: "content-type", + type: { + name: "String" + } + }, + date: { + serializedName: "date", + type: { + name: "String" + } + }, + eTag: { + serializedName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + type: { + name: "String" + } + }, + xMsRequestId: { + serializedName: "x-ms-request-id", + type: { + name: "String" + } + }, + xMsVersion: { + serializedName: "x-ms-version", + type: { + name: "String" + } + }, + xMsResourceType: { + serializedName: "x-ms-resource-type", + type: { + name: "String" + } + }, + xMsProperties: { + serializedName: "x-ms-properties", + type: { + name: "String" + } + }, + xMsLeaseDuration: { + serializedName: "x-ms-lease-duration", + type: { + name: "String" + } + }, + xMsLeaseState: { + serializedName: "x-ms-lease-state", + type: { + name: "String" + } + }, + xMsLeaseStatus: { + serializedName: "x-ms-lease-status", + type: { + name: "String" + } + } + } + } +}; + +export const PathGetPropertiesHeaders: msRest.CompositeMapper = { + serializedName: "path-getproperties-headers", + type: { + name: "Composite", + className: "PathGetPropertiesHeaders", + modelProperties: { + acceptRanges: { + serializedName: "accept-ranges", + type: { + name: "String" + } + }, + cacheControl: { + serializedName: "cache-control", + type: { + name: "String" + } + }, + contentDisposition: { + serializedName: "content-disposition", + type: { + name: "String" + } + }, + contentEncoding: { + serializedName: "content-encoding", + type: { + name: "String" + } + }, + contentLanguage: { + serializedName: "content-language", + type: { + name: "String" + } + }, + contentLength: { + serializedName: "content-length", + type: { + name: "String" + } + }, + contentRange: { + serializedName: "content-range", + type: { + name: "String" + } + }, + contentType: { + serializedName: "content-type", + type: { + name: "String" + } + }, + date: { + serializedName: "date", + type: { + name: "String" + } + }, + eTag: { + serializedName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + type: { + name: "String" + } + }, + xMsRequestId: { + serializedName: "x-ms-request-id", + type: { + name: "String" + } + }, + xMsVersion: { + serializedName: "x-ms-version", + type: { + name: "String" + } + }, + xMsResourceType: { + serializedName: "x-ms-resource-type", + type: { + name: "String" + } + }, + xMsProperties: { + serializedName: "x-ms-properties", + type: { + name: "String" + } + }, + xMsOwner: { + serializedName: "x-ms-owner", + type: { + name: "String" + } + }, + xMsGroup: { + serializedName: "x-ms-group", + type: { + name: "String" + } + }, + xMsPermissions: { + serializedName: "x-ms-permissions", + type: { + name: "String" + } + }, + xMsAcl: { + serializedName: "x-ms-acl", + type: { + name: "String" + } + }, + xMsLeaseDuration: { + serializedName: "x-ms-lease-duration", + type: { + name: "String" + } + }, + xMsLeaseState: { + serializedName: "x-ms-lease-state", + type: { + name: "String" + } + }, + xMsLeaseStatus: { + serializedName: "x-ms-lease-status", + type: { + name: "String" + } + } + } + } +}; + +export const PathDeleteHeaders: msRest.CompositeMapper = { + serializedName: "path-delete-headers", + type: { + name: "Composite", + className: "PathDeleteHeaders", + modelProperties: { + date: { + serializedName: "date", + type: { + name: "String" + } + }, + xMsRequestId: { + serializedName: "x-ms-request-id", + type: { + name: "String" + } + }, + xMsVersion: { + serializedName: "x-ms-version", + type: { + name: "String" + } + }, + xMsContinuation: { + serializedName: "x-ms-continuation", + type: { + name: "String" + } + } + } + } +}; + +export const FilesystemList: msRest.CompositeMapper = { + serializedName: "FilesystemList", + type: { + name: "Composite", + className: "FilesystemList", + modelProperties: { + filesystems: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Filesystem" + } + } + } + } + } + } +}; + +export const PathList: msRest.CompositeMapper = { + serializedName: "PathList", + type: { + name: "Composite", + className: "PathList", + modelProperties: { + paths: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Path" + } + } + } + } + } + } +}; diff --git a/packages/@azure/storage-datalake/lib/models/parameters.ts b/packages/@azure/storage-datalake/lib/models/parameters.ts new file mode 100644 index 000000000000..f95ad7a20a4f --- /dev/null +++ b/packages/@azure/storage-datalake/lib/models/parameters.ts @@ -0,0 +1,718 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; + +export const acceptLanguage: msRest.OperationParameter = { + parameterPath: "acceptLanguage", + mapper: { + serializedName: "accept-language", + defaultValue: 'en-US', + type: { + name: "String" + } + } +}; +export const accountName: msRest.OperationURLParameter = { + parameterPath: "accountName", + mapper: { + required: true, + serializedName: "accountName", + defaultValue: '', + type: { + name: "String" + } + }, + skipEncoding: true +}; +export const action0: msRest.OperationQueryParameter = { + parameterPath: "action", + mapper: { + required: true, + serializedName: "action", + type: { + name: "Enum", + allowedValues: [ + "append", + "flush", + "setProperties", + "setAccessControl" + ] + } + } +}; +export const action1: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "action" + ], + mapper: { + serializedName: "action", + type: { + name: "Enum", + allowedValues: [ + "getAccessControl" + ] + } + } +}; +export const cacheControl: msRest.OperationParameter = { + parameterPath: [ + "options", + "cacheControl" + ], + mapper: { + serializedName: "Cache-Control", + type: { + name: "String" + } + } +}; +export const contentDisposition: msRest.OperationParameter = { + parameterPath: [ + "options", + "contentDisposition" + ], + mapper: { + serializedName: "Content-Disposition", + type: { + name: "String" + } + } +}; +export const contentEncoding: msRest.OperationParameter = { + parameterPath: [ + "options", + "contentEncoding" + ], + mapper: { + serializedName: "Content-Encoding", + type: { + name: "String" + } + } +}; +export const contentLanguage: msRest.OperationParameter = { + parameterPath: [ + "options", + "contentLanguage" + ], + mapper: { + serializedName: "Content-Language", + type: { + name: "String" + } + } +}; +export const contentLength: msRest.OperationParameter = { + parameterPath: [ + "options", + "contentLength" + ], + mapper: { + serializedName: "Content-Length", + type: { + name: "String" + } + } +}; +export const continuation: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "continuation" + ], + mapper: { + serializedName: "continuation", + type: { + name: "String" + } + } +}; +export const directory: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "directory" + ], + mapper: { + serializedName: "directory", + type: { + name: "String" + } + } +}; +export const dnsSuffix: msRest.OperationURLParameter = { + parameterPath: "dnsSuffix", + mapper: { + required: true, + serializedName: "dnsSuffix", + defaultValue: 'dfs.core.windows.net', + type: { + name: "String" + } + }, + skipEncoding: true +}; +export const filesystem0: msRest.OperationURLParameter = { + parameterPath: "filesystem", + mapper: { + required: true, + serializedName: "filesystem", + type: { + name: "String" + } + } +}; +export const filesystem1: msRest.OperationURLParameter = { + parameterPath: "filesystem", + mapper: { + required: true, + serializedName: "filesystem", + constraints: { + MaxLength: 63, + MinLength: 3, + Pattern: /^[a-z0-9](?!.*--)[-a-z0-9]{1,61}[a-z0-9]$/ + }, + type: { + name: "String" + } + } +}; +export const ifMatch: msRest.OperationParameter = { + parameterPath: [ + "options", + "ifMatch" + ], + mapper: { + serializedName: "If-Match", + type: { + name: "String" + } + } +}; +export const ifModifiedSince: msRest.OperationParameter = { + parameterPath: [ + "options", + "ifModifiedSince" + ], + mapper: { + serializedName: "If-Modified-Since", + type: { + name: "String" + } + } +}; +export const ifNoneMatch: msRest.OperationParameter = { + parameterPath: [ + "options", + "ifNoneMatch" + ], + mapper: { + serializedName: "If-None-Match", + type: { + name: "String" + } + } +}; +export const ifUnmodifiedSince: msRest.OperationParameter = { + parameterPath: [ + "options", + "ifUnmodifiedSince" + ], + mapper: { + serializedName: "If-Unmodified-Since", + type: { + name: "String" + } + } +}; +export const maxResults: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "maxResults" + ], + mapper: { + serializedName: "maxResults", + constraints: { + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + } +}; +export const mode: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "mode" + ], + mapper: { + serializedName: "mode", + type: { + name: "Enum", + allowedValues: [ + "legacy", + "posix" + ] + } + } +}; +export const path: msRest.OperationURLParameter = { + parameterPath: "path", + mapper: { + required: true, + serializedName: "path", + type: { + name: "String" + } + } +}; +export const position: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "position" + ], + mapper: { + serializedName: "position", + type: { + name: "Number" + } + } +}; +export const prefix: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "prefix" + ], + mapper: { + serializedName: "prefix", + type: { + name: "String" + } + } +}; +export const range: msRest.OperationParameter = { + parameterPath: [ + "options", + "range" + ], + mapper: { + serializedName: "Range", + type: { + name: "String" + } + } +}; +export const recursive0: msRest.OperationQueryParameter = { + parameterPath: "recursive", + mapper: { + required: true, + serializedName: "recursive", + type: { + name: "Boolean" + } + } +}; +export const recursive1: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "recursive" + ], + mapper: { + serializedName: "recursive", + type: { + name: "Boolean" + } + } +}; +export const resource0: msRest.OperationQueryParameter = { + parameterPath: "resource", + mapper: { + required: true, + isConstant: true, + serializedName: "resource", + defaultValue: 'account', + type: { + name: "String" + } + } +}; +export const resource1: msRest.OperationQueryParameter = { + parameterPath: "resource", + mapper: { + required: true, + isConstant: true, + serializedName: "resource", + defaultValue: 'filesystem', + type: { + name: "String" + } + } +}; +export const resource2: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "resource" + ], + mapper: { + serializedName: "resource", + type: { + name: "Enum", + allowedValues: [ + "directory", + "file" + ] + } + } +}; +export const retainUncommittedData: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "retainUncommittedData" + ], + mapper: { + serializedName: "retainUncommittedData", + type: { + name: "Boolean" + } + } +}; +export const timeout: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "timeout" + ], + mapper: { + serializedName: "timeout", + constraints: { + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + } +}; +export const xMsAcl: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsAcl" + ], + mapper: { + serializedName: "x-ms-acl", + type: { + name: "String" + } + } +}; +export const xMsCacheControl: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsCacheControl" + ], + mapper: { + serializedName: "x-ms-cache-control", + type: { + name: "String" + } + } +}; +export const xMsClientRequestId: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsClientRequestId" + ], + mapper: { + serializedName: "x-ms-client-request-id", + constraints: { + Pattern: /^[{(]?[0-9a-f]{8}[-]?([0-9a-f]{4}[-]?){3}[0-9a-f]{12}[)}]?$/ + }, + type: { + name: "String" + } + } +}; +export const xMsContentDisposition: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsContentDisposition" + ], + mapper: { + serializedName: "x-ms-content-disposition", + type: { + name: "String" + } + } +}; +export const xMsContentEncoding: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsContentEncoding" + ], + mapper: { + serializedName: "x-ms-content-encoding", + type: { + name: "String" + } + } +}; +export const xMsContentLanguage: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsContentLanguage" + ], + mapper: { + serializedName: "x-ms-content-language", + type: { + name: "String" + } + } +}; +export const xMsContentType: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsContentType" + ], + mapper: { + serializedName: "x-ms-content-type", + type: { + name: "String" + } + } +}; +export const xMsDate: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsDate" + ], + mapper: { + serializedName: "x-ms-date", + type: { + name: "String" + } + } +}; +export const xMsGroup: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsGroup" + ], + mapper: { + serializedName: "x-ms-group", + type: { + name: "String" + } + } +}; +export const xMsLeaseAction0: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsLeaseAction" + ], + mapper: { + serializedName: "x-ms-lease-action", + type: { + name: "Enum", + allowedValues: [ + "renew", + "release" + ] + } + } +}; +export const xMsLeaseAction1: msRest.OperationParameter = { + parameterPath: "xMsLeaseAction", + mapper: { + required: true, + serializedName: "x-ms-lease-action", + type: { + name: "Enum", + allowedValues: [ + "acquire", + "break", + "change", + "renew", + "release" + ] + } + } +}; +export const xMsLeaseBreakPeriod: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsLeaseBreakPeriod" + ], + mapper: { + serializedName: "x-ms-lease-break-period", + type: { + name: "Number" + } + } +}; +export const xMsLeaseDuration: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsLeaseDuration" + ], + mapper: { + serializedName: "x-ms-lease-duration", + type: { + name: "Number" + } + } +}; +export const xMsLeaseId: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsLeaseId" + ], + mapper: { + serializedName: "x-ms-lease-id", + constraints: { + Pattern: /^[{(]?[0-9a-f]{8}[-]?([0-9a-f]{4}[-]?){3}[0-9a-f]{12}[)}]?$/ + }, + type: { + name: "String" + } + } +}; +export const xMsOwner: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsOwner" + ], + mapper: { + serializedName: "x-ms-owner", + type: { + name: "String" + } + } +}; +export const xMsPermissions: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsPermissions" + ], + mapper: { + serializedName: "x-ms-permissions", + type: { + name: "String" + } + } +}; +export const xMsProperties: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsProperties" + ], + mapper: { + serializedName: "x-ms-properties", + type: { + name: "String" + } + } +}; +export const xMsProposedLeaseId: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsProposedLeaseId" + ], + mapper: { + serializedName: "x-ms-proposed-lease-id", + constraints: { + Pattern: /^[{(]?[0-9a-f]{8}[-]?([0-9a-f]{4}[-]?){3}[0-9a-f]{12}[)}]?$/ + }, + type: { + name: "String" + } + } +}; +export const xMsRenameSource: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsRenameSource" + ], + mapper: { + serializedName: "x-ms-rename-source", + type: { + name: "String" + } + } +}; +export const xMsSourceIfMatch: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsSourceIfMatch" + ], + mapper: { + serializedName: "x-ms-source-if-match", + type: { + name: "String" + } + } +}; +export const xMsSourceIfModifiedSince: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsSourceIfModifiedSince" + ], + mapper: { + serializedName: "x-ms-source-if-modified-since", + type: { + name: "String" + } + } +}; +export const xMsSourceIfNoneMatch: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsSourceIfNoneMatch" + ], + mapper: { + serializedName: "x-ms-source-if-none-match", + type: { + name: "String" + } + } +}; +export const xMsSourceIfUnmodifiedSince: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsSourceIfUnmodifiedSince" + ], + mapper: { + serializedName: "x-ms-source-if-unmodified-since", + type: { + name: "String" + } + } +}; +export const xMsSourceLeaseId: msRest.OperationParameter = { + parameterPath: [ + "options", + "xMsSourceLeaseId" + ], + mapper: { + serializedName: "x-ms-source-lease-id", + constraints: { + Pattern: /^[{(]?[0-9a-f]{8}[-]?([0-9a-f]{4}[-]?){3}[0-9a-f]{12}[)}]?$/ + }, + type: { + name: "String" + } + } +}; +export const xMsVersion: msRest.OperationParameter = { + parameterPath: "xMsVersion", + mapper: { + serializedName: "x-ms-version", + type: { + name: "String" + } + } +}; diff --git a/packages/@azure/storage-datalake/lib/models/pathOperationsMappers.ts b/packages/@azure/storage-datalake/lib/models/pathOperationsMappers.ts new file mode 100644 index 000000000000..9f0ee87e9c4c --- /dev/null +++ b/packages/@azure/storage-datalake/lib/models/pathOperationsMappers.ts @@ -0,0 +1,24 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export { + PathList, + Path, + PathListHeaders, + DataLakeStorageError, + DataLakeStorageErrorError, + PathCreateHeaders, + PathUpdateHeaders, + PathLeaseHeaders, + PathReadHeaders, + PathGetPropertiesHeaders, + PathDeleteHeaders +} from "../models/mappers"; + diff --git a/packages/@azure/storage-datalake/lib/operations/filesystemOperations.ts b/packages/@azure/storage-datalake/lib/operations/filesystemOperations.ts new file mode 100644 index 000000000000..ab680feb277f --- /dev/null +++ b/packages/@azure/storage-datalake/lib/operations/filesystemOperations.ts @@ -0,0 +1,371 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/filesystemOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { DataLakeStorageClientContext } from "../dataLakeStorageClientContext"; + +/** Class representing a FilesystemOperations. */ +export class FilesystemOperations { + private readonly client: DataLakeStorageClientContext; + + /** + * Create a FilesystemOperations. + * @param {DataLakeStorageClientContext} client Reference to the service client. + */ + constructor(client: DataLakeStorageClientContext) { + this.client = client; + } + + /** + * List filesystems and their properties in given account. + * @summary List Filesystems + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: Models.FilesystemListOptionalParams): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: Models.FilesystemListOptionalParams, callback: msRest.ServiceCallback): void; + list(options?: Models.FilesystemListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Create a filesystem rooted at the specified location. If the filesystem already exists, the + * operation fails. This operation does not support conditional HTTP requests. + * @summary Create Filesystem + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param [options] The optional parameters + * @returns Promise + */ + create(filesystem: string, options?: Models.FilesystemCreateOptionalParams): Promise; + /** + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param callback The callback + */ + create(filesystem: string, callback: msRest.ServiceCallback): void; + /** + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param options The optional parameters + * @param callback The callback + */ + create(filesystem: string, options: Models.FilesystemCreateOptionalParams, callback: msRest.ServiceCallback): void; + create(filesystem: string, options?: Models.FilesystemCreateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + filesystem, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Set properties for the filesystem. This operation supports conditional HTTP requests. For more + * information, see [Specifying Conditional Headers for Blob Service + * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations). + * @summary Set Filesystem Properties + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param [options] The optional parameters + * @returns Promise + */ + setProperties(filesystem: string, options?: Models.FilesystemSetPropertiesOptionalParams): Promise; + /** + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param callback The callback + */ + setProperties(filesystem: string, callback: msRest.ServiceCallback): void; + /** + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param options The optional parameters + * @param callback The callback + */ + setProperties(filesystem: string, options: Models.FilesystemSetPropertiesOptionalParams, callback: msRest.ServiceCallback): void; + setProperties(filesystem: string, options?: Models.FilesystemSetPropertiesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + filesystem, + options + }, + setPropertiesOperationSpec, + callback) as Promise; + } + + /** + * All system and user-defined filesystem properties are specified in the response headers. + * @summary Get Filesystem Properties. + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param [options] The optional parameters + * @returns Promise + */ + getProperties(filesystem: string, options?: Models.FilesystemGetPropertiesOptionalParams): Promise; + /** + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param callback The callback + */ + getProperties(filesystem: string, callback: msRest.ServiceCallback): void; + /** + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param options The optional parameters + * @param callback The callback + */ + getProperties(filesystem: string, options: Models.FilesystemGetPropertiesOptionalParams, callback: msRest.ServiceCallback): void; + getProperties(filesystem: string, options?: Models.FilesystemGetPropertiesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + filesystem, + options + }, + getPropertiesOperationSpec, + callback) as Promise; + } + + /** + * Marks the filesystem for deletion. When a filesystem is deleted, a filesystem with the same + * identifier cannot be created for at least 30 seconds. While the filesystem is being deleted, + * attempts to create a filesystem with the same identifier will fail with status code 409 + * (Conflict), with the service returning additional error information indicating that the + * filesystem is being deleted. All other operations, including operations on any files or + * directories within the filesystem, will fail with status code 404 (Not Found) while the + * filesystem is being deleted. This operation supports conditional HTTP requests. For more + * information, see [Specifying Conditional Headers for Blob Service + * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations). + * @summary Delete Filesystem + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(filesystem: string, options?: Models.FilesystemDeleteMethodOptionalParams): Promise; + /** + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param callback The callback + */ + deleteMethod(filesystem: string, callback: msRest.ServiceCallback): void; + /** + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(filesystem: string, options: Models.FilesystemDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; + deleteMethod(filesystem: string, options?: Models.FilesystemDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + filesystem, + options + }, + deleteMethodOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + urlParameters: [ + Parameters.accountName, + Parameters.dnsSuffix + ], + queryParameters: [ + Parameters.resource0, + Parameters.prefix, + Parameters.continuation, + Parameters.maxResults, + Parameters.timeout + ], + headerParameters: [ + Parameters.xMsClientRequestId, + Parameters.xMsDate, + Parameters.xMsVersion, + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FilesystemList, + headersMapper: Mappers.FilesystemListHeaders + }, + default: { + bodyMapper: Mappers.DataLakeStorageError + } + }, + serializer +}; + +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "{filesystem}", + urlParameters: [ + Parameters.accountName, + Parameters.dnsSuffix, + Parameters.filesystem0 + ], + queryParameters: [ + Parameters.resource1, + Parameters.timeout + ], + headerParameters: [ + Parameters.xMsProperties, + Parameters.xMsClientRequestId, + Parameters.xMsDate, + Parameters.xMsVersion, + Parameters.acceptLanguage + ], + responses: { + 201: { + headersMapper: Mappers.FilesystemCreateHeaders + }, + default: { + bodyMapper: Mappers.DataLakeStorageError + } + }, + serializer +}; + +const setPropertiesOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "{filesystem}", + urlParameters: [ + Parameters.accountName, + Parameters.dnsSuffix, + Parameters.filesystem0 + ], + queryParameters: [ + Parameters.resource1, + Parameters.timeout + ], + headerParameters: [ + Parameters.xMsProperties, + Parameters.ifModifiedSince, + Parameters.ifUnmodifiedSince, + Parameters.xMsClientRequestId, + Parameters.xMsDate, + Parameters.xMsVersion, + Parameters.acceptLanguage + ], + responses: { + 200: { + headersMapper: Mappers.FilesystemSetPropertiesHeaders + }, + default: { + bodyMapper: Mappers.DataLakeStorageError + } + }, + serializer +}; + +const getPropertiesOperationSpec: msRest.OperationSpec = { + httpMethod: "HEAD", + path: "{filesystem}", + urlParameters: [ + Parameters.accountName, + Parameters.dnsSuffix, + Parameters.filesystem0 + ], + queryParameters: [ + Parameters.resource1, + Parameters.timeout + ], + headerParameters: [ + Parameters.xMsClientRequestId, + Parameters.xMsDate, + Parameters.xMsVersion, + Parameters.acceptLanguage + ], + responses: { + 200: { + headersMapper: Mappers.FilesystemGetPropertiesHeaders + }, + default: { + bodyMapper: Mappers.DataLakeStorageError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "{filesystem}", + urlParameters: [ + Parameters.accountName, + Parameters.dnsSuffix, + Parameters.filesystem0 + ], + queryParameters: [ + Parameters.resource1, + Parameters.timeout + ], + headerParameters: [ + Parameters.ifModifiedSince, + Parameters.ifUnmodifiedSince, + Parameters.xMsClientRequestId, + Parameters.xMsDate, + Parameters.xMsVersion, + Parameters.acceptLanguage + ], + responses: { + 202: { + headersMapper: Mappers.FilesystemDeleteHeaders + }, + default: { + bodyMapper: Mappers.DataLakeStorageError + } + }, + serializer +}; diff --git a/packages/@azure/storage-datalake/lib/operations/index.ts b/packages/@azure/storage-datalake/lib/operations/index.ts new file mode 100644 index 000000000000..800af8722474 --- /dev/null +++ b/packages/@azure/storage-datalake/lib/operations/index.ts @@ -0,0 +1,12 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +export * from "./filesystemOperations"; +export * from "./pathOperations"; diff --git a/packages/@azure/storage-datalake/lib/operations/pathOperations.ts b/packages/@azure/storage-datalake/lib/operations/pathOperations.ts new file mode 100644 index 000000000000..3ce0de97d7ec --- /dev/null +++ b/packages/@azure/storage-datalake/lib/operations/pathOperations.ts @@ -0,0 +1,669 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/pathOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { DataLakeStorageClientContext } from "../dataLakeStorageClientContext"; + +/** Class representing a PathOperations. */ +export class PathOperations { + private readonly client: DataLakeStorageClientContext; + + /** + * Create a PathOperations. + * @param {DataLakeStorageClientContext} client Reference to the service client. + */ + constructor(client: DataLakeStorageClientContext) { + this.client = client; + } + + /** + * List filesystem paths and their properties. + * @summary List Paths + * @param recursive If "true", all paths are listed; otherwise, only paths at the root of the + * filesystem are listed. If "directory" is specified, the list will only include paths that share + * the same root. + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param [options] The optional parameters + * @returns Promise + */ + list(recursive: boolean, filesystem: string, options?: Models.PathListOptionalParams): Promise; + /** + * @param recursive If "true", all paths are listed; otherwise, only paths at the root of the + * filesystem are listed. If "directory" is specified, the list will only include paths that share + * the same root. + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param callback The callback + */ + list(recursive: boolean, filesystem: string, callback: msRest.ServiceCallback): void; + /** + * @param recursive If "true", all paths are listed; otherwise, only paths at the root of the + * filesystem are listed. If "directory" is specified, the list will only include paths that share + * the same root. + * @param filesystem The filesystem identifier. The value must start and end with a letter or + * number and must contain only letters, numbers, and the dash (-) character. Consecutive dashes + * are not permitted. All letters must be lowercase. The value must have between 3 and 63 + * characters. + * @param options The optional parameters + * @param callback The callback + */ + list(recursive: boolean, filesystem: string, options: Models.PathListOptionalParams, callback: msRest.ServiceCallback): void; + list(recursive: boolean, filesystem: string, options?: Models.PathListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + recursive, + filesystem, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Create or rename a file or directory. By default, the destination is overwritten and if the + * destination already exists and has a lease the lease is broken. This operation supports + * conditional HTTP requests. For more information, see [Specifying Conditional Headers for Blob + * Service + * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations). + * To fail if the destination already exists, use a conditional request with If-None-Match: "*". + * @summary Create File | Create Directory | Rename File | Rename Directory + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param [options] The optional parameters + * @returns Promise + */ + create(filesystem: string, path: string, options?: Models.PathCreateOptionalParams): Promise; + /** + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param callback The callback + */ + create(filesystem: string, path: string, callback: msRest.ServiceCallback): void; + /** + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param options The optional parameters + * @param callback The callback + */ + create(filesystem: string, path: string, options: Models.PathCreateOptionalParams, callback: msRest.ServiceCallback): void; + create(filesystem: string, path: string, options?: Models.PathCreateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + filesystem, + path, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Uploads data to be appended to a file, flushes (writes) previously uploaded data to a file, sets + * properties for a file or directory, or sets access control for a file or directory. Data can + * only be appended to a file. This operation supports conditional HTTP requests. For more + * information, see [Specifying Conditional Headers for Blob Service + * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations). + * @summary Append Data | Flush Data | Set Properties | Set Access Control + * @param action The action must be "append" to upload data to be appended to a file, "flush" to + * flush previously uploaded data to a file, "setProperties" to set the properties of a file or + * directory, or "setAccessControl" to set the owner, group, permissions, or access control list + * for a file or directory. Note that Hierarchical Namespace must be enabled for the account in + * order to use access control. Also note that the Access Control List (ACL) includes permissions + * for the owner, owning group, and others, so the x-ms-permissions and x-ms-acl request headers + * are mutually exclusive. Possible values include: 'append', 'flush', 'setProperties', + * 'setAccessControl' + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param [options] The optional parameters + * @returns Promise + */ + update(action: Models.PathUpdateAction, filesystem: string, path: string, options?: Models.PathUpdateOptionalParams): Promise; + /** + * @param action The action must be "append" to upload data to be appended to a file, "flush" to + * flush previously uploaded data to a file, "setProperties" to set the properties of a file or + * directory, or "setAccessControl" to set the owner, group, permissions, or access control list + * for a file or directory. Note that Hierarchical Namespace must be enabled for the account in + * order to use access control. Also note that the Access Control List (ACL) includes permissions + * for the owner, owning group, and others, so the x-ms-permissions and x-ms-acl request headers + * are mutually exclusive. Possible values include: 'append', 'flush', 'setProperties', + * 'setAccessControl' + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param callback The callback + */ + update(action: Models.PathUpdateAction, filesystem: string, path: string, callback: msRest.ServiceCallback): void; + /** + * @param action The action must be "append" to upload data to be appended to a file, "flush" to + * flush previously uploaded data to a file, "setProperties" to set the properties of a file or + * directory, or "setAccessControl" to set the owner, group, permissions, or access control list + * for a file or directory. Note that Hierarchical Namespace must be enabled for the account in + * order to use access control. Also note that the Access Control List (ACL) includes permissions + * for the owner, owning group, and others, so the x-ms-permissions and x-ms-acl request headers + * are mutually exclusive. Possible values include: 'append', 'flush', 'setProperties', + * 'setAccessControl' + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param options The optional parameters + * @param callback The callback + */ + update(action: Models.PathUpdateAction, filesystem: string, path: string, options: Models.PathUpdateOptionalParams, callback: msRest.ServiceCallback): void; + update(action: Models.PathUpdateAction, filesystem: string, path: string, options?: Models.PathUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + action, + filesystem, + path, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Create and manage a lease to restrict write and delete access to the path. This operation + * supports conditional HTTP requests. For more information, see [Specifying Conditional Headers + * for Blob Service + * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations). + * @summary Lease Path + * @param xMsLeaseAction There are five lease actions: "acquire", "break", "change", "renew", and + * "release". Use "acquire" and specify the "x-ms-proposed-lease-id" and "x-ms-lease-duration" to + * acquire a new lease. Use "break" to break an existing lease. When a lease is broken, the lease + * break period is allowed to elapse, during which time no lease operation except break and release + * can be performed on the file. When a lease is successfully broken, the response indicates the + * interval in seconds until a new lease can be acquired. Use "change" and specify the current + * lease ID in "x-ms-lease-id" and the new lease ID in "x-ms-proposed-lease-id" to change the lease + * ID of an active lease. Use "renew" and specify the "x-ms-lease-id" to renew an existing lease. + * Use "release" and specify the "x-ms-lease-id" to release a lease. Possible values include: + * 'acquire', 'break', 'change', 'renew', 'release' + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param [options] The optional parameters + * @returns Promise + */ + lease(xMsLeaseAction: Models.PathLeaseAction, filesystem: string, path: string, options?: Models.PathLeaseOptionalParams): Promise; + /** + * @param xMsLeaseAction There are five lease actions: "acquire", "break", "change", "renew", and + * "release". Use "acquire" and specify the "x-ms-proposed-lease-id" and "x-ms-lease-duration" to + * acquire a new lease. Use "break" to break an existing lease. When a lease is broken, the lease + * break period is allowed to elapse, during which time no lease operation except break and release + * can be performed on the file. When a lease is successfully broken, the response indicates the + * interval in seconds until a new lease can be acquired. Use "change" and specify the current + * lease ID in "x-ms-lease-id" and the new lease ID in "x-ms-proposed-lease-id" to change the lease + * ID of an active lease. Use "renew" and specify the "x-ms-lease-id" to renew an existing lease. + * Use "release" and specify the "x-ms-lease-id" to release a lease. Possible values include: + * 'acquire', 'break', 'change', 'renew', 'release' + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param callback The callback + */ + lease(xMsLeaseAction: Models.PathLeaseAction, filesystem: string, path: string, callback: msRest.ServiceCallback): void; + /** + * @param xMsLeaseAction There are five lease actions: "acquire", "break", "change", "renew", and + * "release". Use "acquire" and specify the "x-ms-proposed-lease-id" and "x-ms-lease-duration" to + * acquire a new lease. Use "break" to break an existing lease. When a lease is broken, the lease + * break period is allowed to elapse, during which time no lease operation except break and release + * can be performed on the file. When a lease is successfully broken, the response indicates the + * interval in seconds until a new lease can be acquired. Use "change" and specify the current + * lease ID in "x-ms-lease-id" and the new lease ID in "x-ms-proposed-lease-id" to change the lease + * ID of an active lease. Use "renew" and specify the "x-ms-lease-id" to renew an existing lease. + * Use "release" and specify the "x-ms-lease-id" to release a lease. Possible values include: + * 'acquire', 'break', 'change', 'renew', 'release' + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param options The optional parameters + * @param callback The callback + */ + lease(xMsLeaseAction: Models.PathLeaseAction, filesystem: string, path: string, options: Models.PathLeaseOptionalParams, callback: msRest.ServiceCallback): void; + lease(xMsLeaseAction: Models.PathLeaseAction, filesystem: string, path: string, options?: Models.PathLeaseOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + xMsLeaseAction, + filesystem, + path, + options + }, + leaseOperationSpec, + callback) as Promise; + } + + /** + * Read the contents of a file. For read operations, range requests are supported. This operation + * supports conditional HTTP requests. For more information, see [Specifying Conditional Headers + * for Blob Service + * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations). + * @summary Read File + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param [options] The optional parameters + * @returns Promise + */ + read(filesystem: string, path: string, options?: Models.PathReadOptionalParams): Promise; + /** + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param callback The callback + */ + read(filesystem: string, path: string, callback: msRest.ServiceCallback): void; + /** + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param options The optional parameters + * @param callback The callback + */ + read(filesystem: string, path: string, options: Models.PathReadOptionalParams, callback: msRest.ServiceCallback): void; + read(filesystem: string, path: string, options?: Models.PathReadOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + filesystem, + path, + options + }, + readOperationSpec, + callback) as Promise; + } + + /** + * Get the properties for a file or directory, and optionally include the access control list. + * This operation supports conditional HTTP requests. For more information, see [Specifying + * Conditional Headers for Blob Service + * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations). + * @summary Get Properties | Get Access Control List + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param [options] The optional parameters + * @returns Promise + */ + getProperties(filesystem: string, path: string, options?: Models.PathGetPropertiesOptionalParams): Promise; + /** + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param callback The callback + */ + getProperties(filesystem: string, path: string, callback: msRest.ServiceCallback): void; + /** + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param options The optional parameters + * @param callback The callback + */ + getProperties(filesystem: string, path: string, options: Models.PathGetPropertiesOptionalParams, callback: msRest.ServiceCallback): void; + getProperties(filesystem: string, path: string, options?: Models.PathGetPropertiesOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + filesystem, + path, + options + }, + getPropertiesOperationSpec, + callback) as Promise; + } + + /** + * Delete the file or directory. This operation supports conditional HTTP requests. For more + * information, see [Specifying Conditional Headers for Blob Service + * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations). + * @summary Delete File | Delete Directory + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(filesystem: string, path: string, options?: Models.PathDeleteMethodOptionalParams): Promise; + /** + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param callback The callback + */ + deleteMethod(filesystem: string, path: string, callback: msRest.ServiceCallback): void; + /** + * @param filesystem The filesystem identifier. + * @param path The file or directory path. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(filesystem: string, path: string, options: Models.PathDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; + deleteMethod(filesystem: string, path: string, options?: Models.PathDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + filesystem, + path, + options + }, + deleteMethodOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{filesystem}", + urlParameters: [ + Parameters.accountName, + Parameters.dnsSuffix, + Parameters.filesystem0 + ], + queryParameters: [ + Parameters.directory, + Parameters.recursive0, + Parameters.continuation, + Parameters.maxResults, + Parameters.resource1, + Parameters.timeout + ], + headerParameters: [ + Parameters.xMsClientRequestId, + Parameters.xMsDate, + Parameters.xMsVersion, + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PathList, + headersMapper: Mappers.PathListHeaders + }, + default: { + bodyMapper: Mappers.DataLakeStorageError + } + }, + serializer +}; + +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "{filesystem}/{path}", + urlParameters: [ + Parameters.accountName, + Parameters.dnsSuffix, + Parameters.filesystem1, + Parameters.path + ], + queryParameters: [ + Parameters.resource2, + Parameters.continuation, + Parameters.mode, + Parameters.timeout + ], + headerParameters: [ + Parameters.cacheControl, + Parameters.contentEncoding, + Parameters.contentLanguage, + Parameters.contentDisposition, + Parameters.xMsCacheControl, + Parameters.xMsContentType, + Parameters.xMsContentEncoding, + Parameters.xMsContentLanguage, + Parameters.xMsContentDisposition, + Parameters.xMsRenameSource, + Parameters.xMsLeaseId, + Parameters.xMsProposedLeaseId, + Parameters.xMsSourceLeaseId, + Parameters.xMsProperties, + Parameters.xMsPermissions, + Parameters.ifMatch, + Parameters.ifNoneMatch, + Parameters.ifModifiedSince, + Parameters.ifUnmodifiedSince, + Parameters.xMsSourceIfMatch, + Parameters.xMsSourceIfNoneMatch, + Parameters.xMsSourceIfModifiedSince, + Parameters.xMsSourceIfUnmodifiedSince, + Parameters.xMsClientRequestId, + Parameters.xMsDate, + Parameters.xMsVersion, + Parameters.acceptLanguage + ], + responses: { + 201: { + headersMapper: Mappers.PathCreateHeaders + }, + default: { + bodyMapper: Mappers.DataLakeStorageError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "{filesystem}/{path}", + urlParameters: [ + Parameters.accountName, + Parameters.dnsSuffix, + Parameters.filesystem1, + Parameters.path + ], + queryParameters: [ + Parameters.action0, + Parameters.position, + Parameters.retainUncommittedData, + Parameters.timeout + ], + headerParameters: [ + Parameters.contentLength, + Parameters.xMsLeaseAction0, + Parameters.xMsLeaseId, + Parameters.xMsCacheControl, + Parameters.xMsContentType, + Parameters.xMsContentDisposition, + Parameters.xMsContentEncoding, + Parameters.xMsContentLanguage, + Parameters.xMsProperties, + Parameters.xMsOwner, + Parameters.xMsGroup, + Parameters.xMsPermissions, + Parameters.xMsAcl, + Parameters.ifMatch, + Parameters.ifNoneMatch, + Parameters.ifModifiedSince, + Parameters.ifUnmodifiedSince, + Parameters.xMsClientRequestId, + Parameters.xMsDate, + Parameters.xMsVersion, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "requestBody" + ], + mapper: { + serializedName: "requestBody", + type: { + name: "Stream" + } + } + }, + contentType: "application/octet-stream", + responses: { + 200: { + headersMapper: Mappers.PathUpdateHeaders + }, + 202: { + headersMapper: Mappers.PathUpdateHeaders + }, + default: { + bodyMapper: Mappers.DataLakeStorageError + } + }, + serializer +}; + +const leaseOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "{filesystem}/{path}", + urlParameters: [ + Parameters.accountName, + Parameters.dnsSuffix, + Parameters.filesystem1, + Parameters.path + ], + queryParameters: [ + Parameters.timeout + ], + headerParameters: [ + Parameters.xMsLeaseAction1, + Parameters.xMsLeaseDuration, + Parameters.xMsLeaseBreakPeriod, + Parameters.xMsLeaseId, + Parameters.xMsProposedLeaseId, + Parameters.ifMatch, + Parameters.ifNoneMatch, + Parameters.ifModifiedSince, + Parameters.ifUnmodifiedSince, + Parameters.xMsClientRequestId, + Parameters.xMsDate, + Parameters.xMsVersion, + Parameters.acceptLanguage + ], + responses: { + 200: { + headersMapper: Mappers.PathLeaseHeaders + }, + 201: { + headersMapper: Mappers.PathLeaseHeaders + }, + 202: { + headersMapper: Mappers.PathLeaseHeaders + }, + default: { + bodyMapper: Mappers.DataLakeStorageError + } + }, + serializer +}; + +const readOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{filesystem}/{path}", + urlParameters: [ + Parameters.accountName, + Parameters.dnsSuffix, + Parameters.filesystem1, + Parameters.path + ], + queryParameters: [ + Parameters.timeout + ], + headerParameters: [ + Parameters.range, + Parameters.ifMatch, + Parameters.ifNoneMatch, + Parameters.ifModifiedSince, + Parameters.ifUnmodifiedSince, + Parameters.xMsClientRequestId, + Parameters.xMsDate, + Parameters.xMsVersion, + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Stream" + } + }, + headersMapper: Mappers.PathReadHeaders + }, + 206: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Stream" + } + }, + headersMapper: Mappers.PathReadHeaders + }, + default: { + bodyMapper: Mappers.DataLakeStorageError + } + }, + serializer +}; + +const getPropertiesOperationSpec: msRest.OperationSpec = { + httpMethod: "HEAD", + path: "{filesystem}/{path}", + urlParameters: [ + Parameters.accountName, + Parameters.dnsSuffix, + Parameters.filesystem1, + Parameters.path + ], + queryParameters: [ + Parameters.action1, + Parameters.timeout + ], + headerParameters: [ + Parameters.ifMatch, + Parameters.ifNoneMatch, + Parameters.ifModifiedSince, + Parameters.ifUnmodifiedSince, + Parameters.xMsClientRequestId, + Parameters.xMsDate, + Parameters.xMsVersion, + Parameters.acceptLanguage + ], + responses: { + 200: { + headersMapper: Mappers.PathGetPropertiesHeaders + }, + default: { + bodyMapper: Mappers.DataLakeStorageError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "{filesystem}/{path}", + urlParameters: [ + Parameters.accountName, + Parameters.dnsSuffix, + Parameters.filesystem1, + Parameters.path + ], + queryParameters: [ + Parameters.recursive1, + Parameters.continuation, + Parameters.timeout + ], + headerParameters: [ + Parameters.xMsLeaseId, + Parameters.ifMatch, + Parameters.ifNoneMatch, + Parameters.ifModifiedSince, + Parameters.ifUnmodifiedSince, + Parameters.xMsClientRequestId, + Parameters.xMsDate, + Parameters.xMsVersion, + Parameters.acceptLanguage + ], + responses: { + 200: { + headersMapper: Mappers.PathDeleteHeaders + }, + default: { + bodyMapper: Mappers.DataLakeStorageError + } + }, + serializer +}; diff --git a/packages/@azure/storage-datalake/package.json b/packages/@azure/storage-datalake/package.json new file mode 100644 index 000000000000..c62ed42e5eb4 --- /dev/null +++ b/packages/@azure/storage-datalake/package.json @@ -0,0 +1,55 @@ +{ + "name": "@azure/storage-datalake", + "author": "Microsoft Corporation", + "description": "DataLakeStorageClient 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", + "tslib": "^1.9.3" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "license": "MIT", + "main": "./dist/storage-datalake.js", + "module": "./esm/dataLakeStorageClient.js", + "types": "./esm/dataLakeStorageClient.d.ts", + "devDependencies": { + "typescript": "^3.1.1", + "rollup": "^0.66.2", + "rollup-plugin-node-resolve": "^3.4.0", + "uglify-js": "^3.4.9" + }, + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/packages/@azure/storage-datalake", + "repository": { + "type": "git", + "url": "https://github.com/azure/azure-sdk-for-js.git" + }, + "bugs": { + "url": "https://github.com/azure/azure-sdk-for-js/issues" + }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "esm/**/*.js", + "esm/**/*.js.map", + "esm/**/*.d.ts", + "esm/**/*.d.ts.map", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], + "scripts": { + "build": "tsc && rollup -c rollup.config.js && npm run minify", + "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/storage-datalake.js.map'\" -o ./dist/storage-datalake.min.js ./dist/storage-datalake.js", + "prepack": "npm install && npm run build" + }, + "sideEffects": false +} diff --git a/packages/@azure/arm-rediscache/rollup.config.js b/packages/@azure/storage-datalake/rollup.config.js similarity index 69% rename from packages/@azure/arm-rediscache/rollup.config.js rename to packages/@azure/storage-datalake/rollup.config.js index 556440c8b839..2674540c4a91 100644 --- a/packages/@azure/arm-rediscache/rollup.config.js +++ b/packages/@azure/storage-datalake/rollup.config.js @@ -3,16 +3,16 @@ import nodeResolve from "rollup-plugin-node-resolve"; * @type {import('rollup').RollupFileOptions} */ const config = { - input: './esm/redisManagementClient.js', - external: ["ms-rest-js", "ms-rest-azure-js"], + input: './esm/dataLakeStorageClient.js', + external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], output: { - file: "./dist/arm-rediscache.js", + file: "./dist/storage-datalake.js", format: "umd", - name: "Azure.ArmRediscache", + name: "Azure.StorageDatalake", 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/storage-datalake/tsconfig.json b/packages/@azure/storage-datalake/tsconfig.json new file mode 100644 index 000000000000..51ea90961ce5 --- /dev/null +++ b/packages/@azure/storage-datalake/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "es6", + "moduleResolution": "node", + "strict": true, + "target": "es5", + "sourceMap": true, + "declarationMap": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "lib": ["es6"], + "declaration": true, + "outDir": "./esm", + "importHelpers": true + }, + "include": ["./lib/**/*.ts"], + "exclude": ["node_modules"] +}