@azure/arm-recoveryservices-siterecovery 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
# Release History
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
## 5.0.1 (2023-01-05)
|
|
4
|
+
|
|
5
|
+
**Migration Guide**
|
|
6
|
+
|
|
7
|
+
- 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);`.
|
|
8
|
+
|
|
3
9
|
## 5.0.0 (2022-12-08)
|
|
4
|
-
|
|
10
|
+
|
|
5
11
|
**Features**
|
|
6
12
|
|
|
7
13
|
- Added operation ReplicationMigrationItems.beginPauseReplication
|
package/dist/index.js
CHANGED
|
@@ -34579,7 +34579,7 @@ class SiteRecoveryManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
34579
34579
|
requestContentType: "application/json; charset=utf-8",
|
|
34580
34580
|
credential: credentials
|
|
34581
34581
|
};
|
|
34582
|
-
const packageDetails = `azsdk-js-arm-recoveryservices-siterecovery/5.0.
|
|
34582
|
+
const packageDetails = `azsdk-js-arm-recoveryservices-siterecovery/5.0.1`;
|
|
34583
34583
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
34584
34584
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
34585
34585
|
: `${packageDetails}`;
|