Skip to content

Commit

Permalink
CodeGen from PR 16870 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Track2 modify readme.go.md (Azure#16870)
  • Loading branch information
SDKAuto committed Jan 5, 2022
1 parent dbbce26 commit ef2dd68
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 20 deletions.
4 changes: 2 additions & 2 deletions sdk/azurestack/arm-azurestack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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).

Expand Down
2 changes: 1 addition & 1 deletion sdk/azurestack/arm-azurestack/LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions sdk/azurestack/arm-azurestack/_meta.json
Original file line number Diff line number Diff line change
@@ -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"
}
2 changes: 1 addition & 1 deletion sdk/azurestack/arm-azurestack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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}`
Expand Down
8 changes: 1 addition & 7 deletions sdk/azurestack/arm-azurestack/test/sampleTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ import {
env,
record,
RecorderEnvironmentSetup,
Recorder,
delay,
isPlaybackMode
Recorder
} from "@azure-tools/test-recorder";
import * as assert from "assert";

Expand All @@ -33,10 +31,6 @@ const recorderEnvSetup: RecorderEnvironmentSetup = {
queryParametersToSkip: []
};

export const testPollingOptions = {
updateIntervalInMs: isPlaybackMode() ? 0 : undefined,
};

describe("My test", () => {
let recorder: Recorder;

Expand Down

0 comments on commit ef2dd68

Please sign in to comment.