Skip to content

Commit 1e7f26a

Browse files
authored
[mgmt] storagecache release (#35961)
Azure/sdk-release-request#6544
1 parent 232da38 commit 1e7f26a

File tree

224 files changed

+6298
-2614
lines changed

Some content is hidden

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

224 files changed

+6298
-2614
lines changed

pnpm-lock.yaml

Lines changed: 2 additions & 2 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: 63 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,71 @@
11
# Release History
22

3-
## 8.0.2 (Unreleased)
3+
## 8.1.0 (2025-09-26)
44

55
### Features Added
6+
- Added operation group AutoExportJobs
7+
- Added operation group AutoImportJobs
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 AutoExportJobsListByAmlFilesystemOptionalParams
15+
- Added Interface AutoExportJobsListResult
16+
- Added Interface AutoExportJobsUpdateHeaders
17+
- Added Interface AutoExportJobsUpdateOptionalParams
18+
- Added Interface AutoExportJobUpdate
19+
- Added Interface AutoImportJob
20+
- Added Interface AutoImportJobPropertiesStatusBlobSyncEvents
21+
- Added Interface AutoImportJobsCreateOrUpdateHeaders
22+
- Added Interface AutoImportJobsCreateOrUpdateOptionalParams
23+
- Added Interface AutoImportJobsDeleteHeaders
24+
- Added Interface AutoImportJobsDeleteOptionalParams
25+
- Added Interface AutoImportJobsGetOptionalParams
26+
- Added Interface AutoImportJobsListByAmlFilesystemOptionalParams
27+
- Added Interface AutoImportJobsListResult
28+
- Added Interface AutoImportJobsUpdateHeaders
29+
- Added Interface AutoImportJobsUpdateOptionalParams
30+
- Added Interface AutoImportJobUpdate
31+
- Added Interface Cache
32+
- Interface ImportJob has a new optional parameter adminStatus
33+
- Interface ImportJob has a new optional parameter importedDirectories
34+
- Interface ImportJob has a new optional parameter importedFiles
35+
- Interface ImportJob has a new optional parameter importedSymlinks
36+
- Interface ImportJob has a new optional parameter preexistingDirectories
37+
- Interface ImportJob has a new optional parameter preexistingFiles
38+
- Interface ImportJob has a new optional parameter preexistingSymlinks
39+
- Interface ImportJobUpdate has a new optional parameter adminStatus
40+
- Added Type Alias AutoExportJobAdminStatus
41+
- Added Type Alias AutoExportJobProvisioningStateType
42+
- Added Type Alias AutoExportJobsCreateOrUpdateResponse
43+
- Added Type Alias AutoExportJobsDeleteResponse
44+
- Added Type Alias AutoExportJobsGetResponse
45+
- Added Type Alias AutoExportJobsListByAmlFilesystemNextResponse
46+
- Added Type Alias AutoExportJobsListByAmlFilesystemResponse
47+
- Added Type Alias AutoExportJobsUpdateResponse
48+
- Added Type Alias AutoExportStatusType
49+
- Added Type Alias AutoImportJobPropertiesAdminStatus
50+
- Added Type Alias AutoImportJobPropertiesProvisioningState
51+
- Added Type Alias AutoImportJobsCreateOrUpdateResponse
52+
- Added Type Alias AutoImportJobsDeleteResponse
53+
- Added Type Alias AutoImportJobsGetResponse
54+
- Added Type Alias AutoImportJobsListByAmlFilesystemNextResponse
55+
- Added Type Alias AutoImportJobsListByAmlFilesystemResponse
56+
- Added Type Alias AutoImportJobState
57+
- Added Type Alias AutoImportJobsUpdateResponse
58+
- Added Type Alias AutoImportJobUpdatePropertiesAdminStatus
59+
- Added Type Alias ImportJobAdminStatus
60+
- Added Enum KnownAutoExportJobAdminStatus
61+
- Added Enum KnownAutoExportJobProvisioningStateType
62+
- Added Enum KnownAutoExportStatusType
63+
- Added Enum KnownAutoImportJobPropertiesAdminStatus
64+
- Added Enum KnownAutoImportJobPropertiesProvisioningState
65+
- Added Enum KnownAutoImportJobState
66+
- Added Enum KnownAutoImportJobUpdatePropertiesAdminStatus
67+
- Added Enum KnownImportJobAdminStatus
668

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
1269

1370
## 8.0.1 (2025-08-21)
1471

sdk/storagecache/arm-storagecache/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/storagecache/arm-storagecache/README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,21 @@ 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

5150
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
52-
51+
5352
```ts snippet:ReadmeSampleCreateClient_Node
5453
import { StorageCacheManagementClient } from "@azure/arm-storagecache";
5554
import { DefaultAzureCredential } from "@azure/identity";
5655

5756
const subscriptionId = "00000000-0000-0000-0000-000000000000";
5857
const client = new StorageCacheManagementClient(new DefaultAzureCredential(), subscriptionId);
5958
```
60-
59+
6160
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
62-
61+
6362
```ts snippet:ReadmeSampleCreateClient_Browser
6463
import { InteractiveBrowserCredential } from "@azure/identity";
6564
import { StorageCacheManagementClient } from "@azure/arm-storagecache";
@@ -73,7 +72,6 @@ const client = new StorageCacheManagementClient(credential, subscriptionId);
7372
```
7473

7574
### JavaScript Bundle
76-
7775
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).
7876

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

111109

112-
113110
[azure_cli]: https://learn.microsoft.com/cli/azure
114111
[azure_sub]: https://azure.microsoft.com/free/
115112
[azure_sub]: https://azure.microsoft.com/free/
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "fdc2e7b8efa15b521c7af6b041f226d5a090d5e1",
2+
"commit": "f19bec6b8f2d2ca2ea4911f85e5228ba0af8c323",
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=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\storagecache\\resource-manager\\readme.md --use=@autorest/[email protected].47 --generate-sample=true",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.7",
7-
"use": "@autorest/[email protected].21"
8-
}
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.14.6",
7+
"use": "@autorest/[email protected].47"
8+
}

sdk/storagecache/arm-storagecache/package.json

Lines changed: 30 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,32 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for StorageCacheManagementClient.",
6-
"version": "8.0.2",
6+
"version": "8.1.0",
77
"engines": {
88
"node": ">=20.0.0"
99
},
1010
"dependencies": {
11-
"@azure/abort-controller": "^2.1.2",
12-
"@azure/core-auth": "^1.9.0",
13-
"@azure/core-client": "^1.9.2",
1411
"@azure/core-lro": "^2.5.4",
12+
"@azure/abort-controller": "^2.1.2",
1513
"@azure/core-paging": "^1.6.2",
16-
"@azure/core-rest-pipeline": "^1.19.0",
14+
"@azure/core-client": "^1.9.3",
15+
"@azure/core-auth": "^1.9.0",
16+
"@azure/core-rest-pipeline": "^1.19.1",
1717
"tslib": "^2.8.1"
1818
},
1919
"keywords": [
2020
"node",
2121
"azure",
2222
"typescript",
2323
"browser",
24-
"isomorphic"
24+
"isomorphic",
25+
"cloud"
2526
],
2627
"license": "MIT",
2728
"main": "./dist/commonjs/index.js",
2829
"module": "./dist/esm/index.js",
2930
"types": "./dist/commonjs/index.d.ts",
31+
"type": "module",
3032
"devDependencies": {
3133
"@azure-tools/test-credential": "workspace:^",
3234
"@azure-tools/test-recorder": "workspace:^",
@@ -42,34 +44,30 @@
4244
"typescript": "catalog:",
4345
"vitest": "catalog:testing"
4446
},
45-
"repository": {
46-
"type": "git",
47-
"url": "https://github.com/Azure/azure-sdk-for-js.git"
48-
},
47+
"repository": "github:Azure/azure-sdk-for-js",
4948
"bugs": {
5049
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
5150
},
5251
"files": [
5352
"dist/",
5453
"README.md",
55-
"LICENSE",
56-
"review/",
57-
"CHANGELOG.md"
54+
"LICENSE"
5855
],
5956
"scripts": {
6057
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
61-
"build:samples": "tsc -p tsconfig.samples.json",
62-
"check-format": "echo skipped",
63-
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
64-
"execute:samples": "echo skipped",
58+
"pack": "pnpm pack 2>&1",
6559
"extract-api": "dev-tool run extract-api",
66-
"format": "echo skipped",
6760
"lint": "echo skipped",
68-
"pack": "pnpm pack 2>&1",
61+
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
62+
"build:samples": "echo skipped.",
63+
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
64+
"execute:samples": "echo skipped",
65+
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
6966
"test": "npm run test:node && npm run test:browser",
67+
"test:node": "dev-tool run test:vitest",
7068
"test:browser": "echo skipped",
71-
"test:node": "dev-tool run build-test --no-browser-test && dev-tool run test:vitest",
72-
"update-snippets": "dev-tool run update-snippets"
69+
"update-snippets": "dev-tool run update-snippets",
70+
"test:node:esm": "dev-tool run test:vitest --esm"
7371
},
7472
"sideEffects": false,
7573
"//metadata": {
@@ -81,16 +79,8 @@
8179
]
8280
},
8381
"autoPublish": true,
84-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagecache/arm-storagecache",
85-
"//sampleConfiguration": {
86-
"productName": "",
87-
"productSlugs": [
88-
"azure"
89-
],
90-
"disableDocsMs": true,
91-
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-storagecache?view=azure-node-preview"
92-
},
93-
"type": "module",
82+
"browser": "./dist/browser/index.js",
83+
"react-native": "./dist/react-native/index.js",
9484
"tshy": {
9585
"project": "../../../tsconfig.src.build.json",
9686
"exports": {
@@ -107,8 +97,15 @@
10797
],
10898
"selfLink": false
10999
},
110-
"browser": "./dist/browser/index.js",
111-
"react-native": "./dist/react-native/index.js",
100+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagecache/arm-storagecache",
101+
"//sampleConfiguration": {
102+
"productName": "",
103+
"productSlugs": [
104+
"azure"
105+
],
106+
"disableDocsMs": true,
107+
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-storagecache?view=azure-node-preview"
108+
},
112109
"exports": {
113110
"./package.json": "./package.json",
114111
".": {

0 commit comments

Comments
 (0)