Skip to content

Commit f1b0eb5

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

Some content is hidden

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

49 files changed

+4797
-449
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 58 additions & 6 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: 95 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,101 @@
11
# Release History
2-
3-
## 22.3.1 (Unreleased)
4-
2+
3+
## 22.4.0 (2025-03-27)
4+
55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added operation group GalleryScripts
8+
- Added operation group GalleryScriptVersions
9+
- Added operation AvailabilitySets.beginConvertToVirtualMachineScaleSet
10+
- Added operation AvailabilitySets.beginConvertToVirtualMachineScaleSetAndWait
11+
- Added operation AvailabilitySets.cancelMigrationToVirtualMachineScaleSet
12+
- Added operation AvailabilitySets.startMigrationToVirtualMachineScaleSet
13+
- Added operation AvailabilitySets.validateMigrationToVirtualMachineScaleSet
14+
- Added operation VirtualMachineImages.listWithProperties
15+
- Added operation VirtualMachines.beginMigrateToVMScaleSet
16+
- Added operation VirtualMachines.beginMigrateToVMScaleSetAndWait
17+
- Added Interface AutomaticZoneRebalancingPolicy
18+
- Added Interface AvailabilitySetsCancelMigrationToVirtualMachineScaleSetOptionalParams
19+
- Added Interface AvailabilitySetsConvertToVirtualMachineScaleSetOptionalParams
20+
- Added Interface AvailabilitySetsStartMigrationToVirtualMachineScaleSetOptionalParams
21+
- Added Interface AvailabilitySetsValidateMigrationToVirtualMachineScaleSetOptionalParams
22+
- Added Interface ConvertToVirtualMachineScaleSetInput
23+
- Added Interface DefaultVirtualMachineScaleSetInfo
24+
- Added Interface GalleryScript
25+
- Added Interface GalleryScriptList
26+
- Added Interface GalleryScriptParameter
27+
- Added Interface GalleryScriptsCreateOrUpdateOptionalParams
28+
- Added Interface GalleryScriptsDeleteHeaders
29+
- Added Interface GalleryScriptsDeleteOptionalParams
30+
- Added Interface GalleryScriptsGetOptionalParams
31+
- Added Interface GalleryScriptsListByGalleryNextOptionalParams
32+
- Added Interface GalleryScriptsListByGalleryOptionalParams
33+
- Added Interface GalleryScriptsUpdateOptionalParams
34+
- Added Interface GalleryScriptUpdate
35+
- Added Interface GalleryScriptVersion
36+
- Added Interface GalleryScriptVersionList
37+
- Added Interface GalleryScriptVersionPublishingProfile
38+
- Added Interface GalleryScriptVersionSafetyProfile
39+
- Added Interface GalleryScriptVersionsCreateOrUpdateOptionalParams
40+
- Added Interface GalleryScriptVersionsDeleteHeaders
41+
- Added Interface GalleryScriptVersionsDeleteOptionalParams
42+
- Added Interface GalleryScriptVersionsGetOptionalParams
43+
- Added Interface GalleryScriptVersionsListByGalleryScriptNextOptionalParams
44+
- Added Interface GalleryScriptVersionsListByGalleryScriptOptionalParams
45+
- Added Interface GalleryScriptVersionsUpdateOptionalParams
46+
- Added Interface GalleryScriptVersionUpdate
47+
- Added Interface GenericGalleryParameter
48+
- Added Interface HostEndpointSettings
49+
- Added Interface MigrateToVirtualMachineScaleSetInput
50+
- Added Interface MigrateVMToVirtualMachineScaleSetInput
51+
- Added Interface Placement
52+
- Added Interface ScriptSource
53+
- Added Interface VirtualMachineImagesListWithPropertiesNextOptionalParams
54+
- Added Interface VirtualMachineImagesListWithPropertiesOptionalParams
55+
- Added Interface VirtualMachineImagesWithPropertiesListResult
56+
- Added Interface VirtualMachineScaleSetMigrationInfo
57+
- Added Interface VirtualMachinesMigrateToVMScaleSetOptionalParams
58+
- Added Type Alias Expand
59+
- Added Type Alias GalleryScriptParameterType
60+
- Added Type Alias GalleryScriptsCreateOrUpdateResponse
61+
- Added Type Alias GalleryScriptsDeleteResponse
62+
- Added Type Alias GalleryScriptsGetResponse
63+
- Added Type Alias GalleryScriptsListByGalleryNextResponse
64+
- Added Type Alias GalleryScriptsListByGalleryResponse
65+
- Added Type Alias GalleryScriptsUpdateResponse
66+
- Added Type Alias GalleryScriptVersionsCreateOrUpdateResponse
67+
- Added Type Alias GalleryScriptVersionsDeleteResponse
68+
- Added Type Alias GalleryScriptVersionsGetResponse
69+
- Added Type Alias GalleryScriptVersionsListByGalleryScriptNextResponse
70+
- Added Type Alias GalleryScriptVersionsListByGalleryScriptResponse
71+
- Added Type Alias GalleryScriptVersionsUpdateResponse
72+
- Added Type Alias Modes
73+
- Added Type Alias RebalanceBehavior
74+
- Added Type Alias RebalanceStrategy
75+
- Added Type Alias ResilientVMDeletionStatus
76+
- Added Type Alias VirtualMachineImagesListWithPropertiesNextResponse
77+
- Added Type Alias VirtualMachineImagesListWithPropertiesResponse
78+
- Added Type Alias ZonePlacementPolicyType
79+
- Interface AvailabilitySet has a new optional parameter virtualMachineScaleSetMigrationInfo
80+
- Interface AvailabilitySetUpdate has a new optional parameter virtualMachineScaleSetMigrationInfo
81+
- Interface ProxyAgentSettings has a new optional parameter imds
82+
- Interface ProxyAgentSettings has a new optional parameter wireServer
83+
- Interface ResiliencyPolicy has a new optional parameter automaticZoneRebalancingPolicy
84+
- Interface ScaleInPolicy has a new optional parameter prioritizeUnhealthyVMs
85+
- Interface SkuProfileVMSize has a new optional parameter rank
86+
- Interface StorageProfile has a new optional parameter alignRegionalDisksToVMZone
87+
- Interface VirtualMachine has a new optional parameter placement
88+
- Interface VirtualMachineScaleSetVM has a new optional parameter resilientVMDeletionStatus
89+
- Added Enum KnownExpand
90+
- Added Enum KnownModes
91+
- Added Enum KnownRebalanceBehavior
92+
- Added Enum KnownRebalanceStrategy
93+
- Added Enum KnownResilientVMDeletionStatus
94+
- Added Enum KnownZonePlacementPolicyType
95+
- Enum KnownAllocationStrategy has a new value Prioritized
96+
- Enum KnownNetworkApiVersion has a new value TwoThousandTwentyTwo1101
97+
98+
1399
## 22.3.0 (2025-01-09)
14100

15101
### Features Added

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,14 @@ 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

7473
### JavaScript Bundle
75-
7674
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).
7775

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

110108

111-
112109
[azure_cli]: https://learn.microsoft.com/cli/azure
113110
[azure_sub]: https://azure.microsoft.com/free/
114111
[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": "10925e3dec73699b950f256576cd6983947faaa3",
2+
"commit": "98904dfe972147bfb7f77454027b55e78f6f159e",
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].31 --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].18",
7-
"use": "@autorest/[email protected].31"
6+
"release_tool": "@azure-tools/[email protected].23",
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: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,48 +3,49 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for ComputeManagementClient.",
6-
"version": "22.3.1",
6+
"version": "22.4.0",
77
"engines": {
88
"node": ">=18.0.0"
99
},
1010
"dependencies": {
1111
"@azure/abort-controller": "^2.1.2",
12-
"@azure/core-auth": "^1.6.0",
13-
"@azure/core-client": "^1.7.0",
12+
"@azure/core-auth": "^1.9.0",
13+
"@azure/core-client": "^1.9.3",
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.19.1",
17+
"tslib": "^2.8.1"
1818
},
1919
"keywords": [
2020
"node",
2121
"azure",
2222
"typescript",
2323
"browser",
24-
"isomorphic",
25-
"cloud"
24+
"isomorphic"
2625
],
2726
"license": "MIT",
2827
"main": "./dist/commonjs/index.js",
29-
"module": "./dist/esm/index.js",
28+
"module": "./dist-esm/src/index.js",
3029
"types": "./dist/commonjs/index.d.ts",
3130
"devDependencies": {
3231
"@azure-tools/test-credential": "^2.0.0",
3332
"@azure-tools/test-recorder": "^4.1.0",
3433
"@azure-tools/test-utils-vitest": "^1.0.0",
35-
"@azure/arm-network": "^32.2.0",
3634
"@azure/dev-tool": "^1.0.0",
37-
"@azure/identity": "^4.5.0",
35+
"@azure/identity": "^4.8.0",
3836
"@azure/logger": "^1.1.4",
3937
"@types/node": "^18.0.0",
4038
"@vitest/browser": "^3.0.9",
4139
"@vitest/coverage-istanbul": "^3.0.9",
4240
"dotenv": "^16.0.0",
43-
"playwright": "^1.49.1",
44-
"typescript": "~5.8.2",
41+
"playwright": "^1.51.1",
42+
"typescript": "~5.7.2",
4543
"vitest": "^3.0.9"
4644
},
47-
"repository": "github:Azure/azure-sdk-for-js",
45+
"repository": {
46+
"type": "git",
47+
"url": "https://github.com/Azure/azure-sdk-for-js.git"
48+
},
4849
"bugs": {
4950
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
5051
},
@@ -92,14 +93,6 @@
9293
},
9394
"autoPublish": true,
9495
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute",
95-
"//sampleConfiguration": {
96-
"productName": "",
97-
"productSlugs": [
98-
"azure"
99-
],
100-
"disableDocsMs": true,
101-
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-compute?view=azure-node-preview"
102-
},
10396
"type": "module",
10497
"tshy": {
10598
"project": "./tsconfig.src.json",
@@ -140,4 +133,4 @@
140133
}
141134
}
142135
}
143-
}
136+
}

0 commit comments

Comments
 (0)