@azure/arm-eventhub-profile-2020-09-01-hybrid 2.1.1-alpha.20231009.1 → 2.1.1-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 (44) hide show
  1. package/dist/index.js +67 -125
  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/clustersListByResourceGroupSample.js +3 -8
  6. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js.map +1 -1
  7. package/dist-esm/samples-dev/consumerGroupsListByEventHubSample.js +3 -8
  8. package/dist-esm/samples-dev/consumerGroupsListByEventHubSample.js.map +1 -1
  9. package/dist-esm/samples-dev/disasterRecoveryConfigsListAuthorizationRulesSample.js +3 -8
  10. package/dist-esm/samples-dev/disasterRecoveryConfigsListAuthorizationRulesSample.js.map +1 -1
  11. package/dist-esm/samples-dev/eventHubsListAuthorizationRulesSample.js +3 -8
  12. package/dist-esm/samples-dev/eventHubsListAuthorizationRulesSample.js.map +1 -1
  13. package/dist-esm/samples-dev/eventHubsListByNamespaceSample.js +3 -8
  14. package/dist-esm/samples-dev/eventHubsListByNamespaceSample.js.map +1 -1
  15. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js +3 -8
  16. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js.map +1 -1
  17. package/dist-esm/samples-dev/namespacesListByResourceGroupSample.js +3 -8
  18. package/dist-esm/samples-dev/namespacesListByResourceGroupSample.js.map +1 -1
  19. package/dist-esm/samples-dev/namespacesListSample.js +3 -8
  20. package/dist-esm/samples-dev/namespacesListSample.js.map +1 -1
  21. package/dist-esm/samples-dev/operationsListSample.js +3 -8
  22. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  23. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +3 -8
  24. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
  25. package/dist-esm/samples-dev/regionsListBySkuSample.js +6 -16
  26. package/dist-esm/samples-dev/regionsListBySkuSample.js.map +1 -1
  27. package/dist-esm/src/operations/clusters.js +3 -8
  28. package/dist-esm/src/operations/clusters.js.map +1 -1
  29. package/dist-esm/src/operations/consumerGroups.js +3 -8
  30. package/dist-esm/src/operations/consumerGroups.js.map +1 -1
  31. package/dist-esm/src/operations/disasterRecoveryConfigs.js +3 -8
  32. package/dist-esm/src/operations/disasterRecoveryConfigs.js.map +1 -1
  33. package/dist-esm/src/operations/eventHubs.js +6 -16
  34. package/dist-esm/src/operations/eventHubs.js.map +1 -1
  35. package/dist-esm/src/operations/namespaces.js +9 -24
  36. package/dist-esm/src/operations/namespaces.js.map +1 -1
  37. package/dist-esm/src/operations/operations.js +3 -8
  38. package/dist-esm/src/operations/operations.js.map +1 -1
  39. package/dist-esm/src/operations/privateEndpointConnections.js +3 -8
  40. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  41. package/dist-esm/src/operations/regions.js +3 -8
  42. package/dist-esm/src/operations/regions.js.map +1 -1
  43. package/package.json +3 -10
  44. package/rollup.config.js +0 -122
package/dist/index.js CHANGED
@@ -1,14 +1,11 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var coreClient = require('@azure/core-client');
6
4
  var coreRestPipeline = require('@azure/core-rest-pipeline');
7
5
  var tslib = require('tslib');
8
6
  var coreLro = require('@azure/core-lro');
9
7
 
10
- function _interopNamespace(e) {
11
- if (e && e.__esModule) return e;
8
+ function _interopNamespaceDefault(e) {
12
9
  var n = Object.create(null);
13
10
  if (e) {
14
11
  Object.keys(e).forEach(function (k) {
@@ -21,12 +18,12 @@ function _interopNamespace(e) {
21
18
  }
22
19
  });
23
20
  }
24
- n["default"] = e;
21
+ n.default = e;
25
22
  return Object.freeze(n);
26
23
  }
27
24
 
28
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
29
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
25
+ var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
26
+ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
30
27
 
31
28
  /*
32
29
  * Copyright (c) Microsoft Corporation.
@@ -1295,46 +1292,46 @@ const MessagingRegions = {
1295
1292
 
1296
1293
  var Mappers = /*#__PURE__*/Object.freeze({
1297
1294
  __proto__: null,
1298
- AvailableClustersList: AvailableClustersList,
1295
+ AccessKeys: AccessKeys,
1296
+ AuthorizationRule: AuthorizationRule,
1297
+ AuthorizationRuleListResult: AuthorizationRuleListResult,
1299
1298
  AvailableCluster: AvailableCluster,
1300
- ErrorResponse: ErrorResponse,
1299
+ AvailableClustersList: AvailableClustersList,
1300
+ CaptureDescription: CaptureDescription,
1301
+ CheckNameAvailabilityParameter: CheckNameAvailabilityParameter,
1302
+ CheckNameAvailabilityResult: CheckNameAvailabilityResult,
1303
+ Cluster: Cluster,
1301
1304
  ClusterListResult: ClusterListResult,
1302
1305
  ClusterSku: ClusterSku,
1303
- Resource: Resource,
1304
- EHNamespaceIdListResult: EHNamespaceIdListResult,
1306
+ ConnectionState: ConnectionState,
1307
+ ConsumerGroup: ConsumerGroup,
1308
+ ConsumerGroupListResult: ConsumerGroupListResult,
1309
+ Destination: Destination,
1310
+ EHNamespace: EHNamespace,
1305
1311
  EHNamespaceIdContainer: EHNamespaceIdContainer,
1312
+ EHNamespaceIdListResult: EHNamespaceIdListResult,
1306
1313
  EHNamespaceListResult: EHNamespaceListResult,
1307
- Sku: Sku,
1308
- Identity: Identity,
1309
1314
  Encryption: Encryption,
1310
- KeyVaultProperties: KeyVaultProperties,
1311
- PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
1312
- PrivateEndpoint: PrivateEndpoint,
1313
- ConnectionState: ConnectionState,
1314
- PrivateLinkResourcesListResult: PrivateLinkResourcesListResult,
1315
- PrivateLinkResource: PrivateLinkResource,
1316
- AuthorizationRuleListResult: AuthorizationRuleListResult,
1317
- AccessKeys: AccessKeys,
1318
- RegenerateAccessKeyParameters: RegenerateAccessKeyParameters,
1319
- CheckNameAvailabilityParameter: CheckNameAvailabilityParameter,
1320
- CheckNameAvailabilityResult: CheckNameAvailabilityResult,
1321
- ConsumerGroupListResult: ConsumerGroupListResult,
1322
- OperationListResult: OperationListResult,
1323
- Operation: Operation,
1324
- OperationDisplay: OperationDisplay,
1315
+ ErrorResponse: ErrorResponse,
1325
1316
  EventHubListResult: EventHubListResult,
1326
- CaptureDescription: CaptureDescription,
1327
- Destination: Destination,
1317
+ Eventhub: Eventhub,
1318
+ Identity: Identity,
1319
+ KeyVaultProperties: KeyVaultProperties,
1320
+ MessagingRegions: MessagingRegions,
1328
1321
  MessagingRegionsListResult: MessagingRegionsListResult,
1329
1322
  MessagingRegionsProperties: MessagingRegionsProperties,
1330
- TrackedResource: TrackedResource,
1323
+ Operation: Operation,
1324
+ OperationDisplay: OperationDisplay,
1325
+ OperationListResult: OperationListResult,
1326
+ PrivateEndpoint: PrivateEndpoint,
1331
1327
  PrivateEndpointConnection: PrivateEndpointConnection,
1332
- AuthorizationRule: AuthorizationRule,
1333
- ConsumerGroup: ConsumerGroup,
1334
- Eventhub: Eventhub,
1335
- Cluster: Cluster,
1336
- EHNamespace: EHNamespace,
1337
- MessagingRegions: MessagingRegions
1328
+ PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
1329
+ PrivateLinkResource: PrivateLinkResource,
1330
+ PrivateLinkResourcesListResult: PrivateLinkResourcesListResult,
1331
+ RegenerateAccessKeyParameters: RegenerateAccessKeyParameters,
1332
+ Resource: Resource,
1333
+ Sku: Sku,
1334
+ TrackedResource: TrackedResource
1338
1335
  });
1339
1336
 
1340
1337
  /*
@@ -1691,16 +1688,11 @@ class ClustersImpl {
1691
1688
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
1692
1689
  var _a, e_1, _b, _c;
1693
1690
  try {
1694
- for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1691
+ for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1695
1692
  _c = _f.value;
1696
1693
  _d = false;
1697
- try {
1698
- const page = _c;
1699
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1700
- }
1701
- finally {
1702
- _d = true;
1703
- }
1694
+ const page = _c;
1695
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1704
1696
  }
1705
1697
  }
1706
1698
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2161,16 +2153,11 @@ class NamespacesImpl {
2161
2153
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2162
2154
  var _a, e_1, _b, _c;
2163
2155
  try {
2164
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2156
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2165
2157
  _c = _f.value;
2166
2158
  _d = false;
2167
- try {
2168
- const page = _c;
2169
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2170
- }
2171
- finally {
2172
- _d = true;
2173
- }
2159
+ const page = _c;
2160
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2174
2161
  }
2175
2162
  }
2176
2163
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2228,16 +2215,11 @@ class NamespacesImpl {
2228
2215
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
2229
2216
  var _a, e_2, _b, _c;
2230
2217
  try {
2231
- for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2218
+ for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2232
2219
  _c = _f.value;
2233
2220
  _d = false;
2234
- try {
2235
- const page = _c;
2236
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2237
- }
2238
- finally {
2239
- _d = true;
2240
- }
2221
+ const page = _c;
2222
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2241
2223
  }
2242
2224
  }
2243
2225
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -2296,16 +2278,11 @@ class NamespacesImpl {
2296
2278
  return tslib.__asyncGenerator(this, arguments, function* listAuthorizationRulesPagingAll_1() {
2297
2279
  var _a, e_3, _b, _c;
2298
2280
  try {
2299
- for (var _d = true, _e = tslib.__asyncValues(this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2281
+ for (var _d = true, _e = tslib.__asyncValues(this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2300
2282
  _c = _f.value;
2301
2283
  _d = false;
2302
- try {
2303
- const page = _c;
2304
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2305
- }
2306
- finally {
2307
- _d = true;
2308
- }
2284
+ const page = _c;
2285
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2309
2286
  }
2310
2287
  }
2311
2288
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
@@ -2989,16 +2966,11 @@ class PrivateEndpointConnectionsImpl {
2989
2966
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2990
2967
  var _a, e_1, _b, _c;
2991
2968
  try {
2992
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2969
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2993
2970
  _c = _f.value;
2994
2971
  _d = false;
2995
- try {
2996
- const page = _c;
2997
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2998
- }
2999
- finally {
3000
- _d = true;
3001
- }
2972
+ const page = _c;
2973
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3002
2974
  }
3003
2975
  }
3004
2976
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -3355,16 +3327,11 @@ class DisasterRecoveryConfigsImpl {
3355
3327
  return tslib.__asyncGenerator(this, arguments, function* listAuthorizationRulesPagingAll_1() {
3356
3328
  var _a, e_1, _b, _c;
3357
3329
  try {
3358
- for (var _d = true, _e = tslib.__asyncValues(this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, alias, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3330
+ for (var _d = true, _e = tslib.__asyncValues(this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, alias, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3359
3331
  _c = _f.value;
3360
3332
  _d = false;
3361
- try {
3362
- const page = _c;
3363
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3364
- }
3365
- finally {
3366
- _d = true;
3367
- }
3333
+ const page = _c;
3334
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3368
3335
  }
3369
3336
  }
3370
3337
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -3590,16 +3557,11 @@ class EventHubsImpl {
3590
3557
  return tslib.__asyncGenerator(this, arguments, function* listAuthorizationRulesPagingAll_1() {
3591
3558
  var _a, e_1, _b, _c;
3592
3559
  try {
3593
- for (var _d = true, _e = tslib.__asyncValues(this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, eventHubName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3560
+ for (var _d = true, _e = tslib.__asyncValues(this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, eventHubName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3594
3561
  _c = _f.value;
3595
3562
  _d = false;
3596
- try {
3597
- const page = _c;
3598
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3599
- }
3600
- finally {
3601
- _d = true;
3602
- }
3563
+ const page = _c;
3564
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3603
3565
  }
3604
3566
  }
3605
3567
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -3658,16 +3620,11 @@ class EventHubsImpl {
3658
3620
  return tslib.__asyncGenerator(this, arguments, function* listByNamespacePagingAll_1() {
3659
3621
  var _a, e_2, _b, _c;
3660
3622
  try {
3661
- for (var _d = true, _e = tslib.__asyncValues(this.listByNamespacePagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3623
+ for (var _d = true, _e = tslib.__asyncValues(this.listByNamespacePagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3662
3624
  _c = _f.value;
3663
3625
  _d = false;
3664
- try {
3665
- const page = _c;
3666
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3667
- }
3668
- finally {
3669
- _d = true;
3670
- }
3626
+ const page = _c;
3627
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3671
3628
  }
3672
3629
  }
3673
3630
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -4182,16 +4139,11 @@ class ConsumerGroupsImpl {
4182
4139
  return tslib.__asyncGenerator(this, arguments, function* listByEventHubPagingAll_1() {
4183
4140
  var _a, e_1, _b, _c;
4184
4141
  try {
4185
- for (var _d = true, _e = tslib.__asyncValues(this.listByEventHubPagingPage(resourceGroupName, namespaceName, eventHubName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4142
+ for (var _d = true, _e = tslib.__asyncValues(this.listByEventHubPagingPage(resourceGroupName, namespaceName, eventHubName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4186
4143
  _c = _f.value;
4187
4144
  _d = false;
4188
- try {
4189
- const page = _c;
4190
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4191
- }
4192
- finally {
4193
- _d = true;
4194
- }
4145
+ const page = _c;
4146
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4195
4147
  }
4196
4148
  }
4197
4149
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -4458,16 +4410,11 @@ class OperationsImpl {
4458
4410
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
4459
4411
  var _a, e_1, _b, _c;
4460
4412
  try {
4461
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4413
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4462
4414
  _c = _f.value;
4463
4415
  _d = false;
4464
- try {
4465
- const page = _c;
4466
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4467
- }
4468
- finally {
4469
- _d = true;
4470
- }
4416
+ const page = _c;
4417
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4471
4418
  }
4472
4419
  }
4473
4420
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -4592,16 +4539,11 @@ class RegionsImpl {
4592
4539
  return tslib.__asyncGenerator(this, arguments, function* listBySkuPagingAll_1() {
4593
4540
  var _a, e_1, _b, _c;
4594
4541
  try {
4595
- for (var _d = true, _e = tslib.__asyncValues(this.listBySkuPagingPage(sku, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4542
+ for (var _d = true, _e = tslib.__asyncValues(this.listBySkuPagingPage(sku, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4596
4543
  _c = _f.value;
4597
4544
  _d = false;
4598
- try {
4599
- const page = _c;
4600
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4601
- }
4602
- finally {
4603
- _d = true;
4604
- }
4545
+ const page = _c;
4546
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4605
4547
  }
4606
4548
  }
4607
4549
  catch (e_1_1) { e_1 = { error: e_1_1 }; }