From fb491fe50389f2b55f4ea30729707f9aca13f7bf Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 14 Mar 2022 03:12:25 +0000 Subject: [PATCH] CodeGen from PR 18202 in Azure/azure-rest-api-specs Merge 0016820cdc17a45e7ae6311f63d5be899fe67f80 into 0f149eb7239f7a262601bb5476e7772f06d1b28d --- sdk/healthbot/arm-healthbot/README.md | 2 +- sdk/healthbot/arm-healthbot/_meta.json | 7 +++--- .../arm-healthbot/api-extractor.json | 25 ++++++++++++++----- sdk/healthbot/arm-healthbot/package.json | 4 +-- .../arm-healthbot/src/healthbotClient.ts | 2 +- sdk/healthbot/arm-healthbot/tsconfig.json | 16 +++++++++--- sdk/healthbot/ci.mgmt.yml | 7 +++--- 7 files changed, 43 insertions(+), 20 deletions(-) diff --git a/sdk/healthbot/arm-healthbot/README.md b/sdk/healthbot/arm-healthbot/README.md index 56a7d9c838ae..976d95a6373d 100644 --- a/sdk/healthbot/arm-healthbot/README.md +++ b/sdk/healthbot/arm-healthbot/README.md @@ -6,7 +6,7 @@ Azure Health Bot is a cloud platform that empowers developers in Healthcare orga [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/healthbot/arm-healthbot) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-healthbot) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-healthbot) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-healthbot?view=azure-node-preview) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started diff --git a/sdk/healthbot/arm-healthbot/_meta.json b/sdk/healthbot/arm-healthbot/_meta.json index c5460a12c0c6..42178479fe4b 100644 --- a/sdk/healthbot/arm-healthbot/_meta.json +++ b/sdk/healthbot/arm-healthbot/_meta.json @@ -1,7 +1,8 @@ { - "commit": "1f1d5b0b9ce6cc94605b2fd619dce374fb6e033a", + "commit": "4821d78a71f5c63721f5d0a6caa1f8586bbad71c", "readme": "specification/healthbot/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/healthbot/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=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/healthbot/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.1.1", + "use": "@autorest/typescript@6.0.0-alpha.16.20220105.1" } \ No newline at end of file diff --git a/sdk/healthbot/arm-healthbot/api-extractor.json b/sdk/healthbot/arm-healthbot/api-extractor.json index 3b7d23bd0735..403f0baac85f 100644 --- a/sdk/healthbot/arm-healthbot/api-extractor.json +++ b/sdk/healthbot/arm-healthbot/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-healthbot.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/healthbot/arm-healthbot/package.json b/sdk/healthbot/arm-healthbot/package.json index 8cc896ffa7e1..449bec474992 100644 --- a/sdk/healthbot/arm-healthbot/package.json +++ b/sdk/healthbot/arm-healthbot/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for HealthbotClient.", - "version": "2.0.1", + "version": "1.0.0-beta.1", "engines": { "node": ">=12.0.0" }, @@ -99,4 +99,4 @@ }, "sideEffects": false, "autoPublish": true -} +} \ No newline at end of file diff --git a/sdk/healthbot/arm-healthbot/src/healthbotClient.ts b/sdk/healthbot/arm-healthbot/src/healthbotClient.ts index c7b9bb20565e..f219b66750d6 100644 --- a/sdk/healthbot/arm-healthbot/src/healthbotClient.ts +++ b/sdk/healthbot/arm-healthbot/src/healthbotClient.ts @@ -44,7 +44,7 @@ export class HealthbotClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-healthbot/2.0.0`; + const packageDetails = `azsdk-js-arm-healthbot/1.0.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/healthbot/arm-healthbot/tsconfig.json b/sdk/healthbot/arm-healthbot/tsconfig.json index 6e3251194117..3e6ae96443f3 100644 --- a/sdk/healthbot/arm-healthbot/tsconfig.json +++ b/sdk/healthbot/arm-healthbot/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/healthbot/ci.mgmt.yml b/sdk/healthbot/ci.mgmt.yml index 29cdac2f9746..58bed9e56b45 100644 --- a/sdk/healthbot/ci.mgmt.yml +++ b/sdk/healthbot/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/healthbot/ci.mgmt.yml - sdk/healthbot/arm-healthbot/ + - sdk/healthbot/arm-healthbot pr: branches: include: @@ -23,11 +24,11 @@ pr: include: - sdk/healthbot/ci.mgmt.yml - sdk/healthbot/arm-healthbot/ - + - sdk/healthbot/arm-healthbot extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: ServiceDirectory: healthbot Artifacts: - name: azure-arm-healthbot - safeName: azurearmhealthbot \ No newline at end of file + safeName: azurearmhealthbot