add-migration-guide-for-sierecovery (#24361)
* add-migration-guide-for-sierecovery * resolve comments and bump version
This commit is contained in:
Родитель
ff8805467b
Коммит
135ec74b2e
|
@ -1,7 +1,13 @@
|
|||
# Release History
|
||||
|
||||
|
||||
## 5.0.1 (2023-01-05)
|
||||
|
||||
**Migration Guide**
|
||||
|
||||
- To assist customers migrating from v4.0.0, since v5.0.0 release, we have moved the resourceGroupName and resourceName parameters from the SiteRecoveryManagementClient constructor method to its instance method level, to make it consistent with the client constructors of other service SDKs. For example, in the previous v4.0.0 release, we would create the client like this: `const client = new SiteRecoveryManagementClient(credentials, resourceGroupName, subscriptionId, resourceName);` and call the method like this: `client.replicationJobs.list();`. Now, we need to create the client like this: `const client = new SiteRecoveryManagementClient(credentials, subscriptionId);` and call the method like this: `client.replicationJobs.list(resourceName, resourceGroupName);`.
|
||||
|
||||
## 5.0.0 (2022-12-08)
|
||||
|
||||
|
||||
**Features**
|
||||
|
||||
- Added operation ReplicationMigrationItems.beginPauseReplication
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"sdk-type": "mgmt",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "A generated SDK for SiteRecoveryManagementClient.",
|
||||
"version": "5.0.0",
|
||||
"version": "5.0.1",
|
||||
"engines": {
|
||||
"node": ">=14.0.0"
|
||||
},
|
||||
|
|
|
@ -108,7 +108,7 @@ export class SiteRecoveryManagementClient extends coreClient.ServiceClient {
|
|||
credential: credentials
|
||||
};
|
||||
|
||||
const packageDetails = `azsdk-js-arm-recoveryservices-siterecovery/5.0.0`;
|
||||
const packageDetails = `azsdk-js-arm-recoveryservices-siterecovery/5.0.1`;
|
||||
const userAgentPrefix =
|
||||
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
||||
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
||||
|
|
Загрузка…
Ссылка в новой задаче