Skip to content

Commit 17b53e0

Browse files
authored
[mgmt] compute release (#36572)
Azure/sdk-release-request#6724
1 parent 21760ec commit 17b53e0

File tree

376 files changed

+1436
-901
lines changed

Some content is hidden

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

376 files changed

+1436
-901
lines changed

pnpm-lock.yaml

Lines changed: 4 additions & 1 deletion
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: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Release History
22

3+
## 23.2.0 (2025-11-13)
4+
5+
### Features Added
6+
- Interface AdditionalCapabilities has a new optional parameter enableFips1403Encryption
7+
- Interface DiskRestorePointInstanceView has a new optional parameter snapshotAccessState
8+
- Interface RestorePoint has a new optional parameter instantAccessDurationMinutes
9+
- Interface RestorePointCollection has a new optional parameter instantAccess
10+
- Interface RestorePointCollectionUpdate has a new optional parameter instantAccess
11+
312
## 23.1.0 (2025-09-16)
413

514
### Features Added

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": "f19bec6b8f2d2ca2ea4911f85e5228ba0af8c323",
2+
"commit": "89e3df4a633bae8cd513487d053308dbb1ff6b58",
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].47 --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=C:\\Users\\v-ziweichen.FAREAST\\Documents\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\compute\\resource-manager\\readme.md --use=@autorest/[email protected].51 --generate-sample=true",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/[email protected].6",
7-
"use": "@autorest/[email protected].47"
6+
"release_tool": "@azure-tools/[email protected].8",
7+
"use": "@autorest/[email protected].51"
88
}

sdk/compute/arm-compute/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "js",
44
"TagPrefix": "js/compute/arm-compute",
5-
"Tag": "js/compute/arm-compute_491da2e551"
5+
"Tag": "js/compute/arm-compute_02bac6ce54"
66
}

sdk/compute/arm-compute/package.json

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for ComputeManagementClient.",
6-
"version": "23.1.0",
6+
"version": "23.2.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.3",
1411
"@azure/core-lro": "^2.5.4",
12+
"@azure/abort-controller": "^2.1.2",
1513
"@azure/core-paging": "^1.6.2",
14+
"@azure/core-client": "^1.9.3",
15+
"@azure/core-auth": "^1.9.0",
1616
"@azure/core-rest-pipeline": "^1.19.1",
1717
"tslib": "^2.8.1"
1818
},
@@ -30,23 +30,24 @@
3030
"types": "./dist/commonjs/index.d.ts",
3131
"type": "module",
3232
"devDependencies": {
33-
"@azure-tools/test-credential": "workspace:^",
34-
"@azure-tools/test-recorder": "workspace:^",
35-
"@azure-tools/test-utils-vitest": "workspace:^",
36-
"@azure/arm-network": "^32.2.0",
33+
"typescript": "catalog:",
34+
"rimraf": "catalog:",
35+
"dotenv": "catalog:testing",
3736
"@azure/dev-tool": "workspace:^",
37+
"cross-env": "catalog:",
38+
"eslint": "catalog:",
39+
"prettier": "catalog:",
40+
"tshy": "catalog:",
3841
"@azure/identity": "catalog:internal",
39-
"@azure/logger": "^1.1.4",
42+
"@azure/logger": "workspace:^",
43+
"@azure-tools/test-recorder": "workspace:^",
44+
"@azure-tools/test-credential": "workspace:^",
45+
"@azure-tools/test-utils-vitest": "workspace:^",
4046
"@types/node": "catalog:",
47+
"@azure/arm-network": "^32.2.0",
4148
"@vitest/browser-playwright": "catalog:testing",
4249
"@vitest/coverage-istanbul": "catalog:testing",
43-
"cross-env": "catalog:",
44-
"dotenv": "catalog:testing",
4550
"playwright": "catalog:testing",
46-
"prettier": "catalog:",
47-
"rimraf": "catalog:",
48-
"tshy": "catalog:",
49-
"typescript": "catalog:",
5051
"vitest": "catalog:testing"
5152
},
5253
"repository": "github:Azure/azure-sdk-for-js",
@@ -60,19 +61,19 @@
6061
],
6162
"scripts": {
6263
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
63-
"build:samples": "echo skipped.",
64-
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
64+
"pack": "pnpm pack 2>&1",
65+
"extract-api": "dev-tool run extract-api",
66+
"lint": "echo skipped",
6567
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
68+
"build:samples": "tsc -p tsconfig.samples.json && dev-tool samples publish -f",
69+
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
6670
"execute:samples": "echo skipped",
67-
"extract-api": "dev-tool run extract-api",
6871
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
69-
"lint": "echo skipped",
70-
"pack": "pnpm pack 2>&1",
7172
"test": "npm run test:node && npm run test:browser",
72-
"test:browser": "echo skipped",
7373
"test:node": "dev-tool run test:vitest",
74-
"test:node:esm": "dev-tool run test:vitest --esm",
75-
"update-snippets": "dev-tool run update-snippets"
74+
"test:browser": "echo skipped",
75+
"update-snippets": "dev-tool run update-snippets",
76+
"test:node:esm": "dev-tool run test:vitest --esm"
7677
},
7778
"sideEffects": false,
7879
"//metadata": {

sdk/compute/arm-compute/review/arm-compute-node.api.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
```ts
66

7-
import * as coreAuth from '@azure/core-auth';
7+
import type * as coreAuth from '@azure/core-auth';
88
import * as coreClient from '@azure/core-client';
9-
import { OperationState } from '@azure/core-lro';
10-
import { PagedAsyncIterableIterator } from '@azure/core-paging';
11-
import { SimplePollerLike } from '@azure/core-lro';
9+
import type { OperationState } from '@azure/core-lro';
10+
import type { PagedAsyncIterableIterator } from '@azure/core-paging';
11+
import type { SimplePollerLike } from '@azure/core-lro';
1212

1313
// @public
1414
export interface AccessControlRules {
@@ -66,6 +66,7 @@ export type ActionType = string;
6666

6767
// @public
6868
export interface AdditionalCapabilities {
69+
enableFips1403Encryption?: boolean;
6970
hibernationEnabled?: boolean;
7071
ultraSSDEnabled?: boolean;
7172
}
@@ -1382,8 +1383,8 @@ export interface DataDisk {
13821383
createOption: DiskCreateOptionTypes;
13831384
deleteOption?: DiskDeleteOptionTypes;
13841385
detachOption?: DiskDetachOptionTypes;
1385-
readonly diskIopsReadWrite?: number;
1386-
readonly diskMBpsReadWrite?: number;
1386+
diskIopsReadWrite?: number;
1387+
diskMBpsReadWrite?: number;
13871388
diskSizeGB?: number;
13881389
image?: VirtualHardDisk;
13891390
lun: number;
@@ -2211,6 +2212,7 @@ export type DiskRestorePointGrantAccessResponse = AccessUri;
22112212
export interface DiskRestorePointInstanceView {
22122213
id?: string;
22132214
replicationStatus?: DiskRestorePointReplicationStatus;
2215+
snapshotAccessState?: SnapshotAccessState;
22142216
}
22152217

22162218
// @public
@@ -5801,6 +5803,7 @@ export interface RestorePoint extends ProxyResource {
58015803
consistencyMode?: ConsistencyModeTypes;
58025804
excludeDisks?: ApiEntityReference[];
58035805
readonly instanceView?: RestorePointInstanceView;
5806+
instantAccessDurationMinutes?: number;
58045807
readonly provisioningState?: string;
58055808
sourceMetadata?: RestorePointSourceMetadata;
58065809
sourceRestorePoint?: ApiEntityReference;
@@ -5809,6 +5812,7 @@ export interface RestorePoint extends ProxyResource {
58095812

58105813
// @public
58115814
export interface RestorePointCollection extends TrackedResource {
5815+
instantAccess?: boolean;
58125816
readonly provisioningState?: string;
58135817
readonly restorePointCollectionId?: string;
58145818
readonly restorePoints?: RestorePoint[];
@@ -5905,6 +5909,7 @@ export type RestorePointCollectionsUpdateResponse = RestorePointCollection;
59055909

59065910
// @public
59075911
export interface RestorePointCollectionUpdate extends UpdateResource {
5912+
instantAccess?: boolean;
59085913
readonly provisioningState?: string;
59095914
readonly restorePointCollectionId?: string;
59105915
readonly restorePoints?: RestorePoint[];

sdk/compute/arm-compute/samples-dev/availabilitySetsConvertToVirtualMachineScaleSetSample.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4-
import {
4+
import type {
55
ConvertToVirtualMachineScaleSetInput,
6-
AvailabilitySetsConvertToVirtualMachineScaleSetOptionalParams,
6+
AvailabilitySetsConvertToVirtualMachineScaleSetOptionalParams} from "@azure/arm-compute";
7+
import {
78
ComputeManagementClient,
89
} from "@azure/arm-compute";
910
import { DefaultAzureCredential } from "@azure/identity";

sdk/compute/arm-compute/samples-dev/availabilitySetsCreateOrUpdateSample.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4-
import { AvailabilitySet, ComputeManagementClient } from "@azure/arm-compute";
4+
import type { AvailabilitySet} from "@azure/arm-compute";
5+
import { ComputeManagementClient } from "@azure/arm-compute";
56
import { DefaultAzureCredential } from "@azure/identity";
67
import "dotenv/config";
78

sdk/compute/arm-compute/samples-dev/availabilitySetsListBySubscriptionSample.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4+
import type {
5+
AvailabilitySetsListBySubscriptionOptionalParams} from "@azure/arm-compute";
46
import {
5-
AvailabilitySetsListBySubscriptionOptionalParams,
67
ComputeManagementClient,
78
} from "@azure/arm-compute";
89
import { DefaultAzureCredential } from "@azure/identity";

sdk/compute/arm-compute/samples-dev/availabilitySetsStartMigrationToVirtualMachineScaleSetSample.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4+
import type {
5+
MigrateToVirtualMachineScaleSetInput} from "@azure/arm-compute";
46
import {
5-
MigrateToVirtualMachineScaleSetInput,
67
ComputeManagementClient,
78
} from "@azure/arm-compute";
89
import { DefaultAzureCredential } from "@azure/identity";

0 commit comments

Comments
 (0)