forked from Azure/azure-sdk-for-js
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 29166 in Azure/azure-rest-api-specs
Merge 955d39e22831d208a0d40282b87a7d50f7f563f7 into 0117e474a03d0b5b4cdd3b713105ae17196c18ce
- Loading branch information
SDKAuto
committed
Jul 10, 2024
1 parent
f9e4e1f
commit 4190977
Showing
12 changed files
with
110 additions
and
48 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
16 changes: 3 additions & 13 deletions
16
sdk/guestconfiguration/arm-guestconfiguration/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,5 @@ | ||
# Release History | ||
|
||
## 1.0.0 (2024-07-10) | ||
|
||
## 1.0.0-beta.2 (Unreleased) | ||
|
||
### Features Added | ||
|
||
### Breaking Changes | ||
|
||
### Bugs Fixed | ||
|
||
### Other Changes | ||
|
||
## 1.0.0-beta.1 (2024-04-28) | ||
|
||
The package of @azure/arm-guestconfiguration is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ). | ||
The package of @azure/arm-guestconfiguration is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"commit": "e6a20fec72ed3bcb4b43c559ee20b56ca2786ec0", | ||
"commit": "a5580b81cb0de2672c19705d16c085aed0bef77f", | ||
"readme": "specification/guestconfiguration/resource-manager/readme.md", | ||
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\guestconfiguration\\resource-manager\\readme.md --use=@autorest/typescript@6.0.20 --generate-sample=true", | ||
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/guestconfiguration/resource-manager/readme.md --use=@autorest/typescript@^6.0.12", | ||
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git", | ||
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.5", | ||
"use": "@autorest/typescript@6.0.20" | ||
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.10", | ||
"use": "@autorest/typescript@^6.0.12" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
sdk/guestconfiguration/arm-guestconfiguration/test/sampleTest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. | ||
* Licensed under the MIT License. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
*/ | ||
|
||
import { | ||
Recorder, | ||
RecorderStartOptions, | ||
env, | ||
} from "@azure-tools/test-recorder"; | ||
import { assert } from "chai"; | ||
import { Context } from "mocha"; | ||
|
||
const replaceableVariables: Record<string, string> = { | ||
AZURE_CLIENT_ID: "azure_client_id", | ||
AZURE_CLIENT_SECRET: "azure_client_secret", | ||
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", | ||
SUBSCRIPTION_ID: "azure_subscription_id", | ||
}; | ||
|
||
const recorderOptions: RecorderStartOptions = { | ||
envSetupForPlayback: replaceableVariables, | ||
}; | ||
|
||
describe("My test", () => { | ||
let recorder: Recorder; | ||
|
||
beforeEach(async function (this: Context) { | ||
recorder = new Recorder(this.currentTest); | ||
await recorder.start(recorderOptions); | ||
}); | ||
|
||
afterEach(async function () { | ||
await recorder.stop(); | ||
}); | ||
|
||
it("sample test", async function () { | ||
console.log("Hi, I'm a test!"); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters