From f9041b2e8ad06239231703da581627d961b80fba Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 16 Feb 2022 17:03:20 +0000 Subject: [PATCH] CodeGen from PR 17734 in Azure/azure-rest-api-specs Merge a48242af5534044ff5ef9abd10f77cc4373f52c3 into d850f41f89530917000d8e6bb463f42bb745b930 --- .../arm-machinelearningcompute/CHANGELOG.md | 4 +-- .../arm-machinelearningcompute/_meta.json | 8 ++--- .../api-extractor.json | 25 +++++++++---- .../arm-machinelearningcompute/package.json | 36 +++++++++---------- .../machineLearningComputeManagementClient.ts | 2 +- .../arm-machinelearningcompute/tsconfig.json | 19 ++++++---- 6 files changed, 55 insertions(+), 39 deletions(-) diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/CHANGELOG.md b/sdk/machinelearningcompute/arm-machinelearningcompute/CHANGELOG.md index 6415f38377dd..20022273bc63 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/CHANGELOG.md +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/CHANGELOG.md @@ -1,8 +1,8 @@ # Release History -## 3.0.0-beta.1 (2022-01-17) +## 3.0.0-beta.2 (2022-02-16) -The package of @azure/arm-machinelearningcompute is using our next generation design principles since version 3.0.0-beta.1, which contains breaking changes. +The package of @azure/arm-machinelearningcompute is using our next generation design principles since version 3.0.0-beta.2, which contains breaking changes. To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog). diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/_meta.json b/sdk/machinelearningcompute/arm-machinelearningcompute/_meta.json index 546321acada3..2960c90e3b96 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/_meta.json +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/_meta.json @@ -1,7 +1,7 @@ { - "commit": "6dd1d6d39dd0a7fc67ee53429d7c4ed084a0bac2", + "commit": "0fad9dd862e8531c54721bdd8ec620dcecc74e18", "readme": "specification/machinelearningcompute/resource-manager/readme.md", - "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=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/machinelearningexperimentation/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220114.1 --generate-sample=true", + "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=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/machinelearningcompute/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.20220114.1" -} + "use": "@autorest/typescript@6.0.0-alpha.16.20220105.1" +} \ No newline at end of file diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/api-extractor.json b/sdk/machinelearningcompute/arm-machinelearningcompute/api-extractor.json index 8d402a2ad323..3de285b7d8b0 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/api-extractor.json +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/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-machinelearningcompute.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/machinelearningcompute/arm-machinelearningcompute/package.json b/sdk/machinelearningcompute/arm-machinelearningcompute/package.json index 7e489f78d9b3..1ebb4dc4905a 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/package.json +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/package.json @@ -3,8 +3,10 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for MachineLearningComputeManagementClient.", - "version": "3.0.0-beta.1", - "engines": { "node": ">=12.0.0" }, + "version": "3.0.0-beta.2", + "engines": { + "node": ">=12.0.0" + }, "dependencies": { "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", @@ -14,7 +16,13 @@ "@azure/core-rest-pipeline": "^1.1.0", "tslib": "^2.2.0" }, - "keywords": ["node", "azure", "typescript", "browser", "isomorphic"], + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], "license": "MIT", "main": "./dist/index.js", "module": "./dist-esm/src/index.js", @@ -41,7 +49,9 @@ "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" }, - "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" + }, "files": [ "dist/**/*.js", "dist/**/*.js.map", @@ -88,19 +98,5 @@ "docs": "echo skipped" }, "sideEffects": false, - "//metadata": { - "constantPaths": [ - { - "path": "src/MachineLearningComputeManagementClient.ts", - "prefix": "packageDetails" - } - ] - }, - "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": ["azure"], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-machinelearningcompute?view=azure-node-preview" - } -} + "autoPublish": true +} \ No newline at end of file diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClient.ts b/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClient.ts index bfeafb09aff3..11ac57490f8b 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClient.ts +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClient.ts @@ -50,7 +50,7 @@ export class MachineLearningComputeManagementClient extends coreClient.ServiceCl credential: credentials }; - const packageDetails = `azsdk-js-arm-machinelearningcompute/3.0.0-beta.1`; + const packageDetails = `azsdk-js-arm-machinelearningcompute/3.0.0-beta.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/tsconfig.json b/sdk/machinelearningcompute/arm-machinelearningcompute/tsconfig.json index 7973e324aa41..3e6ae96443f3 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/tsconfig.json +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/tsconfig.json @@ -9,12 +9,19 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { "@azure/arm-machinelearningcompute": ["./src/index"] } + "importHelpers": true }, - "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file