@azure/arm-appconfiguration 3.0.0-beta.2 → 3.0.0-beta.3
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 +2 -2
- package/dist/index.js +24 -9
- 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/src/appConfigurationManagementClient.d.ts.map +1 -1
- package/dist-esm/src/appConfigurationManagementClient.js +3 -2
- package/dist-esm/src/appConfigurationManagementClient.js.map +1 -1
- package/dist-esm/src/operations/configurationStores.d.ts.map +1 -1
- package/dist-esm/src/operations/configurationStores.js +12 -4
- package/dist-esm/src/operations/configurationStores.js.map +1 -1
- package/dist-esm/src/operations/keyValues.d.ts.map +1 -1
- package/dist-esm/src/operations/keyValues.js +3 -1
- package/dist-esm/src/operations/keyValues.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +6 -2
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/package.json +2 -2
- package/src/appConfigurationManagementClient.ts +3 -2
- package/src/operations/configurationStores.ts +12 -4
- package/src/operations/keyValues.ts +3 -1
- package/src/operations/privateEndpointConnections.ts +6 -2
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
## 3.0.0-beta.
|
|
3
|
+
## 3.0.0-beta.3 (2022-04-06)
|
|
4
4
|
|
|
5
|
-
The package of @azure/arm-appconfiguration is using our next generation design principles since version 3.0.0-beta.
|
|
5
|
+
The package of @azure/arm-appconfiguration is using our next generation design principles since version 3.0.0-beta.3, which contains breaking changes.
|
|
6
6
|
|
|
7
7
|
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
|
|
8
8
|
|
package/dist/index.js
CHANGED
|
@@ -1910,10 +1910,12 @@ class ConfigurationStoresImpl {
|
|
|
1910
1910
|
configStoreCreationParameters,
|
|
1911
1911
|
options
|
|
1912
1912
|
}, createOperationSpec);
|
|
1913
|
-
|
|
1913
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
1914
1914
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1915
1915
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1916
1916
|
});
|
|
1917
|
+
yield poller.poll();
|
|
1918
|
+
return poller;
|
|
1917
1919
|
});
|
|
1918
1920
|
}
|
|
1919
1921
|
/**
|
|
@@ -1960,10 +1962,12 @@ class ConfigurationStoresImpl {
|
|
|
1960
1962
|
};
|
|
1961
1963
|
});
|
|
1962
1964
|
const lro = new LroImpl(sendOperation, { resourceGroupName, configStoreName, options }, deleteOperationSpec$2);
|
|
1963
|
-
|
|
1965
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
1964
1966
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1965
1967
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1966
1968
|
});
|
|
1969
|
+
yield poller.poll();
|
|
1970
|
+
return poller;
|
|
1967
1971
|
});
|
|
1968
1972
|
}
|
|
1969
1973
|
/**
|
|
@@ -2015,10 +2019,12 @@ class ConfigurationStoresImpl {
|
|
|
2015
2019
|
configStoreUpdateParameters,
|
|
2016
2020
|
options
|
|
2017
2021
|
}, updateOperationSpec);
|
|
2018
|
-
|
|
2022
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
2019
2023
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2020
2024
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
2021
2025
|
});
|
|
2026
|
+
yield poller.poll();
|
|
2027
|
+
return poller;
|
|
2022
2028
|
});
|
|
2023
2029
|
}
|
|
2024
2030
|
/**
|
|
@@ -2100,10 +2106,12 @@ class ConfigurationStoresImpl {
|
|
|
2100
2106
|
};
|
|
2101
2107
|
});
|
|
2102
2108
|
const lro = new LroImpl(sendOperation, { location, configStoreName, options }, purgeDeletedOperationSpec);
|
|
2103
|
-
|
|
2109
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
2104
2110
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2105
2111
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
2106
2112
|
});
|
|
2113
|
+
yield poller.poll();
|
|
2114
|
+
return poller;
|
|
2107
2115
|
});
|
|
2108
2116
|
}
|
|
2109
2117
|
/**
|
|
@@ -2792,10 +2800,12 @@ class PrivateEndpointConnectionsImpl {
|
|
|
2792
2800
|
privateEndpointConnection,
|
|
2793
2801
|
options
|
|
2794
2802
|
}, createOrUpdateOperationSpec$1);
|
|
2795
|
-
|
|
2803
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
2796
2804
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2797
2805
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
2798
2806
|
});
|
|
2807
|
+
yield poller.poll();
|
|
2808
|
+
return poller;
|
|
2799
2809
|
});
|
|
2800
2810
|
}
|
|
2801
2811
|
/**
|
|
@@ -2850,10 +2860,12 @@ class PrivateEndpointConnectionsImpl {
|
|
|
2850
2860
|
privateEndpointConnectionName,
|
|
2851
2861
|
options
|
|
2852
2862
|
}, deleteOperationSpec$1);
|
|
2853
|
-
|
|
2863
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
2854
2864
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2855
2865
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
2856
2866
|
});
|
|
2867
|
+
yield poller.poll();
|
|
2868
|
+
return poller;
|
|
2857
2869
|
});
|
|
2858
2870
|
}
|
|
2859
2871
|
/**
|
|
@@ -3302,10 +3314,12 @@ class KeyValuesImpl {
|
|
|
3302
3314
|
};
|
|
3303
3315
|
});
|
|
3304
3316
|
const lro = new LroImpl(sendOperation, { resourceGroupName, configStoreName, keyValueName, options }, deleteOperationSpec);
|
|
3305
|
-
|
|
3317
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
3306
3318
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3307
3319
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
3308
3320
|
});
|
|
3321
|
+
yield poller.poll();
|
|
3322
|
+
return poller;
|
|
3309
3323
|
});
|
|
3310
3324
|
}
|
|
3311
3325
|
/**
|
|
@@ -3464,6 +3478,7 @@ class AppConfigurationManagementClient extends coreClient__namespace.ServiceClie
|
|
|
3464
3478
|
* @param options The parameter options
|
|
3465
3479
|
*/
|
|
3466
3480
|
constructor(credentials, subscriptionId, options) {
|
|
3481
|
+
var _a, _b;
|
|
3467
3482
|
if (credentials === undefined) {
|
|
3468
3483
|
throw new Error("'credentials' cannot be null");
|
|
3469
3484
|
}
|
|
@@ -3478,7 +3493,7 @@ class AppConfigurationManagementClient extends coreClient__namespace.ServiceClie
|
|
|
3478
3493
|
requestContentType: "application/json; charset=utf-8",
|
|
3479
3494
|
credential: credentials
|
|
3480
3495
|
};
|
|
3481
|
-
const packageDetails = `azsdk-js-arm-appconfiguration/3.0.0-beta.
|
|
3496
|
+
const packageDetails = `azsdk-js-arm-appconfiguration/3.0.0-beta.3`;
|
|
3482
3497
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
3483
3498
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
3484
3499
|
: `${packageDetails}`;
|
|
@@ -3487,7 +3502,7 @@ class AppConfigurationManagementClient extends coreClient__namespace.ServiceClie
|
|
|
3487
3502
|
}
|
|
3488
3503
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
3489
3504
|
userAgentPrefix
|
|
3490
|
-
}, baseUri: options.endpoint
|
|
3505
|
+
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
3491
3506
|
super(optionsWithDefaults);
|
|
3492
3507
|
// Parameter assignments
|
|
3493
3508
|
this.subscriptionId = subscriptionId;
|