@azure/arm-hybridconnectivity 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +108 -0
  4. package/dist/index.js +1809 -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/samples-dev/endpointsCreateOrUpdateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +63 -0
  11. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/endpointsDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/endpointsDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/endpointsDeleteSample.js +37 -0
  15. package/dist-esm/samples-dev/endpointsDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/endpointsGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/endpointsGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/endpointsGetSample.js +54 -0
  19. package/dist-esm/samples-dev/endpointsGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/endpointsListCredentialsSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/endpointsListCredentialsSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/endpointsListCredentialsSample.js +43 -0
  23. package/dist-esm/samples-dev/endpointsListCredentialsSample.js.map +1 -0
  24. package/dist-esm/samples-dev/endpointsListIngressGatewayCredentialsSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/endpointsListIngressGatewayCredentialsSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/endpointsListIngressGatewayCredentialsSample.js +41 -0
  27. package/dist-esm/samples-dev/endpointsListIngressGatewayCredentialsSample.js.map +1 -0
  28. package/dist-esm/samples-dev/endpointsListManagedProxyDetailsSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/endpointsListManagedProxyDetailsSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/endpointsListManagedProxyDetailsSample.js +42 -0
  31. package/dist-esm/samples-dev/endpointsListManagedProxyDetailsSample.js.map +1 -0
  32. package/dist-esm/samples-dev/endpointsListSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/endpointsListSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/endpointsListSample.js +57 -0
  35. package/dist-esm/samples-dev/endpointsListSample.js.map +1 -0
  36. package/dist-esm/samples-dev/endpointsUpdateSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/endpointsUpdateSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/endpointsUpdateSample.js +40 -0
  39. package/dist-esm/samples-dev/endpointsUpdateSample.js.map +1 -0
  40. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/operationsListSample.js +56 -0
  43. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  44. package/dist-esm/samples-dev/serviceConfigurationsCreateOrupdateSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/serviceConfigurationsCreateOrupdateSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/serviceConfigurationsCreateOrupdateSample.js +64 -0
  47. package/dist-esm/samples-dev/serviceConfigurationsCreateOrupdateSample.js.map +1 -0
  48. package/dist-esm/samples-dev/serviceConfigurationsDeleteSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/serviceConfigurationsDeleteSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/serviceConfigurationsDeleteSample.js +38 -0
  51. package/dist-esm/samples-dev/serviceConfigurationsDeleteSample.js.map +1 -0
  52. package/dist-esm/samples-dev/serviceConfigurationsGetSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/serviceConfigurationsGetSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/serviceConfigurationsGetSample.js +56 -0
  55. package/dist-esm/samples-dev/serviceConfigurationsGetSample.js.map +1 -0
  56. package/dist-esm/samples-dev/serviceConfigurationsListByEndpointResourceSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/serviceConfigurationsListByEndpointResourceSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/serviceConfigurationsListByEndpointResourceSample.js +58 -0
  59. package/dist-esm/samples-dev/serviceConfigurationsListByEndpointResourceSample.js.map +1 -0
  60. package/dist-esm/samples-dev/serviceConfigurationsUpdateSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/serviceConfigurationsUpdateSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/serviceConfigurationsUpdateSample.js +41 -0
  63. package/dist-esm/samples-dev/serviceConfigurationsUpdateSample.js.map +1 -0
  64. package/dist-esm/src/hybridConnectivityManagementAPI.d.ts +20 -0
  65. package/dist-esm/src/hybridConnectivityManagementAPI.d.ts.map +1 -0
  66. package/dist-esm/src/hybridConnectivityManagementAPI.js +96 -0
  67. package/dist-esm/src/hybridConnectivityManagementAPI.js.map +1 -0
  68. package/dist-esm/src/index.d.ts +6 -0
  69. package/dist-esm/src/index.d.ts.map +1 -0
  70. package/dist-esm/src/index.js +13 -0
  71. package/dist-esm/src/index.js.map +1 -0
  72. package/dist-esm/src/models/index.d.ts +477 -0
  73. package/dist-esm/src/models/index.d.ts.map +1 -0
  74. package/dist-esm/src/models/index.js +66 -0
  75. package/dist-esm/src/models/index.js.map +1 -0
  76. package/dist-esm/src/models/mappers.d.ts +23 -0
  77. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  78. package/dist-esm/src/models/mappers.js +631 -0
  79. package/dist-esm/src/models/mappers.js.map +1 -0
  80. package/dist-esm/src/models/parameters.d.ts +17 -0
  81. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  82. package/dist-esm/src/models/parameters.js +135 -0
  83. package/dist-esm/src/models/parameters.js.map +1 -0
  84. package/dist-esm/src/operations/endpoints.d.ts +97 -0
  85. package/dist-esm/src/operations/endpoints.d.ts.map +1 -0
  86. package/dist-esm/src/operations/endpoints.js +370 -0
  87. package/dist-esm/src/operations/endpoints.js.map +1 -0
  88. package/dist-esm/src/operations/index.d.ts +4 -0
  89. package/dist-esm/src/operations/index.d.ts.map +1 -0
  90. package/dist-esm/src/operations/index.js +11 -0
  91. package/dist-esm/src/operations/index.js.map +1 -0
  92. package/dist-esm/src/operations/operations.d.ts +32 -0
  93. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  94. package/dist-esm/src/operations/operations.js +138 -0
  95. package/dist-esm/src/operations/operations.js.map +1 -0
  96. package/dist-esm/src/operations/serviceConfigurations.d.ts +79 -0
  97. package/dist-esm/src/operations/serviceConfigurations.d.ts.map +1 -0
  98. package/dist-esm/src/operations/serviceConfigurations.js +304 -0
  99. package/dist-esm/src/operations/serviceConfigurations.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/endpoints.d.ts +72 -0
  101. package/dist-esm/src/operationsInterfaces/endpoints.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/endpoints.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/endpoints.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  105. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  107. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  109. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/serviceConfigurations.d.ts +52 -0
  113. package/dist-esm/src/operationsInterfaces/serviceConfigurations.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/serviceConfigurations.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/serviceConfigurations.js.map +1 -0
  116. package/dist-esm/src/pagingHelper.d.ts +13 -0
  117. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  118. package/dist-esm/src/pagingHelper.js +32 -0
  119. package/dist-esm/src/pagingHelper.js.map +1 -0
  120. package/dist-esm/test/hybridconnectivity_operations_test.spec.d.ts +4 -0
  121. package/dist-esm/test/hybridconnectivity_operations_test.spec.d.ts.map +1 -0
  122. package/dist-esm/test/hybridconnectivity_operations_test.spec.js +122 -0
  123. package/dist-esm/test/hybridconnectivity_operations_test.spec.js.map +1 -0
  124. package/package.json +122 -0
  125. package/review/arm-hybridconnectivity.api.md +388 -0
  126. package/rollup.config.js +122 -0
  127. package/src/hybridConnectivityManagementAPI.ts +144 -0
  128. package/src/index.ts +13 -0
  129. package/src/models/index.ts +552 -0
  130. package/src/models/mappers.ts +664 -0
  131. package/src/models/parameters.ts +162 -0
  132. package/src/operations/endpoints.ts +469 -0
  133. package/src/operations/index.ts +11 -0
  134. package/src/operations/operations.ts +149 -0
  135. package/src/operations/serviceConfigurations.ts +401 -0
  136. package/src/operationsInterfaces/endpoints.ts +132 -0
  137. package/src/operationsInterfaces/index.ts +11 -0
  138. package/src/operationsInterfaces/operations.ts +22 -0
  139. package/src/operationsInterfaces/serviceConfigurations.ts +98 -0
  140. package/src/pagingHelper.ts +39 -0
  141. package/tsconfig.json +33 -0
  142. package/types/arm-hybridconnectivity.d.ts +700 -0
  143. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,552 @@
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
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
12
+ export interface OperationListResult {
13
+ /**
14
+ * List of operations supported by the 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
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
26
+ export interface Operation {
27
+ /**
28
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
29
+ * NOTE: This property will not be serialized. It can only be populated by the server.
30
+ */
31
+ readonly name?: string;
32
+ /**
33
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
34
+ * NOTE: This property will not be serialized. It can only be populated by the server.
35
+ */
36
+ readonly isDataAction?: boolean;
37
+ /** Localized display information for this particular operation. */
38
+ display?: OperationDisplay;
39
+ /**
40
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
41
+ * NOTE: This property will not be serialized. It can only be populated by the server.
42
+ */
43
+ readonly origin?: Origin;
44
+ /**
45
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
46
+ * NOTE: This property will not be serialized. It can only be populated by the server.
47
+ */
48
+ readonly actionType?: ActionType;
49
+ }
50
+
51
+ /** Localized display information for this particular operation. */
52
+ export interface OperationDisplay {
53
+ /**
54
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
55
+ * NOTE: This property will not be serialized. It can only be populated by the server.
56
+ */
57
+ readonly provider?: string;
58
+ /**
59
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
60
+ * NOTE: This property will not be serialized. It can only be populated by the server.
61
+ */
62
+ readonly resource?: string;
63
+ /**
64
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
65
+ * NOTE: This property will not be serialized. It can only be populated by the server.
66
+ */
67
+ readonly operation?: string;
68
+ /**
69
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
70
+ * NOTE: This property will not be serialized. It can only be populated by the server.
71
+ */
72
+ readonly description?: string;
73
+ }
74
+
75
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
76
+ export interface ErrorResponse {
77
+ /** The error object. */
78
+ error?: ErrorDetail;
79
+ }
80
+
81
+ /** The error detail. */
82
+ export interface ErrorDetail {
83
+ /**
84
+ * The error code.
85
+ * NOTE: This property will not be serialized. It can only be populated by the server.
86
+ */
87
+ readonly code?: string;
88
+ /**
89
+ * The error message.
90
+ * NOTE: This property will not be serialized. It can only be populated by the server.
91
+ */
92
+ readonly message?: string;
93
+ /**
94
+ * The error target.
95
+ * NOTE: This property will not be serialized. It can only be populated by the server.
96
+ */
97
+ readonly target?: string;
98
+ /**
99
+ * The error details.
100
+ * NOTE: This property will not be serialized. It can only be populated by the server.
101
+ */
102
+ readonly details?: ErrorDetail[];
103
+ /**
104
+ * The error additional info.
105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
+ */
107
+ readonly additionalInfo?: ErrorAdditionalInfo[];
108
+ }
109
+
110
+ /** The resource management error additional info. */
111
+ export interface ErrorAdditionalInfo {
112
+ /**
113
+ * The additional info type.
114
+ * NOTE: This property will not be serialized. It can only be populated by the server.
115
+ */
116
+ readonly type?: string;
117
+ /**
118
+ * The additional info.
119
+ * NOTE: This property will not be serialized. It can only be populated by the server.
120
+ */
121
+ readonly info?: Record<string, unknown>;
122
+ }
123
+
124
+ /** The list of endpoints. */
125
+ export interface EndpointsList {
126
+ /** The link used to get the next page of endpoints list. */
127
+ nextLink?: string;
128
+ /** The list of endpoint. */
129
+ value?: EndpointResource[];
130
+ }
131
+
132
+ /** Endpoint details */
133
+ export interface EndpointProperties {
134
+ /** The type of endpoint. */
135
+ type: Type;
136
+ /** The resource Id of the connectivity endpoint (optional). */
137
+ resourceId?: string;
138
+ /**
139
+ * The resource provisioning state.
140
+ * NOTE: This property will not be serialized. It can only be populated by the server.
141
+ */
142
+ readonly provisioningState?: string;
143
+ }
144
+
145
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
146
+ export interface Resource {
147
+ /**
148
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
149
+ * NOTE: This property will not be serialized. It can only be populated by the server.
150
+ */
151
+ readonly id?: string;
152
+ /**
153
+ * The name of the resource
154
+ * NOTE: This property will not be serialized. It can only be populated by the server.
155
+ */
156
+ readonly name?: string;
157
+ /**
158
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
159
+ * NOTE: This property will not be serialized. It can only be populated by the server.
160
+ */
161
+ readonly type?: string;
162
+ /**
163
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
164
+ * NOTE: This property will not be serialized. It can only be populated by the server.
165
+ */
166
+ readonly systemData?: SystemData;
167
+ }
168
+
169
+ /** Metadata pertaining to creation and last modification of the resource. */
170
+ export interface SystemData {
171
+ /** The identity that created the resource. */
172
+ createdBy?: string;
173
+ /** The type of identity that created the resource. */
174
+ createdByType?: CreatedByType;
175
+ /** The timestamp of resource creation (UTC). */
176
+ createdAt?: Date;
177
+ /** The identity that last modified the resource. */
178
+ lastModifiedBy?: string;
179
+ /** The type of identity that last modified the resource. */
180
+ lastModifiedByType?: CreatedByType;
181
+ /** The timestamp of resource last modification (UTC) */
182
+ lastModifiedAt?: Date;
183
+ }
184
+
185
+ /** The paginated list of serviceConfigurations */
186
+ export interface ServiceConfigurationList {
187
+ /** The list of service configuration */
188
+ value?: ServiceConfigurationResource[];
189
+ /** The link to fetch the next page of connected cluster */
190
+ nextLink?: string;
191
+ }
192
+
193
+ /** The service details under service configuration for the target endpoint resource. */
194
+ export interface ServiceConfigurationResourcePatch {
195
+ /** The port on which service is enabled. */
196
+ port?: number;
197
+ }
198
+
199
+ /** The details of the service for which credentials needs to be returned. */
200
+ export interface ListCredentialsRequest {
201
+ /** The name of the service. If not provided, the request will by pass the generation of service configuration token */
202
+ serviceName?: ServiceName;
203
+ }
204
+
205
+ /** The endpoint access for the target resource. */
206
+ export interface EndpointAccessResource {
207
+ /** The namespace name. */
208
+ namespaceName?: string;
209
+ /** The suffix domain name of relay namespace. */
210
+ namespaceNameSuffix?: string;
211
+ /** Azure Relay hybrid connection name for the resource. */
212
+ hybridConnectionName?: string;
213
+ /**
214
+ * Access key for hybrid connection.
215
+ * NOTE: This property will not be serialized. It can only be populated by the server.
216
+ */
217
+ readonly accessKey?: string;
218
+ /** The expiration of access key in unix time. */
219
+ expiresOn?: number;
220
+ /** The token to access the enabled service. */
221
+ serviceConfigurationToken?: string;
222
+ }
223
+
224
+ /** Represent ListIngressGatewayCredentials Request object. */
225
+ export interface ListIngressGatewayCredentialsRequest {
226
+ /** The name of the service. */
227
+ serviceName?: ServiceName;
228
+ }
229
+
230
+ /** The ingress gateway access credentials */
231
+ export interface IngressGatewayResource {
232
+ /** The ingress hostname. */
233
+ hostname?: string;
234
+ /** The arc ingress gateway server app id. */
235
+ serverId?: string;
236
+ /** The target resource home tenant id. */
237
+ tenantId?: string;
238
+ /** The namespace name. */
239
+ namespaceName?: string;
240
+ /** The suffix domain name of relay namespace. */
241
+ namespaceNameSuffix?: string;
242
+ /** Azure Relay hybrid connection name for the resource. */
243
+ hybridConnectionName?: string;
244
+ /**
245
+ * Access key for hybrid connection.
246
+ * NOTE: This property will not be serialized. It can only be populated by the server.
247
+ */
248
+ readonly accessKey?: string;
249
+ /** The expiration of access key in unix time. */
250
+ expiresOn?: number;
251
+ /** The token to access the enabled service. */
252
+ serviceConfigurationToken?: string;
253
+ }
254
+
255
+ /** Represent ManageProxy Request object. */
256
+ export interface ManagedProxyRequest {
257
+ /** The name of the service. */
258
+ service: string;
259
+ /** The target host name. */
260
+ hostname?: string;
261
+ /** The name of the service. It is an optional property, if not provided, service configuration tokens issue code would be by passed. */
262
+ serviceName?: ServiceName;
263
+ }
264
+
265
+ /** Managed Proxy */
266
+ export interface ManagedProxyResource {
267
+ /** The short lived proxy name. */
268
+ proxy: string;
269
+ /** The expiration time of short lived proxy name in unix epoch. */
270
+ expiresOn: number;
271
+ }
272
+
273
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
274
+ export interface ProxyResource extends Resource {}
275
+
276
+ /** The endpoint for the target resource. */
277
+ export interface EndpointResource extends ProxyResource {
278
+ /** The endpoint properties. */
279
+ properties?: EndpointProperties;
280
+ }
281
+
282
+ /** The service configuration details associated with the target resource. */
283
+ export interface ServiceConfigurationResource extends ProxyResource {
284
+ /** Name of the service. */
285
+ serviceName?: ServiceName;
286
+ /** The resource Id of the connectivity endpoint (optional). */
287
+ resourceId?: string;
288
+ /** The port on which service is enabled. */
289
+ port?: number;
290
+ /**
291
+ * The resource provisioning state.
292
+ * NOTE: This property will not be serialized. It can only be populated by the server.
293
+ */
294
+ readonly provisioningState?: ProvisioningState;
295
+ }
296
+
297
+ /** Known values of {@link Origin} that the service accepts. */
298
+ export enum KnownOrigin {
299
+ /** User */
300
+ User = "user",
301
+ /** System */
302
+ System = "system",
303
+ /** UserSystem */
304
+ UserSystem = "user,system"
305
+ }
306
+
307
+ /**
308
+ * Defines values for Origin. \
309
+ * {@link KnownOrigin} can be used interchangeably with Origin,
310
+ * this enum contains the known values that the service supports.
311
+ * ### Known values supported by the service
312
+ * **user** \
313
+ * **system** \
314
+ * **user,system**
315
+ */
316
+ export type Origin = string;
317
+
318
+ /** Known values of {@link ActionType} that the service accepts. */
319
+ export enum KnownActionType {
320
+ /** Internal */
321
+ Internal = "Internal"
322
+ }
323
+
324
+ /**
325
+ * Defines values for ActionType. \
326
+ * {@link KnownActionType} can be used interchangeably with ActionType,
327
+ * this enum contains the known values that the service supports.
328
+ * ### Known values supported by the service
329
+ * **Internal**
330
+ */
331
+ export type ActionType = string;
332
+
333
+ /** Known values of {@link Type} that the service accepts. */
334
+ export enum KnownType {
335
+ /** Default */
336
+ Default = "default",
337
+ /** Custom */
338
+ Custom = "custom"
339
+ }
340
+
341
+ /**
342
+ * Defines values for Type. \
343
+ * {@link KnownType} can be used interchangeably with Type,
344
+ * this enum contains the known values that the service supports.
345
+ * ### Known values supported by the service
346
+ * **default** \
347
+ * **custom**
348
+ */
349
+ export type Type = string;
350
+
351
+ /** Known values of {@link CreatedByType} that the service accepts. */
352
+ export enum KnownCreatedByType {
353
+ /** User */
354
+ User = "User",
355
+ /** Application */
356
+ Application = "Application",
357
+ /** ManagedIdentity */
358
+ ManagedIdentity = "ManagedIdentity",
359
+ /** Key */
360
+ Key = "Key"
361
+ }
362
+
363
+ /**
364
+ * Defines values for CreatedByType. \
365
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
366
+ * this enum contains the known values that the service supports.
367
+ * ### Known values supported by the service
368
+ * **User** \
369
+ * **Application** \
370
+ * **ManagedIdentity** \
371
+ * **Key**
372
+ */
373
+ export type CreatedByType = string;
374
+
375
+ /** Known values of {@link ServiceName} that the service accepts. */
376
+ export enum KnownServiceName {
377
+ /** SSH */
378
+ SSH = "SSH",
379
+ /** WAC */
380
+ WAC = "WAC"
381
+ }
382
+
383
+ /**
384
+ * Defines values for ServiceName. \
385
+ * {@link KnownServiceName} can be used interchangeably with ServiceName,
386
+ * this enum contains the known values that the service supports.
387
+ * ### Known values supported by the service
388
+ * **SSH** \
389
+ * **WAC**
390
+ */
391
+ export type ServiceName = string;
392
+
393
+ /** Known values of {@link ProvisioningState} that the service accepts. */
394
+ export enum KnownProvisioningState {
395
+ /** Succeeded */
396
+ Succeeded = "Succeeded",
397
+ /** Creating */
398
+ Creating = "Creating",
399
+ /** Updating */
400
+ Updating = "Updating",
401
+ /** Failed */
402
+ Failed = "Failed",
403
+ /** Canceled */
404
+ Canceled = "Canceled"
405
+ }
406
+
407
+ /**
408
+ * Defines values for ProvisioningState. \
409
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
410
+ * this enum contains the known values that the service supports.
411
+ * ### Known values supported by the service
412
+ * **Succeeded** \
413
+ * **Creating** \
414
+ * **Updating** \
415
+ * **Failed** \
416
+ * **Canceled**
417
+ */
418
+ export type ProvisioningState = string;
419
+
420
+ /** Optional parameters. */
421
+ export interface OperationsListOptionalParams
422
+ extends coreClient.OperationOptions {}
423
+
424
+ /** Contains response data for the list operation. */
425
+ export type OperationsListResponse = OperationListResult;
426
+
427
+ /** Optional parameters. */
428
+ export interface OperationsListNextOptionalParams
429
+ extends coreClient.OperationOptions {}
430
+
431
+ /** Contains response data for the listNext operation. */
432
+ export type OperationsListNextResponse = OperationListResult;
433
+
434
+ /** Optional parameters. */
435
+ export interface EndpointsListOptionalParams
436
+ extends coreClient.OperationOptions {}
437
+
438
+ /** Contains response data for the list operation. */
439
+ export type EndpointsListResponse = EndpointsList;
440
+
441
+ /** Optional parameters. */
442
+ export interface EndpointsGetOptionalParams
443
+ extends coreClient.OperationOptions {}
444
+
445
+ /** Contains response data for the get operation. */
446
+ export type EndpointsGetResponse = EndpointResource;
447
+
448
+ /** Optional parameters. */
449
+ export interface EndpointsCreateOrUpdateOptionalParams
450
+ extends coreClient.OperationOptions {}
451
+
452
+ /** Contains response data for the createOrUpdate operation. */
453
+ export type EndpointsCreateOrUpdateResponse = EndpointResource;
454
+
455
+ /** Optional parameters. */
456
+ export interface EndpointsUpdateOptionalParams
457
+ extends coreClient.OperationOptions {}
458
+
459
+ /** Contains response data for the update operation. */
460
+ export type EndpointsUpdateResponse = EndpointResource;
461
+
462
+ /** Optional parameters. */
463
+ export interface EndpointsDeleteOptionalParams
464
+ extends coreClient.OperationOptions {}
465
+
466
+ /** Optional parameters. */
467
+ export interface EndpointsListCredentialsOptionalParams
468
+ extends coreClient.OperationOptions {
469
+ /** Object of type ListCredentialsRequest */
470
+ listCredentialsRequest?: ListCredentialsRequest;
471
+ /** The is how long the endpoint access token is valid (in seconds). */
472
+ expiresin?: number;
473
+ }
474
+
475
+ /** Contains response data for the listCredentials operation. */
476
+ export type EndpointsListCredentialsResponse = EndpointAccessResource;
477
+
478
+ /** Optional parameters. */
479
+ export interface EndpointsListIngressGatewayCredentialsOptionalParams
480
+ extends coreClient.OperationOptions {
481
+ /** The is how long the endpoint access token is valid (in seconds). */
482
+ expiresin?: number;
483
+ /** Object of type ListIngressGatewayCredentialsRequest */
484
+ listIngressGatewayCredentialsRequest?: ListIngressGatewayCredentialsRequest;
485
+ }
486
+
487
+ /** Contains response data for the listIngressGatewayCredentials operation. */
488
+ export type EndpointsListIngressGatewayCredentialsResponse = IngressGatewayResource;
489
+
490
+ /** Optional parameters. */
491
+ export interface EndpointsListManagedProxyDetailsOptionalParams
492
+ extends coreClient.OperationOptions {}
493
+
494
+ /** Contains response data for the listManagedProxyDetails operation. */
495
+ export type EndpointsListManagedProxyDetailsResponse = ManagedProxyResource;
496
+
497
+ /** Optional parameters. */
498
+ export interface EndpointsListNextOptionalParams
499
+ extends coreClient.OperationOptions {}
500
+
501
+ /** Contains response data for the listNext operation. */
502
+ export type EndpointsListNextResponse = EndpointsList;
503
+
504
+ /** Optional parameters. */
505
+ export interface ServiceConfigurationsListByEndpointResourceOptionalParams
506
+ extends coreClient.OperationOptions {}
507
+
508
+ /** Contains response data for the listByEndpointResource operation. */
509
+ export type ServiceConfigurationsListByEndpointResourceResponse = ServiceConfigurationList;
510
+
511
+ /** Optional parameters. */
512
+ export interface ServiceConfigurationsGetOptionalParams
513
+ extends coreClient.OperationOptions {}
514
+
515
+ /** Contains response data for the get operation. */
516
+ export type ServiceConfigurationsGetResponse = ServiceConfigurationResource;
517
+
518
+ /** Optional parameters. */
519
+ export interface ServiceConfigurationsCreateOrupdateOptionalParams
520
+ extends coreClient.OperationOptions {}
521
+
522
+ /** Contains response data for the createOrupdate operation. */
523
+ export type ServiceConfigurationsCreateOrupdateResponse = ServiceConfigurationResource;
524
+
525
+ /** Optional parameters. */
526
+ export interface ServiceConfigurationsUpdateOptionalParams
527
+ extends coreClient.OperationOptions {}
528
+
529
+ /** Contains response data for the update operation. */
530
+ export type ServiceConfigurationsUpdateResponse = ServiceConfigurationResource;
531
+
532
+ /** Optional parameters. */
533
+ export interface ServiceConfigurationsDeleteOptionalParams
534
+ extends coreClient.OperationOptions {}
535
+
536
+ /** Optional parameters. */
537
+ export interface ServiceConfigurationsListByEndpointResourceNextOptionalParams
538
+ extends coreClient.OperationOptions {}
539
+
540
+ /** Contains response data for the listByEndpointResourceNext operation. */
541
+ export type ServiceConfigurationsListByEndpointResourceNextResponse = ServiceConfigurationList;
542
+
543
+ /** Optional parameters. */
544
+ export interface HybridConnectivityManagementAPIOptionalParams
545
+ extends coreClient.ServiceClientOptions {
546
+ /** server parameter */
547
+ $host?: string;
548
+ /** Api Version */
549
+ apiVersion?: string;
550
+ /** Overrides client endpoint. */
551
+ endpoint?: string;
552
+ }