Skip to content

Commit a760915

Browse files
author
SDKAuto
committed
CodeGen from PR 33511 in Azure/azure-rest-api-specs
Merge d06c4f1282146d612aaf03717177892a7d78e01e into 57cde94351b3113921fd651fd4d7b6114dbed816
1 parent d8211fe commit a760915

38 files changed

+2815
-658
lines changed

common/config/rush/pnpm-lock.yaml

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

sdk/compute/arm-compute/CHANGELOG.md

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,119 @@
11
# Release History
22

3+
## 23.0.0 (2025-04-24)
4+
5+
### Features Added
6+
7+
- Added operation group GalleryScripts
8+
- Added operation group GalleryScriptVersions
9+
- Added Interface GalleryScript
10+
- Added Interface GalleryScriptList
11+
- Added Interface GalleryScriptParameter
12+
- Added Interface GalleryScriptProperties
13+
- Added Interface GalleryScriptsCreateOrUpdateHeaders
14+
- Added Interface GalleryScriptsCreateOrUpdateOptionalParams
15+
- Added Interface GalleryScriptsDeleteHeaders
16+
- Added Interface GalleryScriptsDeleteOptionalParams
17+
- Added Interface GalleryScriptsGetOptionalParams
18+
- Added Interface GalleryScriptsListByGalleryNextOptionalParams
19+
- Added Interface GalleryScriptsListByGalleryOptionalParams
20+
- Added Interface GalleryScriptsUpdateHeaders
21+
- Added Interface GalleryScriptsUpdateOptionalParams
22+
- Added Interface GalleryScriptUpdate
23+
- Added Interface GalleryScriptVersion
24+
- Added Interface GalleryScriptVersionList
25+
- Added Interface GalleryScriptVersionProperties
26+
- Added Interface GalleryScriptVersionPublishingProfile
27+
- Added Interface GalleryScriptVersionSafetyProfile
28+
- Added Interface GalleryScriptVersionsCreateOrUpdateHeaders
29+
- Added Interface GalleryScriptVersionsCreateOrUpdateOptionalParams
30+
- Added Interface GalleryScriptVersionsDeleteHeaders
31+
- Added Interface GalleryScriptVersionsDeleteOptionalParams
32+
- Added Interface GalleryScriptVersionsGetOptionalParams
33+
- Added Interface GalleryScriptVersionsListByGalleryScriptNextOptionalParams
34+
- Added Interface GalleryScriptVersionsListByGalleryScriptOptionalParams
35+
- Added Interface GalleryScriptVersionsUpdateHeaders
36+
- Added Interface GalleryScriptVersionsUpdateOptionalParams
37+
- Added Interface GalleryScriptVersionUpdate
38+
- Added Interface GenericGalleryParameter
39+
- Added Interface ScriptSource
40+
- Added Type Alias GalleryScriptParameterType
41+
- Added Type Alias GalleryScriptsCreateOrUpdateResponse
42+
- Added Type Alias GalleryScriptsDeleteResponse
43+
- Added Type Alias GalleryScriptsGetResponse
44+
- Added Type Alias GalleryScriptsListByGalleryNextResponse
45+
- Added Type Alias GalleryScriptsListByGalleryResponse
46+
- Added Type Alias GalleryScriptsUpdateResponse
47+
- Added Type Alias GalleryScriptVersionsCreateOrUpdateResponse
48+
- Added Type Alias GalleryScriptVersionsDeleteResponse
49+
- Added Type Alias GalleryScriptVersionsGetResponse
50+
- Added Type Alias GalleryScriptVersionsListByGalleryScriptNextResponse
51+
- Added Type Alias GalleryScriptVersionsListByGalleryScriptResponse
52+
- Added Type Alias GalleryScriptVersionsUpdateResponse
53+
54+
### Breaking Changes
55+
56+
- Operation Galleries.beginCreateOrUpdate has a new signature
57+
- Operation Galleries.beginCreateOrUpdateAndWait has a new signature
58+
- Operation Galleries.beginDelete has a new signature
59+
- Operation Galleries.beginDeleteAndWait has a new signature
60+
- Operation Galleries.beginUpdate has a new signature
61+
- Operation Galleries.beginUpdateAndWait has a new signature
62+
- Operation Galleries.get has a new signature
63+
- Operation GalleryApplications.beginCreateOrUpdate has a new signature
64+
- Operation GalleryApplications.beginCreateOrUpdateAndWait has a new signature
65+
- Operation GalleryApplications.beginDelete has a new signature
66+
- Operation GalleryApplications.beginDeleteAndWait has a new signature
67+
- Operation GalleryApplications.beginUpdate has a new signature
68+
- Operation GalleryApplications.beginUpdateAndWait has a new signature
69+
- Operation GalleryApplications.get has a new signature
70+
- Operation GalleryApplications.listByGallery has a new signature
71+
- Operation GalleryApplicationVersions.beginCreateOrUpdate has a new signature
72+
- Operation GalleryApplicationVersions.beginCreateOrUpdateAndWait has a new signature
73+
- Operation GalleryApplicationVersions.beginDelete has a new signature
74+
- Operation GalleryApplicationVersions.beginDeleteAndWait has a new signature
75+
- Operation GalleryApplicationVersions.beginUpdate has a new signature
76+
- Operation GalleryApplicationVersions.beginUpdateAndWait has a new signature
77+
- Operation GalleryApplicationVersions.get has a new signature
78+
- Operation GalleryApplicationVersions.listByGalleryApplication has a new signature
79+
- Operation GalleryImages.beginCreateOrUpdate has a new signature
80+
- Operation GalleryImages.beginCreateOrUpdateAndWait has a new signature
81+
- Operation GalleryImages.beginDelete has a new signature
82+
- Operation GalleryImages.beginDeleteAndWait has a new signature
83+
- Operation GalleryImages.beginUpdate has a new signature
84+
- Operation GalleryImages.beginUpdateAndWait has a new signature
85+
- Operation GalleryImages.get has a new signature
86+
- Operation GalleryImages.listByGallery has a new signature
87+
- Operation GalleryImageVersions.beginCreateOrUpdate has a new signature
88+
- Operation GalleryImageVersions.beginCreateOrUpdateAndWait has a new signature
89+
- Operation GalleryImageVersions.beginDelete has a new signature
90+
- Operation GalleryImageVersions.beginDeleteAndWait has a new signature
91+
- Operation GalleryImageVersions.beginUpdate has a new signature
92+
- Operation GalleryImageVersions.beginUpdateAndWait has a new signature
93+
- Operation GalleryImageVersions.get has a new signature
94+
- Operation GalleryImageVersions.listByGalleryImage has a new signature
95+
- Operation GalleryInVMAccessControlProfiles.beginCreateOrUpdate has a new signature
96+
- Operation GalleryInVMAccessControlProfiles.beginCreateOrUpdateAndWait has a new signature
97+
- Operation GalleryInVMAccessControlProfiles.beginDelete has a new signature
98+
- Operation GalleryInVMAccessControlProfiles.beginDeleteAndWait has a new signature
99+
- Operation GalleryInVMAccessControlProfiles.beginUpdate has a new signature
100+
- Operation GalleryInVMAccessControlProfiles.beginUpdateAndWait has a new signature
101+
- Operation GalleryInVMAccessControlProfiles.get has a new signature
102+
- Operation GalleryInVMAccessControlProfiles.listByGallery has a new signature
103+
- Operation GalleryInVMAccessControlProfileVersions.beginCreateOrUpdate has a new signature
104+
- Operation GalleryInVMAccessControlProfileVersions.beginCreateOrUpdateAndWait has a new signature
105+
- Operation GalleryInVMAccessControlProfileVersions.beginDelete has a new signature
106+
- Operation GalleryInVMAccessControlProfileVersions.beginDeleteAndWait has a new signature
107+
- Operation GalleryInVMAccessControlProfileVersions.beginUpdate has a new signature
108+
- Operation GalleryInVMAccessControlProfileVersions.beginUpdateAndWait has a new signature
109+
- Operation GalleryInVMAccessControlProfileVersions.get has a new signature
110+
- Operation GalleryInVMAccessControlProfileVersions.listByGalleryInVMAccessControlProfile has a new signature
111+
- Operation GallerySharingProfile.beginUpdate has a new signature
112+
- Operation GallerySharingProfile.beginUpdateAndWait has a new signature
113+
- Operation SoftDeletedResource.listByArtifactName has a new signature
114+
- Class ComputeManagementClient has a new signature
115+
116+
3117
## 22.4.0 (2025-03-18)
4118

5119
### Features Added

sdk/compute/arm-compute/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,10 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
6363
import { InteractiveBrowserCredential } from "@azure/identity";
6464
import { ComputeManagementClient } from "@azure/arm-compute";
6565

66-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6766
const credential = new InteractiveBrowserCredential({
6867
tenantId: "<YOUR_TENANT_ID>",
69-
clientId: "<YOUR_CLIENT_ID>",
70-
});
68+
clientId: "<YOUR_CLIENT_ID>"
69+
});
7170
const client = new ComputeManagementClient(credential, subscriptionId);
7271
```
7372

@@ -106,6 +105,7 @@ If you'd like to contribute to this library, please read the [contributing guide
106105

107106
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
108107

108+
109109
[azure_cli]: https://learn.microsoft.com/cli/azure
110110
[azure_sub]: https://azure.microsoft.com/free/
111111
[azure_sub]: https://azure.microsoft.com/free/

sdk/compute/arm-compute/_meta.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "cecb65f56ec5291e7fe88d62048bdb717e33e834",
2+
"commit": "143cf20b499eadd29cd06d5910a47e39b9d9f04e",
33
"readme": "specification/compute/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\\compute\\resource-manager\\readme.md --use=@autorest/[email protected].36 --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/compute/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].21",
7-
"use": "@autorest/[email protected].36"
6+
"release_tool": "@azure-tools/[email protected].26",
7+
"use": "@autorest/typescript@^6.0.12"
88
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3-
"mainEntryPointFilePath": "dist/esm/index.d.ts",
3+
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
44
"docModel": {
55
"enabled": true
66
},
@@ -11,7 +11,7 @@
1111
"dtsRollup": {
1212
"enabled": true,
1313
"untrimmedFilePath": "",
14-
"publicTrimmedFilePath": "dist/arm-compute.d.ts"
14+
"publicTrimmedFilePath": "./types/arm-compute.d.ts"
1515
},
1616
"messages": {
1717
"tsdocMessageReporting": {
@@ -28,4 +28,4 @@
2828
}
2929
}
3030
}
31-
}
31+
}

sdk/compute/arm-compute/package.json

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for ComputeManagementClient.",
6-
"version": "22.4.0",
6+
"version": "23.0.0",
77
"engines": {
88
"node": ">=18.0.0"
99
},
@@ -25,21 +25,20 @@
2525
],
2626
"license": "MIT",
2727
"main": "./dist/commonjs/index.js",
28-
"module": "./dist/esm/index.js",
28+
"module": "./dist-esm/src/index.js",
2929
"types": "./dist/commonjs/index.d.ts",
3030
"devDependencies": {
3131
"@azure-tools/test-credential": "^2.0.0",
3232
"@azure-tools/test-recorder": "^4.1.0",
3333
"@azure-tools/test-utils-vitest": "^1.0.0",
34-
"@azure/arm-network": "^32.2.0",
3534
"@azure/dev-tool": "^1.0.0",
36-
"@azure/identity": "^4.8.0",
35+
"@azure/identity": "^4.9.1",
3736
"@azure/logger": "^1.1.4",
3837
"@types/node": "^18.0.0",
3938
"@vitest/browser": "^3.0.9",
4039
"@vitest/coverage-istanbul": "^3.0.9",
4140
"dotenv": "^16.0.0",
42-
"playwright": "^1.51.1",
41+
"playwright": "^1.52.0",
4342
"typescript": "~5.8.2",
4443
"vitest": "^3.0.9"
4544
},
@@ -72,7 +71,7 @@
7271
"integration-test:browser": "echo skipped",
7372
"integration-test:node": "dev-tool run test:vitest --esm",
7473
"lint": "echo skipped",
75-
"minify": "echo skipped",
74+
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
7675
"pack": "npm pack 2>&1",
7776
"prepack": "npm run build",
7877
"test": "npm run integration-test",
@@ -94,14 +93,6 @@
9493
},
9594
"autoPublish": true,
9695
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute",
97-
"//sampleConfiguration": {
98-
"productName": "",
99-
"productSlugs": [
100-
"azure"
101-
],
102-
"disableDocsMs": true,
103-
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-compute?view=azure-node-preview"
104-
},
10596
"type": "module",
10697
"tshy": {
10798
"project": "./tsconfig.src.json",
@@ -142,4 +133,4 @@
142133
}
143134
}
144135
}
145-
}
136+
}

0 commit comments

Comments
 (0)