Skip to content

Commit 7ef4e49

Browse files
author
SDKAuto
committed
CodeGen from PR 28910 in Azure/azure-rest-api-specs
Merge 177c793cbe9bdb428e6025e4b19e006cd3dbb3e3 into a809dd5480dae39870b8094af9e6440591c90281
1 parent c9c6138 commit 7ef4e49

File tree

139 files changed

+2312
-729
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+2312
-729
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 26 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/storagecache/arm-storagecache/CHANGELOG.md

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,45 @@
11
# Release History
2-
3-
## 8.0.1 (Unreleased)
4-
2+
3+
## 8.1.0 (2025-01-21)
4+
55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added operation group AutoExportJobs
8+
- Added Interface AutoExportJob
9+
- Added Interface AutoExportJobsCreateOrUpdateHeaders
10+
- Added Interface AutoExportJobsCreateOrUpdateOptionalParams
11+
- Added Interface AutoExportJobsDeleteHeaders
12+
- Added Interface AutoExportJobsDeleteOptionalParams
13+
- Added Interface AutoExportJobsGetOptionalParams
14+
- Added Interface AutoExportJobsListByAmlFilesystemNextOptionalParams
15+
- Added Interface AutoExportJobsListByAmlFilesystemOptionalParams
16+
- Added Interface AutoExportJobsListResult
17+
- Added Interface AutoExportJobsUpdateHeaders
18+
- Added Interface AutoExportJobsUpdateOptionalParams
19+
- Added Interface AutoExportJobUpdate
20+
- Added Type Alias AutoExportJobAdminStatus
21+
- Added Type Alias AutoExportJobProvisioningStateType
22+
- Added Type Alias AutoExportJobsCreateOrUpdateResponse
23+
- Added Type Alias AutoExportJobsDeleteResponse
24+
- Added Type Alias AutoExportJobsGetResponse
25+
- Added Type Alias AutoExportJobsListByAmlFilesystemNextResponse
26+
- Added Type Alias AutoExportJobsListByAmlFilesystemResponse
27+
- Added Type Alias AutoExportJobsUpdateResponse
28+
- Added Type Alias AutoExportStatusType
29+
- Added Type Alias ImportJobAdminStatus
30+
- Interface ImportJob has a new optional parameter adminStatus
31+
- Interface ImportJob has a new optional parameter importedDirectories
32+
- Interface ImportJob has a new optional parameter importedFiles
33+
- Interface ImportJob has a new optional parameter importedSymlinks
34+
- Interface ImportJob has a new optional parameter preexistingDirectories
35+
- Interface ImportJob has a new optional parameter preexistingFiles
36+
- Interface ImportJob has a new optional parameter preexistingSymlinks
37+
- Added Enum KnownAutoExportJobAdminStatus
38+
- Added Enum KnownAutoExportJobProvisioningStateType
39+
- Added Enum KnownAutoExportStatusType
40+
- Added Enum KnownImportJobAdminStatus
41+
42+
1343
## 8.0.0 (2024-05-13)
1444

1545
### Features Added

sdk/storagecache/arm-storagecache/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2024 Microsoft
3+
Copyright (c) 2025 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

sdk/storagecache/arm-storagecache/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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 StorageCacheManagement** 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,8 +63,8 @@ const client = new StorageCacheManagementClient(new DefaultAzureCredential(), su
6463
// const client = new StorageCacheManagementClient(credential, subscriptionId);
6564
```
6665

67-
### JavaScript Bundle
6866

67+
### JavaScript Bundle
6968
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).
7069

7170
## Key concepts
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "fdc2e7b8efa15b521c7af6b041f226d5a090d5e1",
2+
"commit": "9ca8aaa881c30a59bb1bfe4081209485f91187b5",
33
"readme": "specification/storagecache/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\\storagecache\\resource-manager\\readme.md --use=@autorest/[email protected].21 --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/storagecache/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].7",
7-
"use": "@autorest/[email protected].21"
6+
"release_tool": "@azure-tools/[email protected].18",
7+
"use": "@autorest/typescript@^6.0.12"
88
}

sdk/storagecache/arm-storagecache/package.json

Lines changed: 63 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for StorageCacheManagementClient.",
6-
"version": "8.0.1",
6+
"version": "8.1.0",
77
"engines": {
88
"node": ">=18.0.0"
99
},
1010
"dependencies": {
11-
"@azure/abort-controller": "^1.0.0",
12-
"@azure/core-auth": "^1.6.0",
13-
"@azure/core-client": "^1.7.0",
11+
"@azure/abort-controller": "^2.1.2",
12+
"@azure/core-auth": "^1.9.0",
13+
"@azure/core-client": "^1.9.2",
1414
"@azure/core-lro": "^2.5.4",
15-
"@azure/core-paging": "^1.2.0",
16-
"@azure/core-rest-pipeline": "^1.14.0",
17-
"tslib": "^2.2.0"
15+
"@azure/core-paging": "^1.6.2",
16+
"@azure/core-rest-pipeline": "^1.18.2",
17+
"tslib": "^2.8.1"
1818
},
1919
"keywords": [
2020
"node",
@@ -24,22 +24,22 @@
2424
"isomorphic"
2525
],
2626
"license": "MIT",
27-
"main": "./dist/index.js",
27+
"main": "./dist/commonjs/index.js",
2828
"module": "./dist-esm/src/index.js",
29-
"types": "./types/arm-storagecache.d.ts",
29+
"types": "./dist/commonjs/index.d.ts",
3030
"devDependencies": {
31-
"@azure-tools/test-credential": "^1.1.0",
32-
"@azure-tools/test-recorder": "^3.0.0",
31+
"@azure-tools/test-credential": "^2.0.0",
32+
"@azure-tools/test-recorder": "^4.1.0",
33+
"@azure-tools/test-utils-vitest": "^1.0.0",
3334
"@azure/dev-tool": "^1.0.0",
34-
"@azure/identity": "^4.0.1",
35-
"@types/chai": "^4.2.8",
36-
"@types/mocha": "^10.0.0",
35+
"@azure/identity": "^4.6.0",
3736
"@types/node": "^18.0.0",
38-
"chai": "^4.2.0",
37+
"@vitest/browser": "^2.1.8",
38+
"@vitest/coverage-istanbul": "^2.1.8",
3939
"dotenv": "^16.0.0",
40-
"mocha": "^11.0.2",
41-
"ts-node": "^10.0.0",
42-
"typescript": "~5.7.2"
40+
"playwright": "^1.49.1",
41+
"typescript": "~5.6.2",
42+
"vitest": "^2.1.8"
4343
},
4444
"repository": {
4545
"type": "git",
@@ -49,24 +49,14 @@
4949
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
5050
},
5151
"files": [
52-
"dist/**/*.js",
53-
"dist/**/*.js.map",
54-
"dist/**/*.d.ts",
55-
"dist/**/*.d.ts.map",
56-
"dist-esm/**/*.js",
57-
"dist-esm/**/*.js.map",
58-
"dist-esm/**/*.d.ts",
59-
"dist-esm/**/*.d.ts.map",
60-
"src/**/*.ts",
52+
"dist/",
6153
"README.md",
6254
"LICENSE",
63-
"tsconfig.json",
64-
"review/*",
65-
"CHANGELOG.md",
66-
"types/*"
55+
"review/",
56+
"CHANGELOG.md"
6757
],
6858
"scripts": {
69-
"build": "npm run clean && tsc && dev-tool run bundle && npm run minify && dev-tool run vendored mkdirp ./review && npm run extract-api",
59+
"build": "npm run clean && dev-tool run build-package && dev-tool run vendored mkdirp ./review && dev-tool run extract-api",
7060
"build:browser": "echo skipped",
7161
"build:node": "echo skipped",
7262
"build:samples": "echo skipped.",
@@ -78,7 +68,7 @@
7868
"format": "echo skipped",
7969
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
8070
"integration-test:browser": "echo skipped",
81-
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
71+
"integration-test:node": "dev-tool run test:vitest --esm",
8272
"lint": "echo skipped",
8373
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
8474
"pack": "npm pack 2>&1",
@@ -88,7 +78,7 @@
8878
"test:node": "echo skipped",
8979
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
9080
"unit-test:browser": "echo skipped",
91-
"unit-test:node": "dev-tool run vendored cross-env TEST_MODE=playback npm run integration-test:node",
81+
"unit-test:node": "dev-tool run test:vitest",
9282
"update-snippets": "echo skipped"
9383
},
9484
"sideEffects": false,
@@ -102,12 +92,44 @@
10292
},
10393
"autoPublish": true,
10494
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagecache/arm-storagecache",
105-
"//sampleConfiguration": {
106-
"productName": "",
107-
"productSlugs": [
108-
"azure"
95+
"type": "module",
96+
"tshy": {
97+
"project": "./tsconfig.src.json",
98+
"exports": {
99+
"./package.json": "./package.json",
100+
".": "./src/index.ts"
101+
},
102+
"dialects": [
103+
"esm",
104+
"commonjs"
109105
],
110-
"disableDocsMs": true,
111-
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-storagecache?view=azure-node-preview"
106+
"esmDialects": [
107+
"browser",
108+
"react-native"
109+
],
110+
"selfLink": false
111+
},
112+
"browser": "./dist/browser/index.js",
113+
"react-native": "./dist/react-native/index.js",
114+
"exports": {
115+
"./package.json": "./package.json",
116+
".": {
117+
"browser": {
118+
"types": "./dist/browser/index.d.ts",
119+
"default": "./dist/browser/index.js"
120+
},
121+
"react-native": {
122+
"types": "./dist/react-native/index.d.ts",
123+
"default": "./dist/react-native/index.js"
124+
},
125+
"import": {
126+
"types": "./dist/esm/index.d.ts",
127+
"default": "./dist/esm/index.js"
128+
},
129+
"require": {
130+
"types": "./dist/commonjs/index.d.ts",
131+
"default": "./dist/commonjs/index.js"
132+
}
133+
}
112134
}
113-
}
135+
}

0 commit comments

Comments
 (0)