@azure/arm-resourceconnector 1.0.0-beta.3 → 1.0.0
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 +1 -1
- package/dist/index.js +8 -10
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/appliancesListOperationsSample.js +1 -3
- package/dist-esm/samples-dev/appliancesListOperationsSample.js.map +1 -1
- package/dist-esm/src/resourceConnectorManagementClient.d.ts +2 -1
- package/dist-esm/src/resourceConnectorManagementClient.d.ts.map +1 -1
- package/dist-esm/src/resourceConnectorManagementClient.js +8 -10
- package/dist-esm/src/resourceConnectorManagementClient.js.map +1 -1
- package/package.json +3 -3
- package/review/arm-resourceconnector.api.md +2 -1
- package/src/resourceConnectorManagementClient.ts +20 -4
- package/types/arm-resourceconnector.d.ts +2 -1
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
## 1.0.0
|
|
3
|
+
## 1.0.0 (2023-08-14)
|
|
4
4
|
|
|
5
5
|
The package of @azure/arm-resourceconnector is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
|
package/dist/index.js
CHANGED
|
@@ -1867,19 +1867,17 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
1867
1867
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1868
1868
|
*/
|
|
1869
1869
|
class ResourceConnectorManagementClient extends coreClient__namespace.ServiceClient {
|
|
1870
|
-
|
|
1871
|
-
* Initializes a new instance of the ResourceConnectorManagementClient class.
|
|
1872
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
1873
|
-
* @param subscriptionId The ID of the target subscription.
|
|
1874
|
-
* @param options The parameter options
|
|
1875
|
-
*/
|
|
1876
|
-
constructor(credentials, subscriptionId, options) {
|
|
1870
|
+
constructor(credentials, subscriptionIdOrOptions, options) {
|
|
1877
1871
|
var _a, _b, _c;
|
|
1878
1872
|
if (credentials === undefined) {
|
|
1879
1873
|
throw new Error("'credentials' cannot be null");
|
|
1880
1874
|
}
|
|
1881
|
-
|
|
1882
|
-
|
|
1875
|
+
let subscriptionId;
|
|
1876
|
+
if (typeof subscriptionIdOrOptions === "string") {
|
|
1877
|
+
subscriptionId = subscriptionIdOrOptions;
|
|
1878
|
+
}
|
|
1879
|
+
else if (typeof subscriptionIdOrOptions === "object") {
|
|
1880
|
+
options = subscriptionIdOrOptions;
|
|
1883
1881
|
}
|
|
1884
1882
|
// Initializing default values for options
|
|
1885
1883
|
if (!options) {
|
|
@@ -1889,7 +1887,7 @@ class ResourceConnectorManagementClient extends coreClient__namespace.ServiceCli
|
|
|
1889
1887
|
requestContentType: "application/json; charset=utf-8",
|
|
1890
1888
|
credential: credentials
|
|
1891
1889
|
};
|
|
1892
|
-
const packageDetails = `azsdk-js-arm-resourceconnector/1.0.0
|
|
1890
|
+
const packageDetails = `azsdk-js-arm-resourceconnector/1.0.0`;
|
|
1893
1891
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
1894
1892
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
1895
1893
|
: `${packageDetails}`;
|