@azure/arm-eventhub 5.3.0-alpha.20250619.1 → 5.3.0-alpha.20250729.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 (139) hide show
  1. package/dist/browser/eventHubManagementClient.js +26 -5
  2. package/dist/browser/eventHubManagementClient.js.map +1 -1
  3. package/dist/browser/lroImpl.js +7 -3
  4. package/dist/browser/lroImpl.js.map +1 -1
  5. package/dist/browser/models/mappers.js +213 -100
  6. package/dist/browser/models/mappers.js.map +1 -1
  7. package/dist/browser/operations/applicationGroupOperations.js +23 -40
  8. package/dist/browser/operations/applicationGroupOperations.js.map +1 -1
  9. package/dist/browser/operations/clusters.js +78 -97
  10. package/dist/browser/operations/clusters.js.map +1 -1
  11. package/dist/browser/operations/configuration.js +1 -0
  12. package/dist/browser/operations/configuration.js.map +1 -1
  13. package/dist/browser/operations/consumerGroups.js +23 -40
  14. package/dist/browser/operations/consumerGroups.js.map +1 -1
  15. package/dist/browser/operations/disasterRecoveryConfigs.js +45 -79
  16. package/dist/browser/operations/disasterRecoveryConfigs.js.map +1 -1
  17. package/dist/browser/operations/eventHubs.js +45 -79
  18. package/dist/browser/operations/eventHubs.js.map +1 -1
  19. package/dist/browser/operations/namespaces.js +103 -139
  20. package/dist/browser/operations/namespaces.js.map +1 -1
  21. package/dist/browser/operations/networkSecurityPerimeterConfigurationOperations.js +1 -0
  22. package/dist/browser/operations/networkSecurityPerimeterConfigurationOperations.js.map +1 -1
  23. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js +12 -6
  24. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  25. package/dist/browser/operations/operations.js +23 -40
  26. package/dist/browser/operations/operations.js.map +1 -1
  27. package/dist/browser/operations/privateEndpointConnections.js +34 -46
  28. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  29. package/dist/browser/operations/privateLinkResources.js +1 -0
  30. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  31. package/dist/browser/operations/schemaRegistry.js +23 -40
  32. package/dist/browser/operations/schemaRegistry.js.map +1 -1
  33. package/dist/browser/pagingHelper.js +2 -4
  34. package/dist/browser/pagingHelper.js.map +1 -1
  35. package/dist/commonjs/eventHubManagementClient.js +26 -5
  36. package/dist/commonjs/eventHubManagementClient.js.map +1 -1
  37. package/dist/commonjs/lroImpl.js +7 -3
  38. package/dist/commonjs/lroImpl.js.map +1 -1
  39. package/dist/commonjs/models/mappers.js +213 -100
  40. package/dist/commonjs/models/mappers.js.map +1 -1
  41. package/dist/commonjs/operations/applicationGroupOperations.js +23 -39
  42. package/dist/commonjs/operations/applicationGroupOperations.js.map +1 -1
  43. package/dist/commonjs/operations/clusters.js +78 -96
  44. package/dist/commonjs/operations/clusters.js.map +1 -1
  45. package/dist/commonjs/operations/configuration.js +1 -0
  46. package/dist/commonjs/operations/configuration.js.map +1 -1
  47. package/dist/commonjs/operations/consumerGroups.js +23 -39
  48. package/dist/commonjs/operations/consumerGroups.js.map +1 -1
  49. package/dist/commonjs/operations/disasterRecoveryConfigs.js +45 -78
  50. package/dist/commonjs/operations/disasterRecoveryConfigs.js.map +1 -1
  51. package/dist/commonjs/operations/eventHubs.js +45 -78
  52. package/dist/commonjs/operations/eventHubs.js.map +1 -1
  53. package/dist/commonjs/operations/namespaces.js +103 -138
  54. package/dist/commonjs/operations/namespaces.js.map +1 -1
  55. package/dist/commonjs/operations/networkSecurityPerimeterConfigurationOperations.js +1 -0
  56. package/dist/commonjs/operations/networkSecurityPerimeterConfigurationOperations.js.map +1 -1
  57. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +12 -6
  58. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  59. package/dist/commonjs/operations/operations.js +23 -39
  60. package/dist/commonjs/operations/operations.js.map +1 -1
  61. package/dist/commonjs/operations/privateEndpointConnections.js +34 -45
  62. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  63. package/dist/commonjs/operations/privateLinkResources.js +1 -0
  64. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  65. package/dist/commonjs/operations/schemaRegistry.js +23 -39
  66. package/dist/commonjs/operations/schemaRegistry.js.map +1 -1
  67. package/dist/commonjs/pagingHelper.js +2 -4
  68. package/dist/commonjs/pagingHelper.js.map +1 -1
  69. package/dist/commonjs/tsdoc-metadata.json +11 -11
  70. package/dist/esm/eventHubManagementClient.js +26 -5
  71. package/dist/esm/eventHubManagementClient.js.map +1 -1
  72. package/dist/esm/lroImpl.js +7 -3
  73. package/dist/esm/lroImpl.js.map +1 -1
  74. package/dist/esm/models/mappers.js +213 -100
  75. package/dist/esm/models/mappers.js.map +1 -1
  76. package/dist/esm/operations/applicationGroupOperations.js +23 -40
  77. package/dist/esm/operations/applicationGroupOperations.js.map +1 -1
  78. package/dist/esm/operations/clusters.js +78 -97
  79. package/dist/esm/operations/clusters.js.map +1 -1
  80. package/dist/esm/operations/configuration.js +1 -0
  81. package/dist/esm/operations/configuration.js.map +1 -1
  82. package/dist/esm/operations/consumerGroups.js +23 -40
  83. package/dist/esm/operations/consumerGroups.js.map +1 -1
  84. package/dist/esm/operations/disasterRecoveryConfigs.js +45 -79
  85. package/dist/esm/operations/disasterRecoveryConfigs.js.map +1 -1
  86. package/dist/esm/operations/eventHubs.js +45 -79
  87. package/dist/esm/operations/eventHubs.js.map +1 -1
  88. package/dist/esm/operations/namespaces.js +103 -139
  89. package/dist/esm/operations/namespaces.js.map +1 -1
  90. package/dist/esm/operations/networkSecurityPerimeterConfigurationOperations.js +1 -0
  91. package/dist/esm/operations/networkSecurityPerimeterConfigurationOperations.js.map +1 -1
  92. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +12 -6
  93. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  94. package/dist/esm/operations/operations.js +23 -40
  95. package/dist/esm/operations/operations.js.map +1 -1
  96. package/dist/esm/operations/privateEndpointConnections.js +34 -46
  97. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  98. package/dist/esm/operations/privateLinkResources.js +1 -0
  99. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  100. package/dist/esm/operations/schemaRegistry.js +23 -40
  101. package/dist/esm/operations/schemaRegistry.js.map +1 -1
  102. package/dist/esm/pagingHelper.js +2 -4
  103. package/dist/esm/pagingHelper.js.map +1 -1
  104. package/dist/react-native/eventHubManagementClient.js +26 -5
  105. package/dist/react-native/eventHubManagementClient.js.map +1 -1
  106. package/dist/react-native/lroImpl.js +7 -3
  107. package/dist/react-native/lroImpl.js.map +1 -1
  108. package/dist/react-native/models/mappers.js +213 -100
  109. package/dist/react-native/models/mappers.js.map +1 -1
  110. package/dist/react-native/operations/applicationGroupOperations.js +23 -40
  111. package/dist/react-native/operations/applicationGroupOperations.js.map +1 -1
  112. package/dist/react-native/operations/clusters.js +78 -97
  113. package/dist/react-native/operations/clusters.js.map +1 -1
  114. package/dist/react-native/operations/configuration.js +1 -0
  115. package/dist/react-native/operations/configuration.js.map +1 -1
  116. package/dist/react-native/operations/consumerGroups.js +23 -40
  117. package/dist/react-native/operations/consumerGroups.js.map +1 -1
  118. package/dist/react-native/operations/disasterRecoveryConfigs.js +45 -79
  119. package/dist/react-native/operations/disasterRecoveryConfigs.js.map +1 -1
  120. package/dist/react-native/operations/eventHubs.js +45 -79
  121. package/dist/react-native/operations/eventHubs.js.map +1 -1
  122. package/dist/react-native/operations/namespaces.js +103 -139
  123. package/dist/react-native/operations/namespaces.js.map +1 -1
  124. package/dist/react-native/operations/networkSecurityPerimeterConfigurationOperations.js +1 -0
  125. package/dist/react-native/operations/networkSecurityPerimeterConfigurationOperations.js.map +1 -1
  126. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +12 -6
  127. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  128. package/dist/react-native/operations/operations.js +23 -40
  129. package/dist/react-native/operations/operations.js.map +1 -1
  130. package/dist/react-native/operations/privateEndpointConnections.js +34 -46
  131. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  132. package/dist/react-native/operations/privateLinkResources.js +1 -0
  133. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  134. package/dist/react-native/operations/schemaRegistry.js +23 -40
  135. package/dist/react-native/operations/schemaRegistry.js.map +1 -1
  136. package/dist/react-native/pagingHelper.js +2 -4
  137. package/dist/react-native/pagingHelper.js.map +1 -1
  138. package/package.json +2 -2
  139. /package/review/{arm-eventhub.api.md → arm-eventhub-node.api.md} +0 -0
@@ -5,7 +5,6 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
8
  import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
10
  import * as Mappers from "../models/mappers.js";
@@ -13,6 +12,7 @@ import * as Parameters from "../models/parameters.js";
13
12
  /// <reference lib="esnext.asynciterable" />
14
13
  /** Class containing ConsumerGroups operations. */
15
14
  export class ConsumerGroupsImpl {
15
+ client;
16
16
  /**
17
17
  * Initialize a new instance of the class ConsumerGroups class.
18
18
  * @param client Reference to the service client
@@ -38,52 +38,35 @@ export class ConsumerGroupsImpl {
38
38
  return this;
39
39
  },
40
40
  byPage: (settings) => {
41
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
41
+ if (settings?.maxPageSize) {
42
42
  throw new Error("maxPageSize is not supported by this operation.");
43
43
  }
44
44
  return this.listByEventHubPagingPage(resourceGroupName, namespaceName, eventHubName, options, settings);
45
45
  },
46
46
  };
47
47
  }
48
- listByEventHubPagingPage(resourceGroupName, namespaceName, eventHubName, options, settings) {
49
- return __asyncGenerator(this, arguments, function* listByEventHubPagingPage_1() {
50
- let result;
51
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
52
- if (!continuationToken) {
53
- result = yield __await(this._listByEventHub(resourceGroupName, namespaceName, eventHubName, options));
54
- let page = result.value || [];
55
- continuationToken = result.nextLink;
56
- setContinuationToken(page, continuationToken);
57
- yield yield __await(page);
58
- }
59
- while (continuationToken) {
60
- result = yield __await(this._listByEventHubNext(resourceGroupName, namespaceName, eventHubName, continuationToken, options));
61
- continuationToken = result.nextLink;
62
- let page = result.value || [];
63
- setContinuationToken(page, continuationToken);
64
- yield yield __await(page);
65
- }
66
- });
48
+ async *listByEventHubPagingPage(resourceGroupName, namespaceName, eventHubName, options, settings) {
49
+ let result;
50
+ let continuationToken = settings?.continuationToken;
51
+ if (!continuationToken) {
52
+ result = await this._listByEventHub(resourceGroupName, namespaceName, eventHubName, options);
53
+ let page = result.value || [];
54
+ continuationToken = result.nextLink;
55
+ setContinuationToken(page, continuationToken);
56
+ yield page;
57
+ }
58
+ while (continuationToken) {
59
+ result = await this._listByEventHubNext(resourceGroupName, namespaceName, eventHubName, continuationToken, options);
60
+ continuationToken = result.nextLink;
61
+ let page = result.value || [];
62
+ setContinuationToken(page, continuationToken);
63
+ yield page;
64
+ }
67
65
  }
68
- listByEventHubPagingAll(resourceGroupName, namespaceName, eventHubName, options) {
69
- return __asyncGenerator(this, arguments, function* listByEventHubPagingAll_1() {
70
- var _a, e_1, _b, _c;
71
- try {
72
- for (var _d = true, _e = __asyncValues(this.listByEventHubPagingPage(resourceGroupName, namespaceName, eventHubName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
73
- _c = _f.value;
74
- _d = false;
75
- const page = _c;
76
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
77
- }
78
- }
79
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
80
- finally {
81
- try {
82
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
83
- }
84
- finally { if (e_1) throw e_1.error; }
85
- }
86
- });
66
+ async *listByEventHubPagingAll(resourceGroupName, namespaceName, eventHubName, options) {
67
+ for await (const page of this.listByEventHubPagingPage(resourceGroupName, namespaceName, eventHubName, options)) {
68
+ yield* page;
69
+ }
87
70
  }
88
71
  /**
89
72
  * Creates or updates an Event Hubs consumer group as a nested resource within a Namespace.
@@ -1 +1 @@
1
- {"version":3,"file":"consumerGroups.js","sourceRoot":"","sources":["../../../src/operations/consumerGroups.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAetD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,cAAc,CACnB,iBAAyB,EACzB,aAAqB,EACrB,YAAoB,EACpB,OAAoD;QAEpD,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CACvC,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,wBAAwB,CAClC,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,wBAAwB,CACrC,iBAAyB,EACzB,aAAqB,EACrB,YA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BAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ConsumerGroups } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { EventHubManagementClient } from \"../eventHubManagementClient.js\";\nimport {\n ConsumerGroup,\n ConsumerGroupsListByEventHubNextOptionalParams,\n ConsumerGroupsListByEventHubOptionalParams,\n ConsumerGroupsListByEventHubResponse,\n ConsumerGroupsCreateOrUpdateOptionalParams,\n ConsumerGroupsCreateOrUpdateResponse,\n ConsumerGroupsDeleteOptionalParams,\n ConsumerGroupsGetOptionalParams,\n ConsumerGroupsGetResponse,\n ConsumerGroupsListByEventHubNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConsumerGroups operations. */\nexport class ConsumerGroupsImpl implements ConsumerGroups {\n private readonly client: EventHubManagementClient;\n\n /**\n * Initialize a new instance of the class ConsumerGroups class.\n * @param client Reference to the service client\n */\n constructor(client: EventHubManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists\n * in the Namespace.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param eventHubName The Event Hub name\n * @param options The options parameters.\n */\n public listByEventHub(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n options?: ConsumerGroupsListByEventHubOptionalParams,\n ): PagedAsyncIterableIterator<ConsumerGroup> {\n const iter = this.listByEventHubPagingAll(\n resourceGroupName,\n namespaceName,\n eventHubName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByEventHubPagingPage(\n resourceGroupName,\n namespaceName,\n eventHubName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByEventHubPagingPage(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n options?: ConsumerGroupsListByEventHubOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ConsumerGroup[]> {\n let result: ConsumerGroupsListByEventHubResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByEventHub(\n resourceGroupName,\n namespaceName,\n eventHubName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByEventHubNext(\n resourceGroupName,\n namespaceName,\n eventHubName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByEventHubPagingAll(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n options?: ConsumerGroupsListByEventHubOptionalParams,\n ): AsyncIterableIterator<ConsumerGroup> {\n for await (const page of this.listByEventHubPagingPage(\n resourceGroupName,\n namespaceName,\n eventHubName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates an Event Hubs consumer group as a nested resource within a Namespace.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param eventHubName The Event Hub name\n * @param consumerGroupName The consumer group name\n * @param parameters Parameters supplied to create or update a consumer group resource.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n consumerGroupName: string,\n parameters: ConsumerGroup,\n options?: ConsumerGroupsCreateOrUpdateOptionalParams,\n ): Promise<ConsumerGroupsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n eventHubName,\n consumerGroupName,\n parameters,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes a consumer group from the specified Event Hub and resource group.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param eventHubName The Event Hub name\n * @param consumerGroupName The consumer group name\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n consumerGroupName: string,\n options?: ConsumerGroupsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n eventHubName,\n consumerGroupName,\n options,\n },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets a description for the specified consumer group.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param eventHubName The Event Hub name\n * @param consumerGroupName The consumer group name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n consumerGroupName: string,\n options?: ConsumerGroupsGetOptionalParams,\n ): Promise<ConsumerGroupsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n eventHubName,\n consumerGroupName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists\n * in the Namespace.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param eventHubName The Event Hub name\n * @param options The options parameters.\n */\n private _listByEventHub(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n options?: ConsumerGroupsListByEventHubOptionalParams,\n ): Promise<ConsumerGroupsListByEventHubResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, eventHubName, options },\n listByEventHubOperationSpec,\n );\n }\n\n /**\n * ListByEventHubNext\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param eventHubName The Event Hub name\n * @param nextLink The nextLink from the previous successful call to the ListByEventHub method.\n * @param options The options parameters.\n */\n private _listByEventHubNext(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n nextLink: string,\n options?: ConsumerGroupsListByEventHubNextOptionalParams,\n ): Promise<ConsumerGroupsListByEventHubNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, eventHubName, nextLink, options },\n listByEventHubNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConsumerGroup,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters11,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.eventHubName,\n Parameters.consumerGroupName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.eventHubName,\n Parameters.consumerGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConsumerGroup,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.eventHubName,\n Parameters.consumerGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByEventHubOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConsumerGroupListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.eventHubName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByEventHubNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConsumerGroupListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.namespaceName,\n Parameters.eventHubName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"consumerGroups.js","sourceRoot":"","sources":["../../../src/operations/consumerGroups.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAetD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IACZ,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,cAAc,CACnB,iBAAyB,EACzB,aAAqB,EACrB,YAAoB,EACpB,OAAoD;QAEpD,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CACvC,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,wBAAwB,CAClC,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,C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QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ConsumerGroups } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { EventHubManagementClient } from \"../eventHubManagementClient.js\";\nimport {\n ConsumerGroup,\n ConsumerGroupsListByEventHubNextOptionalParams,\n ConsumerGroupsListByEventHubOptionalParams,\n ConsumerGroupsListByEventHubResponse,\n ConsumerGroupsCreateOrUpdateOptionalParams,\n ConsumerGroupsCreateOrUpdateResponse,\n ConsumerGroupsDeleteOptionalParams,\n ConsumerGroupsGetOptionalParams,\n ConsumerGroupsGetResponse,\n ConsumerGroupsListByEventHubNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConsumerGroups operations. */\nexport class ConsumerGroupsImpl implements ConsumerGroups {\n private readonly client: EventHubManagementClient;\n\n /**\n * Initialize a new instance of the class ConsumerGroups class.\n * @param client Reference to the service client\n */\n constructor(client: EventHubManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists\n * in the Namespace.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param eventHubName The Event Hub name\n * @param options The options parameters.\n */\n public listByEventHub(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n options?: ConsumerGroupsListByEventHubOptionalParams,\n ): PagedAsyncIterableIterator<ConsumerGroup> {\n const iter = this.listByEventHubPagingAll(\n resourceGroupName,\n namespaceName,\n eventHubName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByEventHubPagingPage(\n resourceGroupName,\n namespaceName,\n eventHubName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByEventHubPagingPage(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n options?: ConsumerGroupsListByEventHubOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ConsumerGroup[]> {\n let result: ConsumerGroupsListByEventHubResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByEventHub(\n resourceGroupName,\n namespaceName,\n eventHubName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByEventHubNext(\n resourceGroupName,\n namespaceName,\n eventHubName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByEventHubPagingAll(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n options?: ConsumerGroupsListByEventHubOptionalParams,\n ): AsyncIterableIterator<ConsumerGroup> {\n for await (const page of this.listByEventHubPagingPage(\n resourceGroupName,\n namespaceName,\n eventHubName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates an Event Hubs consumer group as a nested resource within a Namespace.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param eventHubName The Event Hub name\n * @param consumerGroupName The consumer group name\n * @param parameters Parameters supplied to create or update a consumer group resource.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n consumerGroupName: string,\n parameters: ConsumerGroup,\n options?: ConsumerGroupsCreateOrUpdateOptionalParams,\n ): Promise<ConsumerGroupsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n eventHubName,\n consumerGroupName,\n parameters,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes a consumer group from the specified Event Hub and resource group.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param eventHubName The Event Hub name\n * @param consumerGroupName The consumer group name\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n consumerGroupName: string,\n options?: ConsumerGroupsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n eventHubName,\n consumerGroupName,\n options,\n },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets a description for the specified consumer group.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param eventHubName The Event Hub name\n * @param consumerGroupName The consumer group name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n consumerGroupName: string,\n options?: ConsumerGroupsGetOptionalParams,\n ): Promise<ConsumerGroupsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n eventHubName,\n consumerGroupName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists\n * in the Namespace.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param eventHubName The Event Hub name\n * @param options The options parameters.\n */\n private _listByEventHub(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n options?: ConsumerGroupsListByEventHubOptionalParams,\n ): Promise<ConsumerGroupsListByEventHubResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, eventHubName, options },\n listByEventHubOperationSpec,\n );\n }\n\n /**\n * ListByEventHubNext\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param eventHubName The Event Hub name\n * @param nextLink The nextLink from the previous successful call to the ListByEventHub method.\n * @param options The options parameters.\n */\n private _listByEventHubNext(\n resourceGroupName: string,\n namespaceName: string,\n eventHubName: string,\n nextLink: string,\n options?: ConsumerGroupsListByEventHubNextOptionalParams,\n ): Promise<ConsumerGroupsListByEventHubNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, eventHubName, nextLink, options },\n listByEventHubNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConsumerGroup,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters11,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.eventHubName,\n Parameters.consumerGroupName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.eventHubName,\n Parameters.consumerGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConsumerGroup,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.eventHubName,\n Parameters.consumerGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByEventHubOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConsumerGroupListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.eventHubName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByEventHubNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConsumerGroupListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.namespaceName,\n Parameters.eventHubName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -5,7 +5,6 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
8
  import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
10
  import * as Mappers from "../models/mappers.js";
@@ -13,6 +12,7 @@ import * as Parameters from "../models/parameters.js";
13
12
  /// <reference lib="esnext.asynciterable" />
14
13
  /** Class containing DisasterRecoveryConfigs operations. */
15
14
  export class DisasterRecoveryConfigsImpl {
15
+ client;
16
16
  /**
17
17
  * Initialize a new instance of the class DisasterRecoveryConfigs class.
18
18
  * @param client Reference to the service client
@@ -37,52 +37,35 @@ export class DisasterRecoveryConfigsImpl {
37
37
  return this;
38
38
  },
39
39
  byPage: (settings) => {
40
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
+ if (settings?.maxPageSize) {
41
41
  throw new Error("maxPageSize is not supported by this operation.");
42
42
  }
43
43
  return this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, alias, options, settings);
44
44
  },
45
45
  };
46
46
  }
47
- listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, alias, options, settings) {
48
- return __asyncGenerator(this, arguments, function* listAuthorizationRulesPagingPage_1() {
49
- let result;
50
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
- if (!continuationToken) {
52
- result = yield __await(this._listAuthorizationRules(resourceGroupName, namespaceName, alias, options));
53
- let page = result.value || [];
54
- continuationToken = result.nextLink;
55
- setContinuationToken(page, continuationToken);
56
- yield yield __await(page);
57
- }
58
- while (continuationToken) {
59
- result = yield __await(this._listAuthorizationRulesNext(resourceGroupName, namespaceName, alias, continuationToken, options));
60
- continuationToken = result.nextLink;
61
- let page = result.value || [];
62
- setContinuationToken(page, continuationToken);
63
- yield yield __await(page);
64
- }
65
- });
47
+ async *listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, alias, options, settings) {
48
+ let result;
49
+ let continuationToken = settings?.continuationToken;
50
+ if (!continuationToken) {
51
+ result = await this._listAuthorizationRules(resourceGroupName, namespaceName, alias, options);
52
+ let page = result.value || [];
53
+ continuationToken = result.nextLink;
54
+ setContinuationToken(page, continuationToken);
55
+ yield page;
56
+ }
57
+ while (continuationToken) {
58
+ result = await this._listAuthorizationRulesNext(resourceGroupName, namespaceName, alias, continuationToken, options);
59
+ continuationToken = result.nextLink;
60
+ let page = result.value || [];
61
+ setContinuationToken(page, continuationToken);
62
+ yield page;
63
+ }
66
64
  }
67
- listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, alias, options) {
68
- return __asyncGenerator(this, arguments, function* listAuthorizationRulesPagingAll_1() {
69
- var _a, e_1, _b, _c;
70
- try {
71
- for (var _d = true, _e = __asyncValues(this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, alias, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
72
- _c = _f.value;
73
- _d = false;
74
- const page = _c;
75
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
76
- }
77
- }
78
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
79
- finally {
80
- try {
81
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
82
- }
83
- finally { if (e_1) throw e_1.error; }
84
- }
85
- });
65
+ async *listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, alias, options) {
66
+ for await (const page of this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, alias, options)) {
67
+ yield* page;
68
+ }
86
69
  }
87
70
  /**
88
71
  * Gets all Alias(Disaster Recovery configurations)
@@ -100,52 +83,35 @@ export class DisasterRecoveryConfigsImpl {
100
83
  return this;
101
84
  },
102
85
  byPage: (settings) => {
103
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
86
+ if (settings?.maxPageSize) {
104
87
  throw new Error("maxPageSize is not supported by this operation.");
105
88
  }
106
89
  return this.listPagingPage(resourceGroupName, namespaceName, options, settings);
107
90
  },
108
91
  };
109
92
  }
110
- listPagingPage(resourceGroupName, namespaceName, options, settings) {
111
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
112
- let result;
113
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
114
- if (!continuationToken) {
115
- result = yield __await(this._list(resourceGroupName, namespaceName, options));
116
- let page = result.value || [];
117
- continuationToken = result.nextLink;
118
- setContinuationToken(page, continuationToken);
119
- yield yield __await(page);
120
- }
121
- while (continuationToken) {
122
- result = yield __await(this._listNext(resourceGroupName, namespaceName, continuationToken, options));
123
- continuationToken = result.nextLink;
124
- let page = result.value || [];
125
- setContinuationToken(page, continuationToken);
126
- yield yield __await(page);
127
- }
128
- });
93
+ async *listPagingPage(resourceGroupName, namespaceName, options, settings) {
94
+ let result;
95
+ let continuationToken = settings?.continuationToken;
96
+ if (!continuationToken) {
97
+ result = await this._list(resourceGroupName, namespaceName, options);
98
+ let page = result.value || [];
99
+ continuationToken = result.nextLink;
100
+ setContinuationToken(page, continuationToken);
101
+ yield page;
102
+ }
103
+ while (continuationToken) {
104
+ result = await this._listNext(resourceGroupName, namespaceName, continuationToken, options);
105
+ continuationToken = result.nextLink;
106
+ let page = result.value || [];
107
+ setContinuationToken(page, continuationToken);
108
+ yield page;
109
+ }
129
110
  }
130
- listPagingAll(resourceGroupName, namespaceName, options) {
131
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
132
- var _a, e_2, _b, _c;
133
- try {
134
- for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
135
- _c = _f.value;
136
- _d = false;
137
- const page = _c;
138
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
139
- }
140
- }
141
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
142
- finally {
143
- try {
144
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
145
- }
146
- finally { if (e_2) throw e_2.error; }
147
- }
148
- });
111
+ async *listPagingAll(resourceGroupName, namespaceName, options) {
112
+ for await (const page of this.listPagingPage(resourceGroupName, namespaceName, options)) {
113
+ yield* page;
114
+ }
149
115
  }
150
116
  /**
151
117
  * Gets a list of authorization rules for a Namespace.
@@ -1 +1 @@
1
- {"version":3,"file":"disasterRecoveryConfigs.js","sourceRoot":"","sources":["../../../src/operations/disasterRecoveryConfigs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AA6BtD,4CAA4C;AAC5C,2DAA2D;AAC3D,MAAM,OAAO,2BAA2B;IAGtC;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,sBAAsB,CAC3B,iBAAyB,EACzB,aAAqB,EACrB,KAAa,EACb,OAAqE;QAErE,MAAM,IAAI,GAAG,IAAI,CAAC,+BAA+B,CAC/C,iBAAiB,EACjB,aAAa,EACb,KAAK,EACL,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;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BAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,KAAK;KACjB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uCAAuC,GAA6B;IACxE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,KAAK;KACjB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { DisasterRecoveryConfigs } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { EventHubManagementClient } from \"../eventHubManagementClient.js\";\nimport {\n AuthorizationRule,\n DisasterRecoveryConfigsListAuthorizationRulesNextOptionalParams,\n DisasterRecoveryConfigsListAuthorizationRulesOptionalParams,\n DisasterRecoveryConfigsListAuthorizationRulesResponse,\n ArmDisasterRecovery,\n DisasterRecoveryConfigsListNextOptionalParams,\n DisasterRecoveryConfigsListOptionalParams,\n DisasterRecoveryConfigsListResponse,\n DisasterRecoveryConfigsGetAuthorizationRuleOptionalParams,\n DisasterRecoveryConfigsGetAuthorizationRuleResponse,\n DisasterRecoveryConfigsListKeysOptionalParams,\n DisasterRecoveryConfigsListKeysResponse,\n CheckNameAvailabilityParameter,\n DisasterRecoveryConfigsCheckNameAvailabilityOptionalParams,\n DisasterRecoveryConfigsCheckNameAvailabilityResponse,\n DisasterRecoveryConfigsCreateOrUpdateOptionalParams,\n DisasterRecoveryConfigsCreateOrUpdateResponse,\n DisasterRecoveryConfigsDeleteOptionalParams,\n DisasterRecoveryConfigsGetOptionalParams,\n DisasterRecoveryConfigsGetResponse,\n DisasterRecoveryConfigsBreakPairingOptionalParams,\n DisasterRecoveryConfigsFailOverOptionalParams,\n DisasterRecoveryConfigsListAuthorizationRulesNextResponse,\n DisasterRecoveryConfigsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DisasterRecoveryConfigs operations. */\nexport class DisasterRecoveryConfigsImpl implements DisasterRecoveryConfigs {\n private readonly client: EventHubManagementClient;\n\n /**\n * Initialize a new instance of the class DisasterRecoveryConfigs class.\n * @param client Reference to the service client\n */\n constructor(client: EventHubManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of authorization rules for a Namespace.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param options The options parameters.\n */\n public listAuthorizationRules(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsListAuthorizationRulesOptionalParams,\n ): PagedAsyncIterableIterator<AuthorizationRule> {\n const iter = this.listAuthorizationRulesPagingAll(\n resourceGroupName,\n namespaceName,\n alias,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAuthorizationRulesPagingPage(\n resourceGroupName,\n namespaceName,\n alias,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listAuthorizationRulesPagingPage(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsListAuthorizationRulesOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AuthorizationRule[]> {\n let result: DisasterRecoveryConfigsListAuthorizationRulesResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAuthorizationRules(\n resourceGroupName,\n namespaceName,\n alias,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAuthorizationRulesNext(\n resourceGroupName,\n namespaceName,\n alias,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAuthorizationRulesPagingAll(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsListAuthorizationRulesOptionalParams,\n ): AsyncIterableIterator<AuthorizationRule> {\n for await (const page of this.listAuthorizationRulesPagingPage(\n resourceGroupName,\n namespaceName,\n alias,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all Alias(Disaster Recovery configurations)\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n namespaceName: string,\n options?: DisasterRecoveryConfigsListOptionalParams,\n ): PagedAsyncIterableIterator<ArmDisasterRecovery> {\n const iter = this.listPagingAll(resourceGroupName, namespaceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n namespaceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n namespaceName: string,\n options?: DisasterRecoveryConfigsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ArmDisasterRecovery[]> {\n let result: DisasterRecoveryConfigsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, namespaceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n namespaceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n namespaceName: string,\n options?: DisasterRecoveryConfigsListOptionalParams,\n ): AsyncIterableIterator<ArmDisasterRecovery> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n namespaceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of authorization rules for a Namespace.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param options The options parameters.\n */\n private _listAuthorizationRules(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsListAuthorizationRulesOptionalParams,\n ): Promise<DisasterRecoveryConfigsListAuthorizationRulesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, alias, options },\n listAuthorizationRulesOperationSpec,\n );\n }\n\n /**\n * Gets an AuthorizationRule for a Namespace by rule name.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param authorizationRuleName The authorization rule name.\n * @param options The options parameters.\n */\n getAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n authorizationRuleName: string,\n options?: DisasterRecoveryConfigsGetAuthorizationRuleOptionalParams,\n ): Promise<DisasterRecoveryConfigsGetAuthorizationRuleResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n alias,\n authorizationRuleName,\n options,\n },\n getAuthorizationRuleOperationSpec,\n );\n }\n\n /**\n * Gets the primary and secondary connection strings for the Namespace.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param authorizationRuleName The authorization rule name.\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n authorizationRuleName: string,\n options?: DisasterRecoveryConfigsListKeysOptionalParams,\n ): Promise<DisasterRecoveryConfigsListKeysResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n alias,\n authorizationRuleName,\n options,\n },\n listKeysOperationSpec,\n );\n }\n\n /**\n * Check the give Namespace name availability.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param parameters Parameters to check availability of the given Alias name\n * @param options The options parameters.\n */\n checkNameAvailability(\n resourceGroupName: string,\n namespaceName: string,\n parameters: CheckNameAvailabilityParameter,\n options?: DisasterRecoveryConfigsCheckNameAvailabilityOptionalParams,\n ): Promise<DisasterRecoveryConfigsCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, parameters, options },\n checkNameAvailabilityOperationSpec,\n );\n }\n\n /**\n * Gets all Alias(Disaster Recovery configurations)\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n namespaceName: string,\n options?: DisasterRecoveryConfigsListOptionalParams,\n ): Promise<DisasterRecoveryConfigsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Creates or updates a new Alias(Disaster Recovery configuration)\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param parameters Parameters required to create an Alias(Disaster Recovery configuration)\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n parameters: ArmDisasterRecovery,\n options?: DisasterRecoveryConfigsCreateOrUpdateOptionalParams,\n ): Promise<DisasterRecoveryConfigsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, alias, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes an Alias(Disaster Recovery configuration)\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, alias, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsGetOptionalParams,\n ): Promise<DisasterRecoveryConfigsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, alias, options },\n getOperationSpec,\n );\n }\n\n /**\n * This operation disables the Disaster Recovery and stops replicating changes from primary to\n * secondary namespaces\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param options The options parameters.\n */\n breakPairing(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsBreakPairingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, alias, options },\n breakPairingOperationSpec,\n );\n }\n\n /**\n * Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param options The options parameters.\n */\n failOver(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsFailOverOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, alias, options },\n failOverOperationSpec,\n );\n }\n\n /**\n * ListAuthorizationRulesNext\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param nextLink The nextLink from the previous successful call to the ListAuthorizationRules method.\n * @param options The options parameters.\n */\n private _listAuthorizationRulesNext(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n nextLink: string,\n options?: DisasterRecoveryConfigsListAuthorizationRulesNextOptionalParams,\n ): Promise<DisasterRecoveryConfigsListAuthorizationRulesNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, alias, nextLink, options },\n listAuthorizationRulesNextOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n namespaceName: string,\n nextLink: string,\n options?: DisasterRecoveryConfigsListNextOptionalParams,\n ): Promise<DisasterRecoveryConfigsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listAuthorizationRulesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AuthorizationRuleListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getAuthorizationRuleOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AuthorizationRule,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.authorizationRuleName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}/listKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccessKeys,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.authorizationRuleName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ArmDisasterRecoveryListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ArmDisasterRecovery,\n },\n 201: {\n bodyMapper: Mappers.ArmDisasterRecovery,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters9,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ArmDisasterRecovery,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst breakPairingOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/breakPairing\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst failOverOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/failover\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAuthorizationRulesNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AuthorizationRuleListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.namespaceName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ArmDisasterRecoveryListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.namespaceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"disasterRecoveryConfigs.js","sourceRoot":"","sources":["../../../src/operations/disasterRecoveryConfigs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,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AO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { DisasterRecoveryConfigs } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { EventHubManagementClient } from \"../eventHubManagementClient.js\";\nimport {\n AuthorizationRule,\n DisasterRecoveryConfigsListAuthorizationRulesNextOptionalParams,\n DisasterRecoveryConfigsListAuthorizationRulesOptionalParams,\n DisasterRecoveryConfigsListAuthorizationRulesResponse,\n ArmDisasterRecovery,\n DisasterRecoveryConfigsListNextOptionalParams,\n DisasterRecoveryConfigsListOptionalParams,\n DisasterRecoveryConfigsListResponse,\n DisasterRecoveryConfigsGetAuthorizationRuleOptionalParams,\n DisasterRecoveryConfigsGetAuthorizationRuleResponse,\n DisasterRecoveryConfigsListKeysOptionalParams,\n DisasterRecoveryConfigsListKeysResponse,\n CheckNameAvailabilityParameter,\n DisasterRecoveryConfigsCheckNameAvailabilityOptionalParams,\n DisasterRecoveryConfigsCheckNameAvailabilityResponse,\n DisasterRecoveryConfigsCreateOrUpdateOptionalParams,\n DisasterRecoveryConfigsCreateOrUpdateResponse,\n DisasterRecoveryConfigsDeleteOptionalParams,\n DisasterRecoveryConfigsGetOptionalParams,\n DisasterRecoveryConfigsGetResponse,\n DisasterRecoveryConfigsBreakPairingOptionalParams,\n DisasterRecoveryConfigsFailOverOptionalParams,\n DisasterRecoveryConfigsListAuthorizationRulesNextResponse,\n DisasterRecoveryConfigsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DisasterRecoveryConfigs operations. */\nexport class DisasterRecoveryConfigsImpl implements DisasterRecoveryConfigs {\n private readonly client: EventHubManagementClient;\n\n /**\n * Initialize a new instance of the class DisasterRecoveryConfigs class.\n * @param client Reference to the service client\n */\n constructor(client: EventHubManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of authorization rules for a Namespace.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param options The options parameters.\n */\n public listAuthorizationRules(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsListAuthorizationRulesOptionalParams,\n ): PagedAsyncIterableIterator<AuthorizationRule> {\n const iter = this.listAuthorizationRulesPagingAll(\n resourceGroupName,\n namespaceName,\n alias,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAuthorizationRulesPagingPage(\n resourceGroupName,\n namespaceName,\n alias,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listAuthorizationRulesPagingPage(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsListAuthorizationRulesOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AuthorizationRule[]> {\n let result: DisasterRecoveryConfigsListAuthorizationRulesResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAuthorizationRules(\n resourceGroupName,\n namespaceName,\n alias,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAuthorizationRulesNext(\n resourceGroupName,\n namespaceName,\n alias,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAuthorizationRulesPagingAll(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsListAuthorizationRulesOptionalParams,\n ): AsyncIterableIterator<AuthorizationRule> {\n for await (const page of this.listAuthorizationRulesPagingPage(\n resourceGroupName,\n namespaceName,\n alias,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all Alias(Disaster Recovery configurations)\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n namespaceName: string,\n options?: DisasterRecoveryConfigsListOptionalParams,\n ): PagedAsyncIterableIterator<ArmDisasterRecovery> {\n const iter = this.listPagingAll(resourceGroupName, namespaceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n namespaceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n namespaceName: string,\n options?: DisasterRecoveryConfigsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ArmDisasterRecovery[]> {\n let result: DisasterRecoveryConfigsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, namespaceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n namespaceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n namespaceName: string,\n options?: DisasterRecoveryConfigsListOptionalParams,\n ): AsyncIterableIterator<ArmDisasterRecovery> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n namespaceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of authorization rules for a Namespace.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param options The options parameters.\n */\n private _listAuthorizationRules(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsListAuthorizationRulesOptionalParams,\n ): Promise<DisasterRecoveryConfigsListAuthorizationRulesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, alias, options },\n listAuthorizationRulesOperationSpec,\n );\n }\n\n /**\n * Gets an AuthorizationRule for a Namespace by rule name.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param authorizationRuleName The authorization rule name.\n * @param options The options parameters.\n */\n getAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n authorizationRuleName: string,\n options?: DisasterRecoveryConfigsGetAuthorizationRuleOptionalParams,\n ): Promise<DisasterRecoveryConfigsGetAuthorizationRuleResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n alias,\n authorizationRuleName,\n options,\n },\n getAuthorizationRuleOperationSpec,\n );\n }\n\n /**\n * Gets the primary and secondary connection strings for the Namespace.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param authorizationRuleName The authorization rule name.\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n authorizationRuleName: string,\n options?: DisasterRecoveryConfigsListKeysOptionalParams,\n ): Promise<DisasterRecoveryConfigsListKeysResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n alias,\n authorizationRuleName,\n options,\n },\n listKeysOperationSpec,\n );\n }\n\n /**\n * Check the give Namespace name availability.\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param parameters Parameters to check availability of the given Alias name\n * @param options The options parameters.\n */\n checkNameAvailability(\n resourceGroupName: string,\n namespaceName: string,\n parameters: CheckNameAvailabilityParameter,\n options?: DisasterRecoveryConfigsCheckNameAvailabilityOptionalParams,\n ): Promise<DisasterRecoveryConfigsCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, parameters, options },\n checkNameAvailabilityOperationSpec,\n );\n }\n\n /**\n * Gets all Alias(Disaster Recovery configurations)\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n namespaceName: string,\n options?: DisasterRecoveryConfigsListOptionalParams,\n ): Promise<DisasterRecoveryConfigsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Creates or updates a new Alias(Disaster Recovery configuration)\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param parameters Parameters required to create an Alias(Disaster Recovery configuration)\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n parameters: ArmDisasterRecovery,\n options?: DisasterRecoveryConfigsCreateOrUpdateOptionalParams,\n ): Promise<DisasterRecoveryConfigsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, alias, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes an Alias(Disaster Recovery configuration)\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, alias, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsGetOptionalParams,\n ): Promise<DisasterRecoveryConfigsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, alias, options },\n getOperationSpec,\n );\n }\n\n /**\n * This operation disables the Disaster Recovery and stops replicating changes from primary to\n * secondary namespaces\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param options The options parameters.\n */\n breakPairing(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsBreakPairingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, alias, options },\n breakPairingOperationSpec,\n );\n }\n\n /**\n * Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param options The options parameters.\n */\n failOver(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n options?: DisasterRecoveryConfigsFailOverOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, alias, options },\n failOverOperationSpec,\n );\n }\n\n /**\n * ListAuthorizationRulesNext\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param alias The Disaster Recovery configuration name\n * @param nextLink The nextLink from the previous successful call to the ListAuthorizationRules method.\n * @param options The options parameters.\n */\n private _listAuthorizationRulesNext(\n resourceGroupName: string,\n namespaceName: string,\n alias: string,\n nextLink: string,\n options?: DisasterRecoveryConfigsListAuthorizationRulesNextOptionalParams,\n ): Promise<DisasterRecoveryConfigsListAuthorizationRulesNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, alias, nextLink, options },\n listAuthorizationRulesNextOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName Name of the resource group within the azure subscription.\n * @param namespaceName The Namespace name\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n namespaceName: string,\n nextLink: string,\n options?: DisasterRecoveryConfigsListNextOptionalParams,\n ): Promise<DisasterRecoveryConfigsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listAuthorizationRulesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AuthorizationRuleListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getAuthorizationRuleOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AuthorizationRule,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.authorizationRuleName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}/listKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccessKeys,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.authorizationRuleName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ArmDisasterRecoveryListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ArmDisasterRecovery,\n },\n 201: {\n bodyMapper: Mappers.ArmDisasterRecovery,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters9,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ArmDisasterRecovery,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst breakPairingOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/breakPairing\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst failOverOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/failover\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAuthorizationRulesNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AuthorizationRuleListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.namespaceName,\n Parameters.alias,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ArmDisasterRecoveryListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.namespaceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}