From aed7cb05a15fe7665bc84e1728a2b2362075a91c Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 31 Mar 2022 08:59:31 +0000 Subject: [PATCH] CodeGen from PR 18453 in Azure/azure-rest-api-specs Merge d23039eab2d91e65d9bd15572966a539c717fd71 into b6a78456cab458910378135995f1d019765ccec3 --- sdk/avs/arm-avs/_meta.json | 7 +++--- sdk/avs/arm-avs/api-extractor.json | 25 ++++++++++++++----- sdk/avs/arm-avs/package.json | 4 +-- sdk/avs/arm-avs/src/azureVMwareSolutionAPI.ts | 2 +- sdk/avs/arm-avs/tsconfig.json | 16 +++++++++--- sdk/avs/ci.mgmt.yml | 7 +++--- 6 files changed, 42 insertions(+), 19 deletions(-) diff --git a/sdk/avs/arm-avs/_meta.json b/sdk/avs/arm-avs/_meta.json index 993f2884a3f8..3e2e2aa8b802 100644 --- a/sdk/avs/arm-avs/_meta.json +++ b/sdk/avs/arm-avs/_meta.json @@ -1,7 +1,8 @@ { - "commit": "409af02e5ca217c7e7ec2acf50f4976c053496f8", + "commit": "d914d97352870b285ea38c59abd54109285acb60", "readme": "specification/vmware/resource-manager/readme.md", - "autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/vmware/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211217.1", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/vmware/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220105.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20211217.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.2.1", + "use": "@autorest/typescript@6.0.0-alpha.16.20220105.1" } \ No newline at end of file diff --git a/sdk/avs/arm-avs/api-extractor.json b/sdk/avs/arm-avs/api-extractor.json index 85bb9617e40a..f3c548add8d4 100644 --- a/sdk/avs/arm-avs/api-extractor.json +++ b/sdk/avs/arm-avs/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-avs.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } -} +} \ No newline at end of file diff --git a/sdk/avs/arm-avs/package.json b/sdk/avs/arm-avs/package.json index 33376a4ddd98..de72cc7fdbfc 100644 --- a/sdk/avs/arm-avs/package.json +++ b/sdk/avs/arm-avs/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for AzureVMwareSolutionAPI.", - "version": "3.0.1", + "version": "3.0.2", "engines": { "node": ">=12.0.0" }, @@ -99,4 +99,4 @@ }, "sideEffects": false, "autoPublish": true -} +} \ No newline at end of file diff --git a/sdk/avs/arm-avs/src/azureVMwareSolutionAPI.ts b/sdk/avs/arm-avs/src/azureVMwareSolutionAPI.ts index 48fd8c7e2b7c..4f5ed1fbce71 100644 --- a/sdk/avs/arm-avs/src/azureVMwareSolutionAPI.ts +++ b/sdk/avs/arm-avs/src/azureVMwareSolutionAPI.ts @@ -78,7 +78,7 @@ export class AzureVMwareSolutionAPI extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-avs/3.0.0`; + const packageDetails = `azsdk-js-arm-avs/3.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/avs/arm-avs/tsconfig.json b/sdk/avs/arm-avs/tsconfig.json index 6e3251194117..3e6ae96443f3 100644 --- a/sdk/avs/arm-avs/tsconfig.json +++ b/sdk/avs/arm-avs/tsconfig.json @@ -9,11 +9,19 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", "importHelpers": true }, - "include": ["./src/**/*.ts", "./test/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/avs/ci.mgmt.yml b/sdk/avs/ci.mgmt.yml index 5e7122e76572..27a86aaef118 100644 --- a/sdk/avs/ci.mgmt.yml +++ b/sdk/avs/ci.mgmt.yml @@ -1,5 +1,5 @@ # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. - + trigger: branches: include: @@ -10,6 +10,7 @@ trigger: include: - sdk/avs/ci.mgmt.yml - sdk/avs/arm-avs/ + - sdk/avs/arm-avs pr: branches: include: @@ -23,11 +24,11 @@ pr: include: - sdk/avs/ci.mgmt.yml - sdk/avs/arm-avs/ - + - sdk/avs/arm-avs extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: ServiceDirectory: avs Artifacts: - name: azure-arm-avs - safeName: azurearmavs \ No newline at end of file + safeName: azurearmavs