diff --git a/sdk/serialconsole/arm-serialconsole/README.md b/sdk/serialconsole/arm-serialconsole/README.md index 7149c268f5d7..fe6415765ab8 100644 --- a/sdk/serialconsole/arm-serialconsole/README.md +++ b/sdk/serialconsole/arm-serialconsole/README.md @@ -6,7 +6,7 @@ The Azure Serial Console allows you to access the serial console of a Virtual Ma [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/serialconsole/arm-serialconsole) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-serialconsole) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-serialconsole) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-serialconsole?view=azure-node-preview) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started diff --git a/sdk/serialconsole/arm-serialconsole/_meta.json b/sdk/serialconsole/arm-serialconsole/_meta.json index 6795fa4f87a6..c3f4295ddaad 100644 --- a/sdk/serialconsole/arm-serialconsole/_meta.json +++ b/sdk/serialconsole/arm-serialconsole/_meta.json @@ -1,7 +1,8 @@ { - "commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb", + "commit": "7febba7a7a69503ed46397daa745dd85ffcb5640", "readme": "specification/serialconsole/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/serialconsole/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/serialconsole/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" + "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/serialconsole/arm-serialconsole/api-extractor.json b/sdk/serialconsole/arm-serialconsole/api-extractor.json index 884044120533..e94f709a6d98 100644 --- a/sdk/serialconsole/arm-serialconsole/api-extractor.json +++ b/sdk/serialconsole/arm-serialconsole/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-serialconsole.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/serialconsole/arm-serialconsole/package.json b/sdk/serialconsole/arm-serialconsole/package.json index 116272a7b92e..632af3011722 100644 --- a/sdk/serialconsole/arm-serialconsole/package.json +++ b/sdk/serialconsole/arm-serialconsole/package.json @@ -3,15 +3,23 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for MicrosoftSerialConsoleClient.", - "version": "2.0.0", - "engines": { "node": ">=12.0.0" }, + "version": "1.0.0-beta.1", + "engines": { + "node": ">=12.0.0" + }, "dependencies": { "@azure/core-client": "^1.0.0", "@azure/core-auth": "^1.3.0", "@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", @@ -38,7 +46,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", @@ -85,13 +95,5 @@ "docs": "echo skipped" }, "sideEffects": false, - "//metadata": { - "constantPaths": [ - { - "path": "src/MicrosoftSerialConsoleClient.ts", - "prefix": "packageDetails" - } - ] - }, "autoPublish": true -} +} \ No newline at end of file diff --git a/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClient.ts b/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClient.ts index 86bbb1be4175..6b592d62c23e 100644 --- a/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClient.ts +++ b/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClient.ts @@ -57,7 +57,7 @@ export class MicrosoftSerialConsoleClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-serialconsole/2.0.0`; + const packageDetails = `azsdk-js-arm-serialconsole/1.0.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/serialconsole/arm-serialconsole/tsconfig.json b/sdk/serialconsole/arm-serialconsole/tsconfig.json index 6e3251194117..3e6ae96443f3 100644 --- a/sdk/serialconsole/arm-serialconsole/tsconfig.json +++ b/sdk/serialconsole/arm-serialconsole/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/serialconsole/ci.mgmt.yml b/sdk/serialconsole/ci.mgmt.yml index 15a7a32d430c..4c67c48f1e81 100644 --- a/sdk/serialconsole/ci.mgmt.yml +++ b/sdk/serialconsole/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/serialconsole/ci.mgmt.yml - sdk/serialconsole/arm-serialconsole/ + - sdk/serialconsole/arm-serialconsole pr: branches: include: @@ -23,11 +24,11 @@ pr: include: - sdk/serialconsole/ci.mgmt.yml - sdk/serialconsole/arm-serialconsole/ - + - sdk/serialconsole/arm-serialconsole extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: ServiceDirectory: serialconsole Artifacts: - name: azure-arm-serialconsole - safeName: azurearmserialconsole \ No newline at end of file + safeName: azurearmserialconsole