Skip to content

Commit c49c5ce

Browse files
author
SDKAuto
committed
CodeGen from PR 34336 in Azure/azure-rest-api-specs
Merge b776f1d5aaeaeacbfe36de68f28323f9c0fea6c8 into 7fce9fb91eae7c0f6f0ae348bb79119772e89f5f
1 parent 400144c commit c49c5ce

39 files changed

+1536
-1771
lines changed
Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
# Release History
2-
3-
## 1.0.0-beta.2 (Unreleased)
2+
3+
## 1.0.0 (2025-05-13)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
13-
## 1.0.0-beta.1 (2024-04-28)
14-
15-
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 ).
7+
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).

sdk/guestconfiguration/arm-guestconfiguration/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

sdk/guestconfiguration/arm-guestconfiguration/README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Guest Configuration Client
66

77
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/guestconfiguration/arm-guestconfiguration) |
88
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-guestconfiguration) |
9-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-guestconfiguration?view=azure-node-preview) |
9+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-guestconfiguration) |
1010
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
1111

1212
## Getting started
@@ -44,7 +44,6 @@ npm install @azure/identity
4444
```
4545

4646
You will also need to **register a new AAD application and grant access to Azure GuestConfiguration** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
4847

4948
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
5049

@@ -64,16 +63,14 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
6463
import { InteractiveBrowserCredential } from "@azure/identity";
6564
import { GuestConfigurationClient } from "@azure/arm-guestconfiguration";
6665

67-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6866
const credential = new InteractiveBrowserCredential({
6967
tenantId: "<YOUR_TENANT_ID>",
70-
clientId: "<YOUR_CLIENT_ID>",
71-
});
68+
clientId: "<YOUR_CLIENT_ID>"
69+
});
7270
const client = new GuestConfigurationClient(credential, subscriptionId);
7371
```
7472

7573
### JavaScript Bundle
76-
7774
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
7875

7976
## Key concepts
@@ -109,7 +106,6 @@ If you'd like to contribute to this library, please read the [contributing guide
109106
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
110107

111108

112-
113109
[azure_cli]: https://learn.microsoft.com/cli/azure
114110
[azure_sub]: https://azure.microsoft.com/free/
115111
[azure_sub]: https://azure.microsoft.com/free/
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "e6a20fec72ed3bcb4b43c559ee20b56ca2786ec0",
2+
"commit": "201bc173d1455a55e858b24a6d50ecbefb9141a0",
33
"readme": "specification/guestconfiguration/resource-manager/readme.md",
4-
"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/[email protected].20 --generate-sample=true",
4+
"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",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/[email protected].5",
7-
"use": "@autorest/[email protected].20"
6+
"release_tool": "@azure-tools/[email protected].27",
7+
"use": "@autorest/typescript@^6.0.12"
88
}

sdk/guestconfiguration/arm-guestconfiguration/api-extractor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
}
2929
}
3030
}
31-
}
31+
}

sdk/guestconfiguration/arm-guestconfiguration/package.json

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for GuestConfigurationClient.",
6-
"version": "1.0.0-beta.2",
6+
"version": "1.0.0",
77
"engines": {
88
"node": ">=18.0.0"
99
},
1010
"dependencies": {
1111
"@azure/core-auth": "^1.9.0",
12-
"@azure/core-client": "^1.9.2",
12+
"@azure/core-client": "^1.9.4",
1313
"@azure/core-paging": "^1.6.2",
14-
"@azure/core-rest-pipeline": "^1.18.2",
14+
"@azure/core-rest-pipeline": "^1.20.0",
1515
"tslib": "^2.8.1"
1616
},
1717
"keywords": [
@@ -26,18 +26,19 @@
2626
"main": "./dist/commonjs/index.js",
2727
"module": "./dist/esm/index.js",
2828
"types": "./dist/commonjs/index.d.ts",
29+
"type": "module",
2930
"devDependencies": {
3031
"@azure-tools/test-credential": "^2.0.0",
3132
"@azure-tools/test-recorder": "^4.1.0",
3233
"@azure-tools/test-utils-vitest": "^1.0.0",
3334
"@azure/dev-tool": "^1.0.0",
34-
"@azure/identity": "^4.6.0",
35-
"@azure/logger": "^1.1.4",
35+
"@azure/identity": "^4.9.1",
36+
"@azure/logger": "^1.2.0",
3637
"@types/node": "^18.0.0",
3738
"@vitest/browser": "^3.0.9",
3839
"@vitest/coverage-istanbul": "^3.0.9",
3940
"dotenv": "^16.0.0",
40-
"playwright": "^1.50.1",
41+
"playwright": "^1.52.0",
4142
"typescript": "~5.8.2",
4243
"vitest": "^3.0.9"
4344
},
@@ -54,20 +55,30 @@
5455
],
5556
"scripts": {
5657
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
58+
"build:browser": "echo skipped",
59+
"build:node": "echo skipped",
5760
"build:samples": "echo skipped.",
58-
"check-format": "echo skipped",
61+
"build:test": "echo skipped",
62+
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
5963
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
6064
"execute:samples": "echo skipped",
6165
"extract-api": "dev-tool run extract-api",
62-
"format": "echo skipped",
66+
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
67+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
68+
"integration-test:browser": "echo skipped",
69+
"integration-test:node": "dev-tool run test:vitest --esm",
6370
"lint": "echo skipped",
71+
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
6472
"pack": "npm pack 2>&1",
6573
"prepack": "npm run build",
66-
"test": "npm run test:node && npm run test:browser",
74+
"test": "npm run integration-test",
6775
"test:browser": "echo skipped",
6876
"test:node": "dev-tool run test:vitest",
69-
"test:node:esm": "dev-tool run test:vitest --esm",
70-
"update-snippets": "dev-tool run update-snippets"
77+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
78+
"unit-test:browser": "echo skipped",
79+
"unit-test:node": "dev-tool run test:vitest",
80+
"update-snippets": "dev-tool run update-snippets",
81+
"test:node:esm": "dev-tool run test:vitest --esm"
7182
},
7283
"sideEffects": false,
7384
"//metadata": {
@@ -79,16 +90,9 @@
7990
]
8091
},
8192
"autoPublish": true,
93+
"browser": "./dist/browser/index.js",
94+
"react-native": "./dist/react-native/index.js",
8295
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/guestconfiguration/arm-guestconfiguration",
83-
"//sampleConfiguration": {
84-
"productName": "",
85-
"productSlugs": [
86-
"azure"
87-
],
88-
"disableDocsMs": true,
89-
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-guestconfiguration?view=azure-node-preview"
90-
},
91-
"type": "module",
9296
"tshy": {
9397
"project": "./tsconfig.src.json",
9498
"exports": {
@@ -105,8 +109,6 @@
105109
],
106110
"selfLink": false
107111
},
108-
"browser": "./dist/browser/index.js",
109-
"react-native": "./dist/react-native/index.js",
110112
"exports": {
111113
"./package.json": "./package.json",
112114
".": {
@@ -128,4 +130,4 @@
128130
}
129131
}
130132
}
131-
}
133+
}

0 commit comments

Comments
 (0)