@azure/arm-resourceconnector 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 (107) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +1754 -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/appliancesCreateOrUpdateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.js +36 -0
  11. package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/appliancesDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/appliancesDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/appliancesDeleteSample.js +31 -0
  15. package/dist-esm/samples-dev/appliancesDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/appliancesGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/appliancesGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/appliancesGetSample.js +31 -0
  19. package/dist-esm/samples-dev/appliancesGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.js +32 -0
  23. package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.js.map +1 -0
  24. package/dist-esm/samples-dev/appliancesListByResourceGroupSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/appliancesListByResourceGroupSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/appliancesListByResourceGroupSample.js +44 -0
  27. package/dist-esm/samples-dev/appliancesListByResourceGroupSample.js.map +1 -0
  28. package/dist-esm/samples-dev/appliancesListBySubscriptionSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/appliancesListBySubscriptionSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/appliancesListBySubscriptionSample.js +43 -0
  31. package/dist-esm/samples-dev/appliancesListBySubscriptionSample.js.map +1 -0
  32. package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.js +31 -0
  35. package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.js.map +1 -0
  36. package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.js +31 -0
  39. package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.js.map +1 -0
  40. package/dist-esm/samples-dev/appliancesListOperationsSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/appliancesListOperationsSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/appliancesListOperationsSample.js +43 -0
  43. package/dist-esm/samples-dev/appliancesListOperationsSample.js.map +1 -0
  44. package/dist-esm/samples-dev/appliancesUpdateSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/appliancesUpdateSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/appliancesUpdateSample.js +33 -0
  47. package/dist-esm/samples-dev/appliancesUpdateSample.js.map +1 -0
  48. package/dist-esm/src/index.d.ts +5 -0
  49. package/dist-esm/src/index.d.ts.map +1 -0
  50. package/dist-esm/src/index.js +12 -0
  51. package/dist-esm/src/index.js.map +1 -0
  52. package/dist-esm/src/lroImpl.d.ts +16 -0
  53. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  54. package/dist-esm/src/lroImpl.js +29 -0
  55. package/dist-esm/src/lroImpl.js.map +1 -0
  56. package/dist-esm/src/models/index.d.ts +617 -0
  57. package/dist-esm/src/models/index.d.ts.map +1 -0
  58. package/dist-esm/src/models/index.js +102 -0
  59. package/dist-esm/src/models/index.js.map +1 -0
  60. package/dist-esm/src/models/mappers.d.ts +26 -0
  61. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  62. package/dist-esm/src/models/mappers.js +709 -0
  63. package/dist-esm/src/models/mappers.js.map +1 -0
  64. package/dist-esm/src/models/parameters.d.ts +13 -0
  65. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  66. package/dist-esm/src/models/parameters.js +124 -0
  67. package/dist-esm/src/models/parameters.js.map +1 -0
  68. package/dist-esm/src/operations/appliances.d.ts +144 -0
  69. package/dist-esm/src/operations/appliances.d.ts.map +1 -0
  70. package/dist-esm/src/operations/appliances.js +651 -0
  71. package/dist-esm/src/operations/appliances.js.map +1 -0
  72. package/dist-esm/src/operations/index.d.ts +2 -0
  73. package/dist-esm/src/operations/index.d.ts.map +1 -0
  74. package/dist-esm/src/operations/index.js +9 -0
  75. package/dist-esm/src/operations/index.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/appliances.d.ts +93 -0
  77. package/dist-esm/src/operationsInterfaces/appliances.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/appliances.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/appliances.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
  81. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/index.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  84. package/dist-esm/src/resourceConnectorManagementClient.d.ts +20 -0
  85. package/dist-esm/src/resourceConnectorManagementClient.d.ts.map +1 -0
  86. package/dist-esm/src/resourceConnectorManagementClient.js +95 -0
  87. package/dist-esm/src/resourceConnectorManagementClient.js.map +1 -0
  88. package/dist-esm/test/sampleTest.d.ts +2 -0
  89. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  90. package/dist-esm/test/sampleTest.js +38 -0
  91. package/dist-esm/test/sampleTest.js.map +1 -0
  92. package/package.json +121 -0
  93. package/review/arm-resourceconnector.api.md +400 -0
  94. package/rollup.config.js +122 -0
  95. package/src/index.ts +12 -0
  96. package/src/lroImpl.ts +34 -0
  97. package/src/models/index.ts +684 -0
  98. package/src/models/mappers.ts +748 -0
  99. package/src/models/parameters.ts +145 -0
  100. package/src/operations/appliances.ts +839 -0
  101. package/src/operations/index.ts +9 -0
  102. package/src/operationsInterfaces/appliances.ts +172 -0
  103. package/src/operationsInterfaces/index.ts +9 -0
  104. package/src/resourceConnectorManagementClient.ts +131 -0
  105. package/tsconfig.json +33 -0
  106. package/types/arm-resourceconnector.d.ts +792 -0
  107. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,684 @@
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
+ /** Lists of Appliances operations. */
12
+ export interface ApplianceOperationsList {
13
+ /** Next page of operations. */
14
+ nextLink?: string;
15
+ /** Array of applianceOperation */
16
+ value: ApplianceOperation[];
17
+ }
18
+
19
+ /** Appliances operation. */
20
+ export interface ApplianceOperation {
21
+ /**
22
+ * Is this Operation a data plane operation
23
+ * NOTE: This property will not be serialized. It can only be populated by the server.
24
+ */
25
+ readonly isDataAction?: boolean;
26
+ /**
27
+ * The name of the compute operation.
28
+ * NOTE: This property will not be serialized. It can only be populated by the server.
29
+ */
30
+ readonly name?: string;
31
+ /**
32
+ * The origin of the compute operation.
33
+ * NOTE: This property will not be serialized. It can only be populated by the server.
34
+ */
35
+ readonly origin?: string;
36
+ /**
37
+ * The description of the operation.
38
+ * NOTE: This property will not be serialized. It can only be populated by the server.
39
+ */
40
+ readonly description?: string;
41
+ /**
42
+ * The display name of the compute operation.
43
+ * NOTE: This property will not be serialized. It can only be populated by the server.
44
+ */
45
+ readonly operation?: string;
46
+ /**
47
+ * The resource provider for the operation.
48
+ * NOTE: This property will not be serialized. It can only be populated by the server.
49
+ */
50
+ readonly provider?: string;
51
+ /**
52
+ * The display name of the resource the operation applies to.
53
+ * NOTE: This property will not be serialized. It can only be populated by the server.
54
+ */
55
+ readonly resource?: string;
56
+ }
57
+
58
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
59
+ export interface ErrorResponse {
60
+ /** The error object. */
61
+ error?: ErrorDetail;
62
+ }
63
+
64
+ /** The error detail. */
65
+ export interface ErrorDetail {
66
+ /**
67
+ * The error code.
68
+ * NOTE: This property will not be serialized. It can only be populated by the server.
69
+ */
70
+ readonly code?: string;
71
+ /**
72
+ * The error message.
73
+ * NOTE: This property will not be serialized. It can only be populated by the server.
74
+ */
75
+ readonly message?: string;
76
+ /**
77
+ * The error target.
78
+ * NOTE: This property will not be serialized. It can only be populated by the server.
79
+ */
80
+ readonly target?: string;
81
+ /**
82
+ * The error details.
83
+ * NOTE: This property will not be serialized. It can only be populated by the server.
84
+ */
85
+ readonly details?: ErrorDetail[];
86
+ /**
87
+ * The error additional info.
88
+ * NOTE: This property will not be serialized. It can only be populated by the server.
89
+ */
90
+ readonly additionalInfo?: ErrorAdditionalInfo[];
91
+ }
92
+
93
+ /** The resource management error additional info. */
94
+ export interface ErrorAdditionalInfo {
95
+ /**
96
+ * The additional info type.
97
+ * NOTE: This property will not be serialized. It can only be populated by the server.
98
+ */
99
+ readonly type?: string;
100
+ /**
101
+ * The additional info.
102
+ * NOTE: This property will not be serialized. It can only be populated by the server.
103
+ */
104
+ readonly info?: Record<string, unknown>;
105
+ }
106
+
107
+ /** The List Appliances operation response. */
108
+ export interface ApplianceListResult {
109
+ /**
110
+ * The URL to use for getting the next set of results.
111
+ * NOTE: This property will not be serialized. It can only be populated by the server.
112
+ */
113
+ readonly nextLink?: string;
114
+ /**
115
+ * The list of Appliances.
116
+ * NOTE: This property will not be serialized. It can only be populated by the server.
117
+ */
118
+ readonly value?: Appliance[];
119
+ }
120
+
121
+ /** Identity for the resource. */
122
+ export interface Identity {
123
+ /**
124
+ * The principal ID of resource identity.
125
+ * NOTE: This property will not be serialized. It can only be populated by the server.
126
+ */
127
+ readonly principalId?: string;
128
+ /**
129
+ * The tenant ID of resource.
130
+ * NOTE: This property will not be serialized. It can only be populated by the server.
131
+ */
132
+ readonly tenantId?: string;
133
+ /** The identity type. */
134
+ type?: ResourceIdentityType;
135
+ }
136
+
137
+ /** Contains infrastructure information about the Appliance */
138
+ export interface AppliancePropertiesInfrastructureConfig {
139
+ /** Information about the connected appliance. */
140
+ provider?: Provider;
141
+ }
142
+
143
+ /** Metadata pertaining to creation and last modification of the resource. */
144
+ export interface SystemData {
145
+ /** The identity that created the resource. */
146
+ createdBy?: string;
147
+ /** The type of identity that created the resource. */
148
+ createdByType?: CreatedByType;
149
+ /** The timestamp of resource creation (UTC). */
150
+ createdAt?: Date;
151
+ /** The identity that last modified the resource. */
152
+ lastModifiedBy?: string;
153
+ /** The type of identity that last modified the resource. */
154
+ lastModifiedByType?: CreatedByType;
155
+ /** The timestamp of resource last modification (UTC) */
156
+ lastModifiedAt?: Date;
157
+ }
158
+
159
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
160
+ export interface Resource {
161
+ /**
162
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
163
+ * NOTE: This property will not be serialized. It can only be populated by the server.
164
+ */
165
+ readonly id?: string;
166
+ /**
167
+ * The name of the resource
168
+ * NOTE: This property will not be serialized. It can only be populated by the server.
169
+ */
170
+ readonly name?: string;
171
+ /**
172
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
173
+ * NOTE: This property will not be serialized. It can only be populated by the server.
174
+ */
175
+ readonly type?: string;
176
+ }
177
+
178
+ /** The Appliances patchable resource definition. */
179
+ export interface PatchableAppliance {
180
+ /** Resource tags */
181
+ tags?: { [propertyName: string]: string };
182
+ }
183
+
184
+ /** The List Cluster Customer User Credential Results appliance. */
185
+ export interface ApplianceListClusterCustomerUserCredentialResults {
186
+ /**
187
+ * The list of appliance kubeconfigs.
188
+ * NOTE: This property will not be serialized. It can only be populated by the server.
189
+ */
190
+ readonly kubeconfigs?: ApplianceCredentialKubeconfig[];
191
+ /**
192
+ * Map of Customer User Public and Private SSH Keys
193
+ * NOTE: This property will not be serialized. It can only be populated by the server.
194
+ */
195
+ readonly sshKeys?: { [propertyName: string]: SSHKey };
196
+ }
197
+
198
+ /** Cluster User Credential appliance. */
199
+ export interface ApplianceCredentialKubeconfig {
200
+ /**
201
+ * Name which contains the role of the kubeconfig.
202
+ * NOTE: This property will not be serialized. It can only be populated by the server.
203
+ */
204
+ readonly name?: AccessProfileType;
205
+ /**
206
+ * Contains the kubeconfig value.
207
+ * NOTE: This property will not be serialized. It can only be populated by the server.
208
+ */
209
+ readonly value?: string;
210
+ }
211
+
212
+ /** Appliance SSHKey definition. */
213
+ export interface SSHKey {
214
+ /** User Private Key. */
215
+ privateKey?: string;
216
+ /** User Public Key. */
217
+ publicKey?: string;
218
+ }
219
+
220
+ /** The List Cluster User Credential appliance. */
221
+ export interface ApplianceListCredentialResults {
222
+ /**
223
+ * Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS).
224
+ * NOTE: This property will not be serialized. It can only be populated by the server.
225
+ */
226
+ readonly hybridConnectionConfig?: HybridConnectionConfig;
227
+ /**
228
+ * The list of appliance kubeconfigs.
229
+ * NOTE: This property will not be serialized. It can only be populated by the server.
230
+ */
231
+ readonly kubeconfigs?: ApplianceCredentialKubeconfig[];
232
+ }
233
+
234
+ /** Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS). */
235
+ export interface HybridConnectionConfig {
236
+ /**
237
+ * Timestamp when this token will be expired.
238
+ * NOTE: This property will not be serialized. It can only be populated by the server.
239
+ */
240
+ readonly expirationTime?: number;
241
+ /**
242
+ * Name of the connection
243
+ * NOTE: This property will not be serialized. It can only be populated by the server.
244
+ */
245
+ readonly hybridConnectionName?: string;
246
+ /**
247
+ * Name of the notification service.
248
+ * NOTE: This property will not be serialized. It can only be populated by the server.
249
+ */
250
+ readonly relay?: string;
251
+ /**
252
+ * Listener access token
253
+ * NOTE: This property will not be serialized. It can only be populated by the server.
254
+ */
255
+ readonly token?: string;
256
+ }
257
+
258
+ /** The Upgrade Graph for appliance. */
259
+ export interface UpgradeGraph {
260
+ /**
261
+ * The appliance resource path
262
+ * NOTE: This property will not be serialized. It can only be populated by the server.
263
+ */
264
+ readonly id?: string;
265
+ /**
266
+ * The release train name.
267
+ * NOTE: This property will not be serialized. It can only be populated by the server.
268
+ */
269
+ readonly name?: string;
270
+ /** The properties of supported version */
271
+ properties?: UpgradeGraphProperties;
272
+ }
273
+
274
+ /** The Upgrade Graph Properties for appliance. */
275
+ export interface UpgradeGraphProperties {
276
+ /**
277
+ * The current appliance version
278
+ * NOTE: This property will not be serialized. It can only be populated by the server.
279
+ */
280
+ readonly applianceVersion?: string;
281
+ /**
282
+ * This contains the current version and supported upgrade versions.
283
+ * NOTE: This property will not be serialized. It can only be populated by the server.
284
+ */
285
+ readonly supportedVersions?: SupportedVersion[];
286
+ }
287
+
288
+ /** The SupportedVersion object for appliance. */
289
+ export interface SupportedVersion {
290
+ /**
291
+ * This is the metadata of the supported newer version.
292
+ * NOTE: This property will not be serialized. It can only be populated by the server.
293
+ */
294
+ readonly metadata?: SupportedVersionMetadata;
295
+ /**
296
+ * The newer version available for upgrade.
297
+ * NOTE: This property will not be serialized. It can only be populated by the server.
298
+ */
299
+ readonly version?: string;
300
+ }
301
+
302
+ /** The SupportedVersionMetadata object for appliance. */
303
+ export interface SupportedVersionMetadata {
304
+ /**
305
+ * The newer supported version catalog version.
306
+ * NOTE: This property will not be serialized. It can only be populated by the server.
307
+ */
308
+ readonly catalogVersion?: SupportedVersionCatalogVersion;
309
+ }
310
+
311
+ /** The SupportedVersionCatalogVersion object for appliance. */
312
+ export interface SupportedVersionCatalogVersion {
313
+ /**
314
+ * The newer supported version catalog version data.
315
+ * NOTE: This property will not be serialized. It can only be populated by the server.
316
+ */
317
+ readonly data?: SupportedVersionCatalogVersionData;
318
+ /**
319
+ * The catalog version name for the version available for upgrade.
320
+ * NOTE: This property will not be serialized. It can only be populated by the server.
321
+ */
322
+ readonly name?: string;
323
+ /**
324
+ * The catalog version namespace for the version available for upgrade.
325
+ * NOTE: This property will not be serialized. It can only be populated by the server.
326
+ */
327
+ readonly namespace?: string;
328
+ }
329
+
330
+ /** The SupportedVersionCatalogVersionData object for appliance. */
331
+ export interface SupportedVersionCatalogVersionData {
332
+ /**
333
+ * The image audience name for the version available for upgrade.
334
+ * NOTE: This property will not be serialized. It can only be populated by the server.
335
+ */
336
+ readonly audience?: string;
337
+ /**
338
+ * The image catalog name for the version available for upgrade.
339
+ * NOTE: This property will not be serialized. It can only be populated by the server.
340
+ */
341
+ readonly catalog?: string;
342
+ /**
343
+ * The image offer name for the version available for upgrade.
344
+ * NOTE: This property will not be serialized. It can only be populated by the server.
345
+ */
346
+ readonly offer?: string;
347
+ /**
348
+ * The image version for the version available for upgrade.
349
+ * NOTE: This property will not be serialized. It can only be populated by the server.
350
+ */
351
+ readonly version?: string;
352
+ }
353
+
354
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
355
+ export interface TrackedResource extends Resource {
356
+ /** Resource tags. */
357
+ tags?: { [propertyName: string]: string };
358
+ /** The geo-location where the resource lives */
359
+ location: string;
360
+ }
361
+
362
+ /** Appliances definition. */
363
+ export interface Appliance extends TrackedResource {
364
+ /** Identity for the resource. */
365
+ identity?: Identity;
366
+ /**
367
+ * Metadata pertaining to creation and last modification of the resource
368
+ * NOTE: This property will not be serialized. It can only be populated by the server.
369
+ */
370
+ readonly systemData?: SystemData;
371
+ /** Represents a supported Fabric/Infra. (AKSEdge etc...). */
372
+ distro?: Distro;
373
+ /** Contains infrastructure information about the Appliance */
374
+ infrastructureConfig?: AppliancePropertiesInfrastructureConfig;
375
+ /**
376
+ * The current deployment or provisioning state, which only appears in the response.
377
+ * NOTE: This property will not be serialized. It can only be populated by the server.
378
+ */
379
+ readonly provisioningState?: string;
380
+ /** Certificates pair used to download MSI certificate from HIS */
381
+ publicKey?: string;
382
+ /**
383
+ * Appliance’s health and state of connection to on-prem
384
+ * NOTE: This property will not be serialized. It can only be populated by the server.
385
+ */
386
+ readonly status?: Status;
387
+ /** Version of the Appliance */
388
+ version?: string;
389
+ }
390
+
391
+ /** Known values of {@link ResourceIdentityType} that the service accepts. */
392
+ export enum KnownResourceIdentityType {
393
+ /** SystemAssigned */
394
+ SystemAssigned = "SystemAssigned",
395
+ /** None */
396
+ None = "None"
397
+ }
398
+
399
+ /**
400
+ * Defines values for ResourceIdentityType. \
401
+ * {@link KnownResourceIdentityType} can be used interchangeably with ResourceIdentityType,
402
+ * this enum contains the known values that the service supports.
403
+ * ### Known values supported by the service
404
+ * **SystemAssigned** \
405
+ * **None**
406
+ */
407
+ export type ResourceIdentityType = string;
408
+
409
+ /** Known values of {@link Distro} that the service accepts. */
410
+ export enum KnownDistro {
411
+ /** AKSEdge */
412
+ AKSEdge = "AKSEdge"
413
+ }
414
+
415
+ /**
416
+ * Defines values for Distro. \
417
+ * {@link KnownDistro} can be used interchangeably with Distro,
418
+ * this enum contains the known values that the service supports.
419
+ * ### Known values supported by the service
420
+ * **AKSEdge**
421
+ */
422
+ export type Distro = string;
423
+
424
+ /** Known values of {@link Provider} that the service accepts. */
425
+ export enum KnownProvider {
426
+ /** VMWare */
427
+ VMWare = "VMWare",
428
+ /** HCI */
429
+ HCI = "HCI",
430
+ /** Scvmm */
431
+ Scvmm = "SCVMM",
432
+ /** KubeVirt */
433
+ KubeVirt = "KubeVirt",
434
+ /** OpenStack */
435
+ OpenStack = "OpenStack"
436
+ }
437
+
438
+ /**
439
+ * Defines values for Provider. \
440
+ * {@link KnownProvider} can be used interchangeably with Provider,
441
+ * this enum contains the known values that the service supports.
442
+ * ### Known values supported by the service
443
+ * **VMWare** \
444
+ * **HCI** \
445
+ * **SCVMM** \
446
+ * **KubeVirt** \
447
+ * **OpenStack**
448
+ */
449
+ export type Provider = string;
450
+
451
+ /** Known values of {@link Status} that the service accepts. */
452
+ export enum KnownStatus {
453
+ /** WaitingForHeartbeat */
454
+ WaitingForHeartbeat = "WaitingForHeartbeat",
455
+ /** Validating */
456
+ Validating = "Validating",
457
+ /** Connecting */
458
+ Connecting = "Connecting",
459
+ /** Connected */
460
+ Connected = "Connected",
461
+ /** Running */
462
+ Running = "Running",
463
+ /** PreparingForUpgrade */
464
+ PreparingForUpgrade = "PreparingForUpgrade",
465
+ /** UpgradePrerequisitesCompleted */
466
+ UpgradePrerequisitesCompleted = "UpgradePrerequisitesCompleted",
467
+ /** PreUpgrade */
468
+ PreUpgrade = "PreUpgrade",
469
+ /** UpdatingCloudOperator */
470
+ UpdatingCloudOperator = "UpdatingCloudOperator",
471
+ /** WaitingForCloudOperator */
472
+ WaitingForCloudOperator = "WaitingForCloudOperator",
473
+ /** UpdatingCapi */
474
+ UpdatingCapi = "UpdatingCAPI",
475
+ /** UpdatingCluster */
476
+ UpdatingCluster = "UpdatingCluster",
477
+ /** PostUpgrade */
478
+ PostUpgrade = "PostUpgrade",
479
+ /** UpgradeComplete */
480
+ UpgradeComplete = "UpgradeComplete",
481
+ /** UpgradeClusterExtensionFailedToDelete */
482
+ UpgradeClusterExtensionFailedToDelete = "UpgradeClusterExtensionFailedToDelete",
483
+ /** UpgradeFailed */
484
+ UpgradeFailed = "UpgradeFailed",
485
+ /** Offline */
486
+ Offline = "Offline",
487
+ /** None */
488
+ None = "None"
489
+ }
490
+
491
+ /**
492
+ * Defines values for Status. \
493
+ * {@link KnownStatus} can be used interchangeably with Status,
494
+ * this enum contains the known values that the service supports.
495
+ * ### Known values supported by the service
496
+ * **WaitingForHeartbeat** \
497
+ * **Validating** \
498
+ * **Connecting** \
499
+ * **Connected** \
500
+ * **Running** \
501
+ * **PreparingForUpgrade** \
502
+ * **UpgradePrerequisitesCompleted** \
503
+ * **PreUpgrade** \
504
+ * **UpdatingCloudOperator** \
505
+ * **WaitingForCloudOperator** \
506
+ * **UpdatingCAPI** \
507
+ * **UpdatingCluster** \
508
+ * **PostUpgrade** \
509
+ * **UpgradeComplete** \
510
+ * **UpgradeClusterExtensionFailedToDelete** \
511
+ * **UpgradeFailed** \
512
+ * **Offline** \
513
+ * **None**
514
+ */
515
+ export type Status = string;
516
+
517
+ /** Known values of {@link CreatedByType} that the service accepts. */
518
+ export enum KnownCreatedByType {
519
+ /** User */
520
+ User = "User",
521
+ /** Application */
522
+ Application = "Application",
523
+ /** ManagedIdentity */
524
+ ManagedIdentity = "ManagedIdentity",
525
+ /** Key */
526
+ Key = "Key"
527
+ }
528
+
529
+ /**
530
+ * Defines values for CreatedByType. \
531
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
532
+ * this enum contains the known values that the service supports.
533
+ * ### Known values supported by the service
534
+ * **User** \
535
+ * **Application** \
536
+ * **ManagedIdentity** \
537
+ * **Key**
538
+ */
539
+ export type CreatedByType = string;
540
+
541
+ /** Known values of {@link AccessProfileType} that the service accepts. */
542
+ export enum KnownAccessProfileType {
543
+ /** ClusterUser */
544
+ ClusterUser = "clusterUser",
545
+ /** ClusterCustomerUser */
546
+ ClusterCustomerUser = "clusterCustomerUser"
547
+ }
548
+
549
+ /**
550
+ * Defines values for AccessProfileType. \
551
+ * {@link KnownAccessProfileType} can be used interchangeably with AccessProfileType,
552
+ * this enum contains the known values that the service supports.
553
+ * ### Known values supported by the service
554
+ * **clusterUser** \
555
+ * **clusterCustomerUser**
556
+ */
557
+ export type AccessProfileType = string;
558
+
559
+ /** Known values of {@link SSHKeyType} that the service accepts. */
560
+ export enum KnownSSHKeyType {
561
+ /** SSHCustomerUser */
562
+ SSHCustomerUser = "SSHCustomerUser"
563
+ }
564
+
565
+ /**
566
+ * Defines values for SSHKeyType. \
567
+ * {@link KnownSSHKeyType} can be used interchangeably with SSHKeyType,
568
+ * this enum contains the known values that the service supports.
569
+ * ### Known values supported by the service
570
+ * **SSHCustomerUser**
571
+ */
572
+ export type SSHKeyType = string;
573
+
574
+ /** Optional parameters. */
575
+ export interface AppliancesListOperationsOptionalParams
576
+ extends coreClient.OperationOptions {}
577
+
578
+ /** Contains response data for the listOperations operation. */
579
+ export type AppliancesListOperationsResponse = ApplianceOperationsList;
580
+
581
+ /** Optional parameters. */
582
+ export interface AppliancesListBySubscriptionOptionalParams
583
+ extends coreClient.OperationOptions {}
584
+
585
+ /** Contains response data for the listBySubscription operation. */
586
+ export type AppliancesListBySubscriptionResponse = ApplianceListResult;
587
+
588
+ /** Optional parameters. */
589
+ export interface AppliancesListByResourceGroupOptionalParams
590
+ extends coreClient.OperationOptions {}
591
+
592
+ /** Contains response data for the listByResourceGroup operation. */
593
+ export type AppliancesListByResourceGroupResponse = ApplianceListResult;
594
+
595
+ /** Optional parameters. */
596
+ export interface AppliancesGetOptionalParams
597
+ extends coreClient.OperationOptions {}
598
+
599
+ /** Contains response data for the get operation. */
600
+ export type AppliancesGetResponse = Appliance;
601
+
602
+ /** Optional parameters. */
603
+ export interface AppliancesCreateOrUpdateOptionalParams
604
+ extends coreClient.OperationOptions {
605
+ /** Delay to wait until next poll, in milliseconds. */
606
+ updateIntervalInMs?: number;
607
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
608
+ resumeFrom?: string;
609
+ }
610
+
611
+ /** Contains response data for the createOrUpdate operation. */
612
+ export type AppliancesCreateOrUpdateResponse = Appliance;
613
+
614
+ /** Optional parameters. */
615
+ export interface AppliancesDeleteOptionalParams
616
+ extends coreClient.OperationOptions {
617
+ /** Delay to wait until next poll, in milliseconds. */
618
+ updateIntervalInMs?: number;
619
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
620
+ resumeFrom?: string;
621
+ }
622
+
623
+ /** Optional parameters. */
624
+ export interface AppliancesUpdateOptionalParams
625
+ extends coreClient.OperationOptions {
626
+ /** Resource tags */
627
+ tags?: { [propertyName: string]: string };
628
+ }
629
+
630
+ /** Contains response data for the update operation. */
631
+ export type AppliancesUpdateResponse = Appliance;
632
+
633
+ /** Optional parameters. */
634
+ export interface AppliancesListClusterCustomerUserCredentialOptionalParams
635
+ extends coreClient.OperationOptions {}
636
+
637
+ /** Contains response data for the listClusterCustomerUserCredential operation. */
638
+ export type AppliancesListClusterCustomerUserCredentialResponse = ApplianceListClusterCustomerUserCredentialResults;
639
+
640
+ /** Optional parameters. */
641
+ export interface AppliancesListClusterUserCredentialOptionalParams
642
+ extends coreClient.OperationOptions {}
643
+
644
+ /** Contains response data for the listClusterUserCredential operation. */
645
+ export type AppliancesListClusterUserCredentialResponse = ApplianceListCredentialResults;
646
+
647
+ /** Optional parameters. */
648
+ export interface AppliancesGetUpgradeGraphOptionalParams
649
+ extends coreClient.OperationOptions {}
650
+
651
+ /** Contains response data for the getUpgradeGraph operation. */
652
+ export type AppliancesGetUpgradeGraphResponse = UpgradeGraph;
653
+
654
+ /** Optional parameters. */
655
+ export interface AppliancesListOperationsNextOptionalParams
656
+ extends coreClient.OperationOptions {}
657
+
658
+ /** Contains response data for the listOperationsNext operation. */
659
+ export type AppliancesListOperationsNextResponse = ApplianceOperationsList;
660
+
661
+ /** Optional parameters. */
662
+ export interface AppliancesListBySubscriptionNextOptionalParams
663
+ extends coreClient.OperationOptions {}
664
+
665
+ /** Contains response data for the listBySubscriptionNext operation. */
666
+ export type AppliancesListBySubscriptionNextResponse = ApplianceListResult;
667
+
668
+ /** Optional parameters. */
669
+ export interface AppliancesListByResourceGroupNextOptionalParams
670
+ extends coreClient.OperationOptions {}
671
+
672
+ /** Contains response data for the listByResourceGroupNext operation. */
673
+ export type AppliancesListByResourceGroupNextResponse = ApplianceListResult;
674
+
675
+ /** Optional parameters. */
676
+ export interface ResourceConnectorManagementClientOptionalParams
677
+ extends coreClient.ServiceClientOptions {
678
+ /** server parameter */
679
+ $host?: string;
680
+ /** Api Version */
681
+ apiVersion?: string;
682
+ /** Overrides client endpoint. */
683
+ endpoint?: string;
684
+ }