diff --git a/sdk/azurestack/arm-azurestack/CHANGELOG.md b/sdk/azurestack/arm-azurestack/CHANGELOG.md index e20a63cc7860..d4cc400ae449 100644 --- a/sdk/azurestack/arm-azurestack/CHANGELOG.md +++ b/sdk/azurestack/arm-azurestack/CHANGELOG.md @@ -1,8 +1,8 @@ # Release History -## 3.0.0-beta.1 (2021-12-30) +## 3.0.0-beta.2 (2022-01-05) -The package of @azure/arm-azurestack is using our next generation design principles since version 3.0.0-beta.1, which contains breaking changes. +The package of @azure/arm-azurestack is using our next generation design principles since version 3.0.0-beta.2, which contains breaking changes. To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog). diff --git a/sdk/azurestack/arm-azurestack/LICENSE b/sdk/azurestack/arm-azurestack/LICENSE index ccb63b166732..5d1d36e0af80 100644 --- a/sdk/azurestack/arm-azurestack/LICENSE +++ b/sdk/azurestack/arm-azurestack/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/azurestack/arm-azurestack/_meta.json b/sdk/azurestack/arm-azurestack/_meta.json index d49b41e078e4..cc394d067975 100644 --- a/sdk/azurestack/arm-azurestack/_meta.json +++ b/sdk/azurestack/arm-azurestack/_meta.json @@ -1,7 +1,7 @@ { - "commit": "54ee1a9eb50c13e0790627749f986c886ad4f4db", + "commit": "754938e4cb9416358b02dcc11f444adf14b3b7b6", "readme": "specification/azurestack/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/azurestack/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211217.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/azurestack/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.20211217.1" + "use": "@autorest/typescript@6.0.0-alpha.16.20211130.1" } \ No newline at end of file diff --git a/sdk/azurestack/arm-azurestack/package.json b/sdk/azurestack/arm-azurestack/package.json index 369eefd96ff8..209f03720d87 100644 --- a/sdk/azurestack/arm-azurestack/package.json +++ b/sdk/azurestack/arm-azurestack/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for AzureStackManagementClient.", - "version": "3.0.0-beta.1", + "version": "3.0.0-beta.2", "engines": { "node": ">=12.0.0" }, "dependencies": { "@azure/core-paging": "^1.2.0", diff --git a/sdk/azurestack/arm-azurestack/recordings/node/my_test/recording_sample_test.js b/sdk/azurestack/arm-azurestack/recordings/node/my_test/recording_sample_test.js deleted file mode 100644 index 0f6ecb857acf..000000000000 --- a/sdk/azurestack/arm-azurestack/recordings/node/my_test/recording_sample_test.js +++ /dev/null @@ -1,5 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "7a6be38bb8cb644d64b4094802301751"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/azurestack/arm-azurestack/src/azureStackManagementClient.ts b/sdk/azurestack/arm-azurestack/src/azureStackManagementClient.ts index ae28939aabed..2c612c5ba220 100644 --- a/sdk/azurestack/arm-azurestack/src/azureStackManagementClient.ts +++ b/sdk/azurestack/arm-azurestack/src/azureStackManagementClient.ts @@ -59,7 +59,7 @@ export class AzureStackManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-azurestack/3.0.0-beta.1`; + const packageDetails = `azsdk-js-arm-azurestack/3.0.0-beta.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/azurestack/arm-azurestack/test/sampleTest.ts b/sdk/azurestack/arm-azurestack/test/sampleTest.ts index 42bccc55aa8f..7ed89b043e1b 100644 --- a/sdk/azurestack/arm-azurestack/test/sampleTest.ts +++ b/sdk/azurestack/arm-azurestack/test/sampleTest.ts @@ -10,9 +10,7 @@ import { env, record, RecorderEnvironmentSetup, - Recorder, - delay, - isPlaybackMode + Recorder } from "@azure-tools/test-recorder"; import * as assert from "assert"; @@ -33,10 +31,6 @@ const recorderEnvSetup: RecorderEnvironmentSetup = { queryParametersToSkip: [] }; -export const testPollingOptions = { - updateIntervalInMs: isPlaybackMode() ? 0 : undefined, -}; - describe("My test", () => { let recorder: Recorder;