From 3f2d8db2e347f79dcae5dc4e9256a1419fd43d48 Mon Sep 17 00:00:00 2001 From: Jose Manuel Heredia Hidalgo Date: Tue, 27 Oct 2020 11:52:00 -0700 Subject: [PATCH] Handle composite and sequence mapper separately (#780) * Handle composite and sequence mapper separately * Update smoke tests --- src/generators/mappersGenerator.ts | 79 +- .../generated/arrayConstraints/LICENSE.txt | 21 + .../generated/arrayConstraints/README.md | 27 + .../arrayConstraints/api-extractor.json | 18 + .../generated/arrayConstraints/package.json | 48 + .../arrayConstraints/rollup.config.js | 39 + .../src/arrayConstraintsClient.ts | 110 + .../src/arrayConstraintsClientContext.ts | 57 + .../generated/arrayConstraints/src/index.ts | 11 + .../arrayConstraints/src/models/index.ts | 102 + .../arrayConstraints/src/models/mappers.ts | 30 + .../arrayConstraints/src/models/parameters.ts | 111 + .../generated/arrayConstraints/tsconfig.json | 19 + .../bodyArray/src/models/parameters.ts | 86 +- .../bodyComplex/src/models/mappers.ts | 34 +- .../bodyFormData/src/models/mappers.ts | 6 +- .../bodyFormData/src/models/parameters.ts | 6 +- .../customUrlPaging/src/models/mappers.ts | 7 +- .../mediaTypesV3/src/models/parameters.ts | 6 +- .../mediaTypesV3Lro/src/models/parameters.ts | 6 +- .../modelFlattening/src/models/mappers.ts | 5 +- .../modelFlattening/src/models/parameters.ts | 14 +- .../generated/paging/src/models/mappers.ts | 28 +- .../requiredOptional/src/models/mappers.ts | 12 +- .../requiredOptional/src/models/parameters.ts | 24 +- .../generated/url/src/models/parameters.ts | 30 +- .../validation/src/models/mappers.ts | 6 +- .../xmlservice/src/models/mappers.ts | 53 +- .../xmlservice/src/models/parameters.ts | 14 +- .../swaggers/arrayConstraints.json | 107 + .../src/models/mappers.ts | 57 +- .../src/models/mappers.ts | 14 +- .../src/models/mappers.ts | 14 +- .../src/models/mappers.ts | 17 +- .../src/models/mappers.ts | 17 +- .../src/models/mappers.ts | 55 +- .../src/models/mappers.ts | 149 +- .../src/models/mappers.ts | 39 +- .../src/models/mappers.ts | 637 ++++- .../src/models/mappers.ts | 311 ++- .../src/models/mappers.ts | 346 ++- .../src/models/mappers.ts | 101 +- .../monitor-data-plane/src/models/mappers.ts | 17 +- .../src/models/mappers.ts | 21 +- .../src/models/mappers.ts | 2238 ++++++++++++++--- .../src/models/mappers.ts | 636 ++++- .../src/models/mappers.ts | 238 +- .../src/models/mappers.ts | 1181 +++++++-- test/utils/test-swagger-gen.ts | 6 + 49 files changed, 6119 insertions(+), 1091 deletions(-) create mode 100644 test/integration/generated/arrayConstraints/LICENSE.txt create mode 100644 test/integration/generated/arrayConstraints/README.md create mode 100644 test/integration/generated/arrayConstraints/api-extractor.json create mode 100644 test/integration/generated/arrayConstraints/package.json create mode 100644 test/integration/generated/arrayConstraints/rollup.config.js create mode 100644 test/integration/generated/arrayConstraints/src/arrayConstraintsClient.ts create mode 100644 test/integration/generated/arrayConstraints/src/arrayConstraintsClientContext.ts create mode 100644 test/integration/generated/arrayConstraints/src/index.ts create mode 100644 test/integration/generated/arrayConstraints/src/models/index.ts create mode 100644 test/integration/generated/arrayConstraints/src/models/mappers.ts create mode 100644 test/integration/generated/arrayConstraints/src/models/parameters.ts create mode 100644 test/integration/generated/arrayConstraints/tsconfig.json create mode 100644 test/integration/swaggers/arrayConstraints.json diff --git a/src/generators/mappersGenerator.ts b/src/generators/mappersGenerator.ts index 2b15e2f16a..f09ff27652 100644 --- a/src/generators/mappersGenerator.ts +++ b/src/generators/mappersGenerator.ts @@ -14,12 +14,13 @@ import { Mapper, CompositeMapper, CompositeMapperType, + SequenceMapperType, PolymorphicDiscriminator, MapperConstraints } from "@azure/core-http"; import { ModelProperties } from "../transforms/mapperTransforms"; import { keys, isEmpty, isString, isNil, isEqual } from "lodash"; -import { getStringForValue } from "../utils/valueHelpers"; +import { getStringForValue, MapperTypes } from "../utils/valueHelpers"; import { PolymorphicObjectDetails, ObjectKind } from "../models/modelDetails"; import { logger } from "../utils/logger"; @@ -152,30 +153,84 @@ export function writeMapper(writer: CodeBlockWriter, mapper: Mapper) { // so we extract them from the type object. The remaining of the type // object we'll just write all its properties as they are using writeObjectProps const { type, defaultValue, constraints, ...restMapper } = mapper; - const { - modelProperties, - polymorphicDiscriminator, - ...restType - } = type as CompositeMapperType; + writer.block(() => { // we need to handle default value differently, since some types need to be // converted, such as ByteAttay, hence extracting it from the props - writeDefaultValue(writer, defaultValue, restType); + writeDefaultValue(writer, defaultValue, type); // Write mapper constraints writeMapperContraints(writer, constraints); // Writing the rest of the props writeObjectProps(restMapper, writer) .write("type:") .block(() => { - // Write all type properties that don't need special handling - writeObjectProps(restType, writer); - // Write type properties that need special handling - writePolymorphicDiscriminator(writer, polymorphicDiscriminator); - writeModelProperties(writer, parents, modelProperties); + // Write tipe properties for the current mapper + writeMapperType(writer, mapper.type, parents); }); }); } +/** + * Figures out if the mapper type to generate is a Sequence or Composite + * mapper type and generates it. + */ +function writeMapperType( + writer: CodeBlockWriter, + mapperType: MapperType, + parents: string[] +) { + if (isSequenceMapperType(mapperType)) { + return writeSequenceMapperType(writer, mapperType); + } + + return writeCompositeMapperType(writer, mapperType, parents); +} + +/** + * Check if a MapperType is a SequenceMapperType + */ +function isSequenceMapperType( + mapperType: MapperType +): mapperType is SequenceMapperType { + return (mapperType as SequenceMapperType).element !== undefined; +} + +/** + * Generates the type content for a CompositeMapperType + */ +function writeCompositeMapperType( + writer: CodeBlockWriter, + mapperType: MapperType, + parents: string[] +) { + const { + modelProperties, + polymorphicDiscriminator, + ...restType + } = mapperType as CompositeMapperType; + writeObjectProps(restType, writer); + // Write type properties that need special handling + writePolymorphicDiscriminator(writer, polymorphicDiscriminator); + writeModelProperties(writer, parents, modelProperties); +} + +/** + * Generates the type content for a SequenceMapperType + */ +function writeSequenceMapperType( + writer: CodeBlockWriter, + mapperType: MapperType +) { + const sequenceMapperType = mapperType as SequenceMapperType; + const { element } = sequenceMapperType; + if (!element) { + return writer; + } + writer.write(`name: "${MapperType.Sequence}",`); + writer.write("element:"); + return writeMapper(writer, element); +} + function writeMapperContraints( writer: CodeBlockWriter, constraints?: MapperConstraints diff --git a/test/integration/generated/arrayConstraints/LICENSE.txt b/test/integration/generated/arrayConstraints/LICENSE.txt new file mode 100644 index 0000000000..4c529f375c --- /dev/null +++ b/test/integration/generated/arrayConstraints/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 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. \ No newline at end of file diff --git a/test/integration/generated/arrayConstraints/README.md b/test/integration/generated/arrayConstraints/README.md new file mode 100644 index 0000000000..1f6972277d --- /dev/null +++ b/test/integration/generated/arrayConstraints/README.md @@ -0,0 +1,27 @@ +## Azure ArrayConstraintsClient SDK for JavaScript + +This package contains an isomorphic SDK for ArrayConstraintsClient. + +### Currently supported environments + +- Node.js version 8.x.x or higher +- Browser JavaScript + +### How to Install + +```bash +npm install array-constraints-client +``` + +### How to use + +#### Sample code + +Refer the sample code in the [azure-sdk-for-js-samples](https://github.com/Azure/azure-sdk-for-js-samples) repository. + +## Related projects + +- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) + + +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcdn%2Farm-cdn%2FREADME.png) \ No newline at end of file diff --git a/test/integration/generated/arrayConstraints/api-extractor.json b/test/integration/generated/arrayConstraints/api-extractor.json new file mode 100644 index 0000000000..5fb5b21b56 --- /dev/null +++ b/test/integration/generated/arrayConstraints/api-extractor.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "mainEntryPointFilePath": "./esm/index.d.ts", + "docModel": { "enabled": true }, + "apiReport": { "enabled": true, "reportFolder": "./review" }, + "dtsRollup": { + "enabled": true, + "untrimmedFilePath": "", + "publicTrimmedFilePath": "./esm/index.d.ts" + }, + "messages": { + "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "extractorMessageReporting": { + "ae-missing-release-tag": { "logLevel": "none" }, + "ae-unresolved-link": { "logLevel": "none" } + } + } +} diff --git a/test/integration/generated/arrayConstraints/package.json b/test/integration/generated/arrayConstraints/package.json new file mode 100644 index 0000000000..3ff36236da --- /dev/null +++ b/test/integration/generated/arrayConstraints/package.json @@ -0,0 +1,48 @@ +{ + "name": "array-constraints-client", + "author": "Microsoft Corporation", + "description": "A generated SDK for ArrayConstraintsClient.", + "version": "1.0.0-preview1", + "dependencies": { "@azure/core-http": "^1.1.4", "tslib": "^1.9.3" }, + "keywords": ["node", "azure", "typescript", "browser", "isomorphic"], + "license": "MIT", + "main": "./dist/array-constraints-client.js", + "module": "./esm/index.js", + "types": "./esm/index.d.ts", + "devDependencies": { + "typescript": "^3.1.1", + "rollup": "^0.66.2", + "rollup-plugin-node-resolve": "^3.4.0", + "rollup-plugin-sourcemaps": "^0.4.2", + "uglify-js": "^3.4.9", + "@microsoft/api-extractor": "7.9.10" + }, + "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" }, + "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", + "src/**/*.ts", + "README.md", + "rollup.config.js", + "tsconfig.json" + ], + "scripts": { + "build": "tsc && rollup -c rollup.config.js && npm run minify && npm run extract-api", + "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/array-constraints-client.js.map'\" -o ./dist/array-constraints-client.min.js ./dist/array-constraints-client.js", + "prepack": "npm install && npm run build", + "extract-api": "api-extractor run --local" + }, + "sideEffects": false, + "autoPublish": true +} diff --git a/test/integration/generated/arrayConstraints/rollup.config.js b/test/integration/generated/arrayConstraints/rollup.config.js new file mode 100644 index 0000000000..3e2f75b69c --- /dev/null +++ b/test/integration/generated/arrayConstraints/rollup.config.js @@ -0,0 +1,39 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import rollup from "rollup"; +import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + +/** + * @type {rollup.RollupFileOptions} + */ +const config = { + input: "./esm/arrayConstraintsClient.js", + external: ["@azure/core-http", "@azure/core-arm"], + output: { + file: "./dist/array-constraints-client.js", + format: "umd", + name: "ArrayConstraintsClient", + sourcemap: true, + globals: { + "@azure/core-http": "coreHttp", + "@azure/core-arm": "coreArm" + }, + 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 }), sourcemaps()] +}; + +export default config; diff --git a/test/integration/generated/arrayConstraints/src/arrayConstraintsClient.ts b/test/integration/generated/arrayConstraints/src/arrayConstraintsClient.ts new file mode 100644 index 0000000000..ee74f626bf --- /dev/null +++ b/test/integration/generated/arrayConstraints/src/arrayConstraintsClient.ts @@ -0,0 +1,110 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import * as coreHttp from "@azure/core-http"; +import * as Parameters from "./models/parameters"; +import * as Mappers from "./models/mappers"; +import { ArrayConstraintsClientContext } from "./arrayConstraintsClientContext"; +import { + ArrayConstraintsClientOptionalParams, + Enum0, + Product, + ArrayConstraintsClientPostValueOptionalParams, + ArrayConstraintsClientPostValueResponse, + ArrayConstraintsClientApiV1ValueGetOptionalParams, + ArrayConstraintsClientApiV1ValueGetResponse +} from "./models"; + +export class ArrayConstraintsClient extends ArrayConstraintsClientContext { + /** + * Initializes a new instance of the ArrayConstraintsClient class. + * @param $host server parameter + * @param apiVersion + * @param options The parameter options + */ + constructor( + $host: string, + apiVersion: Enum0, + options?: ArrayConstraintsClientOptionalParams + ) { + super($host, apiVersion, options); + } + + /** + * @param arrayBody array of complex type with [{'integer': 1 'string': '2'}, {'integer': 3, 'string': + * '4'}, {'integer': 5, 'string': '6'}] + * @param options The options parameters. + */ + postValue( + arrayBody: Product[], + options?: ArrayConstraintsClientPostValueOptionalParams + ): Promise { + const operationOptions: coreHttp.RequestOptionsBase = coreHttp.operationOptionsToRequestOptionsBase( + options || {} + ); + return this.sendOperationRequest( + { arrayBody, options: operationOptions }, + postValueOperationSpec + ) as Promise; + } + + /** + * @param options The options parameters. + */ + apiV1ValueGet( + options?: ArrayConstraintsClientApiV1ValueGetOptionalParams + ): Promise { + const operationOptions: coreHttp.RequestOptionsBase = coreHttp.operationOptionsToRequestOptionsBase( + options || {} + ); + return this.sendOperationRequest( + { options: operationOptions }, + apiV1ValueGetOperationSpec + ) as Promise; + } +} +// Operation Specifications + +const serializer = new coreHttp.Serializer(Mappers, /* isXml */ false); + +const postValueOperationSpec: coreHttp.OperationSpec = { + path: "/api/v1/value", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: { + type: { name: "Sequence", element: { type: { name: "String" } } } + } + } + }, + requestBody: Parameters.arrayBody, + queryParameters: [Parameters.pageRange], + urlParameters: [Parameters.$host], + headerParameters: [ + Parameters.contentType, + Parameters.accept, + Parameters.apiVersion + ], + mediaType: "json", + serializer +}; +const apiV1ValueGetOperationSpec: coreHttp.OperationSpec = { + path: "/api/v1/value", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: { + type: { name: "Sequence", element: { type: { name: "String" } } } + } + } + }, + queryParameters: [Parameters.pageRange], + urlParameters: [Parameters.$host], + headerParameters: [Parameters.apiVersion, Parameters.accept1], + serializer +}; diff --git a/test/integration/generated/arrayConstraints/src/arrayConstraintsClientContext.ts b/test/integration/generated/arrayConstraints/src/arrayConstraintsClientContext.ts new file mode 100644 index 0000000000..c226540f2d --- /dev/null +++ b/test/integration/generated/arrayConstraints/src/arrayConstraintsClientContext.ts @@ -0,0 +1,57 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import * as coreHttp from "@azure/core-http"; +import { Enum0, ArrayConstraintsClientOptionalParams } from "./models"; + +const packageName = "array-constraints-client"; +const packageVersion = "1.0.0-preview1"; + +export class ArrayConstraintsClientContext extends coreHttp.ServiceClient { + $host: string; + apiVersion: Enum0; + + /** + * Initializes a new instance of the ArrayConstraintsClientContext class. + * @param $host server parameter + * @param apiVersion + * @param options The parameter options + */ + constructor( + $host: string, + apiVersion: Enum0, + options?: ArrayConstraintsClientOptionalParams + ) { + if ($host === undefined) { + throw new Error("'$host' cannot be null"); + } + if (apiVersion === undefined) { + throw new Error("'apiVersion' cannot be null"); + } + + // Initializing default values for options + if (!options) { + options = {}; + } + + if (!options.userAgent) { + const defaultUserAgent = coreHttp.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + + super(undefined, options); + + this.requestContentType = "application/json; charset=utf-8"; + + this.baseUri = options.endpoint || "{$host}"; + + // Parameter assignments + this.$host = $host; + this.apiVersion = apiVersion; + } +} diff --git a/test/integration/generated/arrayConstraints/src/index.ts b/test/integration/generated/arrayConstraints/src/index.ts new file mode 100644 index 0000000000..1b3254ede2 --- /dev/null +++ b/test/integration/generated/arrayConstraints/src/index.ts @@ -0,0 +1,11 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export * from "./models"; +export { ArrayConstraintsClient } from "./arrayConstraintsClient"; +export { ArrayConstraintsClientContext } from "./arrayConstraintsClientContext"; diff --git a/test/integration/generated/arrayConstraints/src/models/index.ts b/test/integration/generated/arrayConstraints/src/models/index.ts new file mode 100644 index 0000000000..83e95fc46a --- /dev/null +++ b/test/integration/generated/arrayConstraints/src/models/index.ts @@ -0,0 +1,102 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import * as coreHttp from "@azure/core-http"; + +export interface Product { + integer?: number; + string?: string; +} + +/** + * Defines values for Enum0. + */ +export type Enum0 = "one" | "two" | string; + +/** + * Optional parameters. + */ +export interface ArrayConstraintsClientPostValueOptionalParams + extends coreHttp.OperationOptions { + /** + * Specify page number or range of page numbers to process, e.g: 1, 5, 7, 9-10 + */ + pageRange?: string[]; +} + +/** + * Contains response data for the postValue operation. + */ +export type ArrayConstraintsClientPostValueResponse = { + /** + * The parsed response body. + */ + body: string[]; + + /** + * The underlying HTTP response. + */ + _response: coreHttp.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: string[]; + }; +}; + +/** + * Optional parameters. + */ +export interface ArrayConstraintsClientApiV1ValueGetOptionalParams + extends coreHttp.OperationOptions { + /** + * Specify page number or range of page numbers to process, e.g: 1, 5, 7, 9-10 + */ + pageRange?: string[]; +} + +/** + * Contains response data for the apiV1ValueGet operation. + */ +export type ArrayConstraintsClientApiV1ValueGetResponse = { + /** + * The parsed response body. + */ + body: string[]; + + /** + * The underlying HTTP response. + */ + _response: coreHttp.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: string[]; + }; +}; + +/** + * Optional parameters. + */ +export interface ArrayConstraintsClientOptionalParams + extends coreHttp.ServiceClientOptions { + /** + * Overrides client endpoint. + */ + endpoint?: string; +} diff --git a/test/integration/generated/arrayConstraints/src/models/mappers.ts b/test/integration/generated/arrayConstraints/src/models/mappers.ts new file mode 100644 index 0000000000..35aae0b225 --- /dev/null +++ b/test/integration/generated/arrayConstraints/src/models/mappers.ts @@ -0,0 +1,30 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import * as coreHttp from "@azure/core-http"; + +export const Product: coreHttp.CompositeMapper = { + type: { + name: "Composite", + className: "Product", + modelProperties: { + integer: { + serializedName: "integer", + type: { + name: "Number" + } + }, + string: { + serializedName: "string", + type: { + name: "String" + } + } + } + } +}; diff --git a/test/integration/generated/arrayConstraints/src/models/parameters.ts b/test/integration/generated/arrayConstraints/src/models/parameters.ts new file mode 100644 index 0000000000..4f00cacaf8 --- /dev/null +++ b/test/integration/generated/arrayConstraints/src/models/parameters.ts @@ -0,0 +1,111 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + OperationParameter, + OperationURLParameter, + OperationQueryParameter, + QueryCollectionFormat +} from "@azure/core-http"; + +export const contentType: OperationParameter = { + parameterPath: ["options", "contentType"], + mapper: { + defaultValue: "application/json", + isConstant: true, + serializedName: "Content-Type", + type: { + name: "String" + } + } +}; + +export const arrayBody: OperationParameter = { + parameterPath: "arrayBody", + mapper: { + serializedName: "arrayBody", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Product" + } + } + } + } +}; + +export const accept: OperationParameter = { + parameterPath: "accept", + mapper: { + defaultValue: "application/json", + isConstant: true, + serializedName: "Accept", + type: { + name: "String" + } + } +}; + +export const $host: OperationURLParameter = { + parameterPath: "$host", + mapper: { + serializedName: "$host", + required: true, + type: { + name: "String" + } + }, + skipEncoding: true +}; + +export const apiVersion: OperationParameter = { + parameterPath: "apiVersion", + mapper: { + serializedName: "api-version", + required: true, + type: { + name: "String" + } + } +}; + +export const pageRange: OperationQueryParameter = { + parameterPath: ["options", "pageRange"], + mapper: { + serializedName: "pageRange", + type: { + name: "Sequence", + element: { + constraints: { + Pattern: new RegExp("^d+(-d+)?$"), + MaxLength: 24, + MinLength: 1 + }, + type: { + name: "String" + } + } + } + }, + collectionFormat: QueryCollectionFormat.Csv +}; + +export const accept1: OperationParameter = { + parameterPath: "accept", + mapper: { + defaultValue: "application/json", + isConstant: true, + serializedName: "Accept", + type: { + name: "String" + } + } +}; diff --git a/test/integration/generated/arrayConstraints/tsconfig.json b/test/integration/generated/arrayConstraints/tsconfig.json new file mode 100644 index 0000000000..422b584abd --- /dev/null +++ b/test/integration/generated/arrayConstraints/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", "dom"], + "declaration": true, + "outDir": "./esm", + "importHelpers": true + }, + "include": ["./src/**/*.ts"], + "exclude": ["node_modules"] +} diff --git a/test/integration/generated/bodyArray/src/models/parameters.ts b/test/integration/generated/bodyArray/src/models/parameters.ts index 590f6cab1a..f4a42c6f0c 100644 --- a/test/integration/generated/bodyArray/src/models/parameters.ts +++ b/test/integration/generated/bodyArray/src/models/parameters.ts @@ -51,7 +51,11 @@ export const arrayBody: OperationParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } }; @@ -75,7 +79,11 @@ export const arrayBody1: OperationParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "Boolean" } } + element: { + type: { + name: "Boolean" + } + } } } }; @@ -87,7 +95,11 @@ export const arrayBody2: OperationParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "Number" } } + element: { + type: { + name: "Number" + } + } } } }; @@ -100,7 +112,10 @@ export const arrayBody3: OperationParameter = { type: { name: "Sequence", element: { - type: { name: "Enum", allowedValues: ["foo1", "foo2", "foo3"] } + type: { + name: "Enum", + allowedValues: ["foo1", "foo2", "foo3"] + } } } } @@ -113,7 +128,11 @@ export const arrayBody4: OperationParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } }; @@ -125,7 +144,11 @@ export const arrayBody5: OperationParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "Uuid" } } + element: { + type: { + name: "Uuid" + } + } } } }; @@ -137,7 +160,11 @@ export const arrayBody6: OperationParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "Date" } } + element: { + type: { + name: "Date" + } + } } } }; @@ -149,7 +176,11 @@ export const arrayBody7: OperationParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "DateTime" } } + element: { + type: { + name: "DateTime" + } + } } } }; @@ -161,7 +192,11 @@ export const arrayBody8: OperationParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "DateTimeRfc1123" } } + element: { + type: { + name: "DateTimeRfc1123" + } + } } } }; @@ -173,7 +208,11 @@ export const arrayBody9: OperationParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "TimeSpan" } } + element: { + type: { + name: "TimeSpan" + } + } } } }; @@ -185,7 +224,11 @@ export const arrayBody10: OperationParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "ByteArray" } } + element: { + type: { + name: "ByteArray" + } + } } } }; @@ -197,7 +240,12 @@ export const arrayBody11: OperationParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Product" } } + element: { + type: { + name: "Composite", + className: "Product" + } + } } } }; @@ -210,7 +258,14 @@ export const arrayBody12: OperationParameter = { type: { name: "Sequence", element: { - type: { name: "Sequence", element: { type: { name: "String" } } } + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } @@ -224,7 +279,10 @@ export const arrayBody13: OperationParameter = { type: { name: "Sequence", element: { - type: { name: "Dictionary", value: { type: { name: "String" } } } + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } } } } diff --git a/test/integration/generated/bodyComplex/src/models/mappers.ts b/test/integration/generated/bodyComplex/src/models/mappers.ts index 0b8bb9c977..81ecbee1aa 100644 --- a/test/integration/generated/bodyComplex/src/models/mappers.ts +++ b/test/integration/generated/bodyComplex/src/models/mappers.ts @@ -292,7 +292,11 @@ export const ArrayWrapper: coreHttp.CompositeMapper = { serializedName: "array", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -371,7 +375,12 @@ export const Fish: coreHttp.CompositeMapper = { serializedName: "siblings", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Fish" } } + element: { + type: { + name: "Composite", + className: "Fish" + } + } } } } @@ -421,7 +430,12 @@ export const DotFishMarket: coreHttp.CompositeMapper = { serializedName: "salmons", type: { name: "Sequence", - element: { type: { name: "Composite", className: "DotSalmon" } } + element: { + type: { + name: "Composite", + className: "DotSalmon" + } + } } }, sampleFish: { @@ -435,7 +449,12 @@ export const DotFishMarket: coreHttp.CompositeMapper = { serializedName: "fishes", type: { name: "Sequence", - element: { type: { name: "Composite", className: "DotFish" } } + element: { + type: { + name: "Composite", + className: "DotFish" + } + } } } } @@ -529,7 +548,12 @@ export const Cat: coreHttp.CompositeMapper = { serializedName: "hates", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Dog" } } + element: { + type: { + name: "Composite", + className: "Dog" + } + } } } } diff --git a/test/integration/generated/bodyFormData/src/models/mappers.ts b/test/integration/generated/bodyFormData/src/models/mappers.ts index 710fd12e2f..7814db3392 100644 --- a/test/integration/generated/bodyFormData/src/models/mappers.ts +++ b/test/integration/generated/bodyFormData/src/models/mappers.ts @@ -64,7 +64,11 @@ export const Paths1P3Stk3FormdataStreamUploadfilesPostRequestbodyContentMultipar required: true, type: { name: "Sequence", - element: { type: { name: "Stream" } } + element: { + type: { + name: "Stream" + } + } } } } diff --git a/test/integration/generated/bodyFormData/src/models/parameters.ts b/test/integration/generated/bodyFormData/src/models/parameters.ts index 347bb01746..d6307eca72 100644 --- a/test/integration/generated/bodyFormData/src/models/parameters.ts +++ b/test/integration/generated/bodyFormData/src/models/parameters.ts @@ -108,7 +108,11 @@ export const fileContent2: OperationParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "Stream" } } + element: { + type: { + name: "Stream" + } + } } } }; diff --git a/test/integration/generated/customUrlPaging/src/models/mappers.ts b/test/integration/generated/customUrlPaging/src/models/mappers.ts index 8e10c0d6f5..2b5c38863d 100644 --- a/test/integration/generated/customUrlPaging/src/models/mappers.ts +++ b/test/integration/generated/customUrlPaging/src/models/mappers.ts @@ -17,7 +17,12 @@ export const ProductResult: coreHttp.CompositeMapper = { serializedName: "values", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Product" } } + element: { + type: { + name: "Composite", + className: "Product" + } + } } }, nextLink: { diff --git a/test/integration/generated/mediaTypesV3/src/models/parameters.ts b/test/integration/generated/mediaTypesV3/src/models/parameters.ts index 68935798ed..a2a64393a8 100644 --- a/test/integration/generated/mediaTypesV3/src/models/parameters.ts +++ b/test/integration/generated/mediaTypesV3/src/models/parameters.ts @@ -65,7 +65,11 @@ export const excluded: OperationQueryParameter = { serializedName: "excluded", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } }; diff --git a/test/integration/generated/mediaTypesV3Lro/src/models/parameters.ts b/test/integration/generated/mediaTypesV3Lro/src/models/parameters.ts index cd454a4d12..bbd448bdf6 100644 --- a/test/integration/generated/mediaTypesV3Lro/src/models/parameters.ts +++ b/test/integration/generated/mediaTypesV3Lro/src/models/parameters.ts @@ -100,7 +100,11 @@ export const excluded: OperationQueryParameter = { serializedName: "excluded", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } }; diff --git a/test/integration/generated/modelFlattening/src/models/mappers.ts b/test/integration/generated/modelFlattening/src/models/mappers.ts index 2cf7c2d69c..be33a02638 100644 --- a/test/integration/generated/modelFlattening/src/models/mappers.ts +++ b/test/integration/generated/modelFlattening/src/models/mappers.ts @@ -126,7 +126,10 @@ export const ResourceCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "FlattenedProduct" } + type: { + name: "Composite", + className: "FlattenedProduct" + } } } }, diff --git a/test/integration/generated/modelFlattening/src/models/parameters.ts b/test/integration/generated/modelFlattening/src/models/parameters.ts index da6a6f3a0d..f7e3a03513 100644 --- a/test/integration/generated/modelFlattening/src/models/parameters.ts +++ b/test/integration/generated/modelFlattening/src/models/parameters.ts @@ -30,7 +30,12 @@ export const resourceArray: OperationParameter = { serializedName: "resourceArray", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Resource" } } + element: { + type: { + name: "Composite", + className: "Resource" + } + } } } }; @@ -77,7 +82,12 @@ export const resourceArray1: OperationParameter = { serializedName: "resourceArray", type: { name: "Sequence", - element: { type: { name: "Composite", className: "WrappedProduct" } } + element: { + type: { + name: "Composite", + className: "WrappedProduct" + } + } } } }; diff --git a/test/integration/generated/paging/src/models/mappers.ts b/test/integration/generated/paging/src/models/mappers.ts index 715aed1622..b73725002b 100644 --- a/test/integration/generated/paging/src/models/mappers.ts +++ b/test/integration/generated/paging/src/models/mappers.ts @@ -17,7 +17,12 @@ export const ProductResultValue: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Product" } } + element: { + type: { + name: "Composite", + className: "Product" + } + } } }, nextLink: { @@ -76,7 +81,12 @@ export const ProductResult: coreHttp.CompositeMapper = { serializedName: "values", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Product" } } + element: { + type: { + name: "Composite", + className: "Product" + } + } } }, nextLink: { @@ -98,7 +108,12 @@ export const OdataProductResult: coreHttp.CompositeMapper = { serializedName: "values", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Product" } } + element: { + type: { + name: "Composite", + className: "Product" + } + } } }, odataNextLink: { @@ -120,7 +135,12 @@ export const ProductResultValueWithXMSClientName: coreHttp.CompositeMapper = { serializedName: "values", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Product" } } + element: { + type: { + name: "Composite", + className: "Product" + } + } } }, nextLink: { diff --git a/test/integration/generated/requiredOptional/src/models/mappers.ts b/test/integration/generated/requiredOptional/src/models/mappers.ts index 5c4668a56a..eaf6e54746 100644 --- a/test/integration/generated/requiredOptional/src/models/mappers.ts +++ b/test/integration/generated/requiredOptional/src/models/mappers.ts @@ -155,7 +155,11 @@ export const ArrayWrapper: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -171,7 +175,11 @@ export const ArrayOptionalWrapper: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } diff --git a/test/integration/generated/requiredOptional/src/models/parameters.ts b/test/integration/generated/requiredOptional/src/models/parameters.ts index 57be057b3c..f9fa467623 100644 --- a/test/integration/generated/requiredOptional/src/models/parameters.ts +++ b/test/integration/generated/requiredOptional/src/models/parameters.ts @@ -265,7 +265,11 @@ export const bodyParameter13: OperationParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } }; @@ -276,7 +280,11 @@ export const bodyParameter14: OperationParameter = { serializedName: "bodyParameter", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } }; @@ -298,7 +306,11 @@ export const headerParameter3: OperationParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } }; @@ -309,7 +321,11 @@ export const headerParameter4: OperationParameter = { serializedName: "headerParameter", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } }; diff --git a/test/integration/generated/url/src/models/parameters.ts b/test/integration/generated/url/src/models/parameters.ts index cd04ee210d..1bf4596522 100644 --- a/test/integration/generated/url/src/models/parameters.ts +++ b/test/integration/generated/url/src/models/parameters.ts @@ -316,7 +316,11 @@ export const arrayPath: OperationURLParameter = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } }; @@ -631,7 +635,11 @@ export const arrayQuery: OperationQueryParameter = { serializedName: "arrayQuery", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, collectionFormat: QueryCollectionFormat.Csv @@ -643,7 +651,11 @@ export const arrayQuery1: OperationQueryParameter = { serializedName: "arrayQuery", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, collectionFormat: QueryCollectionFormat.Ssv @@ -655,7 +667,11 @@ export const arrayQuery2: OperationQueryParameter = { serializedName: "arrayQuery", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, collectionFormat: QueryCollectionFormat.Tsv @@ -667,7 +683,11 @@ export const arrayQuery3: OperationQueryParameter = { serializedName: "arrayQuery", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, collectionFormat: QueryCollectionFormat.Pipes diff --git a/test/integration/generated/validation/src/models/mappers.ts b/test/integration/generated/validation/src/models/mappers.ts index a673cc648f..3e7ed20e54 100644 --- a/test/integration/generated/validation/src/models/mappers.ts +++ b/test/integration/generated/validation/src/models/mappers.ts @@ -21,7 +21,11 @@ export const Product: coreHttp.CompositeMapper = { serializedName: "display_names", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, capacity: { diff --git a/test/integration/generated/xmlservice/src/models/mappers.ts b/test/integration/generated/xmlservice/src/models/mappers.ts index 159586ad7b..0c70ded9a3 100644 --- a/test/integration/generated/xmlservice/src/models/mappers.ts +++ b/test/integration/generated/xmlservice/src/models/mappers.ts @@ -130,7 +130,12 @@ export const Slideshow: coreHttp.CompositeMapper = { xmlElementName: "slide", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Slide" } } + element: { + type: { + name: "Composite", + className: "Slide" + } + } } } } @@ -165,7 +170,11 @@ export const Slide: coreHttp.CompositeMapper = { xmlElementName: "item", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -209,7 +218,11 @@ export const AppleBarrel: coreHttp.CompositeMapper = { xmlElementName: "Apple", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, badApples: { @@ -219,7 +232,11 @@ export const AppleBarrel: coreHttp.CompositeMapper = { xmlElementName: "Apple", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -304,7 +321,12 @@ export const ListContainersResponse: coreHttp.CompositeMapper = { xmlElementName: "Container", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Container" } } + element: { + type: { + name: "Composite", + className: "Container" + } + } } }, nextMarker: { @@ -453,7 +475,12 @@ export const StorageServiceProperties: coreHttp.CompositeMapper = { xmlElementName: "CorsRule", type: { name: "Sequence", - element: { type: { name: "Composite", className: "CorsRule" } } + element: { + type: { + name: "Composite", + className: "CorsRule" + } + } } }, defaultServiceVersion: { @@ -796,7 +823,12 @@ export const Blobs: coreHttp.CompositeMapper = { xmlElementName: "BlobPrefix", type: { name: "Sequence", - element: { type: { name: "Composite", className: "BlobPrefix" } } + element: { + type: { + name: "Composite", + className: "BlobPrefix" + } + } } }, blob: { @@ -805,7 +837,12 @@ export const Blobs: coreHttp.CompositeMapper = { xmlElementName: "Blob", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Blob" } } + element: { + type: { + name: "Composite", + className: "Blob" + } + } } } } diff --git a/test/integration/generated/xmlservice/src/models/parameters.ts b/test/integration/generated/xmlservice/src/models/parameters.ts index 4b7fb4eca5..25131b8ba2 100644 --- a/test/integration/generated/xmlservice/src/models/parameters.ts +++ b/test/integration/generated/xmlservice/src/models/parameters.ts @@ -105,7 +105,12 @@ export const bananas: OperationParameter = { xmlElementName: "banana", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Banana" } } + element: { + type: { + name: "Composite", + className: "Banana" + } + } } } }; @@ -190,7 +195,12 @@ export const properties1: OperationParameter = { xmlElementName: "SignedIdentifier", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SignedIdentifier" } } + element: { + type: { + name: "Composite", + className: "SignedIdentifier" + } + } } } }; diff --git a/test/integration/swaggers/arrayConstraints.json b/test/integration/swaggers/arrayConstraints.json new file mode 100644 index 0000000000..5da4ce3bee --- /dev/null +++ b/test/integration/swaggers/arrayConstraints.json @@ -0,0 +1,107 @@ +{ + "swagger": "2.0", + "info": { + "version": "v1", + "title": "My API" + }, + "parameters": { + "globalApiVersion": { + "name": "api-version", + "in": "header", + "type": "string", + "enum": [ + "one", + "two" + ], + "required": true + } + }, + "paths": { + "/api/v1/value": { + "parameters": [ + { + "$ref": "#/parameters/globalApiVersion" + }, + { + "name": "pageRange", + "in": "query", + "description": "Specify page number or range of page numbers to process, e.g: 1, 5, 7, 9-10", + "type": "array", + "collectionFormat": "csv", + "items": { + "type": "string", + "pattern": "^\\d+(-\\d+)?$", + "minLength": 1, + "maxLength": 24 + } + } + ], + "post": { + "operationId": "PostValue", + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "arrayBody", + "in": "body", + "schema": { + "description": "array of complex type with [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, {'integer': 5, 'string': '6'}]", + "type": "array", + "items": { + "$ref": "#/definitions/Product" + } + }, + "required": true + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "get": { + "tags": [ + "ValueApi" + ], + "operationId": "ApiV1ValueGet", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "definitions": { + "Product": { + "type": "object", + "properties": { + "integer": { + "type": "integer" + }, + "string": { + "type": "string" + } + } + } + } +} \ No newline at end of file diff --git a/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/src/models/mappers.ts b/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/src/models/mappers.ts index 9de13a7ae8..c250455ce5 100644 --- a/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/src/models/mappers.ts +++ b/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/src/models/mappers.ts @@ -175,7 +175,12 @@ export const ErrorResponse: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ErrorResponse" } } + element: { + type: { + name: "Composite", + className: "ErrorResponse" + } + } } }, additionalInfo: { @@ -184,7 +189,10 @@ export const ErrorResponse: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ErrorAdditionalInfo" } + type: { + name: "Composite", + className: "ErrorAdditionalInfo" + } } } } @@ -225,7 +233,10 @@ export const DeploymentScriptListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DeploymentScript" } + type: { + name: "Composite", + className: "DeploymentScript" + } } } }, @@ -249,7 +260,12 @@ export const ScriptLogsList: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ScriptLog" } } + element: { + type: { + name: "Composite", + className: "ScriptLog" + } + } } } } @@ -413,7 +429,11 @@ export const ScriptConfigurationBase: coreHttp.CompositeMapper = { serializedName: "supportingScriptUris", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, scriptContent: { @@ -436,7 +456,10 @@ export const ScriptConfigurationBase: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "EnvironmentVariable" } + type: { + name: "Composite", + className: "EnvironmentVariable" + } } } }, @@ -673,7 +696,11 @@ export const AzurePowerShellScript: coreHttp.CompositeMapper = { serializedName: "properties.supportingScriptUris", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, scriptContent: { @@ -696,7 +723,10 @@ export const AzurePowerShellScript: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "EnvironmentVariable" } + type: { + name: "Composite", + className: "EnvironmentVariable" + } } } }, @@ -791,7 +821,11 @@ export const AzureCliScript: coreHttp.CompositeMapper = { serializedName: "properties.supportingScriptUris", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, scriptContent: { @@ -814,7 +848,10 @@ export const AzureCliScript: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "EnvironmentVariable" } + type: { + name: "Composite", + className: "EnvironmentVariable" + } } } }, diff --git a/test/smoke/generated/arm-package-features-2015-12/src/models/mappers.ts b/test/smoke/generated/arm-package-features-2015-12/src/models/mappers.ts index 8ed72aec42..75e6d22cfa 100644 --- a/test/smoke/generated/arm-package-features-2015-12/src/models/mappers.ts +++ b/test/smoke/generated/arm-package-features-2015-12/src/models/mappers.ts @@ -17,7 +17,12 @@ export const OperationListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Operation" } } + element: { + type: { + name: "Composite", + className: "Operation" + } + } } }, nextLink: { @@ -88,7 +93,12 @@ export const FeatureOperationsListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "FeatureResult" } } + element: { + type: { + name: "Composite", + className: "FeatureResult" + } + } } }, nextLink: { diff --git a/test/smoke/generated/arm-package-links-2016-09/src/models/mappers.ts b/test/smoke/generated/arm-package-links-2016-09/src/models/mappers.ts index f69cda22c7..55130858ad 100644 --- a/test/smoke/generated/arm-package-links-2016-09/src/models/mappers.ts +++ b/test/smoke/generated/arm-package-links-2016-09/src/models/mappers.ts @@ -17,7 +17,12 @@ export const OperationListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Operation" } } + element: { + type: { + name: "Composite", + className: "Operation" + } + } } }, nextLink: { @@ -161,7 +166,12 @@ export const ResourceLinkResult: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ResourceLink" } } + element: { + type: { + name: "Composite", + className: "ResourceLink" + } + } } }, nextLink: { diff --git a/test/smoke/generated/arm-package-locks-2016-09/src/models/mappers.ts b/test/smoke/generated/arm-package-locks-2016-09/src/models/mappers.ts index d73ebfb837..cb812019ce 100644 --- a/test/smoke/generated/arm-package-locks-2016-09/src/models/mappers.ts +++ b/test/smoke/generated/arm-package-locks-2016-09/src/models/mappers.ts @@ -17,7 +17,12 @@ export const OperationListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Operation" } } + element: { + type: { + name: "Composite", + className: "Operation" + } + } } }, nextLink: { @@ -123,7 +128,10 @@ export const ManagementLockObject: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ManagementLockOwner" } + type: { + name: "Composite", + className: "ManagementLockOwner" + } } } } @@ -156,7 +164,10 @@ export const ManagementLockListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ManagementLockObject" } + type: { + name: "Composite", + className: "ManagementLockObject" + } } } }, diff --git a/test/smoke/generated/arm-package-managedapplications-2018-06/src/models/mappers.ts b/test/smoke/generated/arm-package-managedapplications-2018-06/src/models/mappers.ts index ceee0e4e64..d76be454a7 100644 --- a/test/smoke/generated/arm-package-managedapplications-2018-06/src/models/mappers.ts +++ b/test/smoke/generated/arm-package-managedapplications-2018-06/src/models/mappers.ts @@ -259,7 +259,10 @@ export const ApplicationDefinitionListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ApplicationDefinition" } + type: { + name: "Composite", + className: "ApplicationDefinition" + } } } }, @@ -282,7 +285,12 @@ export const ApplicationListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Application" } } + element: { + type: { + name: "Composite", + className: "Application" + } + } } }, nextLink: { @@ -468,7 +476,10 @@ export const ApplicationDefinition: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ApplicationArtifact" } + type: { + name: "Composite", + className: "ApplicationArtifact" + } } } }, diff --git a/test/smoke/generated/arm-package-policy-2019-09/src/models/mappers.ts b/test/smoke/generated/arm-package-policy-2019-09/src/models/mappers.ts index 07949780be..95bac1e6bc 100644 --- a/test/smoke/generated/arm-package-policy-2019-09/src/models/mappers.ts +++ b/test/smoke/generated/arm-package-policy-2019-09/src/models/mappers.ts @@ -76,7 +76,11 @@ export const PolicyAssignment: coreHttp.CompositeMapper = { serializedName: "properties.notScopes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, parameters: { @@ -224,7 +228,12 @@ export const ErrorResponse: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ErrorResponse" } } + element: { + type: { + name: "Composite", + className: "ErrorResponse" + } + } } }, additionalInfo: { @@ -233,7 +242,10 @@ export const ErrorResponse: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ErrorAdditionalInfo" } + type: { + name: "Composite", + className: "ErrorAdditionalInfo" + } } } } @@ -274,7 +286,10 @@ export const PolicyAssignmentListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PolicyAssignment" } + type: { + name: "Composite", + className: "PolicyAssignment" + } } } }, @@ -378,7 +393,11 @@ export const ParameterDefinitionsValue: coreHttp.CompositeMapper = { serializedName: "allowedValues", type: { name: "Sequence", - element: { type: { name: "any" } } + element: { + type: { + name: "any" + } + } } }, defaultValue: { @@ -430,7 +449,10 @@ export const PolicyDefinitionListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PolicyDefinition" } + type: { + name: "Composite", + className: "PolicyDefinition" + } } } }, @@ -508,7 +530,10 @@ export const PolicySetDefinition: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PolicyDefinitionReference" } + type: { + name: "Composite", + className: "PolicyDefinitionReference" + } } } }, @@ -517,7 +542,10 @@ export const PolicySetDefinition: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PolicyDefinitionGroup" } + type: { + name: "Composite", + className: "PolicyDefinitionGroup" + } } } } @@ -556,7 +584,11 @@ export const PolicyDefinitionReference: coreHttp.CompositeMapper = { serializedName: "groupNames", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -613,7 +645,10 @@ export const PolicySetDefinitionListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PolicySetDefinition" } + type: { + name: "Composite", + className: "PolicySetDefinition" + } } } }, diff --git a/test/smoke/generated/arm-package-resources-2019-08/src/models/mappers.ts b/test/smoke/generated/arm-package-resources-2019-08/src/models/mappers.ts index d8f80729e0..d5723fe3b0 100644 --- a/test/smoke/generated/arm-package-resources-2019-08/src/models/mappers.ts +++ b/test/smoke/generated/arm-package-resources-2019-08/src/models/mappers.ts @@ -17,7 +17,12 @@ export const OperationListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Operation" } } + element: { + type: { + name: "Composite", + className: "Operation" + } + } } }, nextLink: { @@ -132,7 +137,12 @@ export const ErrorResponse: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ErrorResponse" } } + element: { + type: { + name: "Composite", + className: "ErrorResponse" + } + } } }, additionalInfo: { @@ -141,7 +151,10 @@ export const ErrorResponse: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ErrorAdditionalInfo" } + type: { + name: "Composite", + className: "ErrorAdditionalInfo" + } } } } @@ -418,14 +431,24 @@ export const DeploymentPropertiesExtended: coreHttp.CompositeMapper = { serializedName: "providers", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Provider" } } + element: { + type: { + name: "Composite", + className: "Provider" + } + } } }, dependencies: { serializedName: "dependencies", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Dependency" } } + element: { + type: { + name: "Composite", + className: "Dependency" + } + } } }, template: { @@ -517,7 +540,10 @@ export const Provider: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ProviderResourceType" } + type: { + name: "Composite", + className: "ProviderResourceType" + } } } } @@ -540,21 +566,34 @@ export const ProviderResourceType: coreHttp.CompositeMapper = { serializedName: "locations", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, aliases: { serializedName: "aliases", type: { name: "Sequence", - element: { type: { name: "Composite", className: "AliasType" } } + element: { + type: { + name: "Composite", + className: "AliasType" + } + } } }, apiVersions: { serializedName: "apiVersions", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, capabilities: { @@ -589,7 +628,12 @@ export const AliasType: coreHttp.CompositeMapper = { serializedName: "paths", type: { name: "Sequence", - element: { type: { name: "Composite", className: "AliasPathType" } } + element: { + type: { + name: "Composite", + className: "AliasPathType" + } + } } } } @@ -611,7 +655,11 @@ export const AliasPathType: coreHttp.CompositeMapper = { serializedName: "apiVersions", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -627,7 +675,12 @@ export const Dependency: coreHttp.CompositeMapper = { serializedName: "dependsOn", type: { name: "Sequence", - element: { type: { name: "Composite", className: "BasicDependency" } } + element: { + type: { + name: "Composite", + className: "BasicDependency" + } + } } }, id: { @@ -756,7 +809,10 @@ export const DeploymentListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DeploymentExtended" } + type: { + name: "Composite", + className: "DeploymentExtended" + } } } }, @@ -854,7 +910,12 @@ export const WhatIfOperationResult: coreHttp.CompositeMapper = { serializedName: "properties.changes", type: { name: "Sequence", - element: { type: { name: "Composite", className: "WhatIfChange" } } + element: { + type: { + name: "Composite", + className: "WhatIfChange" + } + } } } } @@ -905,7 +966,10 @@ export const WhatIfChange: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "WhatIfPropertyChange" } + type: { + name: "Composite", + className: "WhatIfPropertyChange" + } } } } @@ -950,7 +1014,10 @@ export const WhatIfPropertyChange: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "WhatIfPropertyChange" } + type: { + name: "Composite", + className: "WhatIfPropertyChange" + } } } } @@ -967,7 +1034,12 @@ export const ProviderListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Provider" } } + element: { + type: { + name: "Composite", + className: "Provider" + } + } } }, nextLink: { @@ -991,7 +1063,10 @@ export const ResourceListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "GenericResourceExpanded" } + type: { + name: "Composite", + className: "GenericResourceExpanded" + } } } }, @@ -1322,7 +1397,11 @@ export const ExportTemplateRequest: coreHttp.CompositeMapper = { serializedName: "resources", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, options: { @@ -1366,7 +1445,12 @@ export const ResourceGroupListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ResourceGroup" } } + element: { + type: { + name: "Composite", + className: "ResourceGroup" + } + } } }, nextLink: { @@ -1389,7 +1473,11 @@ export const ResourcesMoveInfo: coreHttp.CompositeMapper = { serializedName: "resources", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, targetResourceGroup: { @@ -1481,7 +1569,12 @@ export const TagDetails: coreHttp.CompositeMapper = { serializedName: "values", type: { name: "Sequence", - element: { type: { name: "Composite", className: "TagValue" } } + element: { + type: { + name: "Composite", + className: "TagValue" + } + } } } } @@ -1497,7 +1590,12 @@ export const TagsListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "TagDetails" } } + element: { + type: { + name: "Composite", + className: "TagDetails" + } + } } }, nextLink: { @@ -1665,7 +1763,10 @@ export const DeploymentOperationsListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DeploymentOperation" } + type: { + name: "Composite", + className: "DeploymentOperation" + } } } }, diff --git a/test/smoke/generated/arm-package-subscriptions-2019-06/src/models/mappers.ts b/test/smoke/generated/arm-package-subscriptions-2019-06/src/models/mappers.ts index 7b83241983..8d67c35712 100644 --- a/test/smoke/generated/arm-package-subscriptions-2019-06/src/models/mappers.ts +++ b/test/smoke/generated/arm-package-subscriptions-2019-06/src/models/mappers.ts @@ -17,7 +17,12 @@ export const OperationListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Operation" } } + element: { + type: { + name: "Composite", + className: "Operation" + } + } } }, nextLink: { @@ -94,7 +99,12 @@ export const LocationListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Location" } } + element: { + type: { + name: "Composite", + className: "Location" + } + } } } } @@ -210,7 +220,12 @@ export const Subscription: coreHttp.CompositeMapper = { serializedName: "managedByTenants", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ManagedByTenant" } } + element: { + type: { + name: "Composite", + className: "ManagedByTenant" + } + } } } } @@ -273,7 +288,12 @@ export const SubscriptionListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Subscription" } } + element: { + type: { + name: "Composite", + className: "Subscription" + } + } } }, nextLink: { @@ -297,7 +317,10 @@ export const TenantListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "TenantIdDescription" } + type: { + name: "Composite", + className: "TenantIdDescription" + } } } }, @@ -365,7 +388,11 @@ export const TenantIdDescription: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } diff --git a/test/smoke/generated/compute-resource-manager/src/models/mappers.ts b/test/smoke/generated/compute-resource-manager/src/models/mappers.ts index cbb3c1b3a6..0c44b44153 100644 --- a/test/smoke/generated/compute-resource-manager/src/models/mappers.ts +++ b/test/smoke/generated/compute-resource-manager/src/models/mappers.ts @@ -19,7 +19,10 @@ export const ComputeOperationListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ComputeOperationValue" } + type: { + name: "Composite", + className: "ComputeOperationValue" + } } } } @@ -230,7 +233,12 @@ export const AvailabilitySetListResult: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "AvailabilitySet" } } + element: { + type: { + name: "Composite", + className: "AvailabilitySet" + } + } } }, nextLink: { @@ -253,7 +261,10 @@ export const VirtualMachineSizeListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualMachineSize" } + type: { + name: "Composite", + className: "VirtualMachineSize" + } } } } @@ -317,7 +328,10 @@ export const ProximityPlacementGroupListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ProximityPlacementGroup" } + type: { + name: "Composite", + className: "ProximityPlacementGroup" + } } } }, @@ -358,7 +372,10 @@ export const DedicatedHostGroupListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DedicatedHostGroup" } + type: { + name: "Composite", + className: "DedicatedHostGroup" + } } } }, @@ -396,7 +413,10 @@ export const DedicatedHostInstanceView: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "InstanceViewStatus" } + type: { + name: "Composite", + className: "InstanceViewStatus" + } } } } @@ -414,7 +434,10 @@ export const DedicatedHostAvailableCapacity: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DedicatedHostAllocatableVM" } + type: { + name: "Composite", + className: "DedicatedHostAllocatableVM" + } } } } @@ -453,7 +476,12 @@ export const DedicatedHostListResult: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "DedicatedHost" } } + element: { + type: { + name: "Composite", + className: "DedicatedHost" + } + } } }, nextLink: { @@ -477,7 +505,10 @@ export const SshPublicKeysGroupListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SshPublicKeyResource" } + type: { + name: "Composite", + className: "SshPublicKeyResource" + } } } }, @@ -549,7 +580,10 @@ export const VirtualMachineExtensionInstanceView: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "InstanceViewStatus" } + type: { + name: "Composite", + className: "InstanceViewStatus" + } } } }, @@ -558,7 +592,10 @@ export const VirtualMachineExtensionInstanceView: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "InstanceViewStatus" } + type: { + name: "Composite", + className: "InstanceViewStatus" + } } } } @@ -576,7 +613,10 @@ export const VirtualMachineExtensionsListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualMachineExtension" } + type: { + name: "Composite", + className: "VirtualMachineExtension" + } } } } @@ -673,7 +713,12 @@ export const ListUsagesResult: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Usage" } } + element: { + type: { + name: "Composite", + className: "Usage" + } + } } }, nextLink: { @@ -755,7 +800,12 @@ export const VirtualMachineListResult: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "VirtualMachine" } } + element: { + type: { + name: "Composite", + className: "VirtualMachine" + } + } } }, nextLink: { @@ -839,7 +889,12 @@ export const StorageProfile: coreHttp.CompositeMapper = { serializedName: "dataDisks", type: { name: "Sequence", - element: { type: { name: "Composite", className: "DataDisk" } } + element: { + type: { + name: "Composite", + className: "DataDisk" + } + } } } } @@ -1192,7 +1247,10 @@ export const OSProfile: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VaultSecretGroup" } + type: { + name: "Composite", + className: "VaultSecretGroup" + } } } }, @@ -1240,7 +1298,10 @@ export const WindowsConfiguration: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AdditionalUnattendContent" } + type: { + name: "Composite", + className: "AdditionalUnattendContent" + } } } }, @@ -1302,7 +1363,12 @@ export const WinRMConfiguration: coreHttp.CompositeMapper = { serializedName: "listeners", type: { name: "Sequence", - element: { type: { name: "Composite", className: "WinRMListener" } } + element: { + type: { + name: "Composite", + className: "WinRMListener" + } + } } } } @@ -1368,7 +1434,12 @@ export const SshConfiguration: coreHttp.CompositeMapper = { serializedName: "publicKeys", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SshPublicKey" } } + element: { + type: { + name: "Composite", + className: "SshPublicKey" + } + } } } } @@ -1413,7 +1484,10 @@ export const VaultSecretGroup: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VaultCertificate" } + type: { + name: "Composite", + className: "VaultCertificate" + } } } } @@ -1452,7 +1526,10 @@ export const NetworkProfile: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NetworkInterfaceReference" } + type: { + name: "Composite", + className: "NetworkInterfaceReference" + } } } } @@ -1578,7 +1655,10 @@ export const VirtualMachineInstanceView: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DiskInstanceView" } + type: { + name: "Composite", + className: "DiskInstanceView" + } } } }, @@ -1606,7 +1686,10 @@ export const VirtualMachineInstanceView: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "InstanceViewStatus" } + type: { + name: "Composite", + className: "InstanceViewStatus" + } } } } @@ -1642,7 +1725,10 @@ export const VirtualMachineAgentInstanceView: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "InstanceViewStatus" } + type: { + name: "Composite", + className: "InstanceViewStatus" + } } } } @@ -1751,7 +1837,10 @@ export const DiskInstanceView: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DiskEncryptionSettings" } + type: { + name: "Composite", + className: "DiskEncryptionSettings" + } } } }, @@ -1760,7 +1849,10 @@ export const DiskInstanceView: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "InstanceViewStatus" } + type: { + name: "Composite", + className: "InstanceViewStatus" + } } } } @@ -1886,7 +1978,12 @@ export const ImageStorageProfile: coreHttp.CompositeMapper = { serializedName: "dataDisks", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ImageDataDisk" } } + element: { + type: { + name: "Composite", + className: "ImageDataDisk" + } + } } }, zoneResilient: { @@ -1964,7 +2061,12 @@ export const ImageListResult: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Image" } } + element: { + type: { + name: "Composite", + className: "Image" + } + } } }, nextLink: { @@ -2032,7 +2134,12 @@ export const ApiError: coreHttp.CompositeMapper = { serializedName: "details", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ApiErrorBase" } } + element: { + type: { + name: "Composite", + className: "ApiErrorBase" + } + } } }, innererror: { @@ -2368,7 +2475,10 @@ export const VirtualMachineScaleSetOSProfile: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VaultSecretGroup" } + type: { + name: "Composite", + className: "VaultSecretGroup" + } } } } @@ -2473,7 +2583,11 @@ export const VirtualMachineScaleSetOSDisk: coreHttp.CompositeMapper = { serializedName: "vhdContainers", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, managedDisk: { @@ -2628,7 +2742,11 @@ export const VirtualMachineScaleSetNetworkConfigurationDnsSettings: coreHttp.Com serializedName: "dnsServers", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -2794,7 +2912,11 @@ export const ScaleInPolicy: coreHttp.CompositeMapper = { serializedName: "rules", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -2967,7 +3089,10 @@ export const VirtualMachineScaleSetUpdateOSProfile: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VaultSecretGroup" } + type: { + name: "Composite", + className: "VaultSecretGroup" + } } } } @@ -3045,7 +3170,11 @@ export const VirtualMachineScaleSetUpdateOSDisk: coreHttp.CompositeMapper = { serializedName: "vhdContainers", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, managedDisk: { @@ -3125,7 +3254,11 @@ export const VirtualMachineScaleSetVMInstanceIDs: coreHttp.CompositeMapper = { serializedName: "instanceIds", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -3142,7 +3275,11 @@ export const VirtualMachineScaleSetVMInstanceRequiredIDs: coreHttp.CompositeMapp required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -3179,7 +3316,10 @@ export const VirtualMachineScaleSetInstanceView: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "InstanceViewStatus" } + type: { + name: "Composite", + className: "InstanceViewStatus" + } } } }, @@ -3308,7 +3448,10 @@ export const VirtualMachineScaleSetListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualMachineScaleSet" } + type: { + name: "Composite", + className: "VirtualMachineScaleSet" + } } } }, @@ -3361,7 +3504,10 @@ export const VirtualMachineScaleSetListWithLinkResult: coreHttp.CompositeMapper type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualMachineScaleSet" } + type: { + name: "Composite", + className: "VirtualMachineScaleSet" + } } } }, @@ -3386,7 +3532,10 @@ export const VirtualMachineScaleSetListSkusResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualMachineScaleSetSku" } + type: { + name: "Composite", + className: "VirtualMachineScaleSetSku" + } } } }, @@ -3818,7 +3967,10 @@ export const VirtualMachineScaleSetVMInstanceView: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DiskInstanceView" } + type: { + name: "Composite", + className: "DiskInstanceView" + } } } }, @@ -3853,7 +4005,10 @@ export const VirtualMachineScaleSetVMInstanceView: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "InstanceViewStatus" } + type: { + name: "Composite", + className: "InstanceViewStatus" + } } } }, @@ -3936,7 +4091,10 @@ export const VirtualMachineScaleSetVMListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualMachineScaleSetVM" } + type: { + name: "Composite", + className: "VirtualMachineScaleSetVM" + } } } }, @@ -4041,7 +4199,10 @@ export const RunCommandListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "RunCommandDocumentBase" } + type: { + name: "Composite", + className: "RunCommandDocumentBase" + } } } }, @@ -4151,7 +4312,11 @@ export const RunCommandInput: coreHttp.CompositeMapper = { serializedName: "script", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, parameters: { @@ -4159,7 +4324,10 @@ export const RunCommandInput: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "RunCommandInputParameter" } + type: { + name: "Composite", + className: "RunCommandInputParameter" + } } } } @@ -4200,7 +4368,10 @@ export const RunCommandResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "InstanceViewStatus" } + type: { + name: "Composite", + className: "InstanceViewStatus" + } } } } @@ -4218,7 +4389,12 @@ export const ResourceSkusResult: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ResourceSku" } } + element: { + type: { + name: "Composite", + className: "ResourceSku" + } + } } }, nextLink: { @@ -4290,7 +4466,11 @@ export const ResourceSku: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, locationInfo: { @@ -4299,7 +4479,10 @@ export const ResourceSku: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ResourceSkuLocationInfo" } + type: { + name: "Composite", + className: "ResourceSkuLocationInfo" + } } } }, @@ -4308,7 +4491,11 @@ export const ResourceSku: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, costs: { @@ -4317,7 +4504,10 @@ export const ResourceSku: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ResourceSkuCosts" } + type: { + name: "Composite", + className: "ResourceSkuCosts" + } } } }, @@ -4327,7 +4517,10 @@ export const ResourceSku: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ResourceSkuCapabilities" } + type: { + name: "Composite", + className: "ResourceSkuCapabilities" + } } } }, @@ -4337,7 +4530,10 @@ export const ResourceSku: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ResourceSkuRestrictions" } + type: { + name: "Composite", + className: "ResourceSkuRestrictions" + } } } } @@ -4400,7 +4596,11 @@ export const ResourceSkuLocationInfo: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, zoneDetails: { @@ -4409,7 +4609,10 @@ export const ResourceSkuLocationInfo: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ResourceSkuZoneDetails" } + type: { + name: "Composite", + className: "ResourceSkuZoneDetails" + } } } } @@ -4427,7 +4630,11 @@ export const ResourceSkuZoneDetails: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, capabilities: { @@ -4436,7 +4643,10 @@ export const ResourceSkuZoneDetails: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ResourceSkuCapabilities" } + type: { + name: "Composite", + className: "ResourceSkuCapabilities" + } } } } @@ -4515,7 +4725,11 @@ export const ResourceSkuRestrictions: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, restrictionInfo: { @@ -4547,7 +4761,11 @@ export const ResourceSkuRestrictionInfo: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, zones: { @@ -4555,7 +4773,11 @@ export const ResourceSkuRestrictionInfo: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -4684,7 +4906,10 @@ export const EncryptionSettingsCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "EncryptionSettingsElement" } + type: { + name: "Composite", + className: "EncryptionSettingsElement" + } } } }, @@ -4909,7 +5134,12 @@ export const DiskList: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Disk" } } + element: { + type: { + name: "Composite", + className: "Disk" + } + } } }, nextLink: { @@ -5043,7 +5273,12 @@ export const SnapshotList: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Snapshot" } } + element: { + type: { + name: "Composite", + className: "Snapshot" + } + } } }, nextLink: { @@ -5119,7 +5354,10 @@ export const DiskEncryptionSetList: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DiskEncryptionSet" } + type: { + name: "Composite", + className: "DiskEncryptionSet" + } } } }, @@ -5269,7 +5507,11 @@ export const Disallowed: coreHttp.CompositeMapper = { serializedName: "diskTypes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -5312,7 +5554,12 @@ export const GalleryArtifactPublishingProfileBase: coreHttp.CompositeMapper = { serializedName: "targetRegions", type: { name: "Sequence", - element: { type: { name: "Composite", className: "TargetRegion" } } + element: { + type: { + name: "Composite", + className: "TargetRegion" + } + } } }, replicaCount: { @@ -5402,7 +5649,10 @@ export const EncryptionImages: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DataDiskImageEncryption" } + type: { + name: "Composite", + className: "DataDiskImageEncryption" + } } } } @@ -5449,7 +5699,10 @@ export const GalleryImageVersionStorageProfile: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "GalleryDataDiskImage" } + type: { + name: "Composite", + className: "GalleryDataDiskImage" + } } } } @@ -5520,7 +5773,10 @@ export const ReplicationStatus: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "RegionalReplicationStatus" } + type: { + name: "Composite", + className: "RegionalReplicationStatus" + } } } } @@ -5598,7 +5854,12 @@ export const GalleryList: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Gallery" } } + element: { + type: { + name: "Composite", + className: "Gallery" + } + } } }, nextLink: { @@ -5621,7 +5882,12 @@ export const GalleryImageList: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "GalleryImage" } } + element: { + type: { + name: "Composite", + className: "GalleryImage" + } + } } }, nextLink: { @@ -5645,7 +5911,10 @@ export const GalleryImageVersionList: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "GalleryImageVersion" } + type: { + name: "Composite", + className: "GalleryImageVersion" + } } } }, @@ -5670,7 +5939,10 @@ export const GalleryApplicationList: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "GalleryApplication" } + type: { + name: "Composite", + className: "GalleryApplication" + } } } }, @@ -5695,7 +5967,10 @@ export const GalleryApplicationVersionList: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "GalleryApplicationVersion" } + type: { + name: "Composite", + className: "GalleryApplicationVersion" + } } } }, @@ -5719,7 +5994,10 @@ export const ContainerServiceListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ContainerService" } + type: { + name: "Composite", + className: "ContainerService" + } } } }, @@ -6194,7 +6472,11 @@ export const VirtualMachineCaptureResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "any" } } + element: { + type: { + name: "any" + } + } } } } @@ -6244,28 +6526,48 @@ export const VirtualMachineScaleSetIPConfiguration: coreHttp.CompositeMapper = { serializedName: "properties.applicationGatewayBackendAddressPools", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, applicationSecurityGroups: { serializedName: "properties.applicationSecurityGroups", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, loadBalancerBackendAddressPools: { serializedName: "properties.loadBalancerBackendAddressPools", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, loadBalancerInboundNatPools: { serializedName: "properties.loadBalancerInboundNatPools", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } } } @@ -6375,28 +6677,48 @@ export const VirtualMachineScaleSetUpdateIPConfiguration: coreHttp.CompositeMapp serializedName: "properties.applicationGatewayBackendAddressPools", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, applicationSecurityGroups: { serializedName: "properties.applicationSecurityGroups", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, loadBalancerBackendAddressPools: { serializedName: "properties.loadBalancerBackendAddressPools", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, loadBalancerInboundNatPools: { serializedName: "properties.loadBalancerInboundNatPools", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } } } @@ -6502,7 +6824,12 @@ export const AvailabilitySet: coreHttp.CompositeMapper = { serializedName: "properties.virtualMachines", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, proximityPlacementGroup: { @@ -6518,7 +6845,10 @@ export const AvailabilitySet: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "InstanceViewStatus" } + type: { + name: "Composite", + className: "InstanceViewStatus" + } } } } @@ -6598,7 +6928,11 @@ export const DedicatedHostGroup: coreHttp.CompositeMapper = { serializedName: "zones", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, platformFaultDomainCount: { @@ -6617,7 +6951,10 @@ export const DedicatedHostGroup: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SubResourceReadOnly" } + type: { + name: "Composite", + className: "SubResourceReadOnly" + } } } } @@ -6667,7 +7004,10 @@ export const DedicatedHost: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SubResourceReadOnly" } + type: { + name: "Composite", + className: "SubResourceReadOnly" + } } } }, @@ -6848,7 +7188,10 @@ export const VirtualMachine: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualMachineExtension" } + type: { + name: "Composite", + className: "VirtualMachineExtension" + } } } }, @@ -6863,7 +7206,11 @@ export const VirtualMachine: coreHttp.CompositeMapper = { serializedName: "zones", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, hardwareProfile: { @@ -7054,7 +7401,11 @@ export const VirtualMachineScaleSet: coreHttp.CompositeMapper = { serializedName: "zones", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, upgradePolicy: { @@ -7218,7 +7569,10 @@ export const VirtualMachineScaleSetVM: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualMachineExtension" } + type: { + name: "Composite", + className: "VirtualMachineExtension" + } } } }, @@ -7227,7 +7581,11 @@ export const VirtualMachineScaleSetVM: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, latestModelApplied: { @@ -7356,7 +7714,11 @@ export const Disk: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, sku: { @@ -7370,7 +7732,11 @@ export const Disk: coreHttp.CompositeMapper = { serializedName: "zones", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, timeCreated: { @@ -7484,7 +7850,10 @@ export const Disk: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ShareInfoElement" } + type: { + name: "Composite", + className: "ShareInfoElement" + } } } } @@ -7616,7 +7985,10 @@ export const DiskEncryptionSet: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "KeyVaultAndKeyReference" } + type: { + name: "Composite", + className: "KeyVaultAndKeyReference" + } } } }, @@ -7979,7 +8351,12 @@ export const AvailabilitySetUpdate: coreHttp.CompositeMapper = { serializedName: "properties.virtualMachines", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, proximityPlacementGroup: { @@ -7995,7 +8372,10 @@ export const AvailabilitySetUpdate: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "InstanceViewStatus" } + type: { + name: "Composite", + className: "InstanceViewStatus" + } } } } @@ -8013,7 +8393,11 @@ export const DedicatedHostGroupUpdate: coreHttp.CompositeMapper = { serializedName: "zones", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, platformFaultDomainCount: { @@ -8032,7 +8416,10 @@ export const DedicatedHostGroupUpdate: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SubResourceReadOnly" } + type: { + name: "Composite", + className: "SubResourceReadOnly" + } } } } @@ -8075,7 +8462,10 @@ export const DedicatedHostUpdate: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SubResourceReadOnly" } + type: { + name: "Composite", + className: "SubResourceReadOnly" + } } } }, @@ -8244,7 +8634,11 @@ export const VirtualMachineUpdate: coreHttp.CompositeMapper = { serializedName: "zones", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, hardwareProfile: { @@ -8540,7 +8934,11 @@ export const VirtualMachineScaleSetExtension: coreHttp.CompositeMapper = { serializedName: "properties.provisionAfterExtensions", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -8620,7 +9018,11 @@ export const VirtualMachineScaleSetExtensionUpdate: coreHttp.CompositeMapper = { serializedName: "properties.provisionAfterExtensions", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -8680,7 +9082,11 @@ export const VirtualMachineScaleSetReimageParameters: coreHttp.CompositeMapper = serializedName: "instanceIds", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -8736,7 +9142,11 @@ export const RunCommandDocument: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, parameters: { @@ -9113,7 +9523,12 @@ export const VirtualMachineImage: coreHttp.CompositeMapper = { serializedName: "properties.dataDiskImages", type: { name: "Sequence", - element: { type: { name: "Composite", className: "DataDiskImage" } } + element: { + type: { + name: "Composite", + className: "DataDiskImage" + } + } } }, automaticOSUpgradeProperties: { diff --git a/test/smoke/generated/cosmos-db-resource-manager/src/models/mappers.ts b/test/smoke/generated/cosmos-db-resource-manager/src/models/mappers.ts index 393e86455f..a285bb93c9 100644 --- a/test/smoke/generated/cosmos-db-resource-manager/src/models/mappers.ts +++ b/test/smoke/generated/cosmos-db-resource-manager/src/models/mappers.ts @@ -308,7 +308,12 @@ export const DatabaseAccountUpdateParameters: coreHttp.CompositeMapper = { serializedName: "properties.locations", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Location" } } + element: { + type: { + name: "Composite", + className: "Location" + } + } } }, ipRangeFilter: { @@ -333,7 +338,12 @@ export const DatabaseAccountUpdateParameters: coreHttp.CompositeMapper = { serializedName: "properties.capabilities", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Capability" } } + element: { + type: { + name: "Composite", + className: "Capability" + } + } } }, virtualNetworkRules: { @@ -341,7 +351,10 @@ export const DatabaseAccountUpdateParameters: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualNetworkRule" } + type: { + name: "Composite", + className: "VirtualNetworkRule" + } } } }, @@ -396,7 +409,12 @@ export const FailoverPolicies: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "FailoverPolicy" } } + element: { + type: { + name: "Composite", + className: "FailoverPolicy" + } + } } } } @@ -414,7 +432,10 @@ export const DatabaseAccountsListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DatabaseAccountGetResults" } + type: { + name: "Composite", + className: "DatabaseAccountGetResults" + } } } } @@ -551,7 +572,12 @@ export const OperationListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Operation" } } + element: { + type: { + name: "Composite", + className: "Operation" + } + } } }, nextLink: { @@ -629,7 +655,12 @@ export const MetricListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Metric" } } + element: { + type: { + name: "Composite", + className: "Metric" + } + } } } } @@ -681,7 +712,12 @@ export const Metric: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "MetricValue" } } + element: { + type: { + name: "Composite", + className: "MetricValue" + } + } } } } @@ -773,7 +809,10 @@ export const PercentileMetricListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PercentileMetric" } + type: { + name: "Composite", + className: "PercentileMetric" + } } } } @@ -827,7 +866,10 @@ export const PercentileMetric: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PercentileMetricValue" } + type: { + name: "Composite", + className: "PercentileMetricValue" + } } } } @@ -845,7 +887,12 @@ export const PartitionMetricListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "PartitionMetric" } } + element: { + type: { + name: "Composite", + className: "PartitionMetric" + } + } } } } @@ -862,7 +909,12 @@ export const UsagesResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Usage" } } + element: { + type: { + name: "Composite", + className: "Usage" + } + } } } } @@ -923,7 +975,12 @@ export const PartitionUsagesResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "PartitionUsage" } } + element: { + type: { + name: "Composite", + className: "PartitionUsage" + } + } } } } @@ -941,7 +998,10 @@ export const MetricDefinitionsListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "MetricDefinition" } + type: { + name: "Composite", + className: "MetricDefinition" + } } } } @@ -960,7 +1020,10 @@ export const MetricDefinition: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "MetricAvailability" } + type: { + name: "Composite", + className: "MetricAvailability" + } } } }, @@ -1030,7 +1093,10 @@ export const SqlDatabaseListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SqlDatabaseGetResults" } + type: { + name: "Composite", + className: "SqlDatabaseGetResults" + } } } } @@ -1229,7 +1295,10 @@ export const SqlContainerListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SqlContainerGetResults" } + type: { + name: "Composite", + className: "SqlContainerGetResults" + } } } } @@ -1309,14 +1378,24 @@ export const IndexingPolicy: coreHttp.CompositeMapper = { serializedName: "includedPaths", type: { name: "Sequence", - element: { type: { name: "Composite", className: "IncludedPath" } } + element: { + type: { + name: "Composite", + className: "IncludedPath" + } + } } }, excludedPaths: { serializedName: "excludedPaths", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ExcludedPath" } } + element: { + type: { + name: "Composite", + className: "ExcludedPath" + } + } } }, compositeIndexes: { @@ -1327,7 +1406,10 @@ export const IndexingPolicy: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "CompositePath" } + type: { + name: "Composite", + className: "CompositePath" + } } } } @@ -1337,7 +1419,12 @@ export const IndexingPolicy: coreHttp.CompositeMapper = { serializedName: "spatialIndexes", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SpatialSpec" } } + element: { + type: { + name: "Composite", + className: "SpatialSpec" + } + } } } } @@ -1359,7 +1446,12 @@ export const IncludedPath: coreHttp.CompositeMapper = { serializedName: "indexes", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Indexes" } } + element: { + type: { + name: "Composite", + className: "Indexes" + } + } } } } @@ -1446,7 +1538,11 @@ export const SpatialSpec: coreHttp.CompositeMapper = { serializedName: "types", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1462,7 +1558,11 @@ export const ContainerPartitionKey: coreHttp.CompositeMapper = { serializedName: "paths", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, kind: { @@ -1495,7 +1595,12 @@ export const UniqueKeyPolicy: coreHttp.CompositeMapper = { serializedName: "uniqueKeys", type: { name: "Sequence", - element: { type: { name: "Composite", className: "UniqueKey" } } + element: { + type: { + name: "Composite", + className: "UniqueKey" + } + } } } } @@ -1511,7 +1616,11 @@ export const UniqueKey: coreHttp.CompositeMapper = { serializedName: "paths", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1645,7 +1754,10 @@ export const SqlTriggerListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SqlTriggerGetResults" } + type: { + name: "Composite", + className: "SqlTriggerGetResults" + } } } } @@ -1698,7 +1810,10 @@ export const MongoDBDatabaseListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "MongoDBDatabaseGetResults" } + type: { + name: "Composite", + className: "MongoDBDatabaseGetResults" + } } } } @@ -1767,7 +1882,12 @@ export const MongoDBCollectionResource: coreHttp.CompositeMapper = { serializedName: "indexes", type: { name: "Sequence", - element: { type: { name: "Composite", className: "MongoIndex" } } + element: { + type: { + name: "Composite", + className: "MongoIndex" + } + } } } } @@ -1806,7 +1926,11 @@ export const MongoIndexKeys: coreHttp.CompositeMapper = { serializedName: "keys", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1844,7 +1968,12 @@ export const TableListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "TableGetResults" } } + element: { + type: { + name: "Composite", + className: "TableGetResults" + } + } } } } @@ -1916,7 +2045,10 @@ export const CassandraTableListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "CassandraTableGetResults" } + type: { + name: "Composite", + className: "CassandraTableGetResults" + } } } } @@ -1962,7 +2094,12 @@ export const CassandraSchema: coreHttp.CompositeMapper = { serializedName: "columns", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Column" } } + element: { + type: { + name: "Composite", + className: "Column" + } + } } }, partitionKeys: { @@ -1970,7 +2107,10 @@ export const CassandraSchema: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "CassandraPartitionKey" } + type: { + name: "Composite", + className: "CassandraPartitionKey" + } } } }, @@ -1978,7 +2118,12 @@ export const CassandraSchema: coreHttp.CompositeMapper = { serializedName: "clusterKeys", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ClusterKey" } } + element: { + type: { + name: "Composite", + className: "ClusterKey" + } + } } } } @@ -2053,7 +2198,10 @@ export const GremlinDatabaseListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "GremlinDatabaseGetResults" } + type: { + name: "Composite", + className: "GremlinDatabaseGetResults" + } } } } @@ -2088,7 +2236,10 @@ export const GremlinGraphListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "GremlinGraphGetResults" } + type: { + name: "Composite", + className: "GremlinGraphGetResults" + } } } } @@ -2156,7 +2307,10 @@ export const NotebookWorkspaceListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NotebookWorkspace" } + type: { + name: "Composite", + className: "NotebookWorkspace" + } } } } @@ -2227,7 +2381,10 @@ export const PrivateLinkResourceListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateLinkResource" } + type: { + name: "Composite", + className: "PrivateLinkResource" + } } } } @@ -2417,7 +2574,12 @@ export const DatabaseAccountGetResults: coreHttp.CompositeMapper = { serializedName: "properties.capabilities", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Capability" } } + element: { + type: { + name: "Composite", + className: "Capability" + } + } } }, writeLocations: { @@ -2425,7 +2587,12 @@ export const DatabaseAccountGetResults: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Location" } } + element: { + type: { + name: "Composite", + className: "Location" + } + } } }, readLocations: { @@ -2433,7 +2600,12 @@ export const DatabaseAccountGetResults: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Location" } } + element: { + type: { + name: "Composite", + className: "Location" + } + } } }, locations: { @@ -2441,7 +2613,12 @@ export const DatabaseAccountGetResults: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Location" } } + element: { + type: { + name: "Composite", + className: "Location" + } + } } }, failoverPolicies: { @@ -2449,7 +2626,12 @@ export const DatabaseAccountGetResults: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "FailoverPolicy" } } + element: { + type: { + name: "Composite", + className: "FailoverPolicy" + } + } } }, virtualNetworkRules: { @@ -2457,7 +2639,10 @@ export const DatabaseAccountGetResults: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualNetworkRule" } + type: { + name: "Composite", + className: "VirtualNetworkRule" + } } } }, @@ -2467,7 +2652,10 @@ export const DatabaseAccountGetResults: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateEndpointConnection" } + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } } } }, @@ -2536,7 +2724,12 @@ export const DatabaseAccountCreateUpdateParameters: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Location" } } + element: { + type: { + name: "Composite", + className: "Location" + } + } } }, databaseAccountOfferType: { @@ -2569,7 +2762,12 @@ export const DatabaseAccountCreateUpdateParameters: coreHttp.CompositeMapper = { serializedName: "properties.capabilities", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Capability" } } + element: { + type: { + name: "Composite", + className: "Capability" + } + } } }, virtualNetworkRules: { @@ -2577,7 +2775,10 @@ export const DatabaseAccountCreateUpdateParameters: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualNetworkRule" } + type: { + name: "Composite", + className: "VirtualNetworkRule" + } } } }, @@ -3629,7 +3830,11 @@ export const PrivateLinkResource: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, requiredZoneNames: { @@ -3637,7 +3842,11 @@ export const PrivateLinkResource: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } diff --git a/test/smoke/generated/graphrbac-data-plane/src/models/mappers.ts b/test/smoke/generated/graphrbac-data-plane/src/models/mappers.ts index 17a9deaa6e..a7bc7dbd64 100644 --- a/test/smoke/generated/graphrbac-data-plane/src/models/mappers.ts +++ b/test/smoke/generated/graphrbac-data-plane/src/models/mappers.ts @@ -97,7 +97,12 @@ export const DirectoryObjectListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "DirectoryObject" } } + element: { + type: { + name: "Composite", + className: "DirectoryObject" + } + } } }, odataNextLink: { @@ -137,14 +142,23 @@ export const ApplicationBase: coreHttp.CompositeMapper = { serializedName: "appRoles", type: { name: "Sequence", - element: { type: { name: "Composite", className: "AppRole" } } + element: { + type: { + name: "Composite", + className: "AppRole" + } + } } }, appPermissions: { serializedName: "appPermissions", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, availableToOtherTenants: { @@ -188,14 +202,23 @@ export const ApplicationBase: coreHttp.CompositeMapper = { serializedName: "keyCredentials", type: { name: "Sequence", - element: { type: { name: "Composite", className: "KeyCredential" } } + element: { + type: { + name: "Composite", + className: "KeyCredential" + } + } } }, knownClientApplications: { serializedName: "knownClientApplications", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, logoutUrl: { @@ -221,7 +244,10 @@ export const ApplicationBase: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "OAuth2Permission" } + type: { + name: "Composite", + className: "OAuth2Permission" + } } } }, @@ -235,7 +261,11 @@ export const ApplicationBase: coreHttp.CompositeMapper = { serializedName: "orgRestrictions", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, optionalClaims: { @@ -250,7 +280,10 @@ export const ApplicationBase: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PasswordCredential" } + type: { + name: "Composite", + className: "PasswordCredential" + } } } }, @@ -259,7 +292,10 @@ export const ApplicationBase: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PreAuthorizedApplication" } + type: { + name: "Composite", + className: "PreAuthorizedApplication" + } } } }, @@ -279,7 +315,11 @@ export const ApplicationBase: coreHttp.CompositeMapper = { serializedName: "replyUrls", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, requiredResourceAccess: { @@ -287,7 +327,10 @@ export const ApplicationBase: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "RequiredResourceAccess" } + type: { + name: "Composite", + className: "RequiredResourceAccess" + } } } }, @@ -328,7 +371,11 @@ export const AppRole: coreHttp.CompositeMapper = { serializedName: "allowedMemberTypes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, description: { @@ -510,21 +557,36 @@ export const OptionalClaims: coreHttp.CompositeMapper = { serializedName: "idToken", type: { name: "Sequence", - element: { type: { name: "Composite", className: "OptionalClaim" } } + element: { + type: { + name: "Composite", + className: "OptionalClaim" + } + } } }, accessToken: { serializedName: "accessToken", type: { name: "Sequence", - element: { type: { name: "Composite", className: "OptionalClaim" } } + element: { + type: { + name: "Composite", + className: "OptionalClaim" + } + } } }, samlToken: { serializedName: "samlToken", type: { name: "Sequence", - element: { type: { name: "Composite", className: "OptionalClaim" } } + element: { + type: { + name: "Composite", + className: "OptionalClaim" + } + } } } } @@ -658,7 +720,11 @@ export const PreAuthorizedApplicationPermission: coreHttp.CompositeMapper = { serializedName: "accessGrants", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -674,7 +740,11 @@ export const PreAuthorizedApplicationExtension: coreHttp.CompositeMapper = { serializedName: "conditions", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -692,7 +762,12 @@ export const RequiredResourceAccess: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ResourceAccess" } } + element: { + type: { + name: "Composite", + className: "ResourceAccess" + } + } } }, resourceAppId: { @@ -737,7 +812,12 @@ export const ApplicationListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Application" } } + element: { + type: { + name: "Composite", + className: "Application" + } + } } }, odataNextLink: { @@ -776,7 +856,12 @@ export const KeyCredentialListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "KeyCredential" } } + element: { + type: { + name: "Composite", + className: "KeyCredential" + } + } } } } @@ -793,7 +878,12 @@ export const KeyCredentialsUpdateParameters: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "KeyCredential" } } + element: { + type: { + name: "Composite", + className: "KeyCredential" + } + } } } } @@ -810,7 +900,10 @@ export const PasswordCredentialListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PasswordCredential" } + type: { + name: "Composite", + className: "PasswordCredential" + } } } } @@ -829,7 +922,10 @@ export const PasswordCredentialsUpdateParameters: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PasswordCredential" } + type: { + name: "Composite", + className: "PasswordCredential" + } } } } @@ -943,7 +1039,12 @@ export const GroupListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ADGroup" } } + element: { + type: { + name: "Composite", + className: "ADGroup" + } + } } }, odataNextLink: { @@ -982,7 +1083,11 @@ export const GroupGetMemberGroupsResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1010,7 +1115,12 @@ export const ServicePrincipalBase: coreHttp.CompositeMapper = { serializedName: "keyCredentials", type: { name: "Sequence", - element: { type: { name: "Composite", className: "KeyCredential" } } + element: { + type: { + name: "Composite", + className: "KeyCredential" + } + } } }, passwordCredentials: { @@ -1018,7 +1128,10 @@ export const ServicePrincipalBase: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PasswordCredential" } + type: { + name: "Composite", + className: "PasswordCredential" + } } } }, @@ -1032,7 +1145,11 @@ export const ServicePrincipalBase: coreHttp.CompositeMapper = { serializedName: "tags", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1049,7 +1166,10 @@ export const ServicePrincipalListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ServicePrincipal" } + type: { + name: "Composite", + className: "ServicePrincipal" + } } } }, @@ -1156,7 +1276,12 @@ export const UserListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "User" } } + element: { + type: { + name: "Composite", + className: "User" + } + } } }, odataNextLink: { @@ -1195,7 +1320,11 @@ export const UserGetMemberGroupsResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1212,14 +1341,22 @@ export const GetObjectsParameters: coreHttp.CompositeMapper = { serializedName: "objectIds", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, types: { serializedName: "types", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, includeDirectoryObjectReferences: { @@ -1241,7 +1378,12 @@ export const DomainListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Domain" } } + element: { + type: { + name: "Composite", + className: "Domain" + } + } } } } @@ -1296,7 +1438,10 @@ export const OAuth2PermissionGrantListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "OAuth2PermissionGrant" } + type: { + name: "Composite", + className: "OAuth2PermissionGrant" + } } } }, @@ -1447,7 +1592,12 @@ export const User: coreHttp.CompositeMapper = { serializedName: "signInNames", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SignInName" } } + element: { + type: { + name: "Composite", + className: "SignInName" + } + } } } } @@ -1492,14 +1642,23 @@ export const Application: coreHttp.CompositeMapper = { serializedName: "appRoles", type: { name: "Sequence", - element: { type: { name: "Composite", className: "AppRole" } } + element: { + type: { + name: "Composite", + className: "AppRole" + } + } } }, appPermissions: { serializedName: "appPermissions", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, availableToOtherTenants: { @@ -1536,7 +1695,11 @@ export const Application: coreHttp.CompositeMapper = { serializedName: "identifierUris", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, informationalUrls: { @@ -1556,14 +1719,23 @@ export const Application: coreHttp.CompositeMapper = { serializedName: "keyCredentials", type: { name: "Sequence", - element: { type: { name: "Composite", className: "KeyCredential" } } + element: { + type: { + name: "Composite", + className: "KeyCredential" + } + } } }, knownClientApplications: { serializedName: "knownClientApplications", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, logoutUrl: { @@ -1589,7 +1761,10 @@ export const Application: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "OAuth2Permission" } + type: { + name: "Composite", + className: "OAuth2Permission" + } } } }, @@ -1603,7 +1778,11 @@ export const Application: coreHttp.CompositeMapper = { serializedName: "orgRestrictions", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, optionalClaims: { @@ -1618,7 +1797,10 @@ export const Application: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PasswordCredential" } + type: { + name: "Composite", + className: "PasswordCredential" + } } } }, @@ -1627,7 +1809,10 @@ export const Application: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PreAuthorizedApplication" } + type: { + name: "Composite", + className: "PreAuthorizedApplication" + } } } }, @@ -1647,7 +1832,11 @@ export const Application: coreHttp.CompositeMapper = { serializedName: "replyUrls", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, requiredResourceAccess: { @@ -1655,7 +1844,10 @@ export const Application: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "RequiredResourceAccess" } + type: { + name: "Composite", + className: "RequiredResourceAccess" + } } } }, @@ -1745,7 +1937,11 @@ export const ServicePrincipal: coreHttp.CompositeMapper = { serializedName: "alternativeNames", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, appDisplayName: { @@ -1778,7 +1974,12 @@ export const ServicePrincipal: coreHttp.CompositeMapper = { serializedName: "appRoles", type: { name: "Sequence", - element: { type: { name: "Composite", className: "AppRole" } } + element: { + type: { + name: "Composite", + className: "AppRole" + } + } } }, displayName: { @@ -1803,7 +2004,12 @@ export const ServicePrincipal: coreHttp.CompositeMapper = { serializedName: "keyCredentials", type: { name: "Sequence", - element: { type: { name: "Composite", className: "KeyCredential" } } + element: { + type: { + name: "Composite", + className: "KeyCredential" + } + } } }, logoutUrl: { @@ -1818,7 +2024,10 @@ export const ServicePrincipal: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "OAuth2Permission" } + type: { + name: "Composite", + className: "OAuth2Permission" + } } } }, @@ -1827,7 +2036,10 @@ export const ServicePrincipal: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PasswordCredential" } + type: { + name: "Composite", + className: "PasswordCredential" + } } } }, @@ -1847,7 +2059,11 @@ export const ServicePrincipal: coreHttp.CompositeMapper = { serializedName: "replyUrls", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, samlMetadataUrl: { @@ -1860,7 +2076,11 @@ export const ServicePrincipal: coreHttp.CompositeMapper = { serializedName: "servicePrincipalNames", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, servicePrincipalType: { @@ -1873,7 +2093,11 @@ export const ServicePrincipal: coreHttp.CompositeMapper = { serializedName: "tags", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1897,7 +2121,11 @@ export const ApplicationCreateParameters: coreHttp.CompositeMapper = { serializedName: "identifierUris", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1920,7 +2148,11 @@ export const ApplicationUpdateParameters: coreHttp.CompositeMapper = { serializedName: "identifierUris", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } diff --git a/test/smoke/generated/keyvault-resource-manager/src/models/mappers.ts b/test/smoke/generated/keyvault-resource-manager/src/models/mappers.ts index 4c7a18162c..3af9c5b3da 100644 --- a/test/smoke/generated/keyvault-resource-manager/src/models/mappers.ts +++ b/test/smoke/generated/keyvault-resource-manager/src/models/mappers.ts @@ -62,7 +62,10 @@ export const VaultProperties: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AccessPolicyEntry" } + type: { + name: "Composite", + className: "AccessPolicyEntry" + } } } }, @@ -216,28 +219,44 @@ export const Permissions: coreHttp.CompositeMapper = { serializedName: "keys", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, secrets: { serializedName: "secrets", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, certificates: { serializedName: "certificates", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, storage: { serializedName: "storage", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -265,7 +284,12 @@ export const NetworkRuleSet: coreHttp.CompositeMapper = { serializedName: "ipRules", type: { name: "Sequence", - element: { type: { name: "Composite", className: "IPRule" } } + element: { + type: { + name: "Composite", + className: "IPRule" + } + } } }, virtualNetworkRules: { @@ -273,7 +297,10 @@ export const NetworkRuleSet: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualNetworkRule" } + type: { + name: "Composite", + className: "VirtualNetworkRule" + } } } } @@ -482,7 +509,10 @@ export const VaultPatchProperties: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AccessPolicyEntry" } + type: { + name: "Composite", + className: "AccessPolicyEntry" + } } } }, @@ -601,7 +631,10 @@ export const VaultAccessPolicyProperties: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AccessPolicyEntry" } + type: { + name: "Composite", + className: "AccessPolicyEntry" + } } } } @@ -618,7 +651,12 @@ export const VaultListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Vault" } } + element: { + type: { + name: "Composite", + className: "Vault" + } + } } }, nextLink: { @@ -640,7 +678,12 @@ export const DeletedVaultListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "DeletedVault" } } + element: { + type: { + name: "Composite", + className: "DeletedVault" + } + } } }, nextLink: { @@ -744,7 +787,12 @@ export const ResourceListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Resource" } } + element: { + type: { + name: "Composite", + className: "Resource" + } + } } }, nextLink: { @@ -904,7 +952,10 @@ export const PrivateLinkResourceListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateLinkResource" } + type: { + name: "Composite", + className: "PrivateLinkResource" + } } } } @@ -921,7 +972,12 @@ export const OperationListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Operation" } } + element: { + type: { + name: "Composite", + className: "Operation" + } + } } }, nextLink: { @@ -1012,7 +1068,10 @@ export const ServiceSpecification: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "LogSpecification" } + type: { + name: "Composite", + className: "LogSpecification" + } } } } @@ -1096,14 +1155,22 @@ export const PrivateLinkResource: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, requiredZoneNames: { serializedName: "properties.requiredZoneNames", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } diff --git a/test/smoke/generated/monitor-data-plane/src/models/mappers.ts b/test/smoke/generated/monitor-data-plane/src/models/mappers.ts index b101cfb2c5..397e9068ac 100644 --- a/test/smoke/generated/monitor-data-plane/src/models/mappers.ts +++ b/test/smoke/generated/monitor-data-plane/src/models/mappers.ts @@ -70,7 +70,11 @@ export const AzureMetricsBaseData: coreHttp.CompositeMapper = { serializedName: "dimNames", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, series: { @@ -79,7 +83,10 @@ export const AzureMetricsBaseData: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AzureTimeSeriesData" } + type: { + name: "Composite", + className: "AzureTimeSeriesData" + } } } } @@ -96,7 +103,11 @@ export const AzureTimeSeriesData: coreHttp.CompositeMapper = { serializedName: "dimValues", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, min: { diff --git a/test/smoke/generated/msi-resource-manager/src/models/mappers.ts b/test/smoke/generated/msi-resource-manager/src/models/mappers.ts index 30de92f7c6..6b39f0c946 100644 --- a/test/smoke/generated/msi-resource-manager/src/models/mappers.ts +++ b/test/smoke/generated/msi-resource-manager/src/models/mappers.ts @@ -81,7 +81,12 @@ export const CloudErrorBody: coreHttp.CompositeMapper = { serializedName: "details", type: { name: "Sequence", - element: { type: { name: "Composite", className: "CloudErrorBody" } } + element: { + type: { + name: "Composite", + className: "CloudErrorBody" + } + } } } } @@ -97,7 +102,12 @@ export const OperationListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Operation" } } + element: { + type: { + name: "Composite", + className: "Operation" + } + } } }, nextLink: { @@ -174,7 +184,12 @@ export const UserAssignedIdentitiesListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Identity" } } + element: { + type: { + name: "Composite", + className: "Identity" + } + } } }, nextLink: { diff --git a/test/smoke/generated/network-resource-manager/src/models/mappers.ts b/test/smoke/generated/network-resource-manager/src/models/mappers.ts index afb6b2ff16..13c557e15c 100644 --- a/test/smoke/generated/network-resource-manager/src/models/mappers.ts +++ b/test/smoke/generated/network-resource-manager/src/models/mappers.ts @@ -51,7 +51,12 @@ export const CloudErrorBody: coreHttp.CompositeMapper = { serializedName: "details", type: { name: "Sequence", - element: { type: { name: "Composite", className: "CloudErrorBody" } } + element: { + type: { + name: "Composite", + className: "CloudErrorBody" + } + } } } } @@ -94,7 +99,11 @@ export const ApplicationGatewaySslPolicy: coreHttp.CompositeMapper = { serializedName: "disabledSslProtocols", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, policyType: { @@ -113,7 +122,11 @@ export const ApplicationGatewaySslPolicy: coreHttp.CompositeMapper = { serializedName: "cipherSuites", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, minProtocolVersion: { @@ -156,7 +169,11 @@ export const ApplicationGatewayProbeHealthResponseMatch: coreHttp.CompositeMappe serializedName: "statusCodes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -247,7 +264,11 @@ export const CustomDnsConfigPropertiesFormat: coreHttp.CompositeMapper = { serializedName: "ipAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -263,7 +284,11 @@ export const NetworkInterfaceDnsSettings: coreHttp.CompositeMapper = { serializedName: "dnsServers", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, appliedDnsServers: { @@ -271,7 +296,11 @@ export const NetworkInterfaceDnsSettings: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, internalDnsNameLabel: { @@ -410,7 +439,11 @@ export const ServiceEndpointPropertiesFormat: coreHttp.CompositeMapper = { serializedName: "locations", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, provisioningState: { @@ -559,7 +592,11 @@ export const AddressSpace: coreHttp.CompositeMapper = { serializedName: "addressPrefixes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -575,7 +612,11 @@ export const DhcpOptions: coreHttp.CompositeMapper = { serializedName: "dnsServers", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -629,7 +670,11 @@ export const NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties: cor readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -978,7 +1023,11 @@ export const ApplicationGatewayFirewallDisabledRuleGroup: coreHttp.CompositeMapp serializedName: "rules", type: { name: "Sequence", - element: { type: { name: "Number" } } + element: { + type: { + name: "Number" + } + } } } } @@ -1141,7 +1190,10 @@ export const ApplicationGatewayListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ApplicationGateway" } + type: { + name: "Composite", + className: "ApplicationGateway" + } } } }, @@ -1376,7 +1428,12 @@ export const ErrorModel: coreHttp.CompositeMapper = { serializedName: "details", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ErrorDetails" } } + element: { + type: { + name: "Composite", + className: "ErrorDetails" + } + } } }, innerError: { @@ -1531,7 +1588,10 @@ export const ApplicationSecurityGroupListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ApplicationSecurityGroup" } + type: { + name: "Composite", + className: "ApplicationSecurityGroup" + } } } }, @@ -1556,7 +1616,10 @@ export const AvailableDelegationsResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AvailableDelegation" } + type: { + name: "Composite", + className: "AvailableDelegation" + } } } }, @@ -1604,7 +1667,11 @@ export const AvailableDelegation: coreHttp.CompositeMapper = { serializedName: "actions", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1621,7 +1688,10 @@ export const AvailableServiceAliasesResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AvailableServiceAlias" } + type: { + name: "Composite", + className: "AvailableServiceAlias" + } } } }, @@ -1705,7 +1775,11 @@ export const AzureFirewallApplicationRule: coreHttp.CompositeMapper = { serializedName: "sourceAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, protocols: { @@ -1724,21 +1798,33 @@ export const AzureFirewallApplicationRule: coreHttp.CompositeMapper = { serializedName: "targetFqdns", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, fqdnTags: { serializedName: "fqdnTags", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, sourceIpGroups: { serializedName: "sourceIpGroups", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1806,28 +1892,44 @@ export const AzureFirewallNatRule: coreHttp.CompositeMapper = { serializedName: "sourceAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationAddresses: { serializedName: "destinationAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationPorts: { serializedName: "destinationPorts", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, protocols: { serializedName: "protocols", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, translatedAddress: { @@ -1852,7 +1954,11 @@ export const AzureFirewallNatRule: coreHttp.CompositeMapper = { serializedName: "sourceIpGroups", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1880,49 +1986,77 @@ export const AzureFirewallNetworkRule: coreHttp.CompositeMapper = { serializedName: "protocols", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, sourceAddresses: { serializedName: "sourceAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationAddresses: { serializedName: "destinationAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationPorts: { serializedName: "destinationPorts", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationFqdns: { serializedName: "destinationFqdns", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, sourceIpGroups: { serializedName: "sourceIpGroups", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationIpGroups: { serializedName: "destinationIpGroups", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -2024,7 +2158,12 @@ export const AzureFirewallListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "AzureFirewall" } } + element: { + type: { + name: "Composite", + className: "AzureFirewall" + } + } } }, nextLink: { @@ -2047,7 +2186,10 @@ export const AzureFirewallFqdnTagListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AzureFirewallFqdnTag" } + type: { + name: "Composite", + className: "AzureFirewallFqdnTag" + } } } }, @@ -2070,7 +2212,12 @@ export const BastionHostListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "BastionHost" } } + element: { + type: { + name: "Composite", + className: "BastionHost" + } + } } }, nextLink: { @@ -2093,7 +2240,10 @@ export const BastionShareableLinkListRequest: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "BastionShareableLink" } + type: { + name: "Composite", + className: "BastionShareableLink" + } } } } @@ -2148,7 +2298,10 @@ export const BastionShareableLinkListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "BastionShareableLink" } + type: { + name: "Composite", + className: "BastionShareableLink" + } } } }, @@ -2172,7 +2325,10 @@ export const BastionActiveSessionListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "BastionActiveSession" } + type: { + name: "Composite", + className: "BastionActiveSession" + } } } }, @@ -2281,7 +2437,11 @@ export const SessionIds: coreHttp.CompositeMapper = { serializedName: "sessionIds", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -2298,7 +2458,10 @@ export const BastionSessionDeleteResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "BastionSessionState" } + type: { + name: "Composite", + className: "BastionSessionState" + } } } }, @@ -2455,7 +2618,12 @@ export const DdosProtectionPlan: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } } } @@ -2472,7 +2640,10 @@ export const DdosProtectionPlanListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DdosProtectionPlan" } + type: { + name: "Composite", + className: "DdosProtectionPlan" + } } } }, @@ -2497,7 +2668,10 @@ export const EndpointServicesListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "EndpointServiceResult" } + type: { + name: "Composite", + className: "EndpointServiceResult" + } } } }, @@ -2547,14 +2721,22 @@ export const ExpressRouteCircuitPeeringConfig: coreHttp.CompositeMapper = { serializedName: "advertisedPublicPrefixes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, advertisedCommunities: { serializedName: "advertisedCommunities", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, advertisedPublicPrefixesState: { @@ -2708,7 +2890,10 @@ export const ExpressRouteCircuitPeeringListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ExpressRouteCircuitPeering" } + type: { + name: "Composite", + className: "ExpressRouteCircuitPeering" + } } } }, @@ -3032,7 +3217,10 @@ export const ExpressRouteCircuitListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ExpressRouteCircuit" } + type: { + name: "Composite", + className: "ExpressRouteCircuit" + } } } }, @@ -3236,7 +3424,10 @@ export const ExpressRoutePortsLocationListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ExpressRoutePortsLocation" } + type: { + name: "Composite", + className: "ExpressRoutePortsLocation" + } } } }, @@ -3310,7 +3501,10 @@ export const ExpressRoutePortListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ExpressRoutePort" } + type: { + name: "Composite", + className: "ExpressRoutePort" + } } } }, @@ -3334,7 +3528,10 @@ export const ExpressRouteLinkListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ExpressRouteLink" } + type: { + name: "Composite", + className: "ExpressRouteLink" + } } } }, @@ -3358,14 +3555,22 @@ export const FirewallPolicyThreatIntelWhitelist: coreHttp.CompositeMapper = { serializedName: "ipAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, fqdns: { serializedName: "fqdns", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -3388,7 +3593,11 @@ export const FirewallPolicyTransportSecurity: coreHttp.CompositeMapper = { serializedName: "excludedDomains", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, trustedRootCertificates: { @@ -3458,7 +3667,12 @@ export const FirewallPolicyListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "FirewallPolicy" } } + element: { + type: { + name: "Composite", + className: "FirewallPolicy" + } + } } }, nextLink: { @@ -3518,7 +3732,10 @@ export const FirewallPolicyRuleGroupListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "FirewallPolicyRuleGroup" } + type: { + name: "Composite", + className: "FirewallPolicyRuleGroup" + } } } }, @@ -3541,7 +3758,12 @@ export const IpAllocationListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "IpAllocation" } } + element: { + type: { + name: "Composite", + className: "IpAllocation" + } + } } }, nextLink: { @@ -3563,7 +3785,12 @@ export const IpGroupListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "IpGroup" } } + element: { + type: { + name: "Composite", + className: "IpGroup" + } + } } }, nextLink: { @@ -3600,7 +3827,12 @@ export const LoadBalancerListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "LoadBalancer" } } + element: { + type: { + name: "Composite", + className: "LoadBalancer" + } + } } }, nextLink: { @@ -3624,7 +3856,10 @@ export const LoadBalancerBackendAddressPoolListResult: coreHttp.CompositeMapper type: { name: "Sequence", element: { - type: { name: "Composite", className: "BackendAddressPool" } + type: { + name: "Composite", + className: "BackendAddressPool" + } } } }, @@ -3649,7 +3884,10 @@ export const LoadBalancerFrontendIPConfigurationListResult: coreHttp.CompositeMa type: { name: "Sequence", element: { - type: { name: "Composite", className: "FrontendIPConfiguration" } + type: { + name: "Composite", + className: "FrontendIPConfiguration" + } } } }, @@ -3673,7 +3911,12 @@ export const InboundNatRuleListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "InboundNatRule" } } + element: { + type: { + name: "Composite", + className: "InboundNatRule" + } + } } }, nextLink: { @@ -3697,7 +3940,10 @@ export const LoadBalancerLoadBalancingRuleListResult: coreHttp.CompositeMapper = type: { name: "Sequence", element: { - type: { name: "Composite", className: "LoadBalancingRule" } + type: { + name: "Composite", + className: "LoadBalancingRule" + } } } }, @@ -3721,7 +3967,12 @@ export const LoadBalancerOutboundRuleListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "OutboundRule" } } + element: { + type: { + name: "Composite", + className: "OutboundRule" + } + } } }, nextLink: { @@ -3745,7 +3996,10 @@ export const NetworkInterfaceListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NetworkInterface" } + type: { + name: "Composite", + className: "NetworkInterface" + } } } }, @@ -3769,9 +4023,14 @@ export const LoadBalancerProbeListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Probe" } } - } - }, + element: { + type: { + name: "Composite", + className: "Probe" + } + } + } + }, nextLink: { serializedName: "nextLink", readOnly: true, @@ -3807,7 +4066,12 @@ export const NatGatewayListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "NatGateway" } } + element: { + type: { + name: "Composite", + className: "NatGateway" + } + } } }, nextLink: { @@ -3829,7 +4093,12 @@ export const EffectiveRouteListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "EffectiveRoute" } } + element: { + type: { + name: "Composite", + className: "EffectiveRoute" + } + } } }, nextLink: { @@ -3876,14 +4145,22 @@ export const EffectiveRoute: coreHttp.CompositeMapper = { serializedName: "addressPrefix", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, nextHopIpAddress: { serializedName: "nextHopIpAddress", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, nextHopType: { @@ -4021,14 +4298,22 @@ export const EffectiveNetworkSecurityRule: coreHttp.CompositeMapper = { serializedName: "sourcePortRanges", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationPortRanges: { serializedName: "destinationPortRanges", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, sourceAddressPrefix: { @@ -4047,28 +4332,44 @@ export const EffectiveNetworkSecurityRule: coreHttp.CompositeMapper = { serializedName: "sourceAddressPrefixes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationAddressPrefixes: { serializedName: "destinationAddressPrefixes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, expandedSourceAddressPrefix: { serializedName: "expandedSourceAddressPrefix", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, expandedDestinationAddressPrefix: { serializedName: "expandedDestinationAddressPrefix", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, access: { @@ -4130,7 +4431,12 @@ export const NetworkInterfaceLoadBalancerListResult: coreHttp.CompositeMapper = serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "LoadBalancer" } } + element: { + type: { + name: "Composite", + className: "LoadBalancer" + } + } } }, nextLink: { @@ -4217,7 +4523,12 @@ export const NetworkProfileListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkProfile" } } + element: { + type: { + name: "Composite", + className: "NetworkProfile" + } + } } }, nextLink: { @@ -4240,7 +4551,10 @@ export const NetworkSecurityGroupListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NetworkSecurityGroup" } + type: { + name: "Composite", + className: "NetworkSecurityGroup" + } } } }, @@ -4263,7 +4577,12 @@ export const SecurityRuleListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SecurityRule" } } + element: { + type: { + name: "Composite", + className: "SecurityRule" + } + } } }, nextLink: { @@ -4343,7 +4662,10 @@ export const NetworkVirtualApplianceListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NetworkVirtualAppliance" } + type: { + name: "Composite", + className: "NetworkVirtualAppliance" + } } } }, @@ -4382,7 +4704,12 @@ export const NetworkWatcherListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkWatcher" } } + element: { + type: { + name: "Composite", + className: "NetworkWatcher" + } + } } } } @@ -4449,7 +4776,10 @@ export const Topology: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "TopologyResource" } + type: { + name: "Composite", + className: "TopologyResource" + } } } } @@ -4485,7 +4815,10 @@ export const TopologyResource: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "TopologyAssociation" } + type: { + name: "Composite", + className: "TopologyAssociation" + } } } } @@ -4750,7 +5083,12 @@ export const SecurityRuleAssociations: coreHttp.CompositeMapper = { serializedName: "defaultSecurityRules", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SecurityRule" } } + element: { + type: { + name: "Composite", + className: "SecurityRule" + } + } } }, effectiveSecurityRules: { @@ -4785,7 +5123,12 @@ export const NetworkInterfaceAssociation: coreHttp.CompositeMapper = { serializedName: "securityRules", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SecurityRule" } } + element: { + type: { + name: "Composite", + className: "SecurityRule" + } + } } } } @@ -4808,7 +5151,12 @@ export const SubnetAssociation: coreHttp.CompositeMapper = { serializedName: "securityRules", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SecurityRule" } } + element: { + type: { + name: "Composite", + className: "SecurityRule" + } + } } } } @@ -4859,7 +5207,10 @@ export const PacketCapture: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PacketCaptureFilter" } + type: { + name: "Composite", + className: "PacketCaptureFilter" + } } } } @@ -4911,7 +5262,10 @@ export const PacketCaptureParameters: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PacketCaptureFilter" } + type: { + name: "Composite", + className: "PacketCaptureFilter" + } } } } @@ -5050,7 +5404,10 @@ export const PacketCaptureResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PacketCaptureFilter" } + type: { + name: "Composite", + className: "PacketCaptureFilter" + } } } }, @@ -5104,7 +5461,11 @@ export const PacketCaptureQueryStatusResult: coreHttp.CompositeMapper = { serializedName: "packetCaptureError", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -5121,7 +5482,10 @@ export const PacketCaptureListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PacketCaptureResult" } + type: { + name: "Composite", + className: "PacketCaptureResult" + } } } } @@ -5187,7 +5551,10 @@ export const TroubleshootingResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "TroubleshootingDetails" } + type: { + name: "Composite", + className: "TroubleshootingDetails" + } } } } @@ -5478,14 +5845,23 @@ export const HttpConfiguration: coreHttp.CompositeMapper = { serializedName: "headers", type: { name: "Sequence", - element: { type: { name: "Composite", className: "HttpHeader" } } + element: { + type: { + name: "Composite", + className: "HttpHeader" + } + } } }, validStatusCodes: { serializedName: "validStatusCodes", type: { name: "Sequence", - element: { type: { name: "Number" } } + element: { + type: { + name: "Number" + } + } } } } @@ -5523,7 +5899,12 @@ export const ConnectivityInformation: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ConnectivityHop" } } + element: { + type: { + name: "Composite", + className: "ConnectivityHop" + } + } } }, connectionStatus: { @@ -5610,7 +5991,11 @@ export const ConnectivityHop: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, issues: { @@ -5619,7 +6004,10 @@ export const ConnectivityHop: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ConnectivityIssue" } + type: { + name: "Composite", + className: "ConnectivityIssue" + } } } } @@ -5659,7 +6047,10 @@ export const ConnectivityIssue: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Dictionary", value: { type: { name: "String" } } } + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } } } } @@ -5683,14 +6074,22 @@ export const AzureReachabilityReportParameters: coreHttp.CompositeMapper = { serializedName: "providers", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, azureLocations: { serializedName: "azureLocations", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, startTime: { @@ -5842,7 +6241,11 @@ export const AvailableProvidersListParameters: coreHttp.CompositeMapper = { serializedName: "azureLocations", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, country: { @@ -5904,7 +6307,11 @@ export const AvailableProvidersListCountry: coreHttp.CompositeMapper = { serializedName: "providers", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, states: { @@ -5938,7 +6345,11 @@ export const AvailableProvidersListState: coreHttp.CompositeMapper = { serializedName: "providers", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, cities: { @@ -5946,7 +6357,10 @@ export const AvailableProvidersListState: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AvailableProvidersListCity" } + type: { + name: "Composite", + className: "AvailableProvidersListCity" + } } } } @@ -5969,7 +6383,11 @@ export const AvailableProvidersListCity: coreHttp.CompositeMapper = { serializedName: "providers", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -6286,7 +6704,10 @@ export const ConnectionMonitor: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ConnectionMonitorEndpoint" } + type: { + name: "Composite", + className: "ConnectionMonitorEndpoint" + } } } }, @@ -6307,7 +6728,10 @@ export const ConnectionMonitor: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ConnectionMonitorTestGroup" } + type: { + name: "Composite", + className: "ConnectionMonitorTestGroup" + } } } }, @@ -6316,7 +6740,10 @@ export const ConnectionMonitor: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ConnectionMonitorOutput" } + type: { + name: "Composite", + className: "ConnectionMonitorOutput" + } } } }, @@ -6368,7 +6795,10 @@ export const ConnectionMonitorParameters: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ConnectionMonitorEndpoint" } + type: { + name: "Composite", + className: "ConnectionMonitorEndpoint" + } } } }, @@ -6389,7 +6819,10 @@ export const ConnectionMonitorParameters: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ConnectionMonitorTestGroup" } + type: { + name: "Composite", + className: "ConnectionMonitorTestGroup" + } } } }, @@ -6398,7 +6831,10 @@ export const ConnectionMonitorParameters: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ConnectionMonitorOutput" } + type: { + name: "Composite", + className: "ConnectionMonitorOutput" + } } } }, @@ -6634,14 +7070,23 @@ export const ConnectionMonitorHttpConfiguration: coreHttp.CompositeMapper = { serializedName: "requestHeaders", type: { name: "Sequence", - element: { type: { name: "Composite", className: "HttpHeader" } } + element: { + type: { + name: "Composite", + className: "HttpHeader" + } + } } }, validStatusCodeRanges: { serializedName: "validStatusCodeRanges", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, preferHttps: { @@ -6734,7 +7179,11 @@ export const ConnectionMonitorTestGroup: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, sources: { @@ -6742,7 +7191,11 @@ export const ConnectionMonitorTestGroup: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinations: { @@ -6750,7 +7203,11 @@ export const ConnectionMonitorTestGroup: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -6873,7 +7330,10 @@ export const ConnectionMonitorResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ConnectionMonitorEndpoint" } + type: { + name: "Composite", + className: "ConnectionMonitorEndpoint" + } } } }, @@ -6894,7 +7354,10 @@ export const ConnectionMonitorResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ConnectionMonitorTestGroup" } + type: { + name: "Composite", + className: "ConnectionMonitorTestGroup" + } } } }, @@ -6903,7 +7366,10 @@ export const ConnectionMonitorResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ConnectionMonitorOutput" } + type: { + name: "Composite", + className: "ConnectionMonitorOutput" + } } } }, @@ -6961,7 +7427,10 @@ export const ConnectionMonitorQueryResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ConnectionStateSnapshot" } + type: { + name: "Composite", + className: "ConnectionStateSnapshot" + } } } } @@ -7033,7 +7502,12 @@ export const ConnectionStateSnapshot: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ConnectivityHop" } } + element: { + type: { + name: "Composite", + className: "ConnectivityHop" + } + } } } } @@ -7050,7 +7524,10 @@ export const ConnectionMonitorListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ConnectionMonitorResult" } + type: { + name: "Composite", + className: "ConnectionMonitorResult" + } } } } @@ -7067,7 +7544,12 @@ export const FlowLogListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "FlowLog" } } + element: { + type: { + name: "Composite", + className: "FlowLog" + } + } } }, nextLink: { @@ -7090,7 +7572,12 @@ export const OperationListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Operation" } } + element: { + type: { + name: "Composite", + className: "Operation" + } + } } }, nextLink: { @@ -7181,7 +7668,10 @@ export const OperationPropertiesFormatServiceSpecification: coreHttp.CompositeMa type: { name: "Sequence", element: { - type: { name: "Composite", className: "MetricSpecification" } + type: { + name: "Composite", + className: "MetricSpecification" + } } } }, @@ -7190,7 +7680,10 @@ export const OperationPropertiesFormatServiceSpecification: coreHttp.CompositeMa type: { name: "Sequence", element: { - type: { name: "Composite", className: "LogSpecification" } + type: { + name: "Composite", + className: "LogSpecification" + } } } } @@ -7237,7 +7730,12 @@ export const MetricSpecification: coreHttp.CompositeMapper = { serializedName: "availabilities", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Availability" } } + element: { + type: { + name: "Composite", + className: "Availability" + } + } } }, enableRegionalMdmAccount: { @@ -7262,7 +7760,12 @@ export const MetricSpecification: coreHttp.CompositeMapper = { serializedName: "dimensions", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Dimension" } } + element: { + type: { + name: "Composite", + className: "Dimension" + } + } } }, isInternal: { @@ -7383,7 +7886,12 @@ export const PrivateEndpointListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "PrivateEndpoint" } } + element: { + type: { + name: "Composite", + className: "PrivateEndpoint" + } + } } }, nextLink: { @@ -7480,8 +7988,13 @@ export const PrivateDnsZoneConfig: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "RecordSet" } } - } + element: { + type: { + name: "Composite", + className: "RecordSet" + } + } + } } } } @@ -7527,7 +8040,11 @@ export const RecordSet: coreHttp.CompositeMapper = { serializedName: "ipAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -7544,7 +8061,10 @@ export const PrivateDnsZoneGroupListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateDnsZoneGroup" } + type: { + name: "Composite", + className: "PrivateDnsZoneGroup" + } } } }, @@ -7568,7 +8088,11 @@ export const ResourceSet: coreHttp.CompositeMapper = { serializedName: "subscriptions", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -7585,7 +8109,10 @@ export const PrivateLinkServiceListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateLinkService" } + type: { + name: "Composite", + className: "PrivateLinkService" + } } } }, @@ -7610,7 +8137,10 @@ export const PrivateEndpointConnectionListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateEndpointConnection" } + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } } } }, @@ -7707,7 +8237,12 @@ export const PublicIPAddressListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "PublicIPAddress" } } + element: { + type: { + name: "Composite", + className: "PublicIPAddress" + } + } } }, nextLink: { @@ -7759,7 +8294,12 @@ export const PublicIPPrefixListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "PublicIPPrefix" } } + element: { + type: { + name: "Composite", + className: "PublicIPPrefix" + } + } } }, nextLink: { @@ -7781,7 +8321,12 @@ export const RouteFilterListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "RouteFilter" } } + element: { + type: { + name: "Composite", + className: "RouteFilter" + } + } } }, nextLink: { @@ -7803,7 +8348,12 @@ export const RouteFilterRuleListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "RouteFilterRule" } } + element: { + type: { + name: "Composite", + className: "RouteFilterRule" + } + } } }, nextLink: { @@ -7825,7 +8375,12 @@ export const RouteTableListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "RouteTable" } } + element: { + type: { + name: "Composite", + className: "RouteTable" + } + } } }, nextLink: { @@ -7847,7 +8402,12 @@ export const RouteListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Route" } } + element: { + type: { + name: "Composite", + className: "Route" + } + } } }, nextLink: { @@ -7870,7 +8430,10 @@ export const SecurityPartnerProviderListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SecurityPartnerProvider" } + type: { + name: "Composite", + className: "SecurityPartnerProvider" + } } } }, @@ -7894,7 +8457,10 @@ export const BgpServiceCommunityListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "BgpServiceCommunity" } + type: { + name: "Composite", + className: "BgpServiceCommunity" + } } } }, @@ -7935,7 +8501,11 @@ export const BGPCommunity: coreHttp.CompositeMapper = { serializedName: "communityPrefixes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, isAuthorizedToUse: { @@ -7964,7 +8534,10 @@ export const ServiceEndpointPolicyListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ServiceEndpointPolicy" } + type: { + name: "Composite", + className: "ServiceEndpointPolicy" + } } } }, @@ -8052,7 +8625,10 @@ export const ServiceTagsListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ServiceTagInformation" } + type: { + name: "Composite", + className: "ServiceTagInformation" + } } } } @@ -8121,7 +8697,11 @@ export const ServiceTagInformationPropertiesFormat: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -8137,7 +8717,12 @@ export const UsagesListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Usage" } } + element: { + type: { + name: "Composite", + className: "Usage" + } + } } }, nextLink: { @@ -8224,7 +8809,12 @@ export const VirtualNetworkListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "VirtualNetwork" } } + element: { + type: { + name: "Composite", + className: "VirtualNetwork" + } + } } }, nextLink: { @@ -8311,7 +8901,10 @@ export const ResourceNavigationLinksListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ResourceNavigationLink" } + type: { + name: "Composite", + className: "ResourceNavigationLink" + } } } }, @@ -8336,7 +8929,10 @@ export const ServiceAssociationLinksListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ServiceAssociationLink" } + type: { + name: "Composite", + className: "ServiceAssociationLink" + } } } }, @@ -8360,7 +8956,12 @@ export const SubnetListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Subnet" } } + element: { + type: { + name: "Composite", + className: "Subnet" + } + } } }, nextLink: { @@ -8383,7 +8984,10 @@ export const VirtualNetworkPeeringListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualNetworkPeering" } + type: { + name: "Composite", + className: "VirtualNetworkPeering" + } } } }, @@ -8412,7 +9016,11 @@ export const IPAddressAvailabilityResult: coreHttp.CompositeMapper = { serializedName: "availableIPAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -8430,7 +9038,10 @@ export const VirtualNetworkListUsageResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualNetworkUsage" } + type: { + name: "Composite", + className: "VirtualNetworkUsage" + } } } }, @@ -8556,7 +9167,10 @@ export const VpnClientConfiguration: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VpnClientRootCertificate" } + type: { + name: "Composite", + className: "VpnClientRootCertificate" + } } } }, @@ -8576,14 +9190,23 @@ export const VpnClientConfiguration: coreHttp.CompositeMapper = { serializedName: "vpnClientProtocols", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, vpnClientIpsecPolicies: { serializedName: "vpnClientIpsecPolicies", type: { name: "Sequence", - element: { type: { name: "Composite", className: "IpsecPolicy" } } + element: { + type: { + name: "Composite", + className: "IpsecPolicy" + } + } } }, radiusServerAddress: { @@ -8602,7 +9225,12 @@ export const VpnClientConfiguration: coreHttp.CompositeMapper = { serializedName: "radiusServers", type: { name: "Sequence", - element: { type: { name: "Composite", className: "RadiusServer" } } + element: { + type: { + name: "Composite", + className: "RadiusServer" + } + } } }, aadTenant: { @@ -8779,14 +9407,22 @@ export const IPConfigurationBgpPeeringAddress: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, customBgpIpAddresses: { serializedName: "customBgpIpAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, tunnelIpAddresses: { @@ -8794,7 +9430,11 @@ export const IPConfigurationBgpPeeringAddress: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -8811,7 +9451,10 @@ export const VirtualNetworkGatewayListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualNetworkGateway" } + type: { + name: "Composite", + className: "VirtualNetworkGateway" + } } } }, @@ -8924,7 +9567,11 @@ export const TrafficSelectorPolicy: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, remoteAddressRanges: { @@ -8932,7 +9579,11 @@ export const TrafficSelectorPolicy: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -8966,7 +9617,11 @@ export const VpnClientParameters: coreHttp.CompositeMapper = { serializedName: "clientRootCertificates", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -8982,7 +9637,12 @@ export const BgpPeerStatusListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "BgpPeerStatus" } } + element: { + type: { + name: "Composite", + className: "BgpPeerStatus" + } + } } } } @@ -9067,7 +9727,12 @@ export const GatewayRouteListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "GatewayRoute" } } + element: { + type: { + name: "Composite", + className: "GatewayRoute" + } + } } } } @@ -9312,7 +9977,10 @@ export const LocalNetworkGatewayListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "LocalNetworkGateway" } + type: { + name: "Composite", + className: "LocalNetworkGateway" + } } } }, @@ -9450,7 +10118,11 @@ export const P2SVpnConnectionRequest: coreHttp.CompositeMapper = { serializedName: "vpnConnectionIds", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -9467,7 +10139,10 @@ export const VirtualNetworkTapListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualNetworkTap" } + type: { + name: "Composite", + className: "VirtualNetworkTap" + } } } }, @@ -9490,7 +10165,12 @@ export const VirtualRouterListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "VirtualRouter" } } + element: { + type: { + name: "Composite", + className: "VirtualRouter" + } + } } }, nextLink: { @@ -9513,7 +10193,10 @@ export const VirtualRouterPeeringListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualRouterPeering" } + type: { + name: "Composite", + className: "VirtualRouterPeering" + } } } }, @@ -9536,7 +10219,12 @@ export const ListVirtualWANsResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "VirtualWAN" } } + element: { + type: { + name: "Composite", + className: "VirtualWAN" + } + } } }, nextLink: { @@ -9627,7 +10315,12 @@ export const ListVpnSitesResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "VpnSite" } } + element: { + type: { + name: "Composite", + className: "VpnSite" + } + } } }, nextLink: { @@ -9649,7 +10342,12 @@ export const ListVpnSiteLinksResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "VpnSiteLink" } } + element: { + type: { + name: "Composite", + className: "VpnSiteLink" + } + } } }, nextLink: { @@ -9671,7 +10369,11 @@ export const GetVpnSitesConfigurationRequest: coreHttp.CompositeMapper = { serializedName: "vpnSites", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, outputBlobSasUrl: { @@ -9695,7 +10397,10 @@ export const VirtualWanSecurityProviders: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualWanSecurityProvider" } + type: { + name: "Composite", + className: "VirtualWanSecurityProvider" + } } } } @@ -9881,14 +10586,23 @@ export const PropagatedRouteTable: coreHttp.CompositeMapper = { serializedName: "labels", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, ids: { serializedName: "ids", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } } } @@ -9904,7 +10618,12 @@ export const VnetRoute: coreHttp.CompositeMapper = { serializedName: "staticRoutes", type: { name: "Sequence", - element: { type: { name: "Composite", className: "StaticRoute" } } + element: { + type: { + name: "Composite", + className: "StaticRoute" + } + } } } } @@ -9926,7 +10645,11 @@ export const StaticRoute: coreHttp.CompositeMapper = { serializedName: "addressPrefixes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, nextHopIpAddress: { @@ -9968,7 +10691,11 @@ export const VpnClientConnectionHealth: coreHttp.CompositeMapper = { serializedName: "allocatedIpAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -9985,7 +10712,10 @@ export const ListVpnServerConfigurationsResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VpnServerConfiguration" } + type: { + name: "Composite", + className: "VpnServerConfiguration" + } } } }, @@ -10008,7 +10738,12 @@ export const VirtualHubRouteTable: coreHttp.CompositeMapper = { serializedName: "routes", type: { name: "Sequence", - element: { type: { name: "Composite", className: "VirtualHubRoute" } } + element: { + type: { + name: "Composite", + className: "VirtualHubRoute" + } + } } } } @@ -10024,7 +10759,11 @@ export const VirtualHubRoute: coreHttp.CompositeMapper = { serializedName: "addressPrefixes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, nextHopIpAddress: { @@ -10052,7 +10791,11 @@ export const VirtualHubRouteV2: coreHttp.CompositeMapper = { serializedName: "destinations", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, nextHopType: { @@ -10065,7 +10808,11 @@ export const VirtualHubRouteV2: coreHttp.CompositeMapper = { serializedName: "nextHops", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -10081,7 +10828,12 @@ export const ListVirtualHubsResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "VirtualHub" } } + element: { + type: { + name: "Composite", + className: "VirtualHub" + } + } } }, nextLink: { @@ -10130,7 +10882,12 @@ export const ListVpnGatewaysResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "VpnGateway" } } + element: { + type: { + name: "Composite", + className: "VpnGateway" + } + } } }, nextLink: { @@ -10152,7 +10909,12 @@ export const ListVpnConnectionsResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "VpnConnection" } } + element: { + type: { + name: "Composite", + className: "VpnConnection" + } + } } }, nextLink: { @@ -10175,8 +10937,11 @@ export const ListVpnSiteLinkConnectionsResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VpnSiteLinkConnection" } - } + type: { + name: "Composite", + className: "VpnSiteLinkConnection" + } + } } }, nextLink: { @@ -10198,7 +10963,12 @@ export const ListP2SVpnGatewaysResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "P2SVpnGateway" } } + element: { + type: { + name: "Composite", + className: "P2SVpnGateway" + } + } } }, nextLink: { @@ -10250,7 +11020,11 @@ export const P2SVpnConnectionHealthRequest: coreHttp.CompositeMapper = { serializedName: "vpnUserNamesFilter", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, outputBlobSasUrl: { @@ -10287,7 +11061,11 @@ export const VpnServerConfigurationsResponse: coreHttp.CompositeMapper = { serializedName: "vpnServerConfigurationResourceIds", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -10325,7 +11103,10 @@ export const ListVirtualHubRouteTableV2SResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualHubRouteTableV2" } + type: { + name: "Composite", + className: "VirtualHubRouteTableV2" + } } } }, @@ -10349,7 +11130,10 @@ export const ExpressRouteGatewayList: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ExpressRouteGateway" } + type: { + name: "Composite", + className: "ExpressRouteGateway" + } } } } @@ -10434,7 +11218,10 @@ export const ExpressRouteConnectionList: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ExpressRouteConnection" } + type: { + name: "Composite", + className: "ExpressRouteConnection" + } } } } @@ -10466,7 +11253,11 @@ export const HubRoute: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, nextHopType: { @@ -10496,7 +11287,12 @@ export const ListHubRouteTablesResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "HubRouteTable" } } + element: { + type: { + name: "Composite", + className: "HubRouteTable" + } + } } }, nextLink: { @@ -10624,7 +11420,12 @@ export const WebApplicationFirewallCustomRule: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "MatchCondition" } } + element: { + type: { + name: "Composite", + className: "MatchCondition" + } + } } }, action: { @@ -10648,7 +11449,12 @@ export const MatchCondition: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "MatchVariable" } } + element: { + type: { + name: "Composite", + className: "MatchVariable" + } + } } }, operator: { @@ -10669,14 +11475,22 @@ export const MatchCondition: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, transforms: { serializedName: "transforms", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -10715,7 +11529,10 @@ export const ManagedRulesDefinition: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "OwaspCrsExclusionEntry" } + type: { + name: "Composite", + className: "OwaspCrsExclusionEntry" + } } } }, @@ -10724,7 +11541,12 @@ export const ManagedRulesDefinition: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ManagedRuleSet" } } + element: { + type: { + name: "Composite", + className: "ManagedRuleSet" + } + } } } } @@ -10785,7 +11607,10 @@ export const ManagedRuleSet: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ManagedRuleGroupOverride" } + type: { + name: "Composite", + className: "ManagedRuleGroupOverride" + } } } } @@ -10810,7 +11635,10 @@ export const ManagedRuleGroupOverride: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ManagedRuleOverride" } + type: { + name: "Composite", + className: "ManagedRuleOverride" + } } } } @@ -11469,7 +12297,11 @@ export const SecurityRule: coreHttp.CompositeMapper = { serializedName: "properties.sourceAddressPrefixes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, sourceApplicationSecurityGroups: { @@ -11477,7 +12309,10 @@ export const SecurityRule: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ApplicationSecurityGroup" } + type: { + name: "Composite", + className: "ApplicationSecurityGroup" + } } } }, @@ -11491,7 +12326,11 @@ export const SecurityRule: coreHttp.CompositeMapper = { serializedName: "properties.destinationAddressPrefixes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationApplicationSecurityGroups: { @@ -11499,7 +12338,10 @@ export const SecurityRule: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ApplicationSecurityGroup" } + type: { + name: "Composite", + className: "ApplicationSecurityGroup" + } } } }, @@ -11507,14 +12349,22 @@ export const SecurityRule: coreHttp.CompositeMapper = { serializedName: "properties.sourcePortRanges", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationPortRanges: { serializedName: "properties.destinationPortRanges", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, access: { @@ -11589,7 +12439,11 @@ export const PrivateLinkServiceConnection: coreHttp.CompositeMapper = { serializedName: "properties.groupIds", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, requestMessage: { @@ -11692,7 +12546,11 @@ export const ServiceEndpointPolicyDefinition: coreHttp.CompositeMapper = { serializedName: "properties.serviceResources", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, provisioningState: { @@ -11910,7 +12768,11 @@ export const ServiceAssociationLink: coreHttp.CompositeMapper = { serializedName: "properties.locations", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -11947,7 +12809,11 @@ export const Delegation: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, provisioningState: { @@ -11990,7 +12856,11 @@ export const Subnet: coreHttp.CompositeMapper = { serializedName: "properties.addressPrefixes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, networkSecurityGroup: { @@ -12031,7 +12901,10 @@ export const Subnet: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ServiceEndpointPolicy" } + type: { + name: "Composite", + className: "ServiceEndpointPolicy" + } } } }, @@ -12040,7 +12913,12 @@ export const Subnet: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "PrivateEndpoint" } } + element: { + type: { + name: "Composite", + className: "PrivateEndpoint" + } + } } }, ipConfigurations: { @@ -12048,7 +12926,12 @@ export const Subnet: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "IPConfiguration" } } + element: { + type: { + name: "Composite", + className: "IPConfiguration" + } + } } }, ipConfigurationProfiles: { @@ -12057,7 +12940,10 @@ export const Subnet: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "IPConfigurationProfile" } + type: { + name: "Composite", + className: "IPConfigurationProfile" + } } } }, @@ -12065,7 +12951,12 @@ export const Subnet: coreHttp.CompositeMapper = { serializedName: "properties.ipAllocations", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, resourceNavigationLinks: { @@ -12074,7 +12965,10 @@ export const Subnet: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ResourceNavigationLink" } + type: { + name: "Composite", + className: "ResourceNavigationLink" + } } } }, @@ -12084,7 +12978,10 @@ export const Subnet: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ServiceAssociationLink" } + type: { + name: "Composite", + className: "ServiceAssociationLink" + } } } }, @@ -12092,7 +12989,12 @@ export const Subnet: coreHttp.CompositeMapper = { serializedName: "properties.delegations", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Delegation" } } + element: { + type: { + name: "Composite", + className: "Delegation" + } + } } }, purpose: { @@ -12155,7 +13057,11 @@ export const FrontendIPConfiguration: coreHttp.CompositeMapper = { serializedName: "zones", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, inboundNatRules: { @@ -12163,7 +13069,12 @@ export const FrontendIPConfiguration: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, inboundNatPools: { @@ -12171,7 +13082,12 @@ export const FrontendIPConfiguration: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, outboundRules: { @@ -12179,7 +13095,12 @@ export const FrontendIPConfiguration: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, loadBalancingRules: { @@ -12187,7 +13108,12 @@ export const FrontendIPConfiguration: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, privateIPAddress: { @@ -12358,7 +13284,10 @@ export const BackendAddressPool: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "LoadBalancerBackendAddress" } + type: { + name: "Composite", + className: "LoadBalancerBackendAddress" + } } } }, @@ -12367,7 +13296,12 @@ export const BackendAddressPool: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, outboundRule: { @@ -12382,7 +13316,12 @@ export const BackendAddressPool: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, provisioningState: { @@ -12507,7 +13446,10 @@ export const NetworkInterfaceIPConfiguration: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualNetworkTap" } + type: { + name: "Composite", + className: "VirtualNetworkTap" + } } } }, @@ -12528,7 +13470,10 @@ export const NetworkInterfaceIPConfiguration: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "BackendAddressPool" } + type: { + name: "Composite", + className: "BackendAddressPool" + } } } }, @@ -12536,7 +13481,12 @@ export const NetworkInterfaceIPConfiguration: coreHttp.CompositeMapper = { serializedName: "properties.loadBalancerInboundNatRules", type: { name: "Sequence", - element: { type: { name: "Composite", className: "InboundNatRule" } } + element: { + type: { + name: "Composite", + className: "InboundNatRule" + } + } } }, privateIPAddress: { @@ -12582,7 +13532,10 @@ export const NetworkInterfaceIPConfiguration: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ApplicationSecurityGroup" } + type: { + name: "Composite", + className: "ApplicationSecurityGroup" + } } } }, @@ -12728,14 +13681,24 @@ export const ApplicationGatewayBackendHttpSettings: coreHttp.CompositeMapper = { serializedName: "properties.authenticationCertificates", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, trustedRootCertificates: { serializedName: "properties.trustedRootCertificates", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, connectionDraining: { @@ -12881,7 +13844,11 @@ export const ApplicationGatewayHttpListener: coreHttp.CompositeMapper = { serializedName: "properties.hostNames", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -12918,7 +13885,11 @@ export const ApplicationGatewayPathRule: coreHttp.CompositeMapper = { serializedName: "properties.paths", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, backendAddressPool: { @@ -13026,7 +13997,10 @@ export const ApplicationGatewayUrlPathMap: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ApplicationGatewayPathRule" } + type: { + name: "Composite", + className: "ApplicationGatewayPathRule" + } } } }, @@ -13239,21 +14213,36 @@ export const ApplicationGatewayRedirectConfiguration: coreHttp.CompositeMapper = serializedName: "properties.requestRoutingRules", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, urlPathMaps: { serializedName: "properties.urlPathMaps", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, pathRules: { serializedName: "properties.pathRules", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } } } @@ -13276,7 +14265,11 @@ export const ApplicationGatewaySslPredefinedPolicy: coreHttp.CompositeMapper = { serializedName: "properties.cipherSuites", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, minProtocolVersion: { @@ -13389,7 +14382,10 @@ export const AzureFirewallNatRuleCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AzureFirewallNatRule" } + type: { + name: "Composite", + className: "AzureFirewallNatRule" + } } } }, @@ -13445,7 +14441,10 @@ export const AzureFirewallNetworkRuleCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AzureFirewallNetworkRule" } + type: { + name: "Composite", + className: "AzureFirewallNetworkRule" + } } } }, @@ -14218,7 +15217,10 @@ export const FirewallPolicyRuleGroup: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "FirewallPolicyRule" } + type: { + name: "Composite", + className: "FirewallPolicyRule" + } } } }, @@ -14370,7 +15372,12 @@ export const Probe: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, protocol: { @@ -14536,7 +15543,12 @@ export const OutboundRule: coreHttp.CompositeMapper = { serializedName: "properties.frontendIPConfigurations", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, backendAddressPool: { @@ -14606,7 +15618,10 @@ export const ContainerNetworkInterfaceConfiguration: coreHttp.CompositeMapper = type: { name: "Sequence", element: { - type: { name: "Composite", className: "IPConfigurationProfile" } + type: { + name: "Composite", + className: "IPConfigurationProfile" + } } } }, @@ -14614,9 +15629,14 @@ export const ContainerNetworkInterfaceConfiguration: coreHttp.CompositeMapper = serializedName: "properties.containerNetworkInterfaces", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } - } - }, + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, @@ -14723,7 +15743,10 @@ export const PrivateDnsZoneGroup: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateDnsZoneConfig" } + type: { + name: "Composite", + className: "PrivateDnsZoneConfig" + } } } } @@ -14898,7 +15921,11 @@ export const RouteFilterRule: coreHttp.CompositeMapper = { serializedName: "properties.communities", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, provisioningState: { @@ -15305,7 +16332,10 @@ export const VirtualHubRouteTableV2: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualHubRouteV2" } + type: { + name: "Composite", + className: "VirtualHubRouteV2" + } } } }, @@ -15313,7 +16343,11 @@ export const VirtualHubRouteTableV2: coreHttp.CompositeMapper = { serializedName: "properties.attachedConnections", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, provisioningState: { @@ -15421,7 +16455,12 @@ export const VpnSiteLinkConnection: coreHttp.CompositeMapper = { serializedName: "properties.ipsecPolicies", type: { name: "Sequence", - element: { type: { name: "Composite", className: "IpsecPolicy" } } + element: { + type: { + name: "Composite", + className: "IpsecPolicy" + } + } } }, enableRateLimiting: { @@ -15540,7 +16579,12 @@ export const VpnConnection: coreHttp.CompositeMapper = { serializedName: "properties.ipsecPolicies", type: { name: "Sequence", - element: { type: { name: "Composite", className: "IpsecPolicy" } } + element: { + type: { + name: "Composite", + className: "IpsecPolicy" + } + } } }, enableRateLimiting: { @@ -15573,7 +16617,10 @@ export const VpnConnection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VpnSiteLinkConnection" } + type: { + name: "Composite", + className: "VpnSiteLinkConnection" + } } } }, @@ -15674,14 +16721,23 @@ export const HubRouteTable: coreHttp.CompositeMapper = { serializedName: "properties.routes", type: { name: "Sequence", - element: { type: { name: "Composite", className: "HubRoute" } } + element: { + type: { + name: "Composite", + className: "HubRoute" + } + } } }, labels: { serializedName: "properties.labels", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, associatedConnections: { @@ -15689,7 +16745,12 @@ export const HubRouteTable: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, propagatingConnections: { @@ -15697,7 +16758,12 @@ export const HubRouteTable: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, provisioningState: { @@ -15757,7 +16823,11 @@ export const PatchRouteFilterRule: coreHttp.CompositeMapper = { serializedName: "properties.communities", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, provisioningState: { @@ -15809,7 +16879,12 @@ export const PatchRouteFilter: coreHttp.CompositeMapper = { serializedName: "properties.rules", type: { name: "Sequence", - element: { type: { name: "Composite", className: "RouteFilterRule" } } + element: { + type: { + name: "Composite", + className: "RouteFilterRule" + } + } } }, peerings: { @@ -15818,7 +16893,10 @@ export const PatchRouteFilter: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ExpressRouteCircuitPeering" } + type: { + name: "Composite", + className: "ExpressRouteCircuitPeering" + } } } }, @@ -15828,7 +16906,10 @@ export const PatchRouteFilter: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ExpressRouteCircuitPeering" } + type: { + name: "Composite", + className: "ExpressRouteCircuitPeering" + } } } }, @@ -15900,7 +16981,10 @@ export const PrivateEndpoint: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NetworkInterface" } + type: { + name: "Composite", + className: "NetworkInterface" + } } } }, @@ -16048,7 +17132,11 @@ export const NetworkInterface: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, resourceGuid: { @@ -16156,7 +17244,12 @@ export const NetworkSecurityGroup: coreHttp.CompositeMapper = { serializedName: "properties.securityRules", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SecurityRule" } } + element: { + type: { + name: "Composite", + className: "SecurityRule" + } + } } }, defaultSecurityRules: { @@ -16164,7 +17257,12 @@ export const NetworkSecurityGroup: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SecurityRule" } } + element: { + type: { + name: "Composite", + className: "SecurityRule" + } + } } }, networkInterfaces: { @@ -16173,7 +17271,10 @@ export const NetworkSecurityGroup: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NetworkInterface" } + type: { + name: "Composite", + className: "NetworkInterface" + } } } }, @@ -16182,7 +17283,12 @@ export const NetworkSecurityGroup: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Subnet" } } + element: { + type: { + name: "Composite", + className: "Subnet" + } + } } }, flowLogs: { @@ -16190,7 +17296,12 @@ export const NetworkSecurityGroup: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "FlowLog" } } + element: { + type: { + name: "Composite", + className: "FlowLog" + } + } } }, resourceGuid: { @@ -16228,7 +17339,12 @@ export const RouteTable: coreHttp.CompositeMapper = { serializedName: "properties.routes", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Route" } } + element: { + type: { + name: "Composite", + className: "Route" + } + } } }, subnets: { @@ -16236,7 +17352,12 @@ export const RouteTable: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Subnet" } } + element: { + type: { + name: "Composite", + className: "Subnet" + } + } } }, disableBgpRoutePropagation: { @@ -16286,7 +17407,12 @@ export const ServiceEndpointPolicy: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Subnet" } } + element: { + type: { + name: "Composite", + className: "Subnet" + } + } } }, resourceGuid: { @@ -16331,7 +17457,11 @@ export const PublicIPAddress: coreHttp.CompositeMapper = { serializedName: "zones", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, publicIPAllocationMethod: { @@ -16371,7 +17501,12 @@ export const PublicIPAddress: coreHttp.CompositeMapper = { serializedName: "properties.ipTags", type: { name: "Sequence", - element: { type: { name: "Composite", className: "IpTag" } } + element: { + type: { + name: "Composite", + className: "IpTag" + } + } } }, ipAddress: { @@ -16506,7 +17641,12 @@ export const VirtualNetwork: coreHttp.CompositeMapper = { serializedName: "properties.subnets", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Subnet" } } + element: { + type: { + name: "Composite", + className: "Subnet" + } + } } }, virtualNetworkPeerings: { @@ -16514,7 +17654,10 @@ export const VirtualNetwork: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualNetworkPeering" } + type: { + name: "Composite", + className: "VirtualNetworkPeering" + } } } }, @@ -16562,7 +17705,12 @@ export const VirtualNetwork: coreHttp.CompositeMapper = { serializedName: "properties.ipAllocations", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } } } @@ -16586,7 +17734,11 @@ export const ApplicationGateway: coreHttp.CompositeMapper = { serializedName: "zones", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, identity: { @@ -16694,7 +17846,10 @@ export const ApplicationGateway: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ApplicationGatewayProbe" } + type: { + name: "Composite", + className: "ApplicationGatewayProbe" + } } } }, @@ -16902,7 +18057,12 @@ export const ApplicationGatewayAvailableSslOptions: coreHttp.CompositeMapper = { serializedName: "properties.predefinedPolicies", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, defaultPolicy: { @@ -16915,14 +18075,22 @@ export const ApplicationGatewayAvailableSslOptions: coreHttp.CompositeMapper = { serializedName: "properties.availableCipherSuites", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, availableProtocols: { serializedName: "properties.availableProtocols", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -16939,7 +18107,11 @@ export const AzureFirewall: coreHttp.CompositeMapper = { serializedName: "zones", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, etag: { @@ -17044,7 +18216,10 @@ export const AzureFirewall: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AzureFirewallIpGroups" } + type: { + name: "Composite", + className: "AzureFirewallIpGroups" + } } } }, @@ -17115,7 +18290,10 @@ export const BastionHost: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "BastionHostIPConfiguration" } + type: { + name: "Composite", + className: "BastionHostIPConfiguration" + } } } }, @@ -17168,7 +18346,12 @@ export const DdosCustomPolicy: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, protocolCustomSettings: { @@ -17242,7 +18425,10 @@ export const ExpressRouteCircuit: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ExpressRouteCircuitPeering" } + type: { + name: "Composite", + className: "ExpressRouteCircuitPeering" + } } } }, @@ -17318,7 +18504,11 @@ export const ExpressRouteServiceProvider: coreHttp.CompositeMapper = { serializedName: "properties.peeringLocations", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, bandwidthsOffered: { @@ -17546,7 +18736,10 @@ export const ExpressRoutePort: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ExpressRouteLink" } + type: { + name: "Composite", + className: "ExpressRouteLink" + } } } }, @@ -17555,7 +18748,12 @@ export const ExpressRoutePort: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, provisioningState: { @@ -17601,7 +18799,12 @@ export const FirewallPolicy: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, provisioningState: { @@ -17623,7 +18826,12 @@ export const FirewallPolicy: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, childPolicies: { @@ -17631,7 +18839,12 @@ export const FirewallPolicy: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, threatIntelMode: { @@ -17757,7 +18970,11 @@ export const IpGroup: coreHttp.CompositeMapper = { serializedName: "properties.ipAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, firewalls: { @@ -17765,7 +18982,12 @@ export const IpGroup: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } } } @@ -17797,7 +19019,10 @@ export const LoadBalancer: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "FrontendIPConfiguration" } + type: { + name: "Composite", + className: "FrontendIPConfiguration" + } } } }, @@ -17806,7 +19031,10 @@ export const LoadBalancer: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "BackendAddressPool" } + type: { + name: "Composite", + className: "BackendAddressPool" + } } } }, @@ -17815,7 +19043,10 @@ export const LoadBalancer: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "LoadBalancingRule" } + type: { + name: "Composite", + className: "LoadBalancingRule" + } } } }, @@ -17823,28 +19054,48 @@ export const LoadBalancer: coreHttp.CompositeMapper = { serializedName: "properties.probes", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Probe" } } + element: { + type: { + name: "Composite", + className: "Probe" + } + } } }, inboundNatRules: { serializedName: "properties.inboundNatRules", type: { name: "Sequence", - element: { type: { name: "Composite", className: "InboundNatRule" } } + element: { + type: { + name: "Composite", + className: "InboundNatRule" + } + } } }, inboundNatPools: { serializedName: "properties.inboundNatPools", type: { name: "Sequence", - element: { type: { name: "Composite", className: "InboundNatPool" } } + element: { + type: { + name: "Composite", + className: "InboundNatPool" + } + } } }, outboundRules: { serializedName: "properties.outboundRules", type: { name: "Sequence", - element: { type: { name: "Composite", className: "OutboundRule" } } + element: { + type: { + name: "Composite", + className: "OutboundRule" + } + } } }, resourceGuid: { @@ -17882,7 +19133,11 @@ export const NatGateway: coreHttp.CompositeMapper = { serializedName: "zones", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, etag: { @@ -17902,14 +19157,24 @@ export const NatGateway: coreHttp.CompositeMapper = { serializedName: "properties.publicIpAddresses", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, publicIpPrefixes: { serializedName: "properties.publicIpPrefixes", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, subnets: { @@ -17917,7 +19182,12 @@ export const NatGateway: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, resourceGuid: { @@ -17957,7 +19227,10 @@ export const NetworkProfile: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ContainerNetworkInterface" } + type: { + name: "Composite", + className: "ContainerNetworkInterface" + } } } }, @@ -18022,7 +19295,11 @@ export const NetworkVirtualAppliance: coreHttp.CompositeMapper = { serializedName: "properties.bootStrapConfigurationBlob", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, virtualHub: { @@ -18036,7 +19313,11 @@ export const NetworkVirtualAppliance: coreHttp.CompositeMapper = { serializedName: "properties.cloudInitConfigurationBlob", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, virtualApplianceAsn: { @@ -18115,7 +19396,10 @@ export const PrivateLinkService: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "FrontendIPConfiguration" } + type: { + name: "Composite", + className: "FrontendIPConfiguration" + } } } }, @@ -18137,7 +19421,10 @@ export const PrivateLinkService: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NetworkInterface" } + type: { + name: "Composite", + className: "NetworkInterface" + } } } }, @@ -18154,7 +19441,10 @@ export const PrivateLinkService: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateEndpointConnection" } + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } } } }, @@ -18176,7 +19466,11 @@ export const PrivateLinkService: coreHttp.CompositeMapper = { serializedName: "properties.fqdns", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, alias: { @@ -18220,7 +19514,11 @@ export const PublicIPPrefix: coreHttp.CompositeMapper = { serializedName: "zones", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, publicIPAddressVersion: { @@ -18233,7 +19531,12 @@ export const PublicIPPrefix: coreHttp.CompositeMapper = { serializedName: "properties.ipTags", type: { name: "Sequence", - element: { type: { name: "Composite", className: "IpTag" } } + element: { + type: { + name: "Composite", + className: "IpTag" + } + } } }, prefixLength: { @@ -18255,7 +19558,10 @@ export const PublicIPPrefix: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ReferencedPublicIpAddress" } + type: { + name: "Composite", + className: "ReferencedPublicIpAddress" + } } } }, @@ -18301,7 +19607,12 @@ export const RouteFilter: coreHttp.CompositeMapper = { serializedName: "properties.rules", type: { name: "Sequence", - element: { type: { name: "Composite", className: "RouteFilterRule" } } + element: { + type: { + name: "Composite", + className: "RouteFilterRule" + } + } } }, peerings: { @@ -18310,7 +19621,10 @@ export const RouteFilter: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ExpressRouteCircuitPeering" } + type: { + name: "Composite", + className: "ExpressRouteCircuitPeering" + } } } }, @@ -18320,7 +19634,10 @@ export const RouteFilter: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ExpressRouteCircuitPeering" } + type: { + name: "Composite", + className: "ExpressRouteCircuitPeering" + } } } }, @@ -18395,7 +19712,12 @@ export const BgpServiceCommunity: coreHttp.CompositeMapper = { serializedName: "properties.bgpCommunities", type: { name: "Sequence", - element: { type: { name: "Composite", className: "BGPCommunity" } } + element: { + type: { + name: "Composite", + className: "BGPCommunity" + } + } } } } @@ -18624,7 +19946,10 @@ export const VirtualNetworkGatewayConnectionListEntity: coreHttp.CompositeMapper type: { name: "Sequence", element: { - type: { name: "Composite", className: "TunnelConnectionHealth" } + type: { + name: "Composite", + className: "TunnelConnectionHealth" + } } } }, @@ -18665,7 +19990,12 @@ export const VirtualNetworkGatewayConnectionListEntity: coreHttp.CompositeMapper serializedName: "properties.ipsecPolicies", type: { name: "Sequence", - element: { type: { name: "Composite", className: "IpsecPolicy" } } + element: { + type: { + name: "Composite", + className: "IpsecPolicy" + } + } } }, trafficSelectorPolicies: { @@ -18673,7 +20003,10 @@ export const VirtualNetworkGatewayConnectionListEntity: coreHttp.CompositeMapper type: { name: "Sequence", element: { - type: { name: "Composite", className: "TrafficSelectorPolicy" } + type: { + name: "Composite", + className: "TrafficSelectorPolicy" + } } } }, @@ -18842,7 +20175,10 @@ export const VirtualNetworkGatewayConnection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "TunnelConnectionHealth" } + type: { + name: "Composite", + className: "TunnelConnectionHealth" + } } } }, @@ -18889,7 +20225,12 @@ export const VirtualNetworkGatewayConnection: coreHttp.CompositeMapper = { serializedName: "properties.ipsecPolicies", type: { name: "Sequence", - element: { type: { name: "Composite", className: "IpsecPolicy" } } + element: { + type: { + name: "Composite", + className: "IpsecPolicy" + } + } } }, trafficSelectorPolicies: { @@ -18897,7 +20238,10 @@ export const VirtualNetworkGatewayConnection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "TrafficSelectorPolicy" } + type: { + name: "Composite", + className: "TrafficSelectorPolicy" + } } } }, @@ -18952,7 +20296,11 @@ export const VirtualRouter: coreHttp.CompositeMapper = { serializedName: "properties.virtualRouterIps", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, hostedSubnet: { @@ -18974,7 +20322,12 @@ export const VirtualRouter: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, provisioningState: { @@ -19012,7 +20365,12 @@ export const VirtualWAN: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, vpnSites: { @@ -19020,7 +20378,12 @@ export const VirtualWAN: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, allowBranchToBranchTraffic: { @@ -19129,7 +20492,12 @@ export const VpnSite: coreHttp.CompositeMapper = { serializedName: "properties.vpnSiteLinks", type: { name: "Sequence", - element: { type: { name: "Composite", className: "VpnSiteLink" } } + element: { + type: { + name: "Composite", + className: "VpnSiteLink" + } + } } } } @@ -19161,7 +20529,10 @@ export const P2SVpnGateway: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "P2SConnectionConfiguration" } + type: { + name: "Composite", + className: "P2SConnectionConfiguration" + } } } }, @@ -19219,14 +20590,22 @@ export const VpnServerConfiguration: coreHttp.CompositeMapper = { serializedName: "properties.vpnProtocols", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, vpnAuthenticationTypes: { serializedName: "properties.vpnAuthenticationTypes", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, vpnClientRootCertificates: { @@ -19281,7 +20660,12 @@ export const VpnServerConfiguration: coreHttp.CompositeMapper = { serializedName: "properties.vpnClientIpsecPolicies", type: { name: "Sequence", - element: { type: { name: "Composite", className: "IpsecPolicy" } } + element: { + type: { + name: "Composite", + className: "IpsecPolicy" + } + } } }, radiusServerAddress: { @@ -19300,7 +20684,12 @@ export const VpnServerConfiguration: coreHttp.CompositeMapper = { serializedName: "properties.radiusServers", type: { name: "Sequence", - element: { type: { name: "Composite", className: "RadiusServer" } } + element: { + type: { + name: "Composite", + className: "RadiusServer" + } + } } }, aadAuthenticationParameters: { @@ -19322,7 +20711,12 @@ export const VpnServerConfiguration: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "P2SVpnGateway" } } + element: { + type: { + name: "Composite", + className: "P2SVpnGateway" + } + } } }, etagPropertiesEtag: { @@ -19434,7 +20828,10 @@ export const VirtualHub: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualHubRouteTableV2" } + type: { + name: "Composite", + className: "VirtualHubRouteTableV2" + } } } }, @@ -19472,7 +20869,12 @@ export const VpnGateway: coreHttp.CompositeMapper = { serializedName: "properties.connections", type: { name: "Sequence", - element: { type: { name: "Composite", className: "VpnConnection" } } + element: { + type: { + name: "Composite", + className: "VpnConnection" + } + } } }, bgpSettings: { @@ -19525,7 +20927,10 @@ export const ExpressRouteGateway: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ExpressRouteConnection" } + type: { + name: "Composite", + className: "ExpressRouteConnection" + } } } }, @@ -19585,7 +20990,10 @@ export const WebApplicationFirewallPolicy: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ApplicationGateway" } + type: { + name: "Composite", + className: "ApplicationGateway" + } } } }, @@ -19615,7 +21023,12 @@ export const WebApplicationFirewallPolicy: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, pathBasedRules: { @@ -19623,7 +21036,12 @@ export const WebApplicationFirewallPolicy: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SubResource" } } + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } } } @@ -19800,14 +21218,22 @@ export const ApplicationRuleCondition: coreHttp.CompositeMapper = { serializedName: "sourceAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationAddresses: { serializedName: "destinationAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, protocols: { @@ -19826,28 +21252,44 @@ export const ApplicationRuleCondition: coreHttp.CompositeMapper = { serializedName: "targetUrls", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, targetFqdns: { serializedName: "targetFqdns", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, fqdnTags: { serializedName: "fqdnTags", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, sourceIpGroups: { serializedName: "sourceIpGroups", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -19868,35 +21310,55 @@ export const NatRuleCondition: coreHttp.CompositeMapper = { serializedName: "ipProtocols", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, sourceAddresses: { serializedName: "sourceAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationAddresses: { serializedName: "destinationAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationPorts: { serializedName: "destinationPorts", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, sourceIpGroups: { serializedName: "sourceIpGroups", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, terminateTLS: { @@ -19923,42 +21385,66 @@ export const NetworkRuleCondition: coreHttp.CompositeMapper = { serializedName: "ipProtocols", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, sourceAddresses: { serializedName: "sourceAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationAddresses: { serializedName: "destinationAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationPorts: { serializedName: "destinationPorts", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, sourceIpGroups: { serializedName: "sourceIpGroups", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, destinationIpGroups: { serializedName: "destinationIpGroups", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } diff --git a/test/smoke/generated/sql-resource-manager/src/models/mappers.ts b/test/smoke/generated/sql-resource-manager/src/models/mappers.ts index 10dd57e12e..223a8eba9e 100644 --- a/test/smoke/generated/sql-resource-manager/src/models/mappers.ts +++ b/test/smoke/generated/sql-resource-manager/src/models/mappers.ts @@ -49,7 +49,10 @@ export const RecoverableDatabaseListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "RecoverableDatabase" } + type: { + name: "Composite", + className: "RecoverableDatabase" + } } } } @@ -68,7 +71,10 @@ export const RestorableDroppedDatabaseListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "RestorableDroppedDatabase" } + type: { + name: "Composite", + className: "RestorableDroppedDatabase" + } } } } @@ -85,7 +91,12 @@ export const DataMaskingRuleListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "DataMaskingRule" } } + element: { + type: { + name: "Composite", + className: "DataMaskingRule" + } + } } } } @@ -101,7 +112,12 @@ export const FirewallRuleListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "FirewallRule" } } + element: { + type: { + name: "Composite", + className: "FirewallRule" + } + } } } } @@ -117,7 +133,12 @@ export const GeoBackupPolicyListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "GeoBackupPolicy" } } + element: { + type: { + name: "Composite", + className: "GeoBackupPolicy" + } + } } } } @@ -255,7 +276,12 @@ export const MetricListResult: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Metric" } } + element: { + type: { + name: "Composite", + className: "Metric" + } + } } } } @@ -307,7 +333,12 @@ export const Metric: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "MetricValue" } } + element: { + type: { + name: "Composite", + className: "MetricValue" + } + } } } } @@ -399,7 +430,10 @@ export const MetricDefinitionListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "MetricDefinition" } + type: { + name: "Composite", + className: "MetricDefinition" + } } } } @@ -446,7 +480,10 @@ export const MetricDefinition: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "MetricAvailability" } + type: { + name: "Composite", + className: "MetricAvailability" + } } } } @@ -515,7 +552,10 @@ export const RecommendedElasticPoolListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "RecommendedElasticPool" } + type: { + name: "Composite", + className: "RecommendedElasticPool" + } } } } @@ -569,7 +609,12 @@ export const ReplicationLinkListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ReplicationLink" } } + element: { + type: { + name: "Composite", + className: "ReplicationLink" + } + } } } } @@ -586,7 +631,10 @@ export const ServerCommunicationLinkListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ServerCommunicationLink" } + type: { + name: "Composite", + className: "ServerCommunicationLink" + } } } } @@ -605,7 +653,10 @@ export const ServiceObjectiveListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ServiceObjective" } + type: { + name: "Composite", + className: "ServiceObjective" + } } } } @@ -624,7 +675,10 @@ export const ElasticPoolActivityListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ElasticPoolActivity" } + type: { + name: "Composite", + className: "ElasticPoolActivity" + } } } } @@ -695,7 +749,10 @@ export const ServiceTierAdvisorListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ServiceTierAdvisor" } + type: { + name: "Composite", + className: "ServiceTierAdvisor" + } } } } @@ -735,7 +792,12 @@ export const ServerUsageListResult: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ServerUsage" } } + element: { + type: { + name: "Composite", + className: "ServerUsage" + } + } } } } @@ -810,7 +872,12 @@ export const DatabaseUsageListResult: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "DatabaseUsage" } } + element: { + type: { + name: "Composite", + className: "DatabaseUsage" + } + } } } } @@ -933,7 +1000,10 @@ export const EncryptionProtectorListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "EncryptionProtector" } + type: { + name: "Composite", + className: "EncryptionProtector" + } } } }, @@ -1045,7 +1115,11 @@ export const FailoverGroupUpdate: coreHttp.CompositeMapper = { serializedName: "properties.databases", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1062,7 +1136,12 @@ export const FailoverGroupListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "FailoverGroup" } } + element: { + type: { + name: "Composite", + className: "FailoverGroup" + } + } } }, nextLink: { @@ -1086,7 +1165,12 @@ export const OperationListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Operation" } } + element: { + type: { + name: "Composite", + className: "Operation" + } + } } }, nextLink: { @@ -1185,7 +1269,12 @@ export const ServerKeyListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ServerKey" } } + element: { + type: { + name: "Composite", + className: "ServerKey" + } + } } }, nextLink: { @@ -1209,7 +1298,12 @@ export const SyncAgentListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SyncAgent" } } + element: { + type: { + name: "Composite", + className: "SyncAgent" + } + } } }, nextLink: { @@ -1250,7 +1344,10 @@ export const SyncAgentLinkedDatabaseListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SyncAgentLinkedDatabase" } + type: { + name: "Composite", + className: "SyncAgentLinkedDatabase" + } } } }, @@ -1276,7 +1373,10 @@ export const SyncDatabaseIdListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SyncDatabaseIdProperties" } + type: { + name: "Composite", + className: "SyncDatabaseIdProperties" + } } } }, @@ -1318,7 +1418,10 @@ export const SyncFullSchemaPropertiesListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SyncFullSchemaProperties" } + type: { + name: "Composite", + className: "SyncFullSchemaProperties" + } } } }, @@ -1344,7 +1447,10 @@ export const SyncFullSchemaProperties: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SyncFullSchemaTable" } + type: { + name: "Composite", + className: "SyncFullSchemaTable" + } } } }, @@ -1370,7 +1476,10 @@ export const SyncFullSchemaTable: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SyncFullSchemaTableColumn" } + type: { + name: "Composite", + className: "SyncFullSchemaTableColumn" + } } } }, @@ -1475,7 +1584,10 @@ export const SyncGroupLogListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SyncGroupLogProperties" } + type: { + name: "Composite", + className: "SyncGroupLogProperties" + } } } }, @@ -1551,7 +1663,10 @@ export const SyncGroupSchema: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SyncGroupSchemaTable" } + type: { + name: "Composite", + className: "SyncGroupSchemaTable" + } } } }, @@ -1575,7 +1690,10 @@ export const SyncGroupSchemaTable: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SyncGroupSchemaTableColumn" } + type: { + name: "Composite", + className: "SyncGroupSchemaTableColumn" + } } } }, @@ -1626,7 +1744,12 @@ export const SyncGroupListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SyncGroup" } } + element: { + type: { + name: "Composite", + className: "SyncGroup" + } + } } }, nextLink: { @@ -1650,7 +1773,12 @@ export const SyncMemberListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SyncMember" } } + element: { + type: { + name: "Composite", + className: "SyncMember" + } + } } }, nextLink: { @@ -1675,7 +1803,10 @@ export const SubscriptionUsageListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SubscriptionUsage" } + type: { + name: "Composite", + className: "SubscriptionUsage" + } } } }, @@ -1700,7 +1831,12 @@ export const VirtualClusterListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "VirtualCluster" } } + element: { + type: { + name: "Composite", + className: "VirtualCluster" + } + } } }, nextLink: { @@ -1744,7 +1880,11 @@ export const VirtualClusterUpdate: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1762,7 +1902,10 @@ export const VirtualNetworkRuleListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualNetworkRule" } + type: { + name: "Composite", + className: "VirtualNetworkRule" + } } } }, @@ -1846,7 +1989,10 @@ export const ServerBlobAuditingPolicyListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ServerBlobAuditingPolicy" } + type: { + name: "Composite", + className: "ServerBlobAuditingPolicy" + } } } }, @@ -1872,7 +2018,10 @@ export const DatabaseBlobAuditingPolicyListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DatabaseBlobAuditingPolicy" } + type: { + name: "Composite", + className: "DatabaseBlobAuditingPolicy" + } } } }, @@ -1897,7 +2046,11 @@ export const DatabaseVulnerabilityAssessmentRuleBaselineItem: coreHttp.Composite required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1926,7 +2079,11 @@ export const VulnerabilityAssessmentRecurringScansProperties: coreHttp.Composite serializedName: "emails", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -1972,7 +2129,12 @@ export const JobAgentListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "JobAgent" } } + element: { + type: { + name: "Composite", + className: "JobAgent" + } + } } }, nextLink: { @@ -2052,7 +2214,12 @@ export const JobCredentialListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "JobCredential" } } + element: { + type: { + name: "Composite", + className: "JobCredential" + } + } } }, nextLink: { @@ -2076,7 +2243,12 @@ export const JobExecutionListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "JobExecution" } } + element: { + type: { + name: "Composite", + className: "JobExecution" + } + } } }, nextLink: { @@ -2130,7 +2302,12 @@ export const JobListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Job" } } + element: { + type: { + name: "Composite", + className: "Job" + } + } } }, nextLink: { @@ -2197,7 +2374,12 @@ export const JobStepListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "JobStep" } } + element: { + type: { + name: "Composite", + className: "JobStep" + } + } } }, nextLink: { @@ -2358,7 +2540,12 @@ export const JobTargetGroupListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "JobTargetGroup" } } + element: { + type: { + name: "Composite", + className: "JobTargetGroup" + } + } } }, nextLink: { @@ -2436,7 +2623,12 @@ export const JobVersionListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Resource" } } + element: { + type: { + name: "Composite", + className: "Resource" + } + } } }, nextLink: { @@ -2461,7 +2653,10 @@ export const LongTermRetentionBackupListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "LongTermRetentionBackup" } + type: { + name: "Composite", + className: "LongTermRetentionBackup" + } } } }, @@ -2554,7 +2749,12 @@ export const ServerDnsAliasListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ServerDnsAlias" } } + element: { + type: { + name: "Composite", + className: "ServerDnsAlias" + } + } } }, nextLink: { @@ -2594,7 +2794,10 @@ export const LogicalServerSecurityAlertPolicyListResult: coreHttp.CompositeMappe type: { name: "Sequence", element: { - type: { name: "Composite", className: "ServerSecurityAlertPolicy" } + type: { + name: "Composite", + className: "ServerSecurityAlertPolicy" + } } } }, @@ -2648,7 +2851,12 @@ export const RestorePointListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "RestorePoint" } } + element: { + type: { + name: "Composite", + className: "RestorePoint" + } + } } }, nextLink: { @@ -2747,7 +2955,10 @@ export const SensitivityLabelListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SensitivityLabel" } + type: { + name: "Composite", + className: "SensitivityLabel" + } } } }, @@ -2802,7 +3013,10 @@ export const DatabaseOperationListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DatabaseOperation" } + type: { + name: "Composite", + className: "DatabaseOperation" + } } } }, @@ -2828,7 +3042,10 @@ export const ElasticPoolOperationListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ElasticPoolOperation" } + type: { + name: "Composite", + className: "ElasticPoolOperation" + } } } }, @@ -2853,7 +3070,12 @@ export const DatabaseListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Database" } } + element: { + type: { + name: "Composite", + className: "Database" + } + } } }, nextLink: { @@ -3114,7 +3336,12 @@ export const ElasticPoolListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ElasticPool" } } + element: { + type: { + name: "Composite", + className: "ElasticPool" + } + } } }, nextLink: { @@ -3340,7 +3567,10 @@ export const InstanceFailoverGroupListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "InstanceFailoverGroup" } + type: { + name: "Composite", + className: "InstanceFailoverGroup" + } } } }, @@ -3395,7 +3625,10 @@ export const ManagedInstanceKeyListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ManagedInstanceKey" } + type: { + name: "Composite", + className: "ManagedInstanceKey" + } } } }, @@ -3450,7 +3683,10 @@ export const RecoverableManagedDatabaseListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "RecoverableManagedDatabase" } + type: { + name: "Composite", + className: "RecoverableManagedDatabase" + } } } }, @@ -3549,7 +3785,12 @@ export const InstancePoolListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "InstancePool" } } + element: { + type: { + name: "Composite", + className: "InstancePool" + } + } } }, nextLink: { @@ -3573,7 +3814,12 @@ export const UsageListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Usage" } } + element: { + type: { + name: "Composite", + className: "Usage" + } + } } }, nextLink: { @@ -3676,7 +3922,12 @@ export const ManagedInstanceListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ManagedInstance" } } + element: { + type: { + name: "Composite", + className: "ManagedInstance" + } + } } }, nextLink: { @@ -3915,7 +4166,10 @@ export const PrivateEndpointConnectionListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateEndpointConnection" } + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } } } }, @@ -3941,7 +4195,10 @@ export const PrivateLinkResourceListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateLinkResource" } + type: { + name: "Composite", + className: "PrivateLinkResource" + } } } }, @@ -3973,7 +4230,11 @@ export const PrivateLinkResourceProperties: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -3990,7 +4251,12 @@ export const ServerListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "Server" } } + element: { + type: { + name: "Composite", + className: "Server" + } + } } }, nextLink: { @@ -4240,7 +4506,10 @@ export const LocationCapabilities: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ServerVersionCapability" } + type: { + name: "Composite", + className: "ServerVersionCapability" + } } } }, @@ -4293,7 +4562,10 @@ export const ServerVersionCapability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "EditionCapability" } + type: { + name: "Composite", + className: "EditionCapability" + } } } }, @@ -4346,7 +4618,10 @@ export const EditionCapability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ServiceObjectiveCapability" } + type: { + name: "Composite", + className: "ServiceObjectiveCapability" + } } } }, @@ -4370,7 +4645,10 @@ export const EditionCapability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "StorageCapability" } + type: { + name: "Composite", + className: "StorageCapability" + } } } }, @@ -4417,7 +4695,10 @@ export const ServiceObjectiveCapability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "MaxSizeRangeCapability" } + type: { + name: "Composite", + className: "MaxSizeRangeCapability" + } } } }, @@ -4441,7 +4722,10 @@ export const ServiceObjectiveCapability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "LicenseTypeCapability" } + type: { + name: "Composite", + className: "LicenseTypeCapability" + } } } }, @@ -4472,7 +4756,10 @@ export const ServiceObjectiveCapability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "MinCapacityCapability" } + type: { + name: "Composite", + className: "MinCapacityCapability" + } } } }, @@ -4867,7 +5154,10 @@ export const ElasticPoolPerformanceLevelCapability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "LicenseTypeCapability" } + type: { + name: "Composite", + className: "LicenseTypeCapability" + } } } }, @@ -4891,7 +5181,10 @@ export const ElasticPoolPerformanceLevelCapability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "MaxSizeRangeCapability" } + type: { + name: "Composite", + className: "MaxSizeRangeCapability" + } } } }, @@ -4901,7 +5194,10 @@ export const ElasticPoolPerformanceLevelCapability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "MaxSizeRangeCapability" } + type: { + name: "Composite", + className: "MaxSizeRangeCapability" + } } } }, @@ -5154,7 +5450,10 @@ export const ManagedInstanceFamilyCapability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "LicenseTypeCapability" } + type: { + name: "Composite", + className: "LicenseTypeCapability" + } } } }, @@ -5221,7 +5520,10 @@ export const ManagedInstanceVcoresCapability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "MaxSizeRangeCapability" } + type: { + name: "Composite", + className: "MaxSizeRangeCapability" + } } } }, @@ -5318,7 +5620,10 @@ export const InstancePoolFamilyCapability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "LicenseTypeCapability" } + type: { + name: "Composite", + className: "LicenseTypeCapability" + } } } }, @@ -5465,7 +5770,12 @@ export const WorkloadGroupListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "WorkloadGroup" } } + element: { + type: { + name: "Composite", + className: "WorkloadGroup" + } + } } }, nextLink: { @@ -5490,7 +5800,10 @@ export const WorkloadClassifierListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "WorkloadClassifier" } + type: { + name: "Composite", + className: "WorkloadClassifier" + } } } }, @@ -5515,7 +5828,12 @@ export const ManagedDatabaseListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "ManagedDatabase" } } + element: { + type: { + name: "Composite", + className: "ManagedDatabase" + } + } } }, nextLink: { @@ -5667,7 +5985,10 @@ export const AdministratorListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ServerAzureADAdministrator" } + type: { + name: "Composite", + className: "ServerAzureADAdministrator" + } } } }, @@ -5693,7 +6014,10 @@ export const ManagedInstanceOperationListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ManagedInstanceOperation" } + type: { + name: "Composite", + className: "ManagedInstanceOperation" + } } } }, @@ -6353,7 +6677,12 @@ export const RecommendedElasticPool: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "TrackedResource" } } + element: { + type: { + name: "Composite", + className: "TrackedResource" + } + } } }, metrics: { @@ -6893,7 +7222,12 @@ export const ServiceTierAdvisor: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SloUsageMetric" } } + element: { + type: { + name: "Composite", + className: "SloUsageMetric" + } + } } }, currentServiceLevelObjective: { @@ -7182,14 +7516,23 @@ export const FailoverGroup: coreHttp.CompositeMapper = { serializedName: "properties.partnerServers", type: { name: "Sequence", - element: { type: { name: "Composite", className: "PartnerInfo" } } + element: { + type: { + name: "Composite", + className: "PartnerInfo" + } + } } }, databases: { serializedName: "properties.databases", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -7594,7 +7937,11 @@ export const ExtendedDatabaseBlobAuditingPolicy: coreHttp.CompositeMapper = { serializedName: "properties.auditActionsAndGroups", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, storageAccountSubscriptionId: { @@ -7666,7 +8013,11 @@ export const ExtendedServerBlobAuditingPolicy: coreHttp.CompositeMapper = { serializedName: "properties.auditActionsAndGroups", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, storageAccountSubscriptionId: { @@ -7732,7 +8083,11 @@ export const ServerBlobAuditingPolicy: coreHttp.CompositeMapper = { serializedName: "properties.auditActionsAndGroups", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, storageAccountSubscriptionId: { @@ -7805,7 +8160,11 @@ export const DatabaseBlobAuditingPolicy: coreHttp.CompositeMapper = { serializedName: "properties.auditActionsAndGroups", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, storageAccountSubscriptionId: { @@ -8104,7 +8463,12 @@ export const JobTargetGroup: coreHttp.CompositeMapper = { serializedName: "properties.members", type: { name: "Sequence", - element: { type: { name: "Composite", className: "JobTarget" } } + element: { + type: { + name: "Composite", + className: "JobTarget" + } + } } } } @@ -8284,14 +8648,22 @@ export const ServerSecurityAlertPolicy: coreHttp.CompositeMapper = { serializedName: "properties.disabledAlerts", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, emailAddresses: { serializedName: "properties.emailAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, emailAccountAdmins: { @@ -8392,14 +8764,22 @@ export const ManagedDatabaseSecurityAlertPolicy: coreHttp.CompositeMapper = { serializedName: "properties.disabledAlerts", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, emailAddresses: { serializedName: "properties.emailAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, emailAccountAdmins: { @@ -8454,14 +8834,22 @@ export const ManagedServerSecurityAlertPolicy: coreHttp.CompositeMapper = { serializedName: "properties.disabledAlerts", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, emailAddresses: { serializedName: "properties.emailAddresses", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, emailAccountAdmins: { @@ -8925,7 +9313,10 @@ export const InstanceFailoverGroup: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PartnerRegionInfo" } + type: { + name: "Composite", + className: "PartnerRegionInfo" + } } } }, @@ -8934,7 +9325,10 @@ export const InstanceFailoverGroup: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ManagedInstancePairInfo" } + type: { + name: "Composite", + className: "ManagedInstancePairInfo" + } } } } @@ -9425,7 +9819,11 @@ export const ManagedDatabaseRestoreDetailsResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, numberOfFilesDetected: { @@ -9681,7 +10079,11 @@ export const RecommendedIndex: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, includedColumns: { @@ -9689,7 +10091,11 @@ export const RecommendedIndex: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, indexScript: { @@ -9704,7 +10110,12 @@ export const RecommendedIndex: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "OperationImpact" } } + element: { + type: { + name: "Composite", + className: "OperationImpact" + } + } } }, reportedImpact: { @@ -9712,7 +10123,12 @@ export const RecommendedIndex: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "OperationImpact" } } + element: { + type: { + name: "Composite", + className: "OperationImpact" + } + } } } } @@ -9819,7 +10235,11 @@ export const VirtualCluster: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } diff --git a/test/smoke/generated/storage-resource-manager/src/models/mappers.ts b/test/smoke/generated/storage-resource-manager/src/models/mappers.ts index 0f5a5b8f82..ba0418c436 100644 --- a/test/smoke/generated/storage-resource-manager/src/models/mappers.ts +++ b/test/smoke/generated/storage-resource-manager/src/models/mappers.ts @@ -17,7 +17,12 @@ export const OperationListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Operation" } } + element: { + type: { + name: "Composite", + className: "Operation" + } + } } } } @@ -102,7 +107,10 @@ export const ServiceSpecification: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "MetricSpecification" } + type: { + name: "Composite", + className: "MetricSpecification" + } } } } @@ -143,7 +151,12 @@ export const MetricSpecification: coreHttp.CompositeMapper = { serializedName: "dimensions", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Dimension" } } + element: { + type: { + name: "Composite", + className: "Dimension" + } + } } }, aggregationType: { @@ -205,7 +218,12 @@ export const StorageSkuListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SkuInformation" } } + element: { + type: { + name: "Composite", + className: "SkuInformation" + } + } } } } @@ -251,7 +269,11 @@ export const SkuInformation: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, capabilities: { @@ -259,14 +281,24 @@ export const SkuInformation: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "SKUCapability" } } + element: { + type: { + name: "Composite", + className: "SKUCapability" + } + } } }, restrictions: { serializedName: "restrictions", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Restriction" } } + element: { + type: { + name: "Composite", + className: "Restriction" + } + } } } } @@ -313,7 +345,11 @@ export const Restriction: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, reasonCode: { @@ -716,7 +752,10 @@ export const NetworkRuleSet: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualNetworkRule" } + type: { + name: "Composite", + className: "VirtualNetworkRule" + } } } }, @@ -724,7 +763,12 @@ export const NetworkRuleSet: coreHttp.CompositeMapper = { serializedName: "ipRules", type: { name: "Sequence", - element: { type: { name: "Composite", className: "IPRule" } } + element: { + type: { + name: "Composite", + className: "IPRule" + } + } } }, defaultAction: { @@ -1213,7 +1257,10 @@ export const BlobRestoreParameters: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "BlobRestoreRange" } + type: { + name: "Composite", + className: "BlobRestoreRange" + } } } } @@ -1344,7 +1391,12 @@ export const StorageAccountListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "StorageAccount" } } + element: { + type: { + name: "Composite", + className: "StorageAccount" + } + } } }, nextLink: { @@ -1369,7 +1421,10 @@ export const StorageAccountListKeysResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "StorageAccountKey" } + type: { + name: "Composite", + className: "StorageAccountKey" + } } } } @@ -1433,7 +1488,12 @@ export const UsageListResult: coreHttp.CompositeMapper = { serializedName: "value", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Usage" } } + element: { + type: { + name: "Composite", + className: "Usage" + } + } } } } @@ -1735,7 +1795,10 @@ export const ManagementPolicySchema: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ManagementPolicyRule" } + type: { + name: "Composite", + className: "ManagementPolicyRule" + } } } } @@ -1920,7 +1983,11 @@ export const ManagementPolicyFilter: coreHttp.CompositeMapper = { serializedName: "prefixMatch", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, blobTypes: { @@ -1928,14 +1995,23 @@ export const ManagementPolicyFilter: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, blobIndexMatch: { serializedName: "blobIndexMatch", type: { name: "Sequence", - element: { type: { name: "Composite", className: "TagFilter" } } + element: { + type: { + name: "Composite", + className: "TagFilter" + } + } } } } @@ -1989,7 +2065,10 @@ export const PrivateEndpointConnectionListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateEndpointConnection" } + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } } } } @@ -2028,7 +2107,10 @@ export const PrivateLinkResourceListResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateLinkResource" } + type: { + name: "Composite", + className: "PrivateLinkResource" + } } } } @@ -2046,7 +2128,10 @@ export const ObjectReplicationPolicies: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ObjectReplicationPolicy" } + type: { + name: "Composite", + className: "ObjectReplicationPolicy" + } } } } @@ -2099,7 +2184,11 @@ export const ObjectReplicationPolicyFilter: coreHttp.CompositeMapper = { serializedName: "prefixMatch", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, minCreationTime: { @@ -2137,7 +2226,12 @@ export const EncryptionScopeListResult: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "EncryptionScope" } } + element: { + type: { + name: "Composite", + className: "EncryptionScope" + } + } } }, nextLink: { @@ -2162,7 +2256,10 @@ export const BlobServiceItems: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "BlobServiceProperties" } + type: { + name: "Composite", + className: "BlobServiceProperties" + } } } } @@ -2179,7 +2276,12 @@ export const CorsRules: coreHttp.CompositeMapper = { serializedName: "corsRules", type: { name: "Sequence", - element: { type: { name: "Composite", className: "CorsRule" } } + element: { + type: { + name: "Composite", + className: "CorsRule" + } + } } } } @@ -2196,7 +2298,11 @@ export const CorsRule: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, allowedMethods: { @@ -2204,7 +2310,11 @@ export const CorsRule: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, maxAgeInSeconds: { @@ -2219,7 +2329,11 @@ export const CorsRule: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, allowedHeaders: { @@ -2227,7 +2341,11 @@ export const CorsRule: coreHttp.CompositeMapper = { required: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -2318,7 +2436,10 @@ export const ListContainerItems: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ListContainerItem" } + type: { + name: "Composite", + className: "ListContainerItem" + } } } }, @@ -2351,7 +2472,10 @@ export const ImmutabilityPolicyProperties: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "UpdateHistoryProperty" } + type: { + name: "Composite", + className: "UpdateHistoryProperty" + } } } }, @@ -2445,7 +2569,12 @@ export const LegalHoldProperties: coreHttp.CompositeMapper = { serializedName: "tags", type: { name: "Sequence", - element: { type: { name: "Composite", className: "TagProperty" } } + element: { + type: { + name: "Composite", + className: "TagProperty" + } + } } } } @@ -2514,8 +2643,13 @@ export const LegalHold: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "String" }, - constraints: { MaxLength: 23, MinLength: 3 } + constraints: { + MaxLength: 23, + MinLength: 3 + }, + type: { + name: "String" + } } } } @@ -2595,7 +2729,10 @@ export const FileServiceItems: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "FileServiceProperties" } + type: { + name: "Composite", + className: "FileServiceProperties" + } } } } @@ -2646,7 +2783,12 @@ export const CloudErrorBody: coreHttp.CompositeMapper = { serializedName: "details", type: { name: "Sequence", - element: { type: { name: "Composite", className: "CloudErrorBody" } } + element: { + type: { + name: "Composite", + className: "CloudErrorBody" + } + } } } } @@ -2663,7 +2805,12 @@ export const FileShareItems: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "Composite", className: "FileShareItem" } } + element: { + type: { + name: "Composite", + className: "FileShareItem" + } + } } }, nextLink: { @@ -2797,14 +2944,22 @@ export const PrivateLinkResource: coreHttp.CompositeMapper = { readOnly: true, type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, requiredZoneNames: { serializedName: "properties.requiredZoneNames", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -3187,7 +3342,10 @@ export const StorageAccount: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateEndpointConnection" } + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } } } }, diff --git a/test/smoke/generated/web-resource-manager/src/models/mappers.ts b/test/smoke/generated/web-resource-manager/src/models/mappers.ts index ca6cb146bb..9ec873b710 100644 --- a/test/smoke/generated/web-resource-manager/src/models/mappers.ts +++ b/test/smoke/generated/web-resource-manager/src/models/mappers.ts @@ -22,7 +22,10 @@ export const AppServiceCertificateOrderCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AppServiceCertificateOrder" } + type: { + name: "Composite", + className: "AppServiceCertificateOrder" + } } } }, @@ -477,7 +480,10 @@ export const CsmOperationCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "CsmOperationDescription" } + type: { + name: "Composite", + className: "CsmOperationDescription" + } } } }, @@ -602,7 +608,10 @@ export const ServiceSpecification: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "MetricSpecification" } + type: { + name: "Composite", + className: "MetricSpecification" + } } } }, @@ -613,7 +622,10 @@ export const ServiceSpecification: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "LogSpecification" } + type: { + name: "Composite", + className: "LogSpecification" + } } } } @@ -717,7 +729,12 @@ export const MetricSpecification: coreHttp.CompositeMapper = { xmlElementName: "Dimension", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Dimension" } } + element: { + type: { + name: "Composite", + className: "Dimension" + } + } } }, category: { @@ -734,7 +751,10 @@ export const MetricSpecification: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "MetricAvailability" } + type: { + name: "Composite", + className: "MetricAvailability" + } } } }, @@ -744,7 +764,11 @@ export const MetricSpecification: coreHttp.CompositeMapper = { xmlElementName: "MetricSpecificationSupportedTimeGrainTypesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -889,7 +913,12 @@ export const DomainCollection: coreHttp.CompositeMapper = { xmlElementName: "Domain", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Domain" } } + element: { + type: { + name: "Composite", + className: "Domain" + } + } } }, nextLink: { @@ -1058,7 +1087,11 @@ export const HostName: coreHttp.CompositeMapper = { xmlElementName: "HostNameSiteNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, azureResourceName: { @@ -1108,7 +1141,11 @@ export const DomainPurchaseConsent: coreHttp.CompositeMapper = { xmlElementName: "DomainPurchaseConsentAgreementKeysItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, agreedBy: { @@ -1200,7 +1237,12 @@ export const NameIdentifierCollection: coreHttp.CompositeMapper = { xmlElementName: "NameIdentifier", type: { name: "Sequence", - element: { type: { name: "Composite", className: "NameIdentifier" } } + element: { + type: { + name: "Composite", + className: "NameIdentifier" + } + } } }, nextLink: { @@ -1229,7 +1271,10 @@ export const DomainOwnershipIdentifierCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DomainOwnershipIdentifier" } + type: { + name: "Composite", + className: "DomainOwnershipIdentifier" + } } } }, @@ -1258,7 +1303,12 @@ export const TopLevelDomainCollection: coreHttp.CompositeMapper = { xmlElementName: "TopLevelDomain", type: { name: "Sequence", - element: { type: { name: "Composite", className: "TopLevelDomain" } } + element: { + type: { + name: "Composite", + className: "TopLevelDomain" + } + } } }, nextLink: { @@ -1311,7 +1361,10 @@ export const TldLegalAgreementCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "TldLegalAgreement" } + type: { + name: "Composite", + className: "TldLegalAgreement" + } } } }, @@ -1381,7 +1434,12 @@ export const CertificateCollection: coreHttp.CompositeMapper = { xmlElementName: "Certificate", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Certificate" } } + element: { + type: { + name: "Composite", + className: "Certificate" + } + } } }, nextLink: { @@ -1442,7 +1500,12 @@ export const DeletedWebAppCollection: coreHttp.CompositeMapper = { xmlElementName: "DeletedSite", type: { name: "Sequence", - element: { type: { name: "Composite", className: "DeletedSite" } } + element: { + type: { + name: "Composite", + className: "DeletedSite" + } + } } }, nextLink: { @@ -1471,7 +1534,10 @@ export const DetectorResponseCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DetectorResponse" } + type: { + name: "Composite", + className: "DetectorResponse" + } } } }, @@ -1575,7 +1641,10 @@ export const DataTableResponseObject: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DataTableResponseColumn" } + type: { + name: "Composite", + className: "DataTableResponseColumn" + } } } }, @@ -1586,7 +1655,14 @@ export const DataTableResponseObject: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Sequence", element: { type: { name: "String" } } } + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } @@ -1676,7 +1752,10 @@ export const DiagnosticCategoryCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DiagnosticCategory" } + type: { + name: "Composite", + className: "DiagnosticCategory" + } } } }, @@ -1706,7 +1785,10 @@ export const DiagnosticAnalysisCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AnalysisDefinition" } + type: { + name: "Composite", + className: "AnalysisDefinition" + } } } }, @@ -1749,7 +1831,10 @@ export const AbnormalTimePeriod: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DetectorAbnormalTimePeriod" } + type: { + name: "Composite", + className: "DetectorAbnormalTimePeriod" + } } } }, @@ -1759,7 +1844,12 @@ export const AbnormalTimePeriod: coreHttp.CompositeMapper = { xmlElementName: "Solution", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Solution" } } + element: { + type: { + name: "Composite", + className: "Solution" + } + } } } } @@ -1817,7 +1907,10 @@ export const DetectorAbnormalTimePeriod: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NameValuePair" } + type: { + name: "Composite", + className: "NameValuePair" + } } } } @@ -1846,7 +1939,12 @@ export const DetectorAbnormalTimePeriod: coreHttp.CompositeMapper = { xmlElementName: "Solution", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Solution" } } + element: { + type: { + name: "Composite", + className: "Solution" + } + } } } } @@ -1929,7 +2027,10 @@ export const Solution: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NameValuePair" } + type: { + name: "Composite", + className: "NameValuePair" + } } } } @@ -1945,7 +2046,10 @@ export const Solution: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NameValuePair" } + type: { + name: "Composite", + className: "NameValuePair" + } } } } @@ -1983,7 +2087,10 @@ export const AnalysisData: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DiagnosticMetricSet" } + type: { + name: "Composite", + className: "DiagnosticMetricSet" + } } } }, @@ -1997,7 +2104,10 @@ export const AnalysisData: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NameValuePair" } + type: { + name: "Composite", + className: "NameValuePair" + } } } } @@ -2063,7 +2173,10 @@ export const DiagnosticMetricSet: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DiagnosticMetricSample" } + type: { + name: "Composite", + className: "DiagnosticMetricSample" + } } } } @@ -2153,7 +2266,11 @@ export const DataSource: coreHttp.CompositeMapper = { xmlElementName: "DataSourceInstructionsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, dataSourceUri: { @@ -2162,7 +2279,12 @@ export const DataSource: coreHttp.CompositeMapper = { xmlElementName: "NameValuePair", type: { name: "Sequence", - element: { type: { name: "Composite", className: "NameValuePair" } } + element: { + type: { + name: "Composite", + className: "NameValuePair" + } + } } } } @@ -2183,7 +2305,10 @@ export const DiagnosticDetectorCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DetectorDefinition" } + type: { + name: "Composite", + className: "DetectorDefinition" + } } } }, @@ -2213,7 +2338,10 @@ export const ApplicationStackCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ApplicationStackResource" } + type: { + name: "Composite", + className: "ApplicationStackResource" + } } } }, @@ -2263,7 +2391,10 @@ export const ApplicationStack: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "StackMajorVersion" } + type: { + name: "Composite", + className: "StackMajorVersion" + } } } }, @@ -2274,7 +2405,10 @@ export const ApplicationStack: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ApplicationStack" } + type: { + name: "Composite", + className: "ApplicationStack" + } } } } @@ -2316,7 +2450,10 @@ export const StackMajorVersion: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "StackMinorVersion" } + type: { + name: "Composite", + className: "StackMinorVersion" + } } } }, @@ -2403,7 +2540,12 @@ export const RecommendationCollection: coreHttp.CompositeMapper = { xmlElementName: "Recommendation", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Recommendation" } } + element: { + type: { + name: "Composite", + className: "Recommendation" + } + } } }, nextLink: { @@ -2431,7 +2573,12 @@ export const SourceControlCollection: coreHttp.CompositeMapper = { xmlElementName: "SourceControl", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SourceControl" } } + element: { + type: { + name: "Composite", + className: "SourceControl" + } + } } }, nextLink: { @@ -2459,7 +2606,12 @@ export const BillingMeterCollection: coreHttp.CompositeMapper = { xmlElementName: "BillingMeter", type: { name: "Sequence", - element: { type: { name: "Composite", className: "BillingMeter" } } + element: { + type: { + name: "Composite", + className: "BillingMeter" + } + } } }, nextLink: { @@ -2550,7 +2702,12 @@ export const DeploymentLocations: coreHttp.CompositeMapper = { xmlElementName: "GeoRegion", type: { name: "Sequence", - element: { type: { name: "Composite", className: "GeoRegion" } } + element: { + type: { + name: "Composite", + className: "GeoRegion" + } + } } }, hostingEnvironments: { @@ -2560,7 +2717,10 @@ export const DeploymentLocations: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AppServiceEnvironment" } + type: { + name: "Composite", + className: "AppServiceEnvironment" + } } } }, @@ -2686,7 +2846,12 @@ export const AppServiceEnvironment: coreHttp.CompositeMapper = { xmlElementName: "WorkerPool", type: { name: "Sequence", - element: { type: { name: "Composite", className: "WorkerPool" } } + element: { + type: { + name: "Composite", + className: "WorkerPool" + } + } } }, ipsslAddressCount: { @@ -2783,7 +2948,10 @@ export const AppServiceEnvironment: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualIPMapping" } + type: { + name: "Composite", + className: "VirtualIPMapping" + } } } }, @@ -2794,7 +2962,12 @@ export const AppServiceEnvironment: coreHttp.CompositeMapper = { xmlElementName: "StampCapacity", type: { name: "Sequence", - element: { type: { name: "Composite", className: "StampCapacity" } } + element: { + type: { + name: "Composite", + className: "StampCapacity" + } + } } }, networkAccessControlList: { @@ -2804,7 +2977,10 @@ export const AppServiceEnvironment: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NetworkAccessControlEntry" } + type: { + name: "Composite", + className: "NetworkAccessControlEntry" + } } } }, @@ -2874,7 +3050,12 @@ export const AppServiceEnvironment: coreHttp.CompositeMapper = { xmlElementName: "NameValuePair", type: { name: "Sequence", - element: { type: { name: "Composite", className: "NameValuePair" } } + element: { + type: { + name: "Composite", + className: "NameValuePair" + } + } } }, userWhitelistedIpRanges: { @@ -2883,7 +3064,11 @@ export const AppServiceEnvironment: coreHttp.CompositeMapper = { xmlElementName: "AppServiceEnvironmentUserWhitelistedIpRangesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, hasLinuxWorkers: { @@ -2993,7 +3178,11 @@ export const WorkerPool: coreHttp.CompositeMapper = { xmlElementName: "WorkerPoolInstanceNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -3219,7 +3408,12 @@ export const GeoRegionCollection: coreHttp.CompositeMapper = { xmlElementName: "GeoRegion", type: { name: "Sequence", - element: { type: { name: "Composite", className: "GeoRegion" } } + element: { + type: { + name: "Composite", + className: "GeoRegion" + } + } } }, nextLink: { @@ -3247,7 +3441,12 @@ export const IdentifierCollection: coreHttp.CompositeMapper = { xmlElementName: "Identifier", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Identifier" } } + element: { + type: { + name: "Composite", + className: "Identifier" + } + } } }, nextLink: { @@ -3276,7 +3475,10 @@ export const PremierAddOnOfferCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PremierAddOnOffer" } + type: { + name: "Composite", + className: "PremierAddOnOffer" + } } } }, @@ -3312,7 +3514,10 @@ export const SkuInfos: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "GlobalCsmSkuDescription" } + type: { + name: "Composite", + className: "GlobalCsmSkuDescription" + } } } } @@ -3368,7 +3573,11 @@ export const GlobalCsmSkuDescription: coreHttp.CompositeMapper = { xmlElementName: "GlobalCsmSkuDescriptionLocationsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, capabilities: { @@ -3377,7 +3586,12 @@ export const GlobalCsmSkuDescription: coreHttp.CompositeMapper = { xmlElementName: "Capability", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Capability" } } + element: { + type: { + name: "Composite", + className: "Capability" + } + } } } } @@ -3477,7 +3691,11 @@ export const CsmMoveResourceEnvelope: coreHttp.CompositeMapper = { xmlElementName: "CsmMoveResourceEnvelopeResourcesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -3674,7 +3892,12 @@ export const WebAppCollection: coreHttp.CompositeMapper = { xmlElementName: "Site", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Site" } } + element: { + type: { + name: "Composite", + className: "Site" + } + } } }, nextLink: { @@ -3762,7 +3985,11 @@ export const SiteConfig: coreHttp.CompositeMapper = { xmlElementName: "SiteConfigDefaultDocumentsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, netFrameworkVersion: { @@ -3877,7 +4104,12 @@ export const SiteConfig: coreHttp.CompositeMapper = { xmlElementName: "NameValuePair", type: { name: "Sequence", - element: { type: { name: "Composite", className: "NameValuePair" } } + element: { + type: { + name: "Composite", + className: "NameValuePair" + } + } } }, connectionStrings: { @@ -3886,7 +4118,12 @@ export const SiteConfig: coreHttp.CompositeMapper = { xmlElementName: "ConnStringInfo", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ConnStringInfo" } } + element: { + type: { + name: "Composite", + className: "ConnStringInfo" + } + } } }, machineKey: { @@ -3903,7 +4140,12 @@ export const SiteConfig: coreHttp.CompositeMapper = { xmlElementName: "HandlerMapping", type: { name: "Sequence", - element: { type: { name: "Composite", className: "HandlerMapping" } } + element: { + type: { + name: "Composite", + className: "HandlerMapping" + } + } } }, documentRoot: { @@ -3984,7 +4226,10 @@ export const SiteConfig: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualApplication" } + type: { + name: "Composite", + className: "VirtualApplication" + } } } }, @@ -4114,7 +4359,10 @@ export const SiteConfig: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "IpSecurityRestriction" } + type: { + name: "Composite", + className: "IpSecurityRestriction" + } } } }, @@ -4125,7 +4373,10 @@ export const SiteConfig: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "IpSecurityRestriction" } + type: { + name: "Composite", + className: "IpSecurityRestriction" + } } } }, @@ -4327,7 +4578,10 @@ export const VirtualApplication: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualDirectory" } + type: { + name: "Composite", + className: "VirtualDirectory" + } } } } @@ -4371,7 +4625,12 @@ export const Experiments: coreHttp.CompositeMapper = { xmlElementName: "RampUpRule", type: { name: "Sequence", - element: { type: { name: "Composite", className: "RampUpRule" } } + element: { + type: { + name: "Composite", + className: "RampUpRule" + } + } } } } @@ -4529,7 +4788,10 @@ export const AutoHealTriggers: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "StatusCodesBasedTrigger" } + type: { + name: "Composite", + className: "StatusCodesBasedTrigger" + } } } }, @@ -4714,7 +4976,11 @@ export const CorsSettings: coreHttp.CompositeMapper = { xmlElementName: "CorsSettingsAllowedOriginsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, supportCredentials: { @@ -5068,7 +5334,11 @@ export const ErrorEntity: coreHttp.CompositeMapper = { xmlElementName: "ErrorEntityParametersItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, innerErrors: { @@ -5077,7 +5347,12 @@ export const ErrorEntity: coreHttp.CompositeMapper = { xmlElementName: "ErrorEntity", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ErrorEntity" } } + element: { + type: { + name: "Composite", + className: "ErrorEntity" + } + } } }, code: { @@ -5238,7 +5513,12 @@ export const BackupItemCollection: coreHttp.CompositeMapper = { xmlElementName: "BackupItem", type: { name: "Sequence", - element: { type: { name: "Composite", className: "BackupItem" } } + element: { + type: { + name: "Composite", + className: "BackupItem" + } + } } }, nextLink: { @@ -5267,7 +5547,10 @@ export const SiteConfigResourceCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SiteConfigResource" } + type: { + name: "Composite", + className: "SiteConfigResource" + } } } }, @@ -5730,7 +6013,10 @@ export const ContinuousWebJobCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ContinuousWebJob" } + type: { + name: "Composite", + className: "ContinuousWebJob" + } } } }, @@ -5759,7 +6045,12 @@ export const DeploymentCollection: coreHttp.CompositeMapper = { xmlElementName: "Deployment", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Deployment" } } + element: { + type: { + name: "Composite", + className: "Deployment" + } + } } }, nextLink: { @@ -5823,7 +6114,10 @@ export const FunctionEnvelopeCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "FunctionEnvelope" } + type: { + name: "Composite", + className: "FunctionEnvelope" + } } } }, @@ -5909,7 +6203,12 @@ export const HostNameBindingCollection: coreHttp.CompositeMapper = { xmlElementName: "HostNameBinding", type: { name: "Sequence", - element: { type: { name: "Composite", className: "HostNameBinding" } } + element: { + type: { + name: "Composite", + className: "HostNameBinding" + } + } } }, nextLink: { @@ -5937,7 +6236,12 @@ export const WebAppInstanceCollection: coreHttp.CompositeMapper = { xmlElementName: "SiteInstance", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SiteInstance" } } + element: { + type: { + name: "Composite", + className: "SiteInstance" + } + } } }, nextLink: { @@ -6081,7 +6385,11 @@ export const ContainerCpuUsage: coreHttp.CompositeMapper = { xmlElementName: "ArrayItemschema", type: { name: "Sequence", - element: { type: { name: "Number" } } + element: { + type: { + name: "Number" + } + } } }, kernelModeUsage: { @@ -6243,7 +6551,12 @@ export const ProcessInfoCollection: coreHttp.CompositeMapper = { xmlElementName: "ProcessInfo", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ProcessInfo" } } + element: { + type: { + name: "Composite", + className: "ProcessInfo" + } + } } }, nextLink: { @@ -6272,7 +6585,10 @@ export const ProcessModuleInfoCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ProcessModuleInfo" } + type: { + name: "Composite", + className: "ProcessModuleInfo" + } } } }, @@ -6302,7 +6618,10 @@ export const ProcessThreadInfoCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ProcessThreadInfo" } + type: { + name: "Composite", + className: "ProcessThreadInfo" + } } } }, @@ -6339,7 +6658,10 @@ export const SiteCloneability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SiteCloneabilityCriterion" } + type: { + name: "Composite", + className: "SiteCloneabilityCriterion" + } } } }, @@ -6350,7 +6672,10 @@ export const SiteCloneability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SiteCloneabilityCriterion" } + type: { + name: "Composite", + className: "SiteCloneabilityCriterion" + } } } }, @@ -6361,7 +6686,10 @@ export const SiteCloneability: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SiteCloneabilityCriterion" } + type: { + name: "Composite", + className: "SiteCloneabilityCriterion" + } } } } @@ -6433,7 +6761,12 @@ export const Operation: coreHttp.CompositeMapper = { xmlElementName: "ErrorEntity", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ErrorEntity" } } + element: { + type: { + name: "Composite", + className: "ErrorEntity" + } + } } }, createdTime: { @@ -6512,7 +6845,12 @@ export const PerfMonCounterCollection: coreHttp.CompositeMapper = { xmlElementName: "PerfMonResponse", type: { name: "Sequence", - element: { type: { name: "Composite", className: "PerfMonResponse" } } + element: { + type: { + name: "Composite", + className: "PerfMonResponse" + } + } } }, nextLink: { @@ -6599,7 +6937,12 @@ export const PerfMonSet: coreHttp.CompositeMapper = { xmlElementName: "PerfMonSample", type: { name: "Sequence", - element: { type: { name: "Composite", className: "PerfMonSample" } } + element: { + type: { + name: "Composite", + className: "PerfMonSample" + } + } } } } @@ -6671,7 +7014,10 @@ export const PrivateAccessVirtualNetwork: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateAccessSubnet" } + type: { + name: "Composite", + className: "PrivateAccessSubnet" + } } } } @@ -6717,7 +7063,10 @@ export const PublicCertificateCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PublicCertificate" } + type: { + name: "Composite", + className: "PublicCertificate" + } } } }, @@ -6795,7 +7144,10 @@ export const SiteExtensionInfoCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "SiteExtensionInfo" } + type: { + name: "Composite", + className: "SiteExtensionInfo" + } } } }, @@ -6900,7 +7252,10 @@ export const PrivateLinkResourcesWrapper: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "PrivateLinkResource" } + type: { + name: "Composite", + className: "PrivateLinkResource" + } } } } @@ -6971,7 +7326,11 @@ export const PrivateLinkResourceProperties: coreHttp.CompositeMapper = { xmlElementName: "PrivateLinkResourcePropertiesRequiredMembersItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, requiredZoneNames: { @@ -6981,7 +7340,11 @@ export const PrivateLinkResourceProperties: coreHttp.CompositeMapper = { xmlElementName: "PrivateLinkResourcePropertiesRequiredZoneNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -7001,7 +7364,12 @@ export const SlotDifferenceCollection: coreHttp.CompositeMapper = { xmlElementName: "SlotDifference", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SlotDifference" } } + element: { + type: { + name: "Composite", + className: "SlotDifference" + } + } } }, nextLink: { @@ -7029,7 +7397,12 @@ export const SnapshotCollection: coreHttp.CompositeMapper = { xmlElementName: "Snapshot", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Snapshot" } } + element: { + type: { + name: "Composite", + className: "Snapshot" + } + } } }, nextLink: { @@ -7057,7 +7430,12 @@ export const TriggeredWebJobCollection: coreHttp.CompositeMapper = { xmlElementName: "TriggeredWebJob", type: { name: "Sequence", - element: { type: { name: "Composite", className: "TriggeredWebJob" } } + element: { + type: { + name: "Composite", + className: "TriggeredWebJob" + } + } } }, nextLink: { @@ -7086,7 +7464,10 @@ export const TriggeredJobHistoryCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "TriggeredJobHistory" } + type: { + name: "Composite", + className: "TriggeredJobHistory" + } } } }, @@ -7115,7 +7496,12 @@ export const CsmUsageQuotaCollection: coreHttp.CompositeMapper = { xmlElementName: "CsmUsageQuota", type: { name: "Sequence", - element: { type: { name: "Composite", className: "CsmUsageQuota" } } + element: { + type: { + name: "Composite", + className: "CsmUsageQuota" + } + } } }, nextLink: { @@ -7213,7 +7599,12 @@ export const WebJobCollection: coreHttp.CompositeMapper = { xmlElementName: "WebJob", type: { name: "Sequence", - element: { type: { name: "Composite", className: "WebJob" } } + element: { + type: { + name: "Composite", + className: "WebJob" + } + } } }, nextLink: { @@ -7242,7 +7633,10 @@ export const StaticSiteCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "StaticSiteARMResource" } + type: { + name: "Composite", + className: "StaticSiteARMResource" + } } } }, @@ -7344,7 +7738,11 @@ export const SkuDescription: coreHttp.CompositeMapper = { xmlElementName: "SkuDescriptionLocationsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, capabilities: { @@ -7353,7 +7751,12 @@ export const SkuDescription: coreHttp.CompositeMapper = { xmlElementName: "Capability", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Capability" } } + element: { + type: { + name: "Composite", + className: "Capability" + } + } } } } @@ -7374,7 +7777,10 @@ export const StaticSiteUserCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "StaticSiteUserARMResource" } + type: { + name: "Composite", + className: "StaticSiteUserARMResource" + } } } }, @@ -7404,7 +7810,10 @@ export const StaticSiteBuildCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "StaticSiteBuildARMResource" } + type: { + name: "Composite", + className: "StaticSiteBuildARMResource" + } } } }, @@ -7532,7 +7941,12 @@ export const StampCapacityCollection: coreHttp.CompositeMapper = { xmlElementName: "StampCapacity", type: { name: "Sequence", - element: { type: { name: "Composite", className: "StampCapacity" } } + element: { + type: { + name: "Composite", + className: "StampCapacity" + } + } } }, nextLink: { @@ -7585,7 +7999,10 @@ export const InboundEnvironmentEndpointCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "InboundEnvironmentEndpoint" } + type: { + name: "Composite", + className: "InboundEnvironmentEndpoint" + } } } }, @@ -7620,7 +8037,11 @@ export const InboundEnvironmentEndpoint: coreHttp.CompositeMapper = { xmlElementName: "InboundEnvironmentEndpointEndpointsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, ports: { @@ -7629,7 +8050,11 @@ export const InboundEnvironmentEndpoint: coreHttp.CompositeMapper = { xmlElementName: "InboundEnvironmentEndpointPortsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -7650,7 +8075,10 @@ export const WorkerPoolCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "WorkerPoolResource" } + type: { + name: "Composite", + className: "WorkerPoolResource" + } } } }, @@ -7680,7 +8108,10 @@ export const ResourceMetricDefinitionCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ResourceMetricDefinition" } + type: { + name: "Composite", + className: "ResourceMetricDefinition" + } } } }, @@ -7735,7 +8166,12 @@ export const SkuInfoCollection: coreHttp.CompositeMapper = { xmlElementName: "SkuInfo", type: { name: "Sequence", - element: { type: { name: "Composite", className: "SkuInfo" } } + element: { + type: { + name: "Composite", + className: "SkuInfo" + } + } } }, nextLink: { @@ -7796,7 +8232,12 @@ export const UsageCollection: coreHttp.CompositeMapper = { xmlElementName: "Usage", type: { name: "Sequence", - element: { type: { name: "Composite", className: "Usage" } } + element: { + type: { + name: "Composite", + className: "Usage" + } + } } }, nextLink: { @@ -7864,7 +8305,10 @@ export const OutboundEnvironmentEndpoint: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "EndpointDependency" } + type: { + name: "Composite", + className: "EndpointDependency" + } } } } @@ -7891,7 +8335,12 @@ export const EndpointDependency: coreHttp.CompositeMapper = { xmlElementName: "EndpointDetail", type: { name: "Sequence", - element: { type: { name: "Composite", className: "EndpointDetail" } } + element: { + type: { + name: "Composite", + className: "EndpointDetail" + } + } } } } @@ -7949,7 +8398,12 @@ export const AppServicePlanCollection: coreHttp.CompositeMapper = { xmlElementName: "AppServicePlan", type: { name: "Sequence", - element: { type: { name: "Composite", className: "AppServicePlan" } } + element: { + type: { + name: "Composite", + className: "AppServicePlan" + } + } } }, nextLink: { @@ -7977,7 +8431,11 @@ export const ResourceCollection: coreHttp.CompositeMapper = { xmlElementName: "ResourceCollectionValueItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, nextLink: { @@ -8006,7 +8464,10 @@ export const HybridConnectionCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "HybridConnection" } + type: { + name: "Composite", + className: "HybridConnection" + } } } }, @@ -8036,7 +8497,10 @@ export const ResourceHealthMetadataCollection: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ResourceHealthMetadata" } + type: { + name: "Composite", + className: "ResourceHealthMetadata" + } } } }, @@ -8229,7 +8693,11 @@ export const AppServiceCertificateOrder: coreHttp.CompositeMapper = { "AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, nextAutoRenewalTimeStamp: { @@ -8382,7 +8850,11 @@ export const Domain: coreHttp.CompositeMapper = { xmlElementName: "DomainPropertiesNameServersItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, privacy: { @@ -8439,7 +8911,12 @@ export const Domain: coreHttp.CompositeMapper = { xmlElementName: "HostName", type: { name: "Sequence", - element: { type: { name: "Composite", className: "HostName" } } + element: { + type: { + name: "Composite", + className: "HostName" + } + } } }, consent: { @@ -8457,7 +8934,11 @@ export const Domain: coreHttp.CompositeMapper = { xmlElementName: "DomainPropertiesDomainNotRenewableReasonsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, dnsType: { @@ -8523,7 +9004,11 @@ export const Certificate: coreHttp.CompositeMapper = { xmlElementName: "CertificatePropertiesHostNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, pfxBlob: { @@ -8703,7 +9188,11 @@ export const Site: coreHttp.CompositeMapper = { xmlElementName: "SitePropertiesHostNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, repositorySiteName: { @@ -8737,7 +9226,11 @@ export const Site: coreHttp.CompositeMapper = { xmlElementName: "SitePropertiesEnabledHostNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, availabilityState: { @@ -8756,7 +9249,10 @@ export const Site: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "HostNameSslState" } + type: { + name: "Composite", + className: "HostNameSslState" + } } } }, @@ -8811,7 +9307,11 @@ export const Site: coreHttp.CompositeMapper = { xmlElementName: "SitePropertiesTrafficManagerHostNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, scmSiteAlsoStopped: { @@ -9074,7 +9574,11 @@ export const StaticSiteARMResource: coreHttp.CompositeMapper = { xmlElementName: "StaticSiteCustomDomainsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, repositoryToken: { @@ -9198,7 +9702,12 @@ export const AppServiceEnvironmentResource: coreHttp.CompositeMapper = { xmlElementName: "WorkerPool", type: { name: "Sequence", - element: { type: { name: "Composite", className: "WorkerPool" } } + element: { + type: { + name: "Composite", + className: "WorkerPool" + } + } } }, ipsslAddressCount: { @@ -9295,7 +9804,10 @@ export const AppServiceEnvironmentResource: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualIPMapping" } + type: { + name: "Composite", + className: "VirtualIPMapping" + } } } }, @@ -9306,7 +9818,12 @@ export const AppServiceEnvironmentResource: coreHttp.CompositeMapper = { xmlElementName: "StampCapacity", type: { name: "Sequence", - element: { type: { name: "Composite", className: "StampCapacity" } } + element: { + type: { + name: "Composite", + className: "StampCapacity" + } + } } }, networkAccessControlList: { @@ -9316,7 +9833,10 @@ export const AppServiceEnvironmentResource: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NetworkAccessControlEntry" } + type: { + name: "Composite", + className: "NetworkAccessControlEntry" + } } } }, @@ -9386,7 +9906,12 @@ export const AppServiceEnvironmentResource: coreHttp.CompositeMapper = { xmlElementName: "NameValuePair", type: { name: "Sequence", - element: { type: { name: "Composite", className: "NameValuePair" } } + element: { + type: { + name: "Composite", + className: "NameValuePair" + } + } } }, userWhitelistedIpRanges: { @@ -9395,7 +9920,11 @@ export const AppServiceEnvironmentResource: coreHttp.CompositeMapper = { xmlElementName: "AppServiceEnvironmentUserWhitelistedIpRangesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, hasLinuxWorkers: { @@ -9768,7 +10297,11 @@ export const AppServiceCertificateOrderPatchResource: coreHttp.CompositeMapper = "AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, nextAutoRenewalTimeStamp: { @@ -10060,7 +10593,11 @@ export const DomainPatchResource: coreHttp.CompositeMapper = { xmlElementName: "DomainPatchResourcePropertiesNameServersItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, privacy: { @@ -10117,7 +10654,12 @@ export const DomainPatchResource: coreHttp.CompositeMapper = { xmlElementName: "HostName", type: { name: "Sequence", - element: { type: { name: "Composite", className: "HostName" } } + element: { + type: { + name: "Composite", + className: "HostName" + } + } } }, consent: { @@ -10136,7 +10678,11 @@ export const DomainPatchResource: coreHttp.CompositeMapper = { "DomainPatchResourcePropertiesDomainNotRenewableReasonsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, dnsType: { @@ -10238,7 +10784,11 @@ export const CertificatePatchResource: coreHttp.CompositeMapper = { xmlElementName: "CertificatePatchResourcePropertiesHostNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, pfxBlob: { @@ -10484,7 +11034,12 @@ export const DetectorResponse: coreHttp.CompositeMapper = { xmlElementName: "DiagnosticData", type: { name: "Sequence", - element: { type: { name: "Composite", className: "DiagnosticData" } } + element: { + type: { + name: "Composite", + className: "DiagnosticData" + } + } } } } @@ -10600,7 +11155,10 @@ export const DiagnosticAnalysis: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "AbnormalTimePeriod" } + type: { + name: "Composite", + className: "AbnormalTimePeriod" + } } } }, @@ -10610,7 +11168,12 @@ export const DiagnosticAnalysis: coreHttp.CompositeMapper = { xmlElementName: "AnalysisData", type: { name: "Sequence", - element: { type: { name: "Composite", className: "AnalysisData" } } + element: { + type: { + name: "Composite", + className: "AnalysisData" + } + } } }, nonCorrelatedDetectors: { @@ -10620,7 +11183,10 @@ export const DiagnosticAnalysis: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DetectorDefinition" } + type: { + name: "Composite", + className: "DetectorDefinition" + } } } } @@ -10671,7 +11237,10 @@ export const DiagnosticDetectorResponse: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DiagnosticMetricSet" } + type: { + name: "Composite", + className: "DiagnosticMetricSet" + } } } }, @@ -10682,7 +11251,10 @@ export const DiagnosticDetectorResponse: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DetectorAbnormalTimePeriod" } + type: { + name: "Composite", + className: "DetectorAbnormalTimePeriod" + } } } }, @@ -10696,7 +11268,10 @@ export const DiagnosticDetectorResponse: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NameValuePair" } + type: { + name: "Composite", + className: "NameValuePair" + } } } } @@ -10749,7 +11324,10 @@ export const ApplicationStackResource: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "StackMajorVersion" } + type: { + name: "Composite", + className: "StackMajorVersion" + } } } }, @@ -10760,7 +11338,10 @@ export const ApplicationStackResource: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ApplicationStack" } + type: { + name: "Composite", + className: "ApplicationStack" + } } } } @@ -10852,7 +11433,11 @@ export const Recommendation: coreHttp.CompositeMapper = { xmlElementName: "RecommendationPropertiesCategoryTagsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, actionName: { @@ -10875,7 +11460,11 @@ export const Recommendation: coreHttp.CompositeMapper = { xmlElementName: "RecommendationPropertiesStatesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, startTime: { @@ -11029,7 +11618,11 @@ export const RecommendationRule: coreHttp.CompositeMapper = { xmlElementName: "RecommendationRulePropertiesCategoryTagsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, isDynamic: { @@ -11422,7 +12015,10 @@ export const VnetValidationFailureDetails: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VnetValidationTestFailure" } + type: { + name: "Composite", + className: "VnetValidationTestFailure" + } } } } @@ -11499,7 +12095,11 @@ export const SitePatchResource: coreHttp.CompositeMapper = { xmlElementName: "SitePatchResourcePropertiesHostNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, repositorySiteName: { @@ -11533,7 +12133,11 @@ export const SitePatchResource: coreHttp.CompositeMapper = { xmlElementName: "SitePatchResourcePropertiesEnabledHostNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, availabilityState: { @@ -11552,7 +12156,10 @@ export const SitePatchResource: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "HostNameSslState" } + type: { + name: "Composite", + className: "HostNameSslState" + } } } }, @@ -11608,7 +12215,11 @@ export const SitePatchResource: coreHttp.CompositeMapper = { "SitePatchResourcePropertiesTrafficManagerHostNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, scmSiteAlsoStopped: { @@ -11844,7 +12455,11 @@ export const CustomHostnameAnalysisResult: coreHttp.CompositeMapper = { "CustomHostnameAnalysisResultPropertiesCNameRecordsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, txtRecords: { @@ -11853,7 +12468,11 @@ export const CustomHostnameAnalysisResult: coreHttp.CompositeMapper = { xmlElementName: "CustomHostnameAnalysisResultPropertiesTxtRecordsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, aRecords: { @@ -11862,7 +12481,11 @@ export const CustomHostnameAnalysisResult: coreHttp.CompositeMapper = { xmlElementName: "CustomHostnameAnalysisResultPropertiesARecordsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, alternateCNameRecords: { @@ -11872,7 +12495,11 @@ export const CustomHostnameAnalysisResult: coreHttp.CompositeMapper = { "CustomHostnameAnalysisResultPropertiesAlternateCNameRecordsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, alternateTxtRecords: { @@ -11882,7 +12509,11 @@ export const CustomHostnameAnalysisResult: coreHttp.CompositeMapper = { "CustomHostnameAnalysisResultPropertiesAlternateTxtRecordsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -11932,7 +12563,10 @@ export const BackupRequest: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DatabaseBackupSetting" } + type: { + name: "Composite", + className: "DatabaseBackupSetting" + } } } } @@ -12031,7 +12665,10 @@ export const BackupItem: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DatabaseBackupSetting" } + type: { + name: "Composite", + className: "DatabaseBackupSetting" + } } } }, @@ -12121,7 +12758,10 @@ export const RestoreRequest: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "DatabaseBackupSetting" } + type: { + name: "Composite", + className: "DatabaseBackupSetting" + } } } }, @@ -12199,7 +12839,11 @@ export const SiteConfigResource: coreHttp.CompositeMapper = { xmlElementName: "SiteConfigDefaultDocumentsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, netFrameworkVersion: { @@ -12314,7 +12958,12 @@ export const SiteConfigResource: coreHttp.CompositeMapper = { xmlElementName: "NameValuePair", type: { name: "Sequence", - element: { type: { name: "Composite", className: "NameValuePair" } } + element: { + type: { + name: "Composite", + className: "NameValuePair" + } + } } }, connectionStrings: { @@ -12323,7 +12972,12 @@ export const SiteConfigResource: coreHttp.CompositeMapper = { xmlElementName: "ConnStringInfo", type: { name: "Sequence", - element: { type: { name: "Composite", className: "ConnStringInfo" } } + element: { + type: { + name: "Composite", + className: "ConnStringInfo" + } + } } }, machineKey: { @@ -12340,7 +12994,12 @@ export const SiteConfigResource: coreHttp.CompositeMapper = { xmlElementName: "HandlerMapping", type: { name: "Sequence", - element: { type: { name: "Composite", className: "HandlerMapping" } } + element: { + type: { + name: "Composite", + className: "HandlerMapping" + } + } } }, documentRoot: { @@ -12421,7 +13080,10 @@ export const SiteConfigResource: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualApplication" } + type: { + name: "Composite", + className: "VirtualApplication" + } } } }, @@ -12551,7 +13213,10 @@ export const SiteConfigResource: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "IpSecurityRestriction" } + type: { + name: "Composite", + className: "IpSecurityRestriction" + } } } }, @@ -12562,7 +13227,10 @@ export const SiteConfigResource: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "IpSecurityRestriction" } + type: { + name: "Composite", + className: "IpSecurityRestriction" + } } } }, @@ -12679,7 +13347,11 @@ export const SiteAuthSettings: coreHttp.CompositeMapper = { "SiteAuthSettingsPropertiesAllowedExternalRedirectUrlsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, defaultProvider: { @@ -12744,7 +13416,11 @@ export const SiteAuthSettings: coreHttp.CompositeMapper = { xmlElementName: "SiteAuthSettingsPropertiesAllowedAudiencesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, additionalLoginParams: { @@ -12753,7 +13429,11 @@ export const SiteAuthSettings: coreHttp.CompositeMapper = { xmlElementName: "SiteAuthSettingsPropertiesAdditionalLoginParamsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, googleClientId: { @@ -12776,7 +13456,11 @@ export const SiteAuthSettings: coreHttp.CompositeMapper = { xmlElementName: "SiteAuthSettingsPropertiesGoogleOAuthScopesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, facebookAppId: { @@ -12799,7 +13483,11 @@ export const SiteAuthSettings: coreHttp.CompositeMapper = { xmlElementName: "SiteAuthSettingsPropertiesFacebookOAuthScopesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, twitterConsumerKey: { @@ -12837,7 +13525,11 @@ export const SiteAuthSettings: coreHttp.CompositeMapper = { "SiteAuthSettingsPropertiesMicrosoftAccountOAuthScopesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -13049,7 +13741,11 @@ export const SlotConfigNamesResource: coreHttp.CompositeMapper = { xmlElementName: "SlotConfigNamesConnectionStringNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, appSettingNames: { @@ -13058,7 +13754,11 @@ export const SlotConfigNamesResource: coreHttp.CompositeMapper = { xmlElementName: "SlotConfigNamesAppSettingNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, azureStorageConfigNames: { @@ -13067,7 +13767,11 @@ export const SlotConfigNamesResource: coreHttp.CompositeMapper = { xmlElementName: "SlotConfigNamesAzureStorageConfigNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -13399,7 +14103,10 @@ export const MSDeployLog: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "MSDeployLogEntry" } + type: { + name: "Composite", + className: "MSDeployLogEntry" + } } } } @@ -14062,7 +14769,11 @@ export const ProcessInfo: coreHttp.CompositeMapper = { xmlElementName: "ProcessInfoPropertiesChildrenItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, threads: { @@ -14072,7 +14783,10 @@ export const ProcessInfo: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ProcessThreadInfo" } + type: { + name: "Composite", + className: "ProcessThreadInfo" + } } } }, @@ -14082,7 +14796,11 @@ export const ProcessInfo: coreHttp.CompositeMapper = { xmlElementName: "ProcessInfoPropertiesOpenFileHandlesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, modules: { @@ -14092,7 +14810,10 @@ export const ProcessInfo: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ProcessModuleInfo" } + type: { + name: "Composite", + className: "ProcessModuleInfo" + } } } }, @@ -14488,7 +15209,12 @@ export const VnetInfo: coreHttp.CompositeMapper = { xmlElementName: "VnetRoute", type: { name: "Sequence", - element: { type: { name: "Composite", className: "VnetRoute" } } + element: { + type: { + name: "Composite", + className: "VnetRoute" + } + } } }, resyncRequired: { @@ -14563,7 +15289,10 @@ export const NetworkFeatures: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "HybridConnection" } + type: { + name: "Composite", + className: "HybridConnection" + } } } } @@ -14906,7 +15635,11 @@ export const SiteExtensionInfo: coreHttp.CompositeMapper = { xmlElementName: "SiteExtensionInfoPropertiesAuthorsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, installerCommandLineParams: { @@ -15341,7 +16074,12 @@ export const TriggeredJobHistory: coreHttp.CompositeMapper = { xmlElementName: "TriggeredJobRun", type: { name: "Sequence", - element: { type: { name: "Composite", className: "TriggeredJobRun" } } + element: { + type: { + name: "Composite", + className: "TriggeredJobRun" + } + } } } } @@ -15471,7 +16209,11 @@ export const StaticSitePatchResource: coreHttp.CompositeMapper = { xmlElementName: "StaticSiteCustomDomainsItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, repositoryToken: { @@ -15856,7 +16598,12 @@ export const AppServiceEnvironmentPatchResource: coreHttp.CompositeMapper = { xmlElementName: "WorkerPool", type: { name: "Sequence", - element: { type: { name: "Composite", className: "WorkerPool" } } + element: { + type: { + name: "Composite", + className: "WorkerPool" + } + } } }, ipsslAddressCount: { @@ -15953,7 +16700,10 @@ export const AppServiceEnvironmentPatchResource: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualIPMapping" } + type: { + name: "Composite", + className: "VirtualIPMapping" + } } } }, @@ -15964,7 +16714,12 @@ export const AppServiceEnvironmentPatchResource: coreHttp.CompositeMapper = { xmlElementName: "StampCapacity", type: { name: "Sequence", - element: { type: { name: "Composite", className: "StampCapacity" } } + element: { + type: { + name: "Composite", + className: "StampCapacity" + } + } } }, networkAccessControlList: { @@ -15974,7 +16729,10 @@ export const AppServiceEnvironmentPatchResource: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "NetworkAccessControlEntry" } + type: { + name: "Composite", + className: "NetworkAccessControlEntry" + } } } }, @@ -16044,7 +16802,12 @@ export const AppServiceEnvironmentPatchResource: coreHttp.CompositeMapper = { xmlElementName: "NameValuePair", type: { name: "Sequence", - element: { type: { name: "Composite", className: "NameValuePair" } } + element: { + type: { + name: "Composite", + className: "NameValuePair" + } + } } }, userWhitelistedIpRanges: { @@ -16053,7 +16816,11 @@ export const AppServiceEnvironmentPatchResource: coreHttp.CompositeMapper = { xmlElementName: "AppServiceEnvironmentUserWhitelistedIpRangesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, hasLinuxWorkers: { @@ -16108,7 +16875,11 @@ export const AddressResponse: coreHttp.CompositeMapper = { xmlElementName: "AddressResponsePropertiesOutboundIpAddressesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } }, vipMappings: { @@ -16118,7 +16889,10 @@ export const AddressResponse: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VirtualIPMapping" } + type: { + name: "Composite", + className: "VirtualIPMapping" + } } } } @@ -16177,7 +16951,11 @@ export const WorkerPoolResource: coreHttp.CompositeMapper = { xmlElementName: "WorkerPoolInstanceNamesItem", type: { name: "Sequence", - element: { type: { name: "String" } } + element: { + type: { + name: "String" + } + } } } } @@ -16215,7 +16993,10 @@ export const ResourceMetricDefinition: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "ResourceMetricAvailability" } + type: { + name: "Composite", + className: "ResourceMetricAvailability" + } } } }, diff --git a/test/utils/test-swagger-gen.ts b/test/utils/test-swagger-gen.ts index 2e59e8707e..fe5e08d737 100644 --- a/test/utils/test-swagger-gen.ts +++ b/test/utils/test-swagger-gen.ts @@ -18,6 +18,12 @@ const testSwaggers: { [name: string]: SwaggerConfig } = { packageName: "additional-properties", licenseHeader: true }, + arrayConstraints: { + swagger: "test/integration/swaggers/arrayConstraints.json", + clientName: "ArrayConstraintsClient", + packageName: "array-constraints-client", + licenseHeader: true + }, azureParameterGrouping: { swagger: "azure-parameter-grouping.json", clientName: "AzureParameterGroupingClient",