From 5156137d24ea6ef2aad555692cbdf462e3c306a0 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 9 Feb 2022 20:34:08 +0000 Subject: [PATCH] CodeGen from PR 17734 in Azure/azure-rest-api-specs Merge fdc663932b7a26cf9bd9892373ecf189bdb88c5a into 9673e2239f4f8257b2e916df2d15e1ef41c5bfd1 --- .../arm-machinelearningservices/README.md | 2 +- .../arm-machinelearningservices/_meta.json | 6 ++-- .../api-extractor.json | 25 +++++++++++++---- .../arm-machinelearningservices/package.json | 28 ++++++++++--------- .../src/azureMachineLearningWorkspaces.ts | 2 +- .../arm-machinelearningservices/tsconfig.json | 16 ++++++++--- 6 files changed, 51 insertions(+), 28 deletions(-) diff --git a/sdk/machinelearningservices/arm-machinelearningservices/README.md b/sdk/machinelearningservices/arm-machinelearningservices/README.md index 40b351417cc9..db755ac9813e 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/README.md +++ b/sdk/machinelearningservices/arm-machinelearningservices/README.md @@ -6,7 +6,7 @@ These APIs allow end users to operate on Azure Machine Learning Workspace resour [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearningservices/arm-machinelearningservices) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-machinelearningservices) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-machinelearningservices) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-machinelearningservices?view=azure-node-preview) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started diff --git a/sdk/machinelearningservices/arm-machinelearningservices/_meta.json b/sdk/machinelearningservices/arm-machinelearningservices/_meta.json index 701909537523..28859a664223 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/_meta.json +++ b/sdk/machinelearningservices/arm-machinelearningservices/_meta.json @@ -1,7 +1,7 @@ { - "commit": "184b23b63ee3a79fb41ca3aa55a31a8d9e636772", + "commit": "4cc9475c01077f96c7d18d6672671b7c815438d2", "readme": "specification/machinelearningservices/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/machinelearningservices/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220114.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=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/machinelearningservices/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/machinelearningservices/arm-machinelearningservices/api-extractor.json b/sdk/machinelearningservices/arm-machinelearningservices/api-extractor.json index 0328d0cd02cb..67f695513163 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/api-extractor.json +++ b/sdk/machinelearningservices/arm-machinelearningservices/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-machinelearningservices.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/machinelearningservices/arm-machinelearningservices/package.json b/sdk/machinelearningservices/arm-machinelearningservices/package.json index 8383b45339f0..4ca303764e6a 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/package.json +++ b/sdk/machinelearningservices/arm-machinelearningservices/package.json @@ -3,8 +3,10 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for AzureMachineLearningWorkspaces.", - "version": "5.0.0", - "engines": { "node": ">=12.0.0" }, + "version": "1.0.0-beta.1", + "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,13 +98,5 @@ "docs": "echo skipped" }, "sideEffects": false, - "//metadata": { - "constantPaths": [ - { - "path": "src/AzureMachineLearningWorkspaces.ts", - "prefix": "packageDetails" - } - ] - }, "autoPublish": true -} +} \ No newline at end of file diff --git a/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspaces.ts b/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspaces.ts index 62eb04d690e7..05e40997e114 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspaces.ts +++ b/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspaces.ts @@ -68,7 +68,7 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-machinelearningservices/5.0.0`; + const packageDetails = `azsdk-js-arm-machinelearningservices/1.0.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/machinelearningservices/arm-machinelearningservices/tsconfig.json b/sdk/machinelearningservices/arm-machinelearningservices/tsconfig.json index 6e3251194117..3e6ae96443f3 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/tsconfig.json +++ b/sdk/machinelearningservices/arm-machinelearningservices/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