@azure/arm-maintenance 1.0.0-alpha.20231009.1 → 1.0.0-alpha.20231023.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.
Files changed (48) hide show
  1. package/dist/index.js +52 -110
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.min.js +1 -1
  4. package/dist/index.min.js.map +1 -1
  5. package/dist-esm/samples-dev/applyUpdateForResourceGroupListSample.js +3 -8
  6. package/dist-esm/samples-dev/applyUpdateForResourceGroupListSample.js.map +1 -1
  7. package/dist-esm/samples-dev/applyUpdatesListSample.js +3 -8
  8. package/dist-esm/samples-dev/applyUpdatesListSample.js.map +1 -1
  9. package/dist-esm/samples-dev/configurationAssignmentsListParentSample.js +3 -8
  10. package/dist-esm/samples-dev/configurationAssignmentsListParentSample.js.map +1 -1
  11. package/dist-esm/samples-dev/configurationAssignmentsListSample.js +3 -8
  12. package/dist-esm/samples-dev/configurationAssignmentsListSample.js.map +1 -1
  13. package/dist-esm/samples-dev/configurationAssignmentsWithinSubscriptionListSample.js +3 -8
  14. package/dist-esm/samples-dev/configurationAssignmentsWithinSubscriptionListSample.js.map +1 -1
  15. package/dist-esm/samples-dev/maintenanceConfigurationsForResourceGroupListSample.js +3 -8
  16. package/dist-esm/samples-dev/maintenanceConfigurationsForResourceGroupListSample.js.map +1 -1
  17. package/dist-esm/samples-dev/maintenanceConfigurationsListSample.js +3 -8
  18. package/dist-esm/samples-dev/maintenanceConfigurationsListSample.js.map +1 -1
  19. package/dist-esm/samples-dev/operationsListSample.js +3 -8
  20. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  21. package/dist-esm/samples-dev/publicMaintenanceConfigurationsListSample.js +3 -8
  22. package/dist-esm/samples-dev/publicMaintenanceConfigurationsListSample.js.map +1 -1
  23. package/dist-esm/samples-dev/updatesListParentSample.js +3 -8
  24. package/dist-esm/samples-dev/updatesListParentSample.js.map +1 -1
  25. package/dist-esm/samples-dev/updatesListSample.js +3 -8
  26. package/dist-esm/samples-dev/updatesListSample.js.map +1 -1
  27. package/dist-esm/src/operations/applyUpdateForResourceGroup.js +3 -8
  28. package/dist-esm/src/operations/applyUpdateForResourceGroup.js.map +1 -1
  29. package/dist-esm/src/operations/applyUpdates.js +3 -8
  30. package/dist-esm/src/operations/applyUpdates.js.map +1 -1
  31. package/dist-esm/src/operations/configurationAssignments.js +6 -16
  32. package/dist-esm/src/operations/configurationAssignments.js.map +1 -1
  33. package/dist-esm/src/operations/configurationAssignmentsWithinSubscription.js +3 -8
  34. package/dist-esm/src/operations/configurationAssignmentsWithinSubscription.js.map +1 -1
  35. package/dist-esm/src/operations/maintenanceConfigurations.js +3 -8
  36. package/dist-esm/src/operations/maintenanceConfigurations.js.map +1 -1
  37. package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.js +3 -8
  38. package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -1
  39. package/dist-esm/src/operations/operations.js +3 -8
  40. package/dist-esm/src/operations/operations.js.map +1 -1
  41. package/dist-esm/src/operations/publicMaintenanceConfigurations.js +3 -8
  42. package/dist-esm/src/operations/publicMaintenanceConfigurations.js.map +1 -1
  43. package/dist-esm/src/operations/updates.js +6 -16
  44. package/dist-esm/src/operations/updates.js.map +1 -1
  45. package/dist-esm/test/maintenance_operations_test.spec.js +6 -16
  46. package/dist-esm/test/maintenance_operations_test.spec.js.map +1 -1
  47. package/package.json +3 -10
  48. package/rollup.config.js +0 -122
package/dist/index.js CHANGED
@@ -1,13 +1,10 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var tslib = require('tslib');
6
4
  var coreClient = require('@azure/core-client');
7
5
  var coreRestPipeline = require('@azure/core-rest-pipeline');
8
6
 
9
- function _interopNamespace(e) {
10
- if (e && e.__esModule) return e;
7
+ function _interopNamespaceDefault(e) {
11
8
  var n = Object.create(null);
12
9
  if (e) {
13
10
  Object.keys(e).forEach(function (k) {
@@ -20,12 +17,12 @@ function _interopNamespace(e) {
20
17
  }
21
18
  });
22
19
  }
23
- n["default"] = e;
20
+ n.default = e;
24
21
  return Object.freeze(n);
25
22
  }
26
23
 
27
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
28
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
24
+ var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
25
+ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
29
26
 
30
27
  /*
31
28
  * Copyright (c) Microsoft Corporation.
@@ -793,26 +790,26 @@ const ConfigurationAssignment = {
793
790
 
794
791
  var Mappers = /*#__PURE__*/Object.freeze({
795
792
  __proto__: null,
796
- ListMaintenanceConfigurationsResult: ListMaintenanceConfigurationsResult,
793
+ ApplyUpdate: ApplyUpdate,
794
+ ConfigurationAssignment: ConfigurationAssignment,
795
+ ConfigurationAssignmentFilterProperties: ConfigurationAssignmentFilterProperties,
796
+ ErrorDetails: ErrorDetails,
797
+ InputLinuxParameters: InputLinuxParameters,
797
798
  InputPatchConfiguration: InputPatchConfiguration,
798
799
  InputWindowsParameters: InputWindowsParameters,
799
- InputLinuxParameters: InputLinuxParameters,
800
- Resource: Resource,
801
- SystemData: SystemData,
802
- MaintenanceError: MaintenanceError,
803
- ErrorDetails: ErrorDetails,
804
- ConfigurationAssignmentFilterProperties: ConfigurationAssignmentFilterProperties,
805
- TagSettingsProperties: TagSettingsProperties,
806
- ListConfigurationAssignmentsResult: ListConfigurationAssignmentsResult,
807
800
  ListApplyUpdate: ListApplyUpdate,
808
- OperationsListResult: OperationsListResult,
809
- Operation: Operation,
810
- OperationInfo: OperationInfo,
801
+ ListConfigurationAssignmentsResult: ListConfigurationAssignmentsResult,
802
+ ListMaintenanceConfigurationsResult: ListMaintenanceConfigurationsResult,
811
803
  ListUpdatesResult: ListUpdatesResult,
812
- Update: Update,
813
804
  MaintenanceConfiguration: MaintenanceConfiguration,
814
- ApplyUpdate: ApplyUpdate,
815
- ConfigurationAssignment: ConfigurationAssignment
805
+ MaintenanceError: MaintenanceError,
806
+ Operation: Operation,
807
+ OperationInfo: OperationInfo,
808
+ OperationsListResult: OperationsListResult,
809
+ Resource: Resource,
810
+ SystemData: SystemData,
811
+ TagSettingsProperties: TagSettingsProperties,
812
+ Update: Update
816
813
  });
817
814
 
818
815
  /*
@@ -1027,16 +1024,11 @@ class PublicMaintenanceConfigurationsImpl {
1027
1024
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1028
1025
  var _a, e_1, _b, _c;
1029
1026
  try {
1030
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1027
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1031
1028
  _c = _f.value;
1032
1029
  _d = false;
1033
- try {
1034
- const page = _c;
1035
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1036
- }
1037
- finally {
1038
- _d = true;
1039
- }
1030
+ const page = _c;
1031
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1040
1032
  }
1041
1033
  }
1042
1034
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -1152,16 +1144,11 @@ class ApplyUpdatesImpl {
1152
1144
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1153
1145
  var _a, e_1, _b, _c;
1154
1146
  try {
1155
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1147
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1156
1148
  _c = _f.value;
1157
1149
  _d = false;
1158
- try {
1159
- const page = _c;
1160
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1161
- }
1162
- finally {
1163
- _d = true;
1164
- }
1150
+ const page = _c;
1151
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1165
1152
  }
1166
1153
  }
1167
1154
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -1433,16 +1420,11 @@ class ConfigurationAssignmentsImpl {
1433
1420
  return tslib.__asyncGenerator(this, arguments, function* listParentPagingAll_1() {
1434
1421
  var _a, e_1, _b, _c;
1435
1422
  try {
1436
- for (var _d = true, _e = tslib.__asyncValues(this.listParentPagingPage(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1423
+ for (var _d = true, _e = tslib.__asyncValues(this.listParentPagingPage(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1437
1424
  _c = _f.value;
1438
1425
  _d = false;
1439
- try {
1440
- const page = _c;
1441
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1442
- }
1443
- finally {
1444
- _d = true;
1445
- }
1426
+ const page = _c;
1427
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1446
1428
  }
1447
1429
  }
1448
1430
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -1490,16 +1472,11 @@ class ConfigurationAssignmentsImpl {
1490
1472
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1491
1473
  var _a, e_2, _b, _c;
1492
1474
  try {
1493
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, providerName, resourceType, resourceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1475
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, providerName, resourceType, resourceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1494
1476
  _c = _f.value;
1495
1477
  _d = false;
1496
- try {
1497
- const page = _c;
1498
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1499
- }
1500
- finally {
1501
- _d = true;
1502
- }
1478
+ const page = _c;
1479
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1503
1480
  }
1504
1481
  }
1505
1482
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -1936,16 +1913,11 @@ class MaintenanceConfigurationsImpl {
1936
1913
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1937
1914
  var _a, e_1, _b, _c;
1938
1915
  try {
1939
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1916
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1940
1917
  _c = _f.value;
1941
1918
  _d = false;
1942
- try {
1943
- const page = _c;
1944
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1945
- }
1946
- finally {
1947
- _d = true;
1948
- }
1919
+ const page = _c;
1920
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1949
1921
  }
1950
1922
  }
1951
1923
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2164,16 +2136,11 @@ class MaintenanceConfigurationsForResourceGroupImpl {
2164
2136
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2165
2137
  var _a, e_1, _b, _c;
2166
2138
  try {
2167
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2139
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2168
2140
  _c = _f.value;
2169
2141
  _d = false;
2170
- try {
2171
- const page = _c;
2172
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2173
- }
2174
- finally {
2175
- _d = true;
2176
- }
2142
+ const page = _c;
2143
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2177
2144
  }
2178
2145
  }
2179
2146
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2267,16 +2234,11 @@ class ApplyUpdateForResourceGroupImpl {
2267
2234
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2268
2235
  var _a, e_1, _b, _c;
2269
2236
  try {
2270
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2237
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2271
2238
  _c = _f.value;
2272
2239
  _d = false;
2273
- try {
2274
- const page = _c;
2275
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2276
- }
2277
- finally {
2278
- _d = true;
2279
- }
2240
+ const page = _c;
2241
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2280
2242
  }
2281
2243
  }
2282
2244
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2369,16 +2331,11 @@ class ConfigurationAssignmentsWithinSubscriptionImpl {
2369
2331
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2370
2332
  var _a, e_1, _b, _c;
2371
2333
  try {
2372
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2334
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2373
2335
  _c = _f.value;
2374
2336
  _d = false;
2375
- try {
2376
- const page = _c;
2377
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2378
- }
2379
- finally {
2380
- _d = true;
2381
- }
2337
+ const page = _c;
2338
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2382
2339
  }
2383
2340
  }
2384
2341
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2768,16 +2725,11 @@ class OperationsImpl {
2768
2725
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2769
2726
  var _a, e_1, _b, _c;
2770
2727
  try {
2771
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2728
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2772
2729
  _c = _f.value;
2773
2730
  _d = false;
2774
- try {
2775
- const page = _c;
2776
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2777
- }
2778
- finally {
2779
- _d = true;
2780
- }
2731
+ const page = _c;
2732
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2781
2733
  }
2782
2734
  }
2783
2735
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2871,16 +2823,11 @@ class UpdatesImpl {
2871
2823
  return tslib.__asyncGenerator(this, arguments, function* listParentPagingAll_1() {
2872
2824
  var _a, e_1, _b, _c;
2873
2825
  try {
2874
- for (var _d = true, _e = tslib.__asyncValues(this.listParentPagingPage(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2826
+ for (var _d = true, _e = tslib.__asyncValues(this.listParentPagingPage(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2875
2827
  _c = _f.value;
2876
2828
  _d = false;
2877
- try {
2878
- const page = _c;
2879
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2880
- }
2881
- finally {
2882
- _d = true;
2883
- }
2829
+ const page = _c;
2830
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2884
2831
  }
2885
2832
  }
2886
2833
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2928,16 +2875,11 @@ class UpdatesImpl {
2928
2875
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2929
2876
  var _a, e_2, _b, _c;
2930
2877
  try {
2931
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, providerName, resourceType, resourceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2878
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, providerName, resourceType, resourceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2932
2879
  _c = _f.value;
2933
2880
  _d = false;
2934
- try {
2935
- const page = _c;
2936
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2937
- }
2938
- finally {
2939
- _d = true;
2940
- }
2881
+ const page = _c;
2882
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2941
2883
  }
2942
2884
  }
2943
2885
  catch (e_2_1) { e_2 = { error: e_2_1 }; }