@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,611 @@
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
+
9
+ import * as coreClient from "@azure/core-client";
10
+
11
+ /** Result of the request to list Relay operations. It contains a list of operations and a URL link to get the next set of results. */
12
+ export interface OperationListResult {
13
+ /**
14
+ * List of Relay operations supported by resource provider.
15
+ * NOTE: This property will not be serialized. It can only be populated by the server.
16
+ */
17
+ readonly value?: Operation[];
18
+ /**
19
+ * URL to get the next set of operation list results if there are any.
20
+ * NOTE: This property will not be serialized. It can only be populated by the server.
21
+ */
22
+ readonly nextLink?: string;
23
+ }
24
+
25
+ /** A Relay REST API operation. */
26
+ export interface Operation {
27
+ /**
28
+ * Operation name: {provider}/{resource}/{operation}
29
+ * NOTE: This property will not be serialized. It can only be populated by the server.
30
+ */
31
+ readonly name?: string;
32
+ /** The object that represents the operation. */
33
+ display?: OperationDisplay;
34
+ }
35
+
36
+ /** The object that represents the operation. */
37
+ export interface OperationDisplay {
38
+ /**
39
+ * Service provider: Relay.
40
+ * NOTE: This property will not be serialized. It can only be populated by the server.
41
+ */
42
+ readonly provider?: string;
43
+ /**
44
+ * Resource on which the operation is performed: Invoice, etc.
45
+ * NOTE: This property will not be serialized. It can only be populated by the server.
46
+ */
47
+ readonly resource?: string;
48
+ /**
49
+ * Operation type: Read, write, delete, etc.
50
+ * NOTE: This property will not be serialized. It can only be populated by the server.
51
+ */
52
+ readonly operation?: string;
53
+ }
54
+
55
+ /** Error reponse indicates Relay service is not able to process the incoming request. The reason is provided in the error message. */
56
+ export interface ErrorResponse {
57
+ /** Error code. */
58
+ code?: string;
59
+ /** Error message indicating why the operation failed. */
60
+ message?: string;
61
+ }
62
+
63
+ /** Description of the check name availability request properties. */
64
+ export interface CheckNameAvailability {
65
+ /** The namespace name to check for availability. The namespace name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number. */
66
+ name: string;
67
+ }
68
+
69
+ /** Description of the check name availability request properties. */
70
+ export interface CheckNameAvailabilityResult {
71
+ /**
72
+ * The detailed info regarding the reason associated with the namespace.
73
+ * NOTE: This property will not be serialized. It can only be populated by the server.
74
+ */
75
+ readonly message?: string;
76
+ /** Value indicating namespace is available. Returns true if the namespace is available; otherwise, false. */
77
+ nameAvailable?: boolean;
78
+ /** The reason for unavailability of a namespace. */
79
+ reason?: UnavailableReason;
80
+ }
81
+
82
+ /** The response from the list namespace operation. */
83
+ export interface RelayNamespaceListResult {
84
+ /** Result of the list namespace operation. */
85
+ value?: RelayNamespace[];
86
+ /** Link to the next set of results. Not empty if value contains incomplete list of namespaces. */
87
+ nextLink?: string;
88
+ }
89
+
90
+ /** SKU of the namespace. */
91
+ export interface Sku {
92
+ /** Name of this SKU. */
93
+ name: "Standard";
94
+ /** The tier of this SKU. */
95
+ tier?: "Standard";
96
+ }
97
+
98
+ /** The resource definition. */
99
+ export interface Resource {
100
+ /**
101
+ * Resource ID.
102
+ * NOTE: This property will not be serialized. It can only be populated by the server.
103
+ */
104
+ readonly id?: string;
105
+ /**
106
+ * Resource name.
107
+ * NOTE: This property will not be serialized. It can only be populated by the server.
108
+ */
109
+ readonly name?: string;
110
+ /**
111
+ * Resource type.
112
+ * NOTE: This property will not be serialized. It can only be populated by the server.
113
+ */
114
+ readonly type?: string;
115
+ }
116
+
117
+ /** The response from the list namespace operation. */
118
+ export interface AuthorizationRuleListResult {
119
+ /** Result of the list authorization rules operation. */
120
+ value?: AuthorizationRule[];
121
+ /** Link to the next set of results. Not empty if value contains incomplete list of authorization rules. */
122
+ nextLink?: string;
123
+ }
124
+
125
+ /** Namespace/Relay Connection String */
126
+ export interface AccessKeys {
127
+ /** Primary connection string of the created namespace authorization rule. */
128
+ primaryConnectionString?: string;
129
+ /** Secondary connection string of the created namespace authorization rule. */
130
+ secondaryConnectionString?: string;
131
+ /** A base64-encoded 256-bit primary key for signing and validating the SAS token. */
132
+ primaryKey?: string;
133
+ /** A base64-encoded 256-bit secondary key for signing and validating the SAS token. */
134
+ secondaryKey?: string;
135
+ /** A string that describes the authorization rule. */
136
+ keyName?: string;
137
+ }
138
+
139
+ /** Parameters supplied to the regenerate authorization rule operation, specifies which key neeeds to be reset. */
140
+ export interface RegenerateAccessKeyParameters {
141
+ /** The access key to regenerate. */
142
+ keyType: KeyType;
143
+ /** Optional. If the key value is provided, this is set to key type, or autogenerated key value set for key type. */
144
+ key?: string;
145
+ }
146
+
147
+ /** The response of the list hybrid connection operation. */
148
+ export interface HybridConnectionListResult {
149
+ /** Result of the list hybrid connections. */
150
+ value?: HybridConnection[];
151
+ /** Link to the next set of results. Not empty if value contains incomplete list hybrid connection operation. */
152
+ nextLink?: string;
153
+ }
154
+
155
+ /** The response of the list WCF relay operation. */
156
+ export interface WcfRelaysListResult {
157
+ /** Result of the list WCF relay operation. */
158
+ value?: WcfRelay[];
159
+ /** Link to the next set of results. Not empty if value contains incomplete list of WCF relays. */
160
+ nextLink?: string;
161
+ }
162
+
163
+ /** Definition of resource. */
164
+ export type TrackedResource = Resource & {
165
+ /** Resource location. */
166
+ location: string;
167
+ /** Resource tags. */
168
+ tags?: { [propertyName: string]: string };
169
+ };
170
+
171
+ /** Definition of resource. */
172
+ export type ResourceNamespacePatch = Resource & {
173
+ /** Resource tags. */
174
+ tags?: { [propertyName: string]: string };
175
+ };
176
+
177
+ /** Description of a namespace authorization rule. */
178
+ export type AuthorizationRule = Resource & {
179
+ /** The rights associated with the rule. */
180
+ rights: AccessRights[];
181
+ };
182
+
183
+ /** Description of hybrid connection resource. */
184
+ export type HybridConnection = Resource & {
185
+ /**
186
+ * The time the hybrid connection was created.
187
+ * NOTE: This property will not be serialized. It can only be populated by the server.
188
+ */
189
+ readonly createdAt?: Date;
190
+ /**
191
+ * The time the namespace was updated.
192
+ * NOTE: This property will not be serialized. It can only be populated by the server.
193
+ */
194
+ readonly updatedAt?: Date;
195
+ /**
196
+ * The number of listeners for this hybrid connection. Note that min : 1 and max:25 are supported.
197
+ * NOTE: This property will not be serialized. It can only be populated by the server.
198
+ */
199
+ readonly listenerCount?: number;
200
+ /** Returns true if client authorization is needed for this hybrid connection; otherwise, false. */
201
+ requiresClientAuthorization?: boolean;
202
+ /** The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored. */
203
+ userMetadata?: string;
204
+ };
205
+
206
+ /** Description of the WCF relay resource. */
207
+ export type WcfRelay = Resource & {
208
+ /**
209
+ * Returns true if the relay is dynamic; otherwise, false.
210
+ * NOTE: This property will not be serialized. It can only be populated by the server.
211
+ */
212
+ readonly isDynamic?: boolean;
213
+ /**
214
+ * The time the WCF relay was created.
215
+ * NOTE: This property will not be serialized. It can only be populated by the server.
216
+ */
217
+ readonly createdAt?: Date;
218
+ /**
219
+ * The time the namespace was updated.
220
+ * NOTE: This property will not be serialized. It can only be populated by the server.
221
+ */
222
+ readonly updatedAt?: Date;
223
+ /**
224
+ * The number of listeners for this relay. Note that min :1 and max:25 are supported.
225
+ * NOTE: This property will not be serialized. It can only be populated by the server.
226
+ */
227
+ readonly listenerCount?: number;
228
+ /** WCF relay type. */
229
+ relayType?: Relaytype;
230
+ /** Returns true if client authorization is needed for this relay; otherwise, false. */
231
+ requiresClientAuthorization?: boolean;
232
+ /** Returns true if transport security is needed for this relay; otherwise, false. */
233
+ requiresTransportSecurity?: boolean;
234
+ /** The usermetadata is a placeholder to store user-defined string data for the WCF Relay endpoint. For example, it can be used to store descriptive data, such as list of teams and their contact information. Also, user-defined configuration settings can be stored. */
235
+ userMetadata?: string;
236
+ };
237
+
238
+ /** Description of a namespace resource. */
239
+ export type RelayNamespace = TrackedResource & {
240
+ /** SKU of the namespace. */
241
+ sku?: Sku;
242
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
243
+ readonly provisioningState?: ProvisioningStateEnum;
244
+ /**
245
+ * The time the namespace was created.
246
+ * NOTE: This property will not be serialized. It can only be populated by the server.
247
+ */
248
+ readonly createdAt?: Date;
249
+ /**
250
+ * The time the namespace was updated.
251
+ * NOTE: This property will not be serialized. It can only be populated by the server.
252
+ */
253
+ readonly updatedAt?: Date;
254
+ /**
255
+ * Endpoint you can use to perform Service Bus operations.
256
+ * NOTE: This property will not be serialized. It can only be populated by the server.
257
+ */
258
+ readonly serviceBusEndpoint?: string;
259
+ /**
260
+ * Identifier for Azure Insights metrics.
261
+ * NOTE: This property will not be serialized. It can only be populated by the server.
262
+ */
263
+ readonly metricId?: string;
264
+ };
265
+
266
+ /** Description of a namespace resource. */
267
+ export type RelayUpdateParameters = ResourceNamespacePatch & {
268
+ /** SKU of the namespace. */
269
+ sku?: Sku;
270
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
271
+ readonly provisioningState?: ProvisioningStateEnum;
272
+ /**
273
+ * The time the namespace was created.
274
+ * NOTE: This property will not be serialized. It can only be populated by the server.
275
+ */
276
+ readonly createdAt?: Date;
277
+ /**
278
+ * The time the namespace was updated.
279
+ * NOTE: This property will not be serialized. It can only be populated by the server.
280
+ */
281
+ readonly updatedAt?: Date;
282
+ /**
283
+ * Endpoint you can use to perform Service Bus operations.
284
+ * NOTE: This property will not be serialized. It can only be populated by the server.
285
+ */
286
+ readonly serviceBusEndpoint?: string;
287
+ /**
288
+ * Identifier for Azure Insights metrics.
289
+ * NOTE: This property will not be serialized. It can only be populated by the server.
290
+ */
291
+ readonly metricId?: string;
292
+ };
293
+ /** Defines values for UnavailableReason. */
294
+ export type UnavailableReason =
295
+ | "None"
296
+ | "InvalidName"
297
+ | "SubscriptionIsDisabled"
298
+ | "NameInUse"
299
+ | "NameInLockdown"
300
+ | "TooManyNamespaceInCurrentSubscription";
301
+ /** Defines values for ProvisioningStateEnum. */
302
+ export type ProvisioningStateEnum =
303
+ | "Created"
304
+ | "Succeeded"
305
+ | "Deleted"
306
+ | "Failed"
307
+ | "Updating"
308
+ | "Unknown";
309
+ /** Defines values for AccessRights. */
310
+ export type AccessRights = "Manage" | "Send" | "Listen";
311
+ /** Defines values for KeyType. */
312
+ export type KeyType = "PrimaryKey" | "SecondaryKey";
313
+ /** Defines values for Relaytype. */
314
+ export type Relaytype = "NetTcp" | "Http";
315
+
316
+ /** Optional parameters. */
317
+ export interface OperationsListOptionalParams
318
+ extends coreClient.OperationOptions {}
319
+
320
+ /** Contains response data for the list operation. */
321
+ export type OperationsListResponse = OperationListResult;
322
+
323
+ /** Optional parameters. */
324
+ export interface OperationsListNextOptionalParams
325
+ extends coreClient.OperationOptions {}
326
+
327
+ /** Contains response data for the listNext operation. */
328
+ export type OperationsListNextResponse = OperationListResult;
329
+
330
+ /** Optional parameters. */
331
+ export interface NamespacesCheckNameAvailabilityOptionalParams
332
+ extends coreClient.OperationOptions {}
333
+
334
+ /** Contains response data for the checkNameAvailability operation. */
335
+ export type NamespacesCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
336
+
337
+ /** Optional parameters. */
338
+ export interface NamespacesListOptionalParams
339
+ extends coreClient.OperationOptions {}
340
+
341
+ /** Contains response data for the list operation. */
342
+ export type NamespacesListResponse = RelayNamespaceListResult;
343
+
344
+ /** Optional parameters. */
345
+ export interface NamespacesListByResourceGroupOptionalParams
346
+ extends coreClient.OperationOptions {}
347
+
348
+ /** Contains response data for the listByResourceGroup operation. */
349
+ export type NamespacesListByResourceGroupResponse = RelayNamespaceListResult;
350
+
351
+ /** Optional parameters. */
352
+ export interface NamespacesCreateOrUpdateOptionalParams
353
+ extends coreClient.OperationOptions {
354
+ /** Delay to wait until next poll, in milliseconds. */
355
+ updateIntervalInMs?: number;
356
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
357
+ resumeFrom?: string;
358
+ }
359
+
360
+ /** Contains response data for the createOrUpdate operation. */
361
+ export type NamespacesCreateOrUpdateResponse = RelayNamespace;
362
+
363
+ /** Optional parameters. */
364
+ export interface NamespacesDeleteOptionalParams
365
+ extends coreClient.OperationOptions {
366
+ /** Delay to wait until next poll, in milliseconds. */
367
+ updateIntervalInMs?: number;
368
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
369
+ resumeFrom?: string;
370
+ }
371
+
372
+ /** Optional parameters. */
373
+ export interface NamespacesGetOptionalParams
374
+ extends coreClient.OperationOptions {}
375
+
376
+ /** Contains response data for the get operation. */
377
+ export type NamespacesGetResponse = RelayNamespace;
378
+
379
+ /** Optional parameters. */
380
+ export interface NamespacesUpdateOptionalParams
381
+ extends coreClient.OperationOptions {}
382
+
383
+ /** Contains response data for the update operation. */
384
+ export type NamespacesUpdateResponse = RelayNamespace;
385
+
386
+ /** Optional parameters. */
387
+ export interface NamespacesListAuthorizationRulesOptionalParams
388
+ extends coreClient.OperationOptions {}
389
+
390
+ /** Contains response data for the listAuthorizationRules operation. */
391
+ export type NamespacesListAuthorizationRulesResponse = AuthorizationRuleListResult;
392
+
393
+ /** Optional parameters. */
394
+ export interface NamespacesCreateOrUpdateAuthorizationRuleOptionalParams
395
+ extends coreClient.OperationOptions {}
396
+
397
+ /** Contains response data for the createOrUpdateAuthorizationRule operation. */
398
+ export type NamespacesCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule;
399
+
400
+ /** Optional parameters. */
401
+ export interface NamespacesDeleteAuthorizationRuleOptionalParams
402
+ extends coreClient.OperationOptions {}
403
+
404
+ /** Optional parameters. */
405
+ export interface NamespacesGetAuthorizationRuleOptionalParams
406
+ extends coreClient.OperationOptions {}
407
+
408
+ /** Contains response data for the getAuthorizationRule operation. */
409
+ export type NamespacesGetAuthorizationRuleResponse = AuthorizationRule;
410
+
411
+ /** Optional parameters. */
412
+ export interface NamespacesListKeysOptionalParams
413
+ extends coreClient.OperationOptions {}
414
+
415
+ /** Contains response data for the listKeys operation. */
416
+ export type NamespacesListKeysResponse = AccessKeys;
417
+
418
+ /** Optional parameters. */
419
+ export interface NamespacesRegenerateKeysOptionalParams
420
+ extends coreClient.OperationOptions {}
421
+
422
+ /** Contains response data for the regenerateKeys operation. */
423
+ export type NamespacesRegenerateKeysResponse = AccessKeys;
424
+
425
+ /** Optional parameters. */
426
+ export interface NamespacesListNextOptionalParams
427
+ extends coreClient.OperationOptions {}
428
+
429
+ /** Contains response data for the listNext operation. */
430
+ export type NamespacesListNextResponse = RelayNamespaceListResult;
431
+
432
+ /** Optional parameters. */
433
+ export interface NamespacesListByResourceGroupNextOptionalParams
434
+ extends coreClient.OperationOptions {}
435
+
436
+ /** Contains response data for the listByResourceGroupNext operation. */
437
+ export type NamespacesListByResourceGroupNextResponse = RelayNamespaceListResult;
438
+
439
+ /** Optional parameters. */
440
+ export interface NamespacesListAuthorizationRulesNextOptionalParams
441
+ extends coreClient.OperationOptions {}
442
+
443
+ /** Contains response data for the listAuthorizationRulesNext operation. */
444
+ export type NamespacesListAuthorizationRulesNextResponse = AuthorizationRuleListResult;
445
+
446
+ /** Optional parameters. */
447
+ export interface HybridConnectionsListByNamespaceOptionalParams
448
+ extends coreClient.OperationOptions {}
449
+
450
+ /** Contains response data for the listByNamespace operation. */
451
+ export type HybridConnectionsListByNamespaceResponse = HybridConnectionListResult;
452
+
453
+ /** Optional parameters. */
454
+ export interface HybridConnectionsCreateOrUpdateOptionalParams
455
+ extends coreClient.OperationOptions {}
456
+
457
+ /** Contains response data for the createOrUpdate operation. */
458
+ export type HybridConnectionsCreateOrUpdateResponse = HybridConnection;
459
+
460
+ /** Optional parameters. */
461
+ export interface HybridConnectionsDeleteOptionalParams
462
+ extends coreClient.OperationOptions {}
463
+
464
+ /** Optional parameters. */
465
+ export interface HybridConnectionsGetOptionalParams
466
+ extends coreClient.OperationOptions {}
467
+
468
+ /** Contains response data for the get operation. */
469
+ export type HybridConnectionsGetResponse = HybridConnection;
470
+
471
+ /** Optional parameters. */
472
+ export interface HybridConnectionsListAuthorizationRulesOptionalParams
473
+ extends coreClient.OperationOptions {}
474
+
475
+ /** Contains response data for the listAuthorizationRules operation. */
476
+ export type HybridConnectionsListAuthorizationRulesResponse = AuthorizationRuleListResult;
477
+
478
+ /** Optional parameters. */
479
+ export interface HybridConnectionsCreateOrUpdateAuthorizationRuleOptionalParams
480
+ extends coreClient.OperationOptions {}
481
+
482
+ /** Contains response data for the createOrUpdateAuthorizationRule operation. */
483
+ export type HybridConnectionsCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule;
484
+
485
+ /** Optional parameters. */
486
+ export interface HybridConnectionsDeleteAuthorizationRuleOptionalParams
487
+ extends coreClient.OperationOptions {}
488
+
489
+ /** Optional parameters. */
490
+ export interface HybridConnectionsGetAuthorizationRuleOptionalParams
491
+ extends coreClient.OperationOptions {}
492
+
493
+ /** Contains response data for the getAuthorizationRule operation. */
494
+ export type HybridConnectionsGetAuthorizationRuleResponse = AuthorizationRule;
495
+
496
+ /** Optional parameters. */
497
+ export interface HybridConnectionsListKeysOptionalParams
498
+ extends coreClient.OperationOptions {}
499
+
500
+ /** Contains response data for the listKeys operation. */
501
+ export type HybridConnectionsListKeysResponse = AccessKeys;
502
+
503
+ /** Optional parameters. */
504
+ export interface HybridConnectionsRegenerateKeysOptionalParams
505
+ extends coreClient.OperationOptions {}
506
+
507
+ /** Contains response data for the regenerateKeys operation. */
508
+ export type HybridConnectionsRegenerateKeysResponse = AccessKeys;
509
+
510
+ /** Optional parameters. */
511
+ export interface HybridConnectionsListByNamespaceNextOptionalParams
512
+ extends coreClient.OperationOptions {}
513
+
514
+ /** Contains response data for the listByNamespaceNext operation. */
515
+ export type HybridConnectionsListByNamespaceNextResponse = HybridConnectionListResult;
516
+
517
+ /** Optional parameters. */
518
+ export interface HybridConnectionsListAuthorizationRulesNextOptionalParams
519
+ extends coreClient.OperationOptions {}
520
+
521
+ /** Contains response data for the listAuthorizationRulesNext operation. */
522
+ export type HybridConnectionsListAuthorizationRulesNextResponse = AuthorizationRuleListResult;
523
+
524
+ /** Optional parameters. */
525
+ export interface WCFRelaysListByNamespaceOptionalParams
526
+ extends coreClient.OperationOptions {}
527
+
528
+ /** Contains response data for the listByNamespace operation. */
529
+ export type WCFRelaysListByNamespaceResponse = WcfRelaysListResult;
530
+
531
+ /** Optional parameters. */
532
+ export interface WCFRelaysCreateOrUpdateOptionalParams
533
+ extends coreClient.OperationOptions {}
534
+
535
+ /** Contains response data for the createOrUpdate operation. */
536
+ export type WCFRelaysCreateOrUpdateResponse = WcfRelay;
537
+
538
+ /** Optional parameters. */
539
+ export interface WCFRelaysDeleteOptionalParams
540
+ extends coreClient.OperationOptions {}
541
+
542
+ /** Optional parameters. */
543
+ export interface WCFRelaysGetOptionalParams
544
+ extends coreClient.OperationOptions {}
545
+
546
+ /** Contains response data for the get operation. */
547
+ export type WCFRelaysGetResponse = WcfRelay;
548
+
549
+ /** Optional parameters. */
550
+ export interface WCFRelaysListAuthorizationRulesOptionalParams
551
+ extends coreClient.OperationOptions {}
552
+
553
+ /** Contains response data for the listAuthorizationRules operation. */
554
+ export type WCFRelaysListAuthorizationRulesResponse = AuthorizationRuleListResult;
555
+
556
+ /** Optional parameters. */
557
+ export interface WCFRelaysCreateOrUpdateAuthorizationRuleOptionalParams
558
+ extends coreClient.OperationOptions {}
559
+
560
+ /** Contains response data for the createOrUpdateAuthorizationRule operation. */
561
+ export type WCFRelaysCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule;
562
+
563
+ /** Optional parameters. */
564
+ export interface WCFRelaysDeleteAuthorizationRuleOptionalParams
565
+ extends coreClient.OperationOptions {}
566
+
567
+ /** Optional parameters. */
568
+ export interface WCFRelaysGetAuthorizationRuleOptionalParams
569
+ extends coreClient.OperationOptions {}
570
+
571
+ /** Contains response data for the getAuthorizationRule operation. */
572
+ export type WCFRelaysGetAuthorizationRuleResponse = AuthorizationRule;
573
+
574
+ /** Optional parameters. */
575
+ export interface WCFRelaysListKeysOptionalParams
576
+ extends coreClient.OperationOptions {}
577
+
578
+ /** Contains response data for the listKeys operation. */
579
+ export type WCFRelaysListKeysResponse = AccessKeys;
580
+
581
+ /** Optional parameters. */
582
+ export interface WCFRelaysRegenerateKeysOptionalParams
583
+ extends coreClient.OperationOptions {}
584
+
585
+ /** Contains response data for the regenerateKeys operation. */
586
+ export type WCFRelaysRegenerateKeysResponse = AccessKeys;
587
+
588
+ /** Optional parameters. */
589
+ export interface WCFRelaysListByNamespaceNextOptionalParams
590
+ extends coreClient.OperationOptions {}
591
+
592
+ /** Contains response data for the listByNamespaceNext operation. */
593
+ export type WCFRelaysListByNamespaceNextResponse = WcfRelaysListResult;
594
+
595
+ /** Optional parameters. */
596
+ export interface WCFRelaysListAuthorizationRulesNextOptionalParams
597
+ extends coreClient.OperationOptions {}
598
+
599
+ /** Contains response data for the listAuthorizationRulesNext operation. */
600
+ export type WCFRelaysListAuthorizationRulesNextResponse = AuthorizationRuleListResult;
601
+
602
+ /** Optional parameters. */
603
+ export interface RelayAPIOptionalParams
604
+ extends coreClient.ServiceClientOptions {
605
+ /** server parameter */
606
+ $host?: string;
607
+ /** Api Version */
608
+ apiVersion?: string;
609
+ /** Overrides client endpoint. */
610
+ endpoint?: string;
611
+ }