Skip to content

Commit a1c1967

Browse files
author
SDKAuto
committed
CodeGen from PR 25791 in Azure/azure-rest-api-specs
Merge 9a7ae60a2f08e14fa02974631a7342614c2af506 into 58e92dd03733bc175e6a9540f4bc53703b57fcc9
1 parent 0aef58c commit a1c1967

26 files changed

+1952
-114
lines changed

common/config/rush/pnpm-lock.yaml

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

sdk/recoveryservicesbackup/arm-recoveryservicesbackup/CHANGELOG.md

Lines changed: 55 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,61 @@
11
# Release History
2+
3+
## 12.0.0 (2023-10-30)
4+
5+
**Features**
26

3-
## 11.0.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
7+
- Added operation group FetchTieringCost
8+
- Added operation group GetTieringCostOperationResult
9+
- Added operation group TieringCostOperationStatus
10+
- Added operation ProtectionContainers.beginRegister
11+
- Added operation ProtectionContainers.beginRegisterAndWait
12+
- Added Interface FetchTieringCostInfoForRehydrationRequest
13+
- Added Interface FetchTieringCostInfoRequest
14+
- Added Interface FetchTieringCostPostHeaders
15+
- Added Interface FetchTieringCostPostOptionalParams
16+
- Added Interface FetchTieringCostSavingsInfoForPolicyRequest
17+
- Added Interface FetchTieringCostSavingsInfoForProtectedItemRequest
18+
- Added Interface FetchTieringCostSavingsInfoForVaultRequest
19+
- Added Interface GetTieringCostOperationResultGetOptionalParams
20+
- Added Interface SnapshotBackupAdditionalDetails
21+
- Added Interface SnapshotRestoreParameters
22+
- Added Interface TieringCostInfo
23+
- Added Interface TieringCostOperationStatusGetOptionalParams
24+
- Added Interface TieringCostRehydrationInfo
25+
- Added Interface TieringCostSavingInfo
26+
- Added Interface UserAssignedIdentity
27+
- Added Interface UserAssignedManagedIdentityDetails
28+
- Added Interface ValidateOperationRequestResource
29+
- Added Interface VaultRetentionPolicy
30+
- Added Type Alias FetchTieringCostInfoRequestUnion
31+
- Added Type Alias FetchTieringCostPostResponse
32+
- Added Type Alias GetTieringCostOperationResultGetResponse
33+
- Added Type Alias TieringCostInfoUnion
34+
- Added Type Alias TieringCostOperationStatusGetResponse
35+
- Interface AzureFileShareProtectionPolicy has a new optional parameter vaultRetentionPolicy
36+
- Interface AzureWorkloadRestoreRequest has a new optional parameter snapshotRestoreParameters
37+
- Interface AzureWorkloadRestoreRequest has a new optional parameter targetResourceGroupName
38+
- Interface AzureWorkloadRestoreRequest has a new optional parameter userAssignedManagedIdentityDetails
39+
- Interface BackupStatusResponse has a new optional parameter acquireStorageAccountLock
40+
- Interface BackupStatusResponse has a new optional parameter protectedItemsCount
41+
- Interface IaasVMRecoveryPoint has a new optional parameter extendedLocation
42+
- Interface ProtectedItem has a new optional parameter vaultId
43+
- Interface ProtectionContainersRegisterOptionalParams has a new optional parameter resumeFrom
44+
- Interface ProtectionContainersRegisterOptionalParams has a new optional parameter updateIntervalInMs
45+
- Interface SubProtectionPolicy has a new optional parameter snapshotBackupAdditionalDetails
46+
- Enum KnownRecoveryMode has a new value RecoveryUsingSnapshot
47+
- Enum KnownRecoveryMode has a new value SnapshotAttach
48+
- Enum KnownRecoveryMode has a new value SnapshotAttachAndRecover
1049

11-
### Other Changes
50+
**Breaking Changes**
1251

52+
- Removed operation ProtectionContainers.register
53+
- Operation Operation.validate has a new signature
54+
- Operation ValidateOperation.beginTrigger has a new signature
55+
- Operation ValidateOperation.beginTriggerAndWait has a new signature
56+
- Parameter resourceGuardResourceId of interface ResourceGuardProxyBase is now required
57+
58+
1359
## 11.0.0 (2023-09-01)
1460

1561
**Features**
@@ -323,4 +369,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.
323369

324370
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
325371

326-
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
372+
To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "95c0363e4cae8756c6a33b58add67776db427bbc",
2+
"commit": "a28a44672db440a67ad62747ab7edbd767bec08d",
33
"readme": "specification/recoveryservicesbackup/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\\recoveryservicesbackup\\resource-manager\\readme.md --use=@autorest/[email protected].8 --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/recoveryservicesbackup/resource-manager/readme.md --use=@autorest/typescript@^6.0.11",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/[email protected].2",
7-
"use": "@autorest/[email protected].8"
6+
"release_tool": "@azure-tools/[email protected].3",
7+
"use": "@autorest/typescript@^6.0.11"
88
}

sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json

Lines changed: 18 additions & 18 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 RecoveryServicesBackupClient.",
6-
"version": "11.0.1",
6+
"version": "12.0.0",
77
"engines": {
88
"node": ">=16.0.0"
99
},
@@ -29,22 +29,29 @@
2929
"types": "./types/arm-recoveryservicesbackup.d.ts",
3030
"devDependencies": {
3131
"@microsoft/api-extractor": "^7.31.1",
32+
"@rollup/plugin-commonjs": "^24.0.0",
33+
"@rollup/plugin-json": "^6.0.0",
34+
"@rollup/plugin-multi-entry": "^6.0.0",
35+
"@rollup/plugin-node-resolve": "^13.1.3",
3236
"mkdirp": "^2.1.2",
33-
"typescript": "~5.2.0",
37+
"rollup": "^2.66.1",
38+
"rollup-plugin-sourcemaps": "^0.6.3",
39+
"typescript": "~5.0.0",
3440
"uglify-js": "^3.4.9",
35-
"rimraf": "^3.0.0",
41+
"rimraf": "^5.0.0",
3642
"dotenv": "^16.0.0",
3743
"@azure/identity": "^3.3.0",
3844
"@azure-tools/test-recorder": "^3.0.0",
3945
"@azure-tools/test-credential": "^1.0.0",
4046
"mocha": "^10.0.0",
47+
"@types/mocha": "^10.0.0",
48+
"esm": "^3.2.18",
4149
"@types/chai": "^4.2.8",
4250
"chai": "^4.2.0",
4351
"cross-env": "^7.0.2",
4452
"@types/node": "^16.0.0",
45-
"@azure/dev-tool": "^1.0.0",
46-
"@azure/arm-recoveryservices": "^5.2.0",
47-
"ts-node": "^10.0.0"
53+
"ts-node": "^10.0.0",
54+
"@azure/dev-tool": "^1.0.0"
4855
},
4956
"repository": {
5057
"type": "git",
@@ -65,20 +72,21 @@
6572
"src/**/*.ts",
6673
"README.md",
6774
"LICENSE",
75+
"rollup.config.js",
6876
"tsconfig.json",
6977
"review/*",
7078
"CHANGELOG.md",
7179
"types/*"
7280
],
7381
"scripts": {
74-
"build": "npm run clean && tsc && dev-tool run bundle && npm run minify && mkdirp ./review && npm run extract-api",
82+
"build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
7583
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
7684
"prepack": "npm run build",
7785
"pack": "npm pack 2>&1",
7886
"extract-api": "api-extractor run --local",
7987
"lint": "echo skipped",
8088
"audit": "echo skipped",
81-
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
89+
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
8290
"build:node": "echo skipped",
8391
"build:browser": "echo skipped",
8492
"build:test": "echo skipped",
@@ -106,13 +114,5 @@
106114
]
107115
},
108116
"autoPublish": true,
109-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/recoveryservicesbackup/arm-recoveryservicesbackup",
110-
"//sampleConfiguration": {
111-
"productName": "",
112-
"productSlugs": [
113-
"azure"
114-
],
115-
"disableDocsMs": true,
116-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-recoveryservicesbackup?view=azure-node-preview"
117-
}
118-
}
117+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/recoveryservicesbackup/arm-recoveryservicesbackup"
118+
}

0 commit comments

Comments
 (0)