From 0b69ece49a840974c96369b12edeeb318766a302 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 6 Jan 2022 02:38:27 +0000 Subject: [PATCH] CodeGen from PR 17228 in Azure/azure-rest-api-specs Merge 0b01cf5d9d287887dda363edb45c8b7dab1ddc74 into 46a7b5a0061dfe2ec327461f664532f8939355f7 --- sdk/web-pubsub/arm-webpubsub/LICENSE | 2 +- sdk/web-pubsub/arm-webpubsub/README.md | 2 +- sdk/web-pubsub/arm-webpubsub/_meta.json | 6 +++--- sdk/web-pubsub/arm-webpubsub/package.json | 18 ++++-------------- .../src/webPubSubManagementClient.ts | 2 +- 5 files changed, 10 insertions(+), 20 deletions(-) diff --git a/sdk/web-pubsub/arm-webpubsub/LICENSE b/sdk/web-pubsub/arm-webpubsub/LICENSE index ccb63b166732..5d1d36e0af80 100644 --- a/sdk/web-pubsub/arm-webpubsub/LICENSE +++ b/sdk/web-pubsub/arm-webpubsub/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/web-pubsub/arm-webpubsub/README.md b/sdk/web-pubsub/arm-webpubsub/README.md index 328674fd8883..1fa470ba0e9f 100644 --- a/sdk/web-pubsub/arm-webpubsub/README.md +++ b/sdk/web-pubsub/arm-webpubsub/README.md @@ -6,7 +6,7 @@ REST API for Azure WebPubSub Service [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/arm-webpubsub) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-webpubsub) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-webpubsub) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-webpubsub?view=azure-node-preview) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started diff --git a/sdk/web-pubsub/arm-webpubsub/_meta.json b/sdk/web-pubsub/arm-webpubsub/_meta.json index e2d123d79ee8..8720d428e20a 100644 --- a/sdk/web-pubsub/arm-webpubsub/_meta.json +++ b/sdk/web-pubsub/arm-webpubsub/_meta.json @@ -1,7 +1,7 @@ { - "commit": "d600759c3516b61a7c353bc8682bccbab85a6f65", + "commit": "b011f88d80ec314752144898df73564a325497e1", "readme": "specification/webpubsub/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/webpubsub/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211207.1", + "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=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/webpubsub/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211130.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.20211130.1" } \ No newline at end of file diff --git a/sdk/web-pubsub/arm-webpubsub/package.json b/sdk/web-pubsub/arm-webpubsub/package.json index 9e95dbd4c3bf..4292d99d708c 100644 --- a/sdk/web-pubsub/arm-webpubsub/package.json +++ b/sdk/web-pubsub/arm-webpubsub/package.json @@ -3,10 +3,8 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for WebPubSubManagementClient.", - "version": "1.0.1", - "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", @@ -16,13 +14,7 @@ "@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", @@ -49,9 +41,7 @@ "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", diff --git a/sdk/web-pubsub/arm-webpubsub/src/webPubSubManagementClient.ts b/sdk/web-pubsub/arm-webpubsub/src/webPubSubManagementClient.ts index af2243c598f4..0a11ca617fcc 100644 --- a/sdk/web-pubsub/arm-webpubsub/src/webPubSubManagementClient.ts +++ b/sdk/web-pubsub/arm-webpubsub/src/webPubSubManagementClient.ts @@ -61,7 +61,7 @@ export class WebPubSubManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-webpubsub/1.0.0`; + const packageDetails = `azsdk-js-arm-webpubsub/1.0.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`