@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
@@ -1,1304 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
12
- import * as msRest from "@azure/ms-rest-js";
13
-
14
- export { BaseResource, CloudError };
15
-
16
-
17
- /**
18
- * @interface
19
- * An interface representing Resource.
20
- * The resource definition.
21
- *
22
- * @extends BaseResource
23
- */
24
- export interface Resource extends BaseResource {
25
- /**
26
- * @member {string} [id] Resource ID.
27
- * **NOTE: This property will not be serialized. It can only be populated by
28
- * the server.**
29
- */
30
- readonly id?: string;
31
- /**
32
- * @member {string} [name] Resource name.
33
- * **NOTE: This property will not be serialized. It can only be populated by
34
- * the server.**
35
- */
36
- readonly name?: string;
37
- /**
38
- * @member {string} [type] Resource type.
39
- * **NOTE: This property will not be serialized. It can only be populated by
40
- * the server.**
41
- */
42
- readonly type?: string;
43
- }
44
-
45
- /**
46
- * @interface
47
- * An interface representing TrackedResource.
48
- * Definition of resource.
49
- *
50
- * @extends Resource
51
- */
52
- export interface TrackedResource extends Resource {
53
- /**
54
- * @member {string} location Resource location.
55
- */
56
- location: string;
57
- /**
58
- * @member {{ [propertyName: string]: string }} [tags] Resource tags.
59
- */
60
- tags?: { [propertyName: string]: string };
61
- }
62
-
63
- /**
64
- * @interface
65
- * An interface representing ResourceNamespacePatch.
66
- * Definition of resource.
67
- *
68
- * @extends Resource
69
- */
70
- export interface ResourceNamespacePatch extends Resource {
71
- /**
72
- * @member {{ [propertyName: string]: string }} [tags] Resource tags.
73
- */
74
- tags?: { [propertyName: string]: string };
75
- }
76
-
77
- /**
78
- * @interface
79
- * An interface representing HybridConnection.
80
- * Description of hybrid connection resource.
81
- *
82
- * @extends Resource
83
- */
84
- export interface HybridConnection extends Resource {
85
- /**
86
- * @member {Date} [createdAt] The time the hybrid connection was created.
87
- * **NOTE: This property will not be serialized. It can only be populated by
88
- * the server.**
89
- */
90
- readonly createdAt?: Date;
91
- /**
92
- * @member {Date} [updatedAt] The time the namespace was updated.
93
- * **NOTE: This property will not be serialized. It can only be populated by
94
- * the server.**
95
- */
96
- readonly updatedAt?: Date;
97
- /**
98
- * @member {number} [listenerCount] The number of listeners for this hybrid
99
- * connection. Note that min : 1 and max:25 are supported.
100
- * **NOTE: This property will not be serialized. It can only be populated by
101
- * the server.**
102
- */
103
- readonly listenerCount?: number;
104
- /**
105
- * @member {boolean} [requiresClientAuthorization] Returns true if client
106
- * authorization is needed for this hybrid connection; otherwise, false.
107
- */
108
- requiresClientAuthorization?: boolean;
109
- /**
110
- * @member {string} [userMetadata] The usermetadata is a placeholder to store
111
- * user-defined string data for the hybrid connection endpoint. For example,
112
- * it can be used to store descriptive data, such as a list of teams and
113
- * their contact information. Also, user-defined configuration settings can
114
- * be stored.
115
- */
116
- userMetadata?: string;
117
- }
118
-
119
- /**
120
- * @interface
121
- * An interface representing WcfRelay.
122
- * Description of the WCF relay resource.
123
- *
124
- * @extends Resource
125
- */
126
- export interface WcfRelay extends Resource {
127
- /**
128
- * @member {boolean} [isDynamic] Returns true if the relay is dynamic;
129
- * otherwise, false.
130
- * **NOTE: This property will not be serialized. It can only be populated by
131
- * the server.**
132
- */
133
- readonly isDynamic?: boolean;
134
- /**
135
- * @member {Date} [createdAt] The time the WCF relay was created.
136
- * **NOTE: This property will not be serialized. It can only be populated by
137
- * the server.**
138
- */
139
- readonly createdAt?: Date;
140
- /**
141
- * @member {Date} [updatedAt] The time the namespace was updated.
142
- * **NOTE: This property will not be serialized. It can only be populated by
143
- * the server.**
144
- */
145
- readonly updatedAt?: Date;
146
- /**
147
- * @member {number} [listenerCount] The number of listeners for this relay.
148
- * Note that min :1 and max:25 are supported.
149
- * **NOTE: This property will not be serialized. It can only be populated by
150
- * the server.**
151
- */
152
- readonly listenerCount?: number;
153
- /**
154
- * @member {Relaytype} [relayType] WCF relay type. Possible values include:
155
- * 'NetTcp', 'Http'
156
- */
157
- relayType?: Relaytype;
158
- /**
159
- * @member {boolean} [requiresClientAuthorization] Returns true if client
160
- * authorization is needed for this relay; otherwise, false.
161
- */
162
- requiresClientAuthorization?: boolean;
163
- /**
164
- * @member {boolean} [requiresTransportSecurity] Returns true if transport
165
- * security is needed for this relay; otherwise, false.
166
- */
167
- requiresTransportSecurity?: boolean;
168
- /**
169
- * @member {string} [userMetadata] The usermetadata is a placeholder to store
170
- * user-defined string data for the WCF Relay endpoint. For example, it can
171
- * be used to store descriptive data, such as list of teams and their contact
172
- * information. Also, user-defined configuration settings can be stored.
173
- */
174
- userMetadata?: string;
175
- }
176
-
177
- /**
178
- * @interface
179
- * An interface representing Sku.
180
- * SKU of the namespace.
181
- *
182
- */
183
- export interface Sku {
184
- /**
185
- * @member {SkuTier} [tier] The tier of this SKU. Possible values include:
186
- * 'Standard'
187
- */
188
- tier?: SkuTier;
189
- }
190
-
191
- /**
192
- * @interface
193
- * An interface representing RelayNamespace.
194
- * Description of a namespace resource.
195
- *
196
- * @extends TrackedResource
197
- */
198
- export interface RelayNamespace extends TrackedResource {
199
- /**
200
- * @member {Sku} [sku] SKU of the namespace.
201
- */
202
- sku?: Sku;
203
- /**
204
- * @member {ProvisioningStateEnum} [provisioningState] Possible values
205
- * include: 'Created', 'Succeeded', 'Deleted', 'Failed', 'Updating',
206
- * 'Unknown'
207
- * **NOTE: This property will not be serialized. It can only be populated by
208
- * the server.**
209
- */
210
- readonly provisioningState?: ProvisioningStateEnum;
211
- /**
212
- * @member {Date} [createdAt] The time the namespace was created.
213
- * **NOTE: This property will not be serialized. It can only be populated by
214
- * the server.**
215
- */
216
- readonly createdAt?: Date;
217
- /**
218
- * @member {Date} [updatedAt] The time the namespace was updated.
219
- * **NOTE: This property will not be serialized. It can only be populated by
220
- * the server.**
221
- */
222
- readonly updatedAt?: Date;
223
- /**
224
- * @member {string} [serviceBusEndpoint] Endpoint you can use to perform
225
- * Service Bus operations.
226
- * **NOTE: This property will not be serialized. It can only be populated by
227
- * the server.**
228
- */
229
- readonly serviceBusEndpoint?: string;
230
- /**
231
- * @member {string} [metricId] Identifier for Azure Insights metrics.
232
- * **NOTE: This property will not be serialized. It can only be populated by
233
- * the server.**
234
- */
235
- readonly metricId?: string;
236
- }
237
-
238
- /**
239
- * @interface
240
- * An interface representing RelayUpdateParameters.
241
- * Description of a namespace resource.
242
- *
243
- * @extends ResourceNamespacePatch
244
- */
245
- export interface RelayUpdateParameters extends ResourceNamespacePatch {
246
- /**
247
- * @member {Sku} [sku] SKU of the namespace.
248
- */
249
- sku?: Sku;
250
- /**
251
- * @member {ProvisioningStateEnum} [provisioningState] Possible values
252
- * include: 'Created', 'Succeeded', 'Deleted', 'Failed', 'Updating',
253
- * 'Unknown'
254
- * **NOTE: This property will not be serialized. It can only be populated by
255
- * the server.**
256
- */
257
- readonly provisioningState?: ProvisioningStateEnum;
258
- /**
259
- * @member {Date} [createdAt] The time the namespace was created.
260
- * **NOTE: This property will not be serialized. It can only be populated by
261
- * the server.**
262
- */
263
- readonly createdAt?: Date;
264
- /**
265
- * @member {Date} [updatedAt] The time the namespace was updated.
266
- * **NOTE: This property will not be serialized. It can only be populated by
267
- * the server.**
268
- */
269
- readonly updatedAt?: Date;
270
- /**
271
- * @member {string} [serviceBusEndpoint] Endpoint you can use to perform
272
- * Service Bus operations.
273
- * **NOTE: This property will not be serialized. It can only be populated by
274
- * the server.**
275
- */
276
- readonly serviceBusEndpoint?: string;
277
- /**
278
- * @member {string} [metricId] Identifier for Azure Insights metrics.
279
- * **NOTE: This property will not be serialized. It can only be populated by
280
- * the server.**
281
- */
282
- readonly metricId?: string;
283
- }
284
-
285
- /**
286
- * @interface
287
- * An interface representing AuthorizationRule.
288
- * Description of a namespace authorization rule.
289
- *
290
- * @extends Resource
291
- */
292
- export interface AuthorizationRule extends Resource {
293
- /**
294
- * @member {AccessRights[]} rights The rights associated with the rule.
295
- */
296
- rights: AccessRights[];
297
- }
298
-
299
- /**
300
- * @interface
301
- * An interface representing AccessKeys.
302
- * Namespace/Relay Connection String
303
- *
304
- */
305
- export interface AccessKeys {
306
- /**
307
- * @member {string} [primaryConnectionString] Primary connection string of
308
- * the created namespace authorization rule.
309
- */
310
- primaryConnectionString?: string;
311
- /**
312
- * @member {string} [secondaryConnectionString] Secondary connection string
313
- * of the created namespace authorization rule.
314
- */
315
- secondaryConnectionString?: string;
316
- /**
317
- * @member {string} [primaryKey] A base64-encoded 256-bit primary key for
318
- * signing and validating the SAS token.
319
- */
320
- primaryKey?: string;
321
- /**
322
- * @member {string} [secondaryKey] A base64-encoded 256-bit secondary key for
323
- * signing and validating the SAS token.
324
- */
325
- secondaryKey?: string;
326
- /**
327
- * @member {string} [keyName] A string that describes the authorization rule.
328
- */
329
- keyName?: string;
330
- }
331
-
332
- /**
333
- * @interface
334
- * An interface representing RegenerateAccessKeyParameters.
335
- * Parameters supplied to the regenerate authorization rule operation,
336
- * specifies which key neeeds to be reset.
337
- *
338
- */
339
- export interface RegenerateAccessKeyParameters {
340
- /**
341
- * @member {KeyType} keyType The access key to regenerate. Possible values
342
- * include: 'PrimaryKey', 'SecondaryKey'
343
- */
344
- keyType: KeyType;
345
- /**
346
- * @member {string} [key] Optional. If the key value is provided, this is set
347
- * to key type, or autogenerated key value set for key type.
348
- */
349
- key?: string;
350
- }
351
-
352
- /**
353
- * @interface
354
- * An interface representing CheckNameAvailability.
355
- * Description of the check name availability request properties.
356
- *
357
- */
358
- export interface CheckNameAvailability {
359
- /**
360
- * @member {string} name The namespace name to check for availability. The
361
- * namespace name can contain only letters, numbers, and hyphens. The
362
- * namespace must start with a letter, and it must end with a letter or
363
- * number.
364
- */
365
- name: string;
366
- }
367
-
368
- /**
369
- * @interface
370
- * An interface representing CheckNameAvailabilityResult.
371
- * Description of the check name availability request properties.
372
- *
373
- */
374
- export interface CheckNameAvailabilityResult {
375
- /**
376
- * @member {string} [message] The detailed info regarding the reason
377
- * associated with the namespace.
378
- * **NOTE: This property will not be serialized. It can only be populated by
379
- * the server.**
380
- */
381
- readonly message?: string;
382
- /**
383
- * @member {boolean} [nameAvailable] Value indicating namespace is available.
384
- * Returns true if the namespace is available; otherwise, false.
385
- */
386
- nameAvailable?: boolean;
387
- /**
388
- * @member {UnavailableReason} [reason] The reason for unavailability of a
389
- * namespace. Possible values include: 'None', 'InvalidName',
390
- * 'SubscriptionIsDisabled', 'NameInUse', 'NameInLockdown',
391
- * 'TooManyNamespaceInCurrentSubscription'
392
- */
393
- reason?: UnavailableReason;
394
- }
395
-
396
- /**
397
- * @interface
398
- * An interface representing OperationDisplay.
399
- * The object that represents the operation.
400
- *
401
- */
402
- export interface OperationDisplay {
403
- /**
404
- * @member {string} [provider] Service provider: Relay.
405
- * **NOTE: This property will not be serialized. It can only be populated by
406
- * the server.**
407
- */
408
- readonly provider?: string;
409
- /**
410
- * @member {string} [resource] Resource on which the operation is performed:
411
- * Invoice, etc.
412
- * **NOTE: This property will not be serialized. It can only be populated by
413
- * the server.**
414
- */
415
- readonly resource?: string;
416
- /**
417
- * @member {string} [operation] Operation type: Read, write, delete, etc.
418
- * **NOTE: This property will not be serialized. It can only be populated by
419
- * the server.**
420
- */
421
- readonly operation?: string;
422
- }
423
-
424
- /**
425
- * @interface
426
- * An interface representing Operation.
427
- * A Relay REST API operation.
428
- *
429
- */
430
- export interface Operation {
431
- /**
432
- * @member {string} [name] Operation name: {provider}/{resource}/{operation}
433
- * **NOTE: This property will not be serialized. It can only be populated by
434
- * the server.**
435
- */
436
- readonly name?: string;
437
- /**
438
- * @member {OperationDisplay} [display] The object that represents the
439
- * operation.
440
- */
441
- display?: OperationDisplay;
442
- }
443
-
444
- /**
445
- * @interface
446
- * An interface representing ErrorResponse.
447
- * Error reponse indicates Relay service is not able to process the incoming
448
- * request. The reason is provided in the error message.
449
- *
450
- */
451
- export interface ErrorResponse {
452
- /**
453
- * @member {string} [code] Error code.
454
- */
455
- code?: string;
456
- /**
457
- * @member {string} [message] Error message indicating why the operation
458
- * failed.
459
- */
460
- message?: string;
461
- }
462
-
463
- /**
464
- * @interface
465
- * An interface representing RelayManagementClientOptions.
466
- * @extends AzureServiceClientOptions
467
- */
468
- export interface RelayManagementClientOptions extends AzureServiceClientOptions {
469
- /**
470
- * @member {string} [baseUri]
471
- */
472
- baseUri?: string;
473
- }
474
-
475
-
476
- /**
477
- * @interface
478
- * An interface representing the OperationListResult.
479
- * Result of the request to list Relay operations. It contains a list of
480
- * operations and a URL link to get the next set of results.
481
- *
482
- * @extends Array<Operation>
483
- */
484
- export interface OperationListResult extends Array<Operation> {
485
- /**
486
- * @member {string} [nextLink] URL to get the next set of operation list
487
- * results if there are any.
488
- * **NOTE: This property will not be serialized. It can only be populated by
489
- * the server.**
490
- */
491
- readonly nextLink?: string;
492
- }
493
-
494
- /**
495
- * @interface
496
- * An interface representing the RelayNamespaceListResult.
497
- * The response from the list namespace operation.
498
- *
499
- * @extends Array<RelayNamespace>
500
- */
501
- export interface RelayNamespaceListResult extends Array<RelayNamespace> {
502
- /**
503
- * @member {string} [nextLink] Link to the next set of results. Not empty if
504
- * value contains incomplete list of namespaces.
505
- */
506
- nextLink?: string;
507
- }
508
-
509
- /**
510
- * @interface
511
- * An interface representing the AuthorizationRuleListResult.
512
- * The response from the list namespace operation.
513
- *
514
- * @extends Array<AuthorizationRule>
515
- */
516
- export interface AuthorizationRuleListResult extends Array<AuthorizationRule> {
517
- /**
518
- * @member {string} [nextLink] Link to the next set of results. Not empty if
519
- * value contains incomplete list of authorization rules.
520
- */
521
- nextLink?: string;
522
- }
523
-
524
- /**
525
- * @interface
526
- * An interface representing the HybridConnectionListResult.
527
- * The response of the list hybrid connection operation.
528
- *
529
- * @extends Array<HybridConnection>
530
- */
531
- export interface HybridConnectionListResult extends Array<HybridConnection> {
532
- /**
533
- * @member {string} [nextLink] Link to the next set of results. Not empty if
534
- * value contains incomplete list hybrid connection operation.
535
- */
536
- nextLink?: string;
537
- }
538
-
539
- /**
540
- * @interface
541
- * An interface representing the WcfRelaysListResult.
542
- * The response of the list WCF relay operation.
543
- *
544
- * @extends Array<WcfRelay>
545
- */
546
- export interface WcfRelaysListResult extends Array<WcfRelay> {
547
- /**
548
- * @member {string} [nextLink] Link to the next set of results. Not empty if
549
- * value contains incomplete list of WCF relays.
550
- */
551
- nextLink?: string;
552
- }
553
-
554
- /**
555
- * Defines values for Relaytype.
556
- * Possible values include: 'NetTcp', 'Http'
557
- * @readonly
558
- * @enum {string}
559
- */
560
- export type Relaytype = 'NetTcp' | 'Http';
561
-
562
- /**
563
- * Defines values for SkuTier.
564
- * Possible values include: 'Standard'
565
- * @readonly
566
- * @enum {string}
567
- */
568
- export type SkuTier = 'Standard';
569
-
570
- /**
571
- * Defines values for ProvisioningStateEnum.
572
- * Possible values include: 'Created', 'Succeeded', 'Deleted', 'Failed', 'Updating', 'Unknown'
573
- * @readonly
574
- * @enum {string}
575
- */
576
- export type ProvisioningStateEnum = 'Created' | 'Succeeded' | 'Deleted' | 'Failed' | 'Updating' | 'Unknown';
577
-
578
- /**
579
- * Defines values for AccessRights.
580
- * Possible values include: 'Manage', 'Send', 'Listen'
581
- * @readonly
582
- * @enum {string}
583
- */
584
- export type AccessRights = 'Manage' | 'Send' | 'Listen';
585
-
586
- /**
587
- * Defines values for KeyType.
588
- * Possible values include: 'PrimaryKey', 'SecondaryKey'
589
- * @readonly
590
- * @enum {string}
591
- */
592
- export type KeyType = 'PrimaryKey' | 'SecondaryKey';
593
-
594
- /**
595
- * Defines values for UnavailableReason.
596
- * Possible values include: 'None', 'InvalidName', 'SubscriptionIsDisabled', 'NameInUse',
597
- * 'NameInLockdown', 'TooManyNamespaceInCurrentSubscription'
598
- * @readonly
599
- * @enum {string}
600
- */
601
- export type UnavailableReason = 'None' | 'InvalidName' | 'SubscriptionIsDisabled' | 'NameInUse' | 'NameInLockdown' | 'TooManyNamespaceInCurrentSubscription';
602
-
603
- /**
604
- * Contains response data for the list operation.
605
- */
606
- export type OperationsListResponse = OperationListResult & {
607
- /**
608
- * The underlying HTTP response.
609
- */
610
- _response: msRest.HttpResponse & {
611
- /**
612
- * The response body as text (string format)
613
- */
614
- bodyAsText: string;
615
- /**
616
- * The response body as parsed JSON or XML
617
- */
618
- parsedBody: OperationListResult;
619
- };
620
- };
621
-
622
- /**
623
- * Contains response data for the listNext operation.
624
- */
625
- export type OperationsListNextResponse = OperationListResult & {
626
- /**
627
- * The underlying HTTP response.
628
- */
629
- _response: msRest.HttpResponse & {
630
- /**
631
- * The response body as text (string format)
632
- */
633
- bodyAsText: string;
634
- /**
635
- * The response body as parsed JSON or XML
636
- */
637
- parsedBody: OperationListResult;
638
- };
639
- };
640
-
641
- /**
642
- * Contains response data for the checkNameAvailabilityMethod operation.
643
- */
644
- export type NamespacesCheckNameAvailabilityMethodResponse = CheckNameAvailabilityResult & {
645
- /**
646
- * The underlying HTTP response.
647
- */
648
- _response: msRest.HttpResponse & {
649
- /**
650
- * The response body as text (string format)
651
- */
652
- bodyAsText: string;
653
- /**
654
- * The response body as parsed JSON or XML
655
- */
656
- parsedBody: CheckNameAvailabilityResult;
657
- };
658
- };
659
-
660
- /**
661
- * Contains response data for the list operation.
662
- */
663
- export type NamespacesListResponse = RelayNamespaceListResult & {
664
- /**
665
- * The underlying HTTP response.
666
- */
667
- _response: msRest.HttpResponse & {
668
- /**
669
- * The response body as text (string format)
670
- */
671
- bodyAsText: string;
672
- /**
673
- * The response body as parsed JSON or XML
674
- */
675
- parsedBody: RelayNamespaceListResult;
676
- };
677
- };
678
-
679
- /**
680
- * Contains response data for the listByResourceGroup operation.
681
- */
682
- export type NamespacesListByResourceGroupResponse = RelayNamespaceListResult & {
683
- /**
684
- * The underlying HTTP response.
685
- */
686
- _response: msRest.HttpResponse & {
687
- /**
688
- * The response body as text (string format)
689
- */
690
- bodyAsText: string;
691
- /**
692
- * The response body as parsed JSON or XML
693
- */
694
- parsedBody: RelayNamespaceListResult;
695
- };
696
- };
697
-
698
- /**
699
- * Contains response data for the createOrUpdate operation.
700
- */
701
- export type NamespacesCreateOrUpdateResponse = RelayNamespace & {
702
- /**
703
- * The underlying HTTP response.
704
- */
705
- _response: msRest.HttpResponse & {
706
- /**
707
- * The response body as text (string format)
708
- */
709
- bodyAsText: string;
710
- /**
711
- * The response body as parsed JSON or XML
712
- */
713
- parsedBody: RelayNamespace;
714
- };
715
- };
716
-
717
- /**
718
- * Contains response data for the get operation.
719
- */
720
- export type NamespacesGetResponse = RelayNamespace & {
721
- /**
722
- * The underlying HTTP response.
723
- */
724
- _response: msRest.HttpResponse & {
725
- /**
726
- * The response body as text (string format)
727
- */
728
- bodyAsText: string;
729
- /**
730
- * The response body as parsed JSON or XML
731
- */
732
- parsedBody: RelayNamespace;
733
- };
734
- };
735
-
736
- /**
737
- * Contains response data for the update operation.
738
- */
739
- export type NamespacesUpdateResponse = RelayNamespace & {
740
- /**
741
- * The underlying HTTP response.
742
- */
743
- _response: msRest.HttpResponse & {
744
- /**
745
- * The response body as text (string format)
746
- */
747
- bodyAsText: string;
748
- /**
749
- * The response body as parsed JSON or XML
750
- */
751
- parsedBody: RelayNamespace;
752
- };
753
- };
754
-
755
- /**
756
- * Contains response data for the listAuthorizationRules operation.
757
- */
758
- export type NamespacesListAuthorizationRulesResponse = AuthorizationRuleListResult & {
759
- /**
760
- * The underlying HTTP response.
761
- */
762
- _response: msRest.HttpResponse & {
763
- /**
764
- * The response body as text (string format)
765
- */
766
- bodyAsText: string;
767
- /**
768
- * The response body as parsed JSON or XML
769
- */
770
- parsedBody: AuthorizationRuleListResult;
771
- };
772
- };
773
-
774
- /**
775
- * Contains response data for the createOrUpdateAuthorizationRule operation.
776
- */
777
- export type NamespacesCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule & {
778
- /**
779
- * The underlying HTTP response.
780
- */
781
- _response: msRest.HttpResponse & {
782
- /**
783
- * The response body as text (string format)
784
- */
785
- bodyAsText: string;
786
- /**
787
- * The response body as parsed JSON or XML
788
- */
789
- parsedBody: AuthorizationRule;
790
- };
791
- };
792
-
793
- /**
794
- * Contains response data for the getAuthorizationRule operation.
795
- */
796
- export type NamespacesGetAuthorizationRuleResponse = AuthorizationRule & {
797
- /**
798
- * The underlying HTTP response.
799
- */
800
- _response: msRest.HttpResponse & {
801
- /**
802
- * The response body as text (string format)
803
- */
804
- bodyAsText: string;
805
- /**
806
- * The response body as parsed JSON or XML
807
- */
808
- parsedBody: AuthorizationRule;
809
- };
810
- };
811
-
812
- /**
813
- * Contains response data for the listKeys operation.
814
- */
815
- export type NamespacesListKeysResponse = AccessKeys & {
816
- /**
817
- * The underlying HTTP response.
818
- */
819
- _response: msRest.HttpResponse & {
820
- /**
821
- * The response body as text (string format)
822
- */
823
- bodyAsText: string;
824
- /**
825
- * The response body as parsed JSON or XML
826
- */
827
- parsedBody: AccessKeys;
828
- };
829
- };
830
-
831
- /**
832
- * Contains response data for the regenerateKeys operation.
833
- */
834
- export type NamespacesRegenerateKeysResponse = AccessKeys & {
835
- /**
836
- * The underlying HTTP response.
837
- */
838
- _response: msRest.HttpResponse & {
839
- /**
840
- * The response body as text (string format)
841
- */
842
- bodyAsText: string;
843
- /**
844
- * The response body as parsed JSON or XML
845
- */
846
- parsedBody: AccessKeys;
847
- };
848
- };
849
-
850
- /**
851
- * Contains response data for the beginCreateOrUpdate operation.
852
- */
853
- export type NamespacesBeginCreateOrUpdateResponse = RelayNamespace & {
854
- /**
855
- * The underlying HTTP response.
856
- */
857
- _response: msRest.HttpResponse & {
858
- /**
859
- * The response body as text (string format)
860
- */
861
- bodyAsText: string;
862
- /**
863
- * The response body as parsed JSON or XML
864
- */
865
- parsedBody: RelayNamespace;
866
- };
867
- };
868
-
869
- /**
870
- * Contains response data for the listNext operation.
871
- */
872
- export type NamespacesListNextResponse = RelayNamespaceListResult & {
873
- /**
874
- * The underlying HTTP response.
875
- */
876
- _response: msRest.HttpResponse & {
877
- /**
878
- * The response body as text (string format)
879
- */
880
- bodyAsText: string;
881
- /**
882
- * The response body as parsed JSON or XML
883
- */
884
- parsedBody: RelayNamespaceListResult;
885
- };
886
- };
887
-
888
- /**
889
- * Contains response data for the listByResourceGroupNext operation.
890
- */
891
- export type NamespacesListByResourceGroupNextResponse = RelayNamespaceListResult & {
892
- /**
893
- * The underlying HTTP response.
894
- */
895
- _response: msRest.HttpResponse & {
896
- /**
897
- * The response body as text (string format)
898
- */
899
- bodyAsText: string;
900
- /**
901
- * The response body as parsed JSON or XML
902
- */
903
- parsedBody: RelayNamespaceListResult;
904
- };
905
- };
906
-
907
- /**
908
- * Contains response data for the listAuthorizationRulesNext operation.
909
- */
910
- export type NamespacesListAuthorizationRulesNextResponse = AuthorizationRuleListResult & {
911
- /**
912
- * The underlying HTTP response.
913
- */
914
- _response: msRest.HttpResponse & {
915
- /**
916
- * The response body as text (string format)
917
- */
918
- bodyAsText: string;
919
- /**
920
- * The response body as parsed JSON or XML
921
- */
922
- parsedBody: AuthorizationRuleListResult;
923
- };
924
- };
925
-
926
- /**
927
- * Contains response data for the listByNamespace operation.
928
- */
929
- export type HybridConnectionsListByNamespaceResponse = HybridConnectionListResult & {
930
- /**
931
- * The underlying HTTP response.
932
- */
933
- _response: msRest.HttpResponse & {
934
- /**
935
- * The response body as text (string format)
936
- */
937
- bodyAsText: string;
938
- /**
939
- * The response body as parsed JSON or XML
940
- */
941
- parsedBody: HybridConnectionListResult;
942
- };
943
- };
944
-
945
- /**
946
- * Contains response data for the createOrUpdate operation.
947
- */
948
- export type HybridConnectionsCreateOrUpdateResponse = HybridConnection & {
949
- /**
950
- * The underlying HTTP response.
951
- */
952
- _response: msRest.HttpResponse & {
953
- /**
954
- * The response body as text (string format)
955
- */
956
- bodyAsText: string;
957
- /**
958
- * The response body as parsed JSON or XML
959
- */
960
- parsedBody: HybridConnection;
961
- };
962
- };
963
-
964
- /**
965
- * Contains response data for the get operation.
966
- */
967
- export type HybridConnectionsGetResponse = HybridConnection & {
968
- /**
969
- * The underlying HTTP response.
970
- */
971
- _response: msRest.HttpResponse & {
972
- /**
973
- * The response body as text (string format)
974
- */
975
- bodyAsText: string;
976
- /**
977
- * The response body as parsed JSON or XML
978
- */
979
- parsedBody: HybridConnection;
980
- };
981
- };
982
-
983
- /**
984
- * Contains response data for the listAuthorizationRules operation.
985
- */
986
- export type HybridConnectionsListAuthorizationRulesResponse = AuthorizationRuleListResult & {
987
- /**
988
- * The underlying HTTP response.
989
- */
990
- _response: msRest.HttpResponse & {
991
- /**
992
- * The response body as text (string format)
993
- */
994
- bodyAsText: string;
995
- /**
996
- * The response body as parsed JSON or XML
997
- */
998
- parsedBody: AuthorizationRuleListResult;
999
- };
1000
- };
1001
-
1002
- /**
1003
- * Contains response data for the createOrUpdateAuthorizationRule operation.
1004
- */
1005
- export type HybridConnectionsCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule & {
1006
- /**
1007
- * The underlying HTTP response.
1008
- */
1009
- _response: msRest.HttpResponse & {
1010
- /**
1011
- * The response body as text (string format)
1012
- */
1013
- bodyAsText: string;
1014
- /**
1015
- * The response body as parsed JSON or XML
1016
- */
1017
- parsedBody: AuthorizationRule;
1018
- };
1019
- };
1020
-
1021
- /**
1022
- * Contains response data for the getAuthorizationRule operation.
1023
- */
1024
- export type HybridConnectionsGetAuthorizationRuleResponse = AuthorizationRule & {
1025
- /**
1026
- * The underlying HTTP response.
1027
- */
1028
- _response: msRest.HttpResponse & {
1029
- /**
1030
- * The response body as text (string format)
1031
- */
1032
- bodyAsText: string;
1033
- /**
1034
- * The response body as parsed JSON or XML
1035
- */
1036
- parsedBody: AuthorizationRule;
1037
- };
1038
- };
1039
-
1040
- /**
1041
- * Contains response data for the listKeys operation.
1042
- */
1043
- export type HybridConnectionsListKeysResponse = AccessKeys & {
1044
- /**
1045
- * The underlying HTTP response.
1046
- */
1047
- _response: msRest.HttpResponse & {
1048
- /**
1049
- * The response body as text (string format)
1050
- */
1051
- bodyAsText: string;
1052
- /**
1053
- * The response body as parsed JSON or XML
1054
- */
1055
- parsedBody: AccessKeys;
1056
- };
1057
- };
1058
-
1059
- /**
1060
- * Contains response data for the regenerateKeys operation.
1061
- */
1062
- export type HybridConnectionsRegenerateKeysResponse = AccessKeys & {
1063
- /**
1064
- * The underlying HTTP response.
1065
- */
1066
- _response: msRest.HttpResponse & {
1067
- /**
1068
- * The response body as text (string format)
1069
- */
1070
- bodyAsText: string;
1071
- /**
1072
- * The response body as parsed JSON or XML
1073
- */
1074
- parsedBody: AccessKeys;
1075
- };
1076
- };
1077
-
1078
- /**
1079
- * Contains response data for the listByNamespaceNext operation.
1080
- */
1081
- export type HybridConnectionsListByNamespaceNextResponse = HybridConnectionListResult & {
1082
- /**
1083
- * The underlying HTTP response.
1084
- */
1085
- _response: msRest.HttpResponse & {
1086
- /**
1087
- * The response body as text (string format)
1088
- */
1089
- bodyAsText: string;
1090
- /**
1091
- * The response body as parsed JSON or XML
1092
- */
1093
- parsedBody: HybridConnectionListResult;
1094
- };
1095
- };
1096
-
1097
- /**
1098
- * Contains response data for the listAuthorizationRulesNext operation.
1099
- */
1100
- export type HybridConnectionsListAuthorizationRulesNextResponse = AuthorizationRuleListResult & {
1101
- /**
1102
- * The underlying HTTP response.
1103
- */
1104
- _response: msRest.HttpResponse & {
1105
- /**
1106
- * The response body as text (string format)
1107
- */
1108
- bodyAsText: string;
1109
- /**
1110
- * The response body as parsed JSON or XML
1111
- */
1112
- parsedBody: AuthorizationRuleListResult;
1113
- };
1114
- };
1115
-
1116
- /**
1117
- * Contains response data for the listByNamespace operation.
1118
- */
1119
- export type WCFRelaysListByNamespaceResponse = WcfRelaysListResult & {
1120
- /**
1121
- * The underlying HTTP response.
1122
- */
1123
- _response: msRest.HttpResponse & {
1124
- /**
1125
- * The response body as text (string format)
1126
- */
1127
- bodyAsText: string;
1128
- /**
1129
- * The response body as parsed JSON or XML
1130
- */
1131
- parsedBody: WcfRelaysListResult;
1132
- };
1133
- };
1134
-
1135
- /**
1136
- * Contains response data for the createOrUpdate operation.
1137
- */
1138
- export type WCFRelaysCreateOrUpdateResponse = WcfRelay & {
1139
- /**
1140
- * The underlying HTTP response.
1141
- */
1142
- _response: msRest.HttpResponse & {
1143
- /**
1144
- * The response body as text (string format)
1145
- */
1146
- bodyAsText: string;
1147
- /**
1148
- * The response body as parsed JSON or XML
1149
- */
1150
- parsedBody: WcfRelay;
1151
- };
1152
- };
1153
-
1154
- /**
1155
- * Contains response data for the get operation.
1156
- */
1157
- export type WCFRelaysGetResponse = WcfRelay & {
1158
- /**
1159
- * The underlying HTTP response.
1160
- */
1161
- _response: msRest.HttpResponse & {
1162
- /**
1163
- * The response body as text (string format)
1164
- */
1165
- bodyAsText: string;
1166
- /**
1167
- * The response body as parsed JSON or XML
1168
- */
1169
- parsedBody: WcfRelay;
1170
- };
1171
- };
1172
-
1173
- /**
1174
- * Contains response data for the listAuthorizationRules operation.
1175
- */
1176
- export type WCFRelaysListAuthorizationRulesResponse = AuthorizationRuleListResult & {
1177
- /**
1178
- * The underlying HTTP response.
1179
- */
1180
- _response: msRest.HttpResponse & {
1181
- /**
1182
- * The response body as text (string format)
1183
- */
1184
- bodyAsText: string;
1185
- /**
1186
- * The response body as parsed JSON or XML
1187
- */
1188
- parsedBody: AuthorizationRuleListResult;
1189
- };
1190
- };
1191
-
1192
- /**
1193
- * Contains response data for the createOrUpdateAuthorizationRule operation.
1194
- */
1195
- export type WCFRelaysCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule & {
1196
- /**
1197
- * The underlying HTTP response.
1198
- */
1199
- _response: msRest.HttpResponse & {
1200
- /**
1201
- * The response body as text (string format)
1202
- */
1203
- bodyAsText: string;
1204
- /**
1205
- * The response body as parsed JSON or XML
1206
- */
1207
- parsedBody: AuthorizationRule;
1208
- };
1209
- };
1210
-
1211
- /**
1212
- * Contains response data for the getAuthorizationRule operation.
1213
- */
1214
- export type WCFRelaysGetAuthorizationRuleResponse = AuthorizationRule & {
1215
- /**
1216
- * The underlying HTTP response.
1217
- */
1218
- _response: msRest.HttpResponse & {
1219
- /**
1220
- * The response body as text (string format)
1221
- */
1222
- bodyAsText: string;
1223
- /**
1224
- * The response body as parsed JSON or XML
1225
- */
1226
- parsedBody: AuthorizationRule;
1227
- };
1228
- };
1229
-
1230
- /**
1231
- * Contains response data for the listKeys operation.
1232
- */
1233
- export type WCFRelaysListKeysResponse = AccessKeys & {
1234
- /**
1235
- * The underlying HTTP response.
1236
- */
1237
- _response: msRest.HttpResponse & {
1238
- /**
1239
- * The response body as text (string format)
1240
- */
1241
- bodyAsText: string;
1242
- /**
1243
- * The response body as parsed JSON or XML
1244
- */
1245
- parsedBody: AccessKeys;
1246
- };
1247
- };
1248
-
1249
- /**
1250
- * Contains response data for the regenerateKeys operation.
1251
- */
1252
- export type WCFRelaysRegenerateKeysResponse = AccessKeys & {
1253
- /**
1254
- * The underlying HTTP response.
1255
- */
1256
- _response: msRest.HttpResponse & {
1257
- /**
1258
- * The response body as text (string format)
1259
- */
1260
- bodyAsText: string;
1261
- /**
1262
- * The response body as parsed JSON or XML
1263
- */
1264
- parsedBody: AccessKeys;
1265
- };
1266
- };
1267
-
1268
- /**
1269
- * Contains response data for the listByNamespaceNext operation.
1270
- */
1271
- export type WCFRelaysListByNamespaceNextResponse = WcfRelaysListResult & {
1272
- /**
1273
- * The underlying HTTP response.
1274
- */
1275
- _response: msRest.HttpResponse & {
1276
- /**
1277
- * The response body as text (string format)
1278
- */
1279
- bodyAsText: string;
1280
- /**
1281
- * The response body as parsed JSON or XML
1282
- */
1283
- parsedBody: WcfRelaysListResult;
1284
- };
1285
- };
1286
-
1287
- /**
1288
- * Contains response data for the listAuthorizationRulesNext operation.
1289
- */
1290
- export type WCFRelaysListAuthorizationRulesNextResponse = AuthorizationRuleListResult & {
1291
- /**
1292
- * The underlying HTTP response.
1293
- */
1294
- _response: msRest.HttpResponse & {
1295
- /**
1296
- * The response body as text (string format)
1297
- */
1298
- bodyAsText: string;
1299
- /**
1300
- * The response body as parsed JSON or XML
1301
- */
1302
- parsedBody: AuthorizationRuleListResult;
1303
- };
1304
- };