From 4342de6ddad8ffa78a4811022b3be53edd16ab39 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 24 Jan 2022 10:13:50 +0000 Subject: [PATCH] CodeGen from PR 17469 in Azure/azure-rest-api-specs Merge f38c9b9dc092669971fc5abf3094268869bfd0da into 0e23c192cdbcb623f97d685567e118f9ef6a724f --- sdk/templatespecs/arm-templatespecs/LICENSE | 2 +- sdk/templatespecs/arm-templatespecs/README.md | 2 +- .../arm-templatespecs/_meta.json | 6 ++--- .../arm-templatespecs/api-extractor.json | 25 ++++++++++++++----- .../arm-templatespecs/package.json | 4 +-- .../src/templateSpecsClient.ts | 2 +- .../arm-templatespecs/tsconfig.json | 16 +++++++++--- 7 files changed, 39 insertions(+), 18 deletions(-) diff --git a/sdk/templatespecs/arm-templatespecs/LICENSE b/sdk/templatespecs/arm-templatespecs/LICENSE index ccb63b166732..5d1d36e0af80 100644 --- a/sdk/templatespecs/arm-templatespecs/LICENSE +++ b/sdk/templatespecs/arm-templatespecs/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2021 Microsoft +Copyright (c) 2022 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/templatespecs/arm-templatespecs/README.md b/sdk/templatespecs/arm-templatespecs/README.md index 610bdbc8c557..7f2e9c99c5b3 100644 --- a/sdk/templatespecs/arm-templatespecs/README.md +++ b/sdk/templatespecs/arm-templatespecs/README.md @@ -6,7 +6,7 @@ The APIs listed in this specification can be used to manage Template Spec resour [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/templatespecs/arm-templatespecs) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-templatespecs) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-templatespecs) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-templatespecs?view=azure-node-preview) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started diff --git a/sdk/templatespecs/arm-templatespecs/_meta.json b/sdk/templatespecs/arm-templatespecs/_meta.json index 44e0b401977a..e5506e69d3af 100644 --- a/sdk/templatespecs/arm-templatespecs/_meta.json +++ b/sdk/templatespecs/arm-templatespecs/_meta.json @@ -1,7 +1,7 @@ { - "commit": "ea0f7b072ad3aaff203ea9003246b9e584b819ff", + "commit": "3b57fec8154d5269919485ec3f308fa60f1b5772", "readme": "specification/resources/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/resources/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211207.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/resources/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.20211207.1" + "use": "@autorest/typescript@6.0.0-alpha.16.20220105.1" } \ No newline at end of file diff --git a/sdk/templatespecs/arm-templatespecs/api-extractor.json b/sdk/templatespecs/arm-templatespecs/api-extractor.json index 384f0e25c009..933b7f47abcd 100644 --- a/sdk/templatespecs/arm-templatespecs/api-extractor.json +++ b/sdk/templatespecs/arm-templatespecs/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-templatespecs.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/templatespecs/arm-templatespecs/package.json b/sdk/templatespecs/arm-templatespecs/package.json index 13032fba9bf1..357f43cfbb23 100644 --- a/sdk/templatespecs/arm-templatespecs/package.json +++ b/sdk/templatespecs/arm-templatespecs/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for TemplateSpecsClient.", - "version": "2.0.1", + "version": "1.0.0-beta.1", "engines": { "node": ">=12.0.0" }, @@ -97,4 +97,4 @@ }, "sideEffects": false, "autoPublish": true -} +} \ No newline at end of file diff --git a/sdk/templatespecs/arm-templatespecs/src/templateSpecsClient.ts b/sdk/templatespecs/arm-templatespecs/src/templateSpecsClient.ts index bc1a81ad6ae4..9334fe45698b 100644 --- a/sdk/templatespecs/arm-templatespecs/src/templateSpecsClient.ts +++ b/sdk/templatespecs/arm-templatespecs/src/templateSpecsClient.ts @@ -44,7 +44,7 @@ export class TemplateSpecsClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-templatespecs/2.0.0`; + const packageDetails = `azsdk-js-arm-templatespecs/1.0.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/templatespecs/arm-templatespecs/tsconfig.json b/sdk/templatespecs/arm-templatespecs/tsconfig.json index 6e3251194117..3e6ae96443f3 100644 --- a/sdk/templatespecs/arm-templatespecs/tsconfig.json +++ b/sdk/templatespecs/arm-templatespecs/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