@azure/arm-relay 0.1.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +21 -21
  3. package/README.md +98 -96
  4. package/dist/index.js +2907 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +493 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +9 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +23 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +369 -416
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +20 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +169 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/hybridConnections.d.ts +137 -0
  29. package/dist-esm/src/operations/hybridConnections.d.ts.map +1 -0
  30. package/dist-esm/src/operations/hybridConnections.js +571 -0
  31. package/dist-esm/src/operations/hybridConnections.js.map +1 -0
  32. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/{esm → dist-esm/src}/operations/index.js +3 -5
  35. package/dist-esm/src/operations/index.js.map +1 -0
  36. package/dist-esm/src/operations/namespaces.d.ts +174 -0
  37. package/dist-esm/src/operations/namespaces.d.ts.map +1 -0
  38. package/dist-esm/src/operations/namespaces.js +771 -0
  39. package/dist-esm/src/operations/namespaces.js.map +1 -0
  40. package/dist-esm/src/operations/operations.d.ts +32 -0
  41. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/operations.js +120 -0
  43. package/dist-esm/src/operations/operations.js.map +1 -0
  44. package/dist-esm/src/operations/wCFRelays.d.ts +137 -0
  45. package/dist-esm/src/operations/wCFRelays.d.ts.map +1 -0
  46. package/dist-esm/src/operations/wCFRelays.js +554 -0
  47. package/dist-esm/src/operations/wCFRelays.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/hybridConnections.d.ts +93 -0
  49. package/dist-esm/src/operationsInterfaces/hybridConnections.d.ts.map +1 -0
  50. package/dist-esm/src/operationsInterfaces/hybridConnections.js +9 -0
  51. package/dist-esm/src/operationsInterfaces/hybridConnections.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  53. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/index.js +12 -0
  55. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/namespaces.d.ts +121 -0
  57. package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/namespaces.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/namespaces.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  61. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/wCFRelays.d.ts +93 -0
  65. package/dist-esm/src/operationsInterfaces/wCFRelays.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/wCFRelays.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/wCFRelays.js.map +1 -0
  68. package/dist-esm/src/relayAPI.d.ts +22 -0
  69. package/dist-esm/src/relayAPI.d.ts.map +1 -0
  70. package/dist-esm/src/relayAPI.js +55 -0
  71. package/dist-esm/src/relayAPI.js.map +1 -0
  72. package/dist-esm/test/relay_examples.d.ts +4 -0
  73. package/dist-esm/test/relay_examples.d.ts.map +1 -0
  74. package/dist-esm/test/relay_examples.js +240 -0
  75. package/dist-esm/test/relay_examples.js.map +1 -0
  76. package/package.json +71 -34
  77. package/review/arm-relay.api.md +539 -0
  78. package/rollup.config.js +184 -27
  79. package/src/index.ts +12 -0
  80. package/src/lroImpl.ts +34 -0
  81. package/src/models/index.ts +611 -0
  82. package/{lib → src}/models/mappers.ts +366 -413
  83. package/src/models/parameters.ts +200 -0
  84. package/src/operations/hybridConnections.ts +780 -0
  85. package/{lib → src}/operations/index.ts +3 -5
  86. package/src/operations/namespaces.ts +1028 -0
  87. package/src/operations/operations.ts +137 -0
  88. package/src/operations/wCFRelays.ts +763 -0
  89. package/src/operationsInterfaces/hybridConnections.ts +179 -0
  90. package/src/operationsInterfaces/index.ts +12 -0
  91. package/src/operationsInterfaces/namespaces.ts +228 -0
  92. package/src/operationsInterfaces/operations.ts +22 -0
  93. package/src/operationsInterfaces/wCFRelays.ts +179 -0
  94. package/src/relayAPI.ts +92 -0
  95. package/tsconfig.json +4 -4
  96. package/types/arm-relay.d.ts +931 -0
  97. package/types/tsdoc-metadata.json +11 -0
  98. package/dist/arm-relay.js +0 -2593
  99. package/dist/arm-relay.js.map +0 -1
  100. package/dist/arm-relay.min.js +0 -1
  101. package/dist/arm-relay.min.js.map +0 -1
  102. package/esm/models/hybridConnectionsMappers.d.ts +0 -2
  103. package/esm/models/hybridConnectionsMappers.d.ts.map +0 -1
  104. package/esm/models/hybridConnectionsMappers.js +0 -11
  105. package/esm/models/hybridConnectionsMappers.js.map +0 -1
  106. package/esm/models/index.d.ts +0 -1231
  107. package/esm/models/index.d.ts.map +0 -1
  108. package/esm/models/index.js +0 -10
  109. package/esm/models/index.js.map +0 -1
  110. package/esm/models/mappers.d.ts +0 -25
  111. package/esm/models/mappers.d.ts.map +0 -1
  112. package/esm/models/mappers.js.map +0 -1
  113. package/esm/models/namespacesMappers.d.ts +0 -2
  114. package/esm/models/namespacesMappers.d.ts.map +0 -1
  115. package/esm/models/namespacesMappers.js +0 -11
  116. package/esm/models/namespacesMappers.js.map +0 -1
  117. package/esm/models/operationsMappers.d.ts +0 -2
  118. package/esm/models/operationsMappers.d.ts.map +0 -1
  119. package/esm/models/operationsMappers.js +0 -11
  120. package/esm/models/operationsMappers.js.map +0 -1
  121. package/esm/models/parameters.d.ts +0 -11
  122. package/esm/models/parameters.d.ts.map +0 -1
  123. package/esm/models/parameters.js +0 -118
  124. package/esm/models/parameters.js.map +0 -1
  125. package/esm/models/wCFRelaysMappers.d.ts +0 -2
  126. package/esm/models/wCFRelaysMappers.d.ts.map +0 -1
  127. package/esm/models/wCFRelaysMappers.js +0 -11
  128. package/esm/models/wCFRelaysMappers.js.map +0 -1
  129. package/esm/operations/hybridConnections.d.ts +0 -310
  130. package/esm/operations/hybridConnections.d.ts.map +0 -1
  131. package/esm/operations/hybridConnections.js +0 -431
  132. package/esm/operations/hybridConnections.js.map +0 -1
  133. package/esm/operations/index.d.ts.map +0 -1
  134. package/esm/operations/index.js.map +0 -1
  135. package/esm/operations/namespaces.d.ts +0 -348
  136. package/esm/operations/namespaces.d.ts.map +0 -1
  137. package/esm/operations/namespaces.js +0 -579
  138. package/esm/operations/namespaces.js.map +0 -1
  139. package/esm/operations/operations.d.ts +0 -46
  140. package/esm/operations/operations.d.ts.map +0 -1
  141. package/esm/operations/operations.js +0 -77
  142. package/esm/operations/operations.js.map +0 -1
  143. package/esm/operations/wCFRelays.d.ts +0 -310
  144. package/esm/operations/wCFRelays.d.ts.map +0 -1
  145. package/esm/operations/wCFRelays.js +0 -432
  146. package/esm/operations/wCFRelays.js.map +0 -1
  147. package/esm/relayManagementClient.d.ts +0 -22
  148. package/esm/relayManagementClient.d.ts.map +0 -1
  149. package/esm/relayManagementClient.js +0 -37
  150. package/esm/relayManagementClient.js.map +0 -1
  151. package/esm/relayManagementClientContext.d.ts +0 -17
  152. package/esm/relayManagementClientContext.d.ts.map +0 -1
  153. package/esm/relayManagementClientContext.js +0 -57
  154. package/esm/relayManagementClientContext.js.map +0 -1
  155. package/lib/models/hybridConnectionsMappers.ts +0 -28
  156. package/lib/models/index.ts +0 -1304
  157. package/lib/models/namespacesMappers.ts +0 -30
  158. package/lib/models/operationsMappers.ts +0 -17
  159. package/lib/models/parameters.ts +0 -120
  160. package/lib/models/wCFRelaysMappers.ts +0 -29
  161. package/lib/operations/hybridConnections.ts +0 -799
  162. package/lib/operations/namespaces.ts +0 -977
  163. package/lib/operations/operations.ts +0 -123
  164. package/lib/operations/wCFRelays.ts +0 -800
  165. package/lib/relayManagementClient.ts +0 -49
  166. package/lib/relayManagementClientContext.ts +0 -63
@@ -0,0 +1,554 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing WCFRelays operations. */
14
+ export class WCFRelaysImpl {
15
+ /**
16
+ * Initialize a new instance of the class WCFRelays class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists the WCF relays within the namespace.
24
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
25
+ * @param namespaceName The namespace name
26
+ * @param options The options parameters.
27
+ */
28
+ listByNamespace(resourceGroupName, namespaceName, options) {
29
+ const iter = this.listByNamespacePagingAll(resourceGroupName, namespaceName, options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: () => {
38
+ return this.listByNamespacePagingPage(resourceGroupName, namespaceName, options);
39
+ }
40
+ };
41
+ }
42
+ listByNamespacePagingPage(resourceGroupName, namespaceName, options) {
43
+ return __asyncGenerator(this, arguments, function* listByNamespacePagingPage_1() {
44
+ let result = yield __await(this._listByNamespace(resourceGroupName, namespaceName, options));
45
+ yield yield __await(result.value || []);
46
+ let continuationToken = result.nextLink;
47
+ while (continuationToken) {
48
+ result = yield __await(this._listByNamespaceNext(resourceGroupName, namespaceName, continuationToken, options));
49
+ continuationToken = result.nextLink;
50
+ yield yield __await(result.value || []);
51
+ }
52
+ });
53
+ }
54
+ listByNamespacePagingAll(resourceGroupName, namespaceName, options) {
55
+ return __asyncGenerator(this, arguments, function* listByNamespacePagingAll_1() {
56
+ var e_1, _a;
57
+ try {
58
+ for (var _b = __asyncValues(this.listByNamespacePagingPage(resourceGroupName, namespaceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
59
+ const page = _c.value;
60
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
61
+ }
62
+ }
63
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
64
+ finally {
65
+ try {
66
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
67
+ }
68
+ finally { if (e_1) throw e_1.error; }
69
+ }
70
+ });
71
+ }
72
+ /**
73
+ * Authorization rules for a WCF relay.
74
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
75
+ * @param namespaceName The namespace name
76
+ * @param relayName The relay name.
77
+ * @param options The options parameters.
78
+ */
79
+ listAuthorizationRules(resourceGroupName, namespaceName, relayName, options) {
80
+ const iter = this.listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, relayName, options);
81
+ return {
82
+ next() {
83
+ return iter.next();
84
+ },
85
+ [Symbol.asyncIterator]() {
86
+ return this;
87
+ },
88
+ byPage: () => {
89
+ return this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, relayName, options);
90
+ }
91
+ };
92
+ }
93
+ listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, relayName, options) {
94
+ return __asyncGenerator(this, arguments, function* listAuthorizationRulesPagingPage_1() {
95
+ let result = yield __await(this._listAuthorizationRules(resourceGroupName, namespaceName, relayName, options));
96
+ yield yield __await(result.value || []);
97
+ let continuationToken = result.nextLink;
98
+ while (continuationToken) {
99
+ result = yield __await(this._listAuthorizationRulesNext(resourceGroupName, namespaceName, relayName, continuationToken, options));
100
+ continuationToken = result.nextLink;
101
+ yield yield __await(result.value || []);
102
+ }
103
+ });
104
+ }
105
+ listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, relayName, options) {
106
+ return __asyncGenerator(this, arguments, function* listAuthorizationRulesPagingAll_1() {
107
+ var e_2, _a;
108
+ try {
109
+ for (var _b = __asyncValues(this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, relayName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
110
+ const page = _c.value;
111
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
112
+ }
113
+ }
114
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
115
+ finally {
116
+ try {
117
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
118
+ }
119
+ finally { if (e_2) throw e_2.error; }
120
+ }
121
+ });
122
+ }
123
+ /**
124
+ * Lists the WCF relays within the namespace.
125
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
126
+ * @param namespaceName The namespace name
127
+ * @param options The options parameters.
128
+ */
129
+ _listByNamespace(resourceGroupName, namespaceName, options) {
130
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, options }, listByNamespaceOperationSpec);
131
+ }
132
+ /**
133
+ * Creates or updates a WCF relay. This operation is idempotent.
134
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
135
+ * @param namespaceName The namespace name
136
+ * @param relayName The relay name.
137
+ * @param parameters Parameters supplied to create a WCF relay.
138
+ * @param options The options parameters.
139
+ */
140
+ createOrUpdate(resourceGroupName, namespaceName, relayName, parameters, options) {
141
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, relayName, parameters, options }, createOrUpdateOperationSpec);
142
+ }
143
+ /**
144
+ * Deletes a WCF relay.
145
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
146
+ * @param namespaceName The namespace name
147
+ * @param relayName The relay name.
148
+ * @param options The options parameters.
149
+ */
150
+ delete(resourceGroupName, namespaceName, relayName, options) {
151
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, relayName, options }, deleteOperationSpec);
152
+ }
153
+ /**
154
+ * Returns the description for the specified WCF relay.
155
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
156
+ * @param namespaceName The namespace name
157
+ * @param relayName The relay name.
158
+ * @param options The options parameters.
159
+ */
160
+ get(resourceGroupName, namespaceName, relayName, options) {
161
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, relayName, options }, getOperationSpec);
162
+ }
163
+ /**
164
+ * Authorization rules for a WCF relay.
165
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
166
+ * @param namespaceName The namespace name
167
+ * @param relayName The relay name.
168
+ * @param options The options parameters.
169
+ */
170
+ _listAuthorizationRules(resourceGroupName, namespaceName, relayName, options) {
171
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, relayName, options }, listAuthorizationRulesOperationSpec);
172
+ }
173
+ /**
174
+ * Creates or updates an authorization rule for a WCF relay.
175
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
176
+ * @param namespaceName The namespace name
177
+ * @param relayName The relay name.
178
+ * @param authorizationRuleName The authorization rule name.
179
+ * @param parameters The authorization rule parameters.
180
+ * @param options The options parameters.
181
+ */
182
+ createOrUpdateAuthorizationRule(resourceGroupName, namespaceName, relayName, authorizationRuleName, parameters, options) {
183
+ return this.client.sendOperationRequest({
184
+ resourceGroupName,
185
+ namespaceName,
186
+ relayName,
187
+ authorizationRuleName,
188
+ parameters,
189
+ options
190
+ }, createOrUpdateAuthorizationRuleOperationSpec);
191
+ }
192
+ /**
193
+ * Deletes a WCF relay authorization rule.
194
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
195
+ * @param namespaceName The namespace name
196
+ * @param relayName The relay name.
197
+ * @param authorizationRuleName The authorization rule name.
198
+ * @param options The options parameters.
199
+ */
200
+ deleteAuthorizationRule(resourceGroupName, namespaceName, relayName, authorizationRuleName, options) {
201
+ return this.client.sendOperationRequest({
202
+ resourceGroupName,
203
+ namespaceName,
204
+ relayName,
205
+ authorizationRuleName,
206
+ options
207
+ }, deleteAuthorizationRuleOperationSpec);
208
+ }
209
+ /**
210
+ * Get authorizationRule for a WCF relay by name.
211
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
212
+ * @param namespaceName The namespace name
213
+ * @param relayName The relay name.
214
+ * @param authorizationRuleName The authorization rule name.
215
+ * @param options The options parameters.
216
+ */
217
+ getAuthorizationRule(resourceGroupName, namespaceName, relayName, authorizationRuleName, options) {
218
+ return this.client.sendOperationRequest({
219
+ resourceGroupName,
220
+ namespaceName,
221
+ relayName,
222
+ authorizationRuleName,
223
+ options
224
+ }, getAuthorizationRuleOperationSpec);
225
+ }
226
+ /**
227
+ * Primary and secondary connection strings to the WCF relay.
228
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
229
+ * @param namespaceName The namespace name
230
+ * @param relayName The relay name.
231
+ * @param authorizationRuleName The authorization rule name.
232
+ * @param options The options parameters.
233
+ */
234
+ listKeys(resourceGroupName, namespaceName, relayName, authorizationRuleName, options) {
235
+ return this.client.sendOperationRequest({
236
+ resourceGroupName,
237
+ namespaceName,
238
+ relayName,
239
+ authorizationRuleName,
240
+ options
241
+ }, listKeysOperationSpec);
242
+ }
243
+ /**
244
+ * Regenerates the primary or secondary connection strings to the WCF relay.
245
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
246
+ * @param namespaceName The namespace name
247
+ * @param relayName The relay name.
248
+ * @param authorizationRuleName The authorization rule name.
249
+ * @param parameters Parameters supplied to regenerate authorization rule.
250
+ * @param options The options parameters.
251
+ */
252
+ regenerateKeys(resourceGroupName, namespaceName, relayName, authorizationRuleName, parameters, options) {
253
+ return this.client.sendOperationRequest({
254
+ resourceGroupName,
255
+ namespaceName,
256
+ relayName,
257
+ authorizationRuleName,
258
+ parameters,
259
+ options
260
+ }, regenerateKeysOperationSpec);
261
+ }
262
+ /**
263
+ * ListByNamespaceNext
264
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
265
+ * @param namespaceName The namespace name
266
+ * @param nextLink The nextLink from the previous successful call to the ListByNamespace method.
267
+ * @param options The options parameters.
268
+ */
269
+ _listByNamespaceNext(resourceGroupName, namespaceName, nextLink, options) {
270
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, nextLink, options }, listByNamespaceNextOperationSpec);
271
+ }
272
+ /**
273
+ * ListAuthorizationRulesNext
274
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
275
+ * @param namespaceName The namespace name
276
+ * @param relayName The relay name.
277
+ * @param nextLink The nextLink from the previous successful call to the ListAuthorizationRules method.
278
+ * @param options The options parameters.
279
+ */
280
+ _listAuthorizationRulesNext(resourceGroupName, namespaceName, relayName, nextLink, options) {
281
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, relayName, nextLink, options }, listAuthorizationRulesNextOperationSpec);
282
+ }
283
+ }
284
+ // Operation Specifications
285
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
286
+ const listByNamespaceOperationSpec = {
287
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays",
288
+ httpMethod: "GET",
289
+ responses: {
290
+ 200: {
291
+ bodyMapper: Mappers.WcfRelaysListResult
292
+ },
293
+ default: {
294
+ bodyMapper: Mappers.ErrorResponse
295
+ }
296
+ },
297
+ queryParameters: [Parameters.apiVersion],
298
+ urlParameters: [
299
+ Parameters.$host,
300
+ Parameters.subscriptionId,
301
+ Parameters.resourceGroupName,
302
+ Parameters.namespaceName
303
+ ],
304
+ headerParameters: [Parameters.accept],
305
+ serializer
306
+ };
307
+ const createOrUpdateOperationSpec = {
308
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}",
309
+ httpMethod: "PUT",
310
+ responses: {
311
+ 200: {
312
+ bodyMapper: Mappers.WcfRelay
313
+ },
314
+ default: {
315
+ bodyMapper: Mappers.ErrorResponse
316
+ }
317
+ },
318
+ requestBody: Parameters.parameters6,
319
+ queryParameters: [Parameters.apiVersion],
320
+ urlParameters: [
321
+ Parameters.$host,
322
+ Parameters.subscriptionId,
323
+ Parameters.resourceGroupName,
324
+ Parameters.namespaceName,
325
+ Parameters.relayName
326
+ ],
327
+ headerParameters: [Parameters.accept, Parameters.contentType],
328
+ mediaType: "json",
329
+ serializer
330
+ };
331
+ const deleteOperationSpec = {
332
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}",
333
+ httpMethod: "DELETE",
334
+ responses: {
335
+ 200: {},
336
+ 204: {},
337
+ default: {
338
+ bodyMapper: Mappers.ErrorResponse
339
+ }
340
+ },
341
+ queryParameters: [Parameters.apiVersion],
342
+ urlParameters: [
343
+ Parameters.$host,
344
+ Parameters.subscriptionId,
345
+ Parameters.resourceGroupName,
346
+ Parameters.namespaceName,
347
+ Parameters.relayName
348
+ ],
349
+ headerParameters: [Parameters.accept],
350
+ serializer
351
+ };
352
+ const getOperationSpec = {
353
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}",
354
+ httpMethod: "GET",
355
+ responses: {
356
+ 200: {
357
+ bodyMapper: Mappers.WcfRelay
358
+ },
359
+ 204: {},
360
+ default: {
361
+ bodyMapper: Mappers.ErrorResponse
362
+ }
363
+ },
364
+ queryParameters: [Parameters.apiVersion],
365
+ urlParameters: [
366
+ Parameters.$host,
367
+ Parameters.subscriptionId,
368
+ Parameters.resourceGroupName,
369
+ Parameters.namespaceName,
370
+ Parameters.relayName
371
+ ],
372
+ headerParameters: [Parameters.accept],
373
+ serializer
374
+ };
375
+ const listAuthorizationRulesOperationSpec = {
376
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules",
377
+ httpMethod: "GET",
378
+ responses: {
379
+ 200: {
380
+ bodyMapper: Mappers.AuthorizationRuleListResult
381
+ }
382
+ },
383
+ queryParameters: [Parameters.apiVersion],
384
+ urlParameters: [
385
+ Parameters.$host,
386
+ Parameters.subscriptionId,
387
+ Parameters.resourceGroupName,
388
+ Parameters.namespaceName,
389
+ Parameters.relayName
390
+ ],
391
+ headerParameters: [Parameters.accept],
392
+ serializer
393
+ };
394
+ const createOrUpdateAuthorizationRuleOperationSpec = {
395
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}",
396
+ httpMethod: "PUT",
397
+ responses: {
398
+ 200: {
399
+ bodyMapper: Mappers.AuthorizationRule
400
+ },
401
+ default: {
402
+ bodyMapper: Mappers.ErrorResponse
403
+ }
404
+ },
405
+ requestBody: Parameters.parameters3,
406
+ queryParameters: [Parameters.apiVersion],
407
+ urlParameters: [
408
+ Parameters.$host,
409
+ Parameters.subscriptionId,
410
+ Parameters.resourceGroupName,
411
+ Parameters.namespaceName,
412
+ Parameters.authorizationRuleName,
413
+ Parameters.relayName
414
+ ],
415
+ headerParameters: [Parameters.accept, Parameters.contentType],
416
+ mediaType: "json",
417
+ serializer
418
+ };
419
+ const deleteAuthorizationRuleOperationSpec = {
420
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}",
421
+ httpMethod: "DELETE",
422
+ responses: {
423
+ 200: {},
424
+ 204: {},
425
+ default: {
426
+ bodyMapper: Mappers.ErrorResponse
427
+ }
428
+ },
429
+ queryParameters: [Parameters.apiVersion],
430
+ urlParameters: [
431
+ Parameters.$host,
432
+ Parameters.subscriptionId,
433
+ Parameters.resourceGroupName,
434
+ Parameters.namespaceName,
435
+ Parameters.authorizationRuleName,
436
+ Parameters.relayName
437
+ ],
438
+ headerParameters: [Parameters.accept],
439
+ serializer
440
+ };
441
+ const getAuthorizationRuleOperationSpec = {
442
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}",
443
+ httpMethod: "GET",
444
+ responses: {
445
+ 200: {
446
+ bodyMapper: Mappers.AuthorizationRule
447
+ },
448
+ default: {
449
+ bodyMapper: Mappers.ErrorResponse
450
+ }
451
+ },
452
+ queryParameters: [Parameters.apiVersion],
453
+ urlParameters: [
454
+ Parameters.$host,
455
+ Parameters.subscriptionId,
456
+ Parameters.resourceGroupName,
457
+ Parameters.namespaceName,
458
+ Parameters.authorizationRuleName,
459
+ Parameters.relayName
460
+ ],
461
+ headerParameters: [Parameters.accept],
462
+ serializer
463
+ };
464
+ const listKeysOperationSpec = {
465
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}/listKeys",
466
+ httpMethod: "POST",
467
+ responses: {
468
+ 200: {
469
+ bodyMapper: Mappers.AccessKeys
470
+ },
471
+ default: {
472
+ bodyMapper: Mappers.ErrorResponse
473
+ }
474
+ },
475
+ queryParameters: [Parameters.apiVersion],
476
+ urlParameters: [
477
+ Parameters.$host,
478
+ Parameters.subscriptionId,
479
+ Parameters.resourceGroupName,
480
+ Parameters.namespaceName,
481
+ Parameters.authorizationRuleName,
482
+ Parameters.relayName
483
+ ],
484
+ headerParameters: [Parameters.accept],
485
+ serializer
486
+ };
487
+ const regenerateKeysOperationSpec = {
488
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}/regenerateKeys",
489
+ httpMethod: "POST",
490
+ responses: {
491
+ 200: {
492
+ bodyMapper: Mappers.AccessKeys
493
+ },
494
+ default: {
495
+ bodyMapper: Mappers.ErrorResponse
496
+ }
497
+ },
498
+ requestBody: Parameters.parameters4,
499
+ queryParameters: [Parameters.apiVersion],
500
+ urlParameters: [
501
+ Parameters.$host,
502
+ Parameters.subscriptionId,
503
+ Parameters.resourceGroupName,
504
+ Parameters.namespaceName,
505
+ Parameters.authorizationRuleName,
506
+ Parameters.relayName
507
+ ],
508
+ headerParameters: [Parameters.accept, Parameters.contentType],
509
+ mediaType: "json",
510
+ serializer
511
+ };
512
+ const listByNamespaceNextOperationSpec = {
513
+ path: "{nextLink}",
514
+ httpMethod: "GET",
515
+ responses: {
516
+ 200: {
517
+ bodyMapper: Mappers.WcfRelaysListResult
518
+ },
519
+ default: {
520
+ bodyMapper: Mappers.ErrorResponse
521
+ }
522
+ },
523
+ queryParameters: [Parameters.apiVersion],
524
+ urlParameters: [
525
+ Parameters.$host,
526
+ Parameters.nextLink,
527
+ Parameters.subscriptionId,
528
+ Parameters.resourceGroupName,
529
+ Parameters.namespaceName
530
+ ],
531
+ headerParameters: [Parameters.accept],
532
+ serializer
533
+ };
534
+ const listAuthorizationRulesNextOperationSpec = {
535
+ path: "{nextLink}",
536
+ httpMethod: "GET",
537
+ responses: {
538
+ 200: {
539
+ bodyMapper: Mappers.AuthorizationRuleListResult
540
+ }
541
+ },
542
+ queryParameters: [Parameters.apiVersion],
543
+ urlParameters: [
544
+ Parameters.$host,
545
+ Parameters.nextLink,
546
+ Parameters.subscriptionId,
547
+ Parameters.resourceGroupName,
548
+ Parameters.namespaceName,
549
+ Parameters.relayName
550
+ ],
551
+ headerParameters: [Parameters.accept],
552
+ serializer
553
+ };
554
+ //# sourceMappingURL=wCFRelays.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wCFRelays.js","sourceRoot":"","sources":["../../../src/operations/wCFRelays.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AA8BnD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAgB;QAC1B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,eAAe,CACpB,iBAAyB,EACzB,aAAqB,EACrB,OAAgD;QAEhD,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CACxC,iBAAiB,EACjB,aAAa,EACb,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,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,yBAAyB,CACnC,iBAAiB,EACjB,aAAa,EACb,OAAO,CACR,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,yBAAyB,CACtC,iBAAyB,EACzB,aAAqB,EACrB,OAAgD;;YAEhD,IAAI,MAAM,GAAG,cAAM,IAAI,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U,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,93 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { HybridConnection, HybridConnectionsListByNamespaceOptionalParams, AuthorizationRule, HybridConnectionsListAuthorizationRulesOptionalParams, HybridConnectionsCreateOrUpdateOptionalParams, HybridConnectionsCreateOrUpdateResponse, HybridConnectionsDeleteOptionalParams, HybridConnectionsGetOptionalParams, HybridConnectionsGetResponse, HybridConnectionsCreateOrUpdateAuthorizationRuleOptionalParams, HybridConnectionsCreateOrUpdateAuthorizationRuleResponse, HybridConnectionsDeleteAuthorizationRuleOptionalParams, HybridConnectionsGetAuthorizationRuleOptionalParams, HybridConnectionsGetAuthorizationRuleResponse, HybridConnectionsListKeysOptionalParams, HybridConnectionsListKeysResponse, RegenerateAccessKeyParameters, HybridConnectionsRegenerateKeysOptionalParams, HybridConnectionsRegenerateKeysResponse } from "../models";
3
+ /** Interface representing a HybridConnections. */
4
+ export interface HybridConnections {
5
+ /**
6
+ * Lists the hybrid connection within the namespace.
7
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
8
+ * @param namespaceName The namespace name
9
+ * @param options The options parameters.
10
+ */
11
+ listByNamespace(resourceGroupName: string, namespaceName: string, options?: HybridConnectionsListByNamespaceOptionalParams): PagedAsyncIterableIterator<HybridConnection>;
12
+ /**
13
+ * Authorization rules for a hybrid connection.
14
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
15
+ * @param namespaceName The namespace name
16
+ * @param hybridConnectionName The hybrid connection name.
17
+ * @param options The options parameters.
18
+ */
19
+ listAuthorizationRules(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: HybridConnectionsListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<AuthorizationRule>;
20
+ /**
21
+ * Creates or updates a service hybrid connection. This operation is idempotent.
22
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
23
+ * @param namespaceName The namespace name
24
+ * @param hybridConnectionName The hybrid connection name.
25
+ * @param parameters Parameters supplied to create a hybrid connection.
26
+ * @param options The options parameters.
27
+ */
28
+ createOrUpdate(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, parameters: HybridConnection, options?: HybridConnectionsCreateOrUpdateOptionalParams): Promise<HybridConnectionsCreateOrUpdateResponse>;
29
+ /**
30
+ * Deletes a hybrid connection.
31
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
32
+ * @param namespaceName The namespace name
33
+ * @param hybridConnectionName The hybrid connection name.
34
+ * @param options The options parameters.
35
+ */
36
+ delete(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: HybridConnectionsDeleteOptionalParams): Promise<void>;
37
+ /**
38
+ * Returns the description for the specified hybrid connection.
39
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
40
+ * @param namespaceName The namespace name
41
+ * @param hybridConnectionName The hybrid connection name.
42
+ * @param options The options parameters.
43
+ */
44
+ get(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: HybridConnectionsGetOptionalParams): Promise<HybridConnectionsGetResponse>;
45
+ /**
46
+ * Creates or updates an authorization rule for a hybrid connection.
47
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
48
+ * @param namespaceName The namespace name
49
+ * @param hybridConnectionName The hybrid connection name.
50
+ * @param authorizationRuleName The authorization rule name.
51
+ * @param parameters The authorization rule parameters.
52
+ * @param options The options parameters.
53
+ */
54
+ createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: AuthorizationRule, options?: HybridConnectionsCreateOrUpdateAuthorizationRuleOptionalParams): Promise<HybridConnectionsCreateOrUpdateAuthorizationRuleResponse>;
55
+ /**
56
+ * Deletes a hybrid connection authorization rule.
57
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
58
+ * @param namespaceName The namespace name
59
+ * @param hybridConnectionName The hybrid connection name.
60
+ * @param authorizationRuleName The authorization rule name.
61
+ * @param options The options parameters.
62
+ */
63
+ deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: HybridConnectionsDeleteAuthorizationRuleOptionalParams): Promise<void>;
64
+ /**
65
+ * Hybrid connection authorization rule for a hybrid connection by name.
66
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
67
+ * @param namespaceName The namespace name
68
+ * @param hybridConnectionName The hybrid connection name.
69
+ * @param authorizationRuleName The authorization rule name.
70
+ * @param options The options parameters.
71
+ */
72
+ getAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: HybridConnectionsGetAuthorizationRuleOptionalParams): Promise<HybridConnectionsGetAuthorizationRuleResponse>;
73
+ /**
74
+ * Primary and secondary connection strings to the hybrid connection.
75
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
76
+ * @param namespaceName The namespace name
77
+ * @param hybridConnectionName The hybrid connection name.
78
+ * @param authorizationRuleName The authorization rule name.
79
+ * @param options The options parameters.
80
+ */
81
+ listKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: HybridConnectionsListKeysOptionalParams): Promise<HybridConnectionsListKeysResponse>;
82
+ /**
83
+ * Regenerates the primary or secondary connection strings to the hybrid connection.
84
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
85
+ * @param namespaceName The namespace name
86
+ * @param hybridConnectionName The hybrid connection name.
87
+ * @param authorizationRuleName The authorization rule name.
88
+ * @param parameters Parameters supplied to regenerate authorization rule.
89
+ * @param options The options parameters.
90
+ */
91
+ regenerateKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: RegenerateAccessKeyParameters, options?: HybridConnectionsRegenerateKeysOptionalParams): Promise<HybridConnectionsRegenerateKeysResponse>;
92
+ }
93
+ //# sourceMappingURL=hybridConnections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hybridConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/hybridConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,gBAAgB,EAChB,8CAA8C,EAC9C,iBAAiB,EACjB,qDAAqD,EACrD,6CAA6C,EAC7C,uCAAuC,EACvC,qCAAqC,EACrC,kCAAkC,EAClC,4BAA4B,EAC5B,8DAA8D,EAC9D,wDAAwD,EACxD,sDAAsD,EACtD,mDAAmD,EACnD,6CAA6C,EAC7C,uCAAuC,EACvC,iCAAiC,EACjC,6BAA6B,EAC7B,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,WAAW,CAAC;AAGnB,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC;;;;;OAKG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,gBAAgB,CAAC,CAAC;IAChD;;;;;;OAMG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;IACjD;;;;;;;OAOG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,oBAAoB,EAAE,MAAM,EAC5B,UAAU,EAAE,gBAAgB,EAC5B,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;IACpD;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACr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