@azure/arm-resourceconnector 1.0.0-beta.1 → 1.0.0-beta.3

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 (88) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  4. package/dist/index.js +370 -164
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.js +12 -4
  9. package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.js.map +1 -1
  10. package/dist-esm/samples-dev/appliancesDeleteSample.js +12 -4
  11. package/dist-esm/samples-dev/appliancesDeleteSample.js.map +1 -1
  12. package/dist-esm/samples-dev/appliancesGetSample.js +12 -4
  13. package/dist-esm/samples-dev/appliancesGetSample.js.map +1 -1
  14. package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.js +37 -0
  17. package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.js.map +1 -0
  18. package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.js +12 -4
  19. package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.js.map +1 -1
  20. package/dist-esm/samples-dev/appliancesListByResourceGroupSample.js +24 -9
  21. package/dist-esm/samples-dev/appliancesListByResourceGroupSample.js.map +1 -1
  22. package/dist-esm/samples-dev/appliancesListBySubscriptionSample.js +23 -8
  23. package/dist-esm/samples-dev/appliancesListBySubscriptionSample.js.map +1 -1
  24. package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.js +12 -4
  25. package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.js.map +1 -1
  26. package/dist-esm/samples-dev/appliancesListKeysSample.d.ts +2 -0
  27. package/dist-esm/samples-dev/appliancesListKeysSample.d.ts.map +1 -0
  28. package/dist-esm/samples-dev/{appliancesListClusterCustomerUserCredentialSample.js → appliancesListKeysSample.js} +17 -9
  29. package/dist-esm/samples-dev/appliancesListKeysSample.js.map +1 -0
  30. package/dist-esm/samples-dev/appliancesListOperationsSample.js +23 -8
  31. package/dist-esm/samples-dev/appliancesListOperationsSample.js.map +1 -1
  32. package/dist-esm/samples-dev/appliancesUpdateSample.js +12 -4
  33. package/dist-esm/samples-dev/appliancesUpdateSample.js.map +1 -1
  34. package/dist-esm/src/index.d.ts +1 -0
  35. package/dist-esm/src/index.d.ts.map +1 -1
  36. package/dist-esm/src/index.js +1 -0
  37. package/dist-esm/src/index.js.map +1 -1
  38. package/dist-esm/src/lroImpl.d.ts +6 -11
  39. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  40. package/dist-esm/src/lroImpl.js +12 -20
  41. package/dist-esm/src/lroImpl.js.map +1 -1
  42. package/dist-esm/src/models/index.d.ts +170 -72
  43. package/dist-esm/src/models/index.d.ts.map +1 -1
  44. package/dist-esm/src/models/index.js +30 -0
  45. package/dist-esm/src/models/index.js.map +1 -1
  46. package/dist-esm/src/models/mappers.d.ts +6 -4
  47. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  48. package/dist-esm/src/models/mappers.js +125 -63
  49. package/dist-esm/src/models/mappers.js.map +1 -1
  50. package/dist-esm/src/models/parameters.js +1 -1
  51. package/dist-esm/src/models/parameters.js.map +1 -1
  52. package/dist-esm/src/operations/appliances.d.ts +13 -8
  53. package/dist-esm/src/operations/appliances.d.ts.map +1 -1
  54. package/dist-esm/src/operations/appliances.js +146 -63
  55. package/dist-esm/src/operations/appliances.js.map +1 -1
  56. package/dist-esm/src/operationsInterfaces/appliances.d.ts +13 -8
  57. package/dist-esm/src/operationsInterfaces/appliances.d.ts.map +1 -1
  58. package/dist-esm/src/pagingHelper.d.ts +13 -0
  59. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  60. package/dist-esm/src/pagingHelper.js +32 -0
  61. package/dist-esm/src/pagingHelper.js.map +1 -0
  62. package/dist-esm/src/resourceConnectorManagementClient.d.ts.map +1 -1
  63. package/dist-esm/src/resourceConnectorManagementClient.js +21 -16
  64. package/dist-esm/src/resourceConnectorManagementClient.js.map +1 -1
  65. package/dist-esm/test/resourceconnnector__operations_test.spec.d.ts +4 -0
  66. package/dist-esm/test/resourceconnnector__operations_test.spec.d.ts.map +1 -0
  67. package/dist-esm/test/resourceconnnector__operations_test.spec.js +123 -0
  68. package/dist-esm/test/resourceconnnector__operations_test.spec.js.map +1 -0
  69. package/package.json +15 -13
  70. package/review/arm-resourceconnector.api.md +65 -18
  71. package/src/index.ts +1 -0
  72. package/src/lroImpl.ts +31 -23
  73. package/src/models/index.ts +156 -54
  74. package/src/models/mappers.ts +127 -64
  75. package/src/models/parameters.ts +1 -1
  76. package/src/operations/appliances.ts +145 -68
  77. package/src/operationsInterfaces/appliances.ts +23 -14
  78. package/src/pagingHelper.ts +39 -0
  79. package/src/resourceConnectorManagementClient.ts +27 -18
  80. package/types/arm-resourceconnector.d.ts +155 -37
  81. package/types/tsdoc-metadata.json +1 -1
  82. package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.d.ts +0 -2
  83. package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.d.ts.map +0 -1
  84. package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.js.map +0 -1
  85. package/dist-esm/test/sampleTest.d.ts +0 -2
  86. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  87. package/dist-esm/test/sampleTest.js +0 -38
  88. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -140,6 +140,30 @@ export interface AppliancePropertiesInfrastructureConfig {
140
140
  provider?: Provider;
141
141
  }
142
142
 
143
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
144
+ export interface Resource {
145
+ /**
146
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
147
+ * NOTE: This property will not be serialized. It can only be populated by the server.
148
+ */
149
+ readonly id?: string;
150
+ /**
151
+ * The name of the resource
152
+ * NOTE: This property will not be serialized. It can only be populated by the server.
153
+ */
154
+ readonly name?: string;
155
+ /**
156
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
157
+ * NOTE: This property will not be serialized. It can only be populated by the server.
158
+ */
159
+ readonly type?: string;
160
+ /**
161
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
162
+ * NOTE: This property will not be serialized. It can only be populated by the server.
163
+ */
164
+ readonly systemData?: SystemData;
165
+ }
166
+
143
167
  /** Metadata pertaining to creation and last modification of the resource. */
144
168
  export interface SystemData {
145
169
  /** The identity that created the resource. */
@@ -156,23 +180,13 @@ export interface SystemData {
156
180
  lastModifiedAt?: Date;
157
181
  }
158
182
 
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;
183
+ /** The Get Telemetry Config Result appliance. */
184
+ export interface ApplianceGetTelemetryConfigResult {
166
185
  /**
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"
186
+ * Telemetry instrumentation key.
173
187
  * NOTE: This property will not be serialized. It can only be populated by the server.
174
188
  */
175
- readonly type?: string;
189
+ readonly telemetryInstrumentationKey?: string;
176
190
  }
177
191
 
178
192
  /** The Appliances patchable resource definition. */
@@ -181,18 +195,42 @@ export interface PatchableAppliance {
181
195
  tags?: { [propertyName: string]: string };
182
196
  }
183
197
 
184
- /** The List Cluster Customer User Credential Results appliance. */
185
- export interface ApplianceListClusterCustomerUserCredentialResults {
198
+ /** The List Cluster User Credential appliance. */
199
+ export interface ApplianceListCredentialResults {
200
+ /**
201
+ * Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS).
202
+ * NOTE: This property will not be serialized. It can only be populated by the server.
203
+ */
204
+ readonly hybridConnectionConfig?: HybridConnectionConfig;
186
205
  /**
187
206
  * The list of appliance kubeconfigs.
188
207
  * NOTE: This property will not be serialized. It can only be populated by the server.
189
208
  */
190
209
  readonly kubeconfigs?: ApplianceCredentialKubeconfig[];
210
+ }
211
+
212
+ /** Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS). */
213
+ export interface HybridConnectionConfig {
191
214
  /**
192
- * Map of Customer User Public and Private SSH Keys
215
+ * Timestamp when this token will be expired.
193
216
  * NOTE: This property will not be serialized. It can only be populated by the server.
194
217
  */
195
- readonly sshKeys?: { [propertyName: string]: SSHKey };
218
+ readonly expirationTime?: number;
219
+ /**
220
+ * Name of the connection
221
+ * NOTE: This property will not be serialized. It can only be populated by the server.
222
+ */
223
+ readonly hybridConnectionName?: string;
224
+ /**
225
+ * Name of the notification service.
226
+ * NOTE: This property will not be serialized. It can only be populated by the server.
227
+ */
228
+ readonly relay?: string;
229
+ /**
230
+ * Listener access token
231
+ * NOTE: This property will not be serialized. It can only be populated by the server.
232
+ */
233
+ readonly token?: string;
196
234
  }
197
235
 
198
236
  /** Cluster User Credential appliance. */
@@ -209,50 +247,61 @@ export interface ApplianceCredentialKubeconfig {
209
247
  readonly value?: string;
210
248
  }
211
249
 
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 {
250
+ /** The List Cluster Keys Results appliance. */
251
+ export interface ApplianceListKeysResults {
222
252
  /**
223
- * Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS).
253
+ * Map of artifacts that contains a list of ArtifactProfile used to upload artifacts such as logs.
224
254
  * NOTE: This property will not be serialized. It can only be populated by the server.
225
255
  */
226
- readonly hybridConnectionConfig?: HybridConnectionConfig;
256
+ readonly artifactProfiles?: { [propertyName: string]: ArtifactProfile };
227
257
  /**
228
258
  * The list of appliance kubeconfigs.
229
259
  * NOTE: This property will not be serialized. It can only be populated by the server.
230
260
  */
231
261
  readonly kubeconfigs?: ApplianceCredentialKubeconfig[];
262
+ /**
263
+ * Map of Customer User Public, Private SSH Keys and Certificate when available.
264
+ * NOTE: This property will not be serialized. It can only be populated by the server.
265
+ */
266
+ readonly sshKeys?: { [propertyName: string]: SSHKey };
232
267
  }
233
268
 
234
- /** Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS). */
235
- export interface HybridConnectionConfig {
269
+ /** Appliance ArtifactProfile definition. */
270
+ export interface ArtifactProfile {
236
271
  /**
237
- * Timestamp when this token will be expired.
272
+ * Endpoint is the URL to upload artifacts to.
238
273
  * NOTE: This property will not be serialized. It can only be populated by the server.
239
274
  */
240
- readonly expirationTime?: number;
275
+ readonly endpoint?: string;
276
+ }
277
+
278
+ /** Appliance SSHKey definition. */
279
+ export interface SSHKey {
241
280
  /**
242
- * Name of the connection
281
+ * Certificate associated with the public key if the key is signed.
243
282
  * NOTE: This property will not be serialized. It can only be populated by the server.
244
283
  */
245
- readonly hybridConnectionName?: string;
284
+ readonly certificate?: string;
246
285
  /**
247
- * Name of the notification service.
286
+ * Certificate creation timestamp (Unix).
248
287
  * NOTE: This property will not be serialized. It can only be populated by the server.
249
288
  */
250
- readonly relay?: string;
289
+ readonly creationTimeStamp?: number;
251
290
  /**
252
- * Listener access token
291
+ * Certificate expiration timestamp (Unix).
253
292
  * NOTE: This property will not be serialized. It can only be populated by the server.
254
293
  */
255
- readonly token?: string;
294
+ readonly expirationTimeStamp?: number;
295
+ /**
296
+ * Private Key.
297
+ * NOTE: This property will not be serialized. It can only be populated by the server.
298
+ */
299
+ readonly privateKey?: string;
300
+ /**
301
+ * Public Key.
302
+ * NOTE: This property will not be serialized. It can only be populated by the server.
303
+ */
304
+ readonly publicKey?: string;
256
305
  }
257
306
 
258
307
  /** The Upgrade Graph for appliance. */
@@ -363,11 +412,6 @@ export interface TrackedResource extends Resource {
363
412
  export interface Appliance extends TrackedResource {
364
413
  /** Identity for the resource. */
365
414
  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
415
  /** Represents a supported Fabric/Infra. (AKSEdge etc...). */
372
416
  distro?: Distro;
373
417
  /** Contains infrastructure information about the Appliance */
@@ -377,7 +421,7 @@ export interface Appliance extends TrackedResource {
377
421
  * NOTE: This property will not be serialized. It can only be populated by the server.
378
422
  */
379
423
  readonly provisioningState?: string;
380
- /** Certificates pair used to download MSI certificate from HIS */
424
+ /** Certificates pair used to download MSI certificate from HIS. Can only be set once. */
381
425
  publicKey?: string;
382
426
  /**
383
427
  * Appliance’s health and state of connection to on-prem
@@ -466,6 +510,24 @@ export enum KnownStatus {
466
510
  UpgradePrerequisitesCompleted = "UpgradePrerequisitesCompleted",
467
511
  /** PreUpgrade */
468
512
  PreUpgrade = "PreUpgrade",
513
+ /** UpgradingKvaio */
514
+ UpgradingKvaio = "UpgradingKVAIO",
515
+ /** WaitingForKvaio */
516
+ WaitingForKvaio = "WaitingForKVAIO",
517
+ /** ImagePending */
518
+ ImagePending = "ImagePending",
519
+ /** ImageProvisioning */
520
+ ImageProvisioning = "ImageProvisioning",
521
+ /** ImageProvisioned */
522
+ ImageProvisioned = "ImageProvisioned",
523
+ /** ImageDownloading */
524
+ ImageDownloading = "ImageDownloading",
525
+ /** ImageDownloaded */
526
+ ImageDownloaded = "ImageDownloaded",
527
+ /** ImageDeprovisioning */
528
+ ImageDeprovisioning = "ImageDeprovisioning",
529
+ /** ImageUnknown */
530
+ ImageUnknown = "ImageUnknown",
469
531
  /** UpdatingCloudOperator */
470
532
  UpdatingCloudOperator = "UpdatingCloudOperator",
471
533
  /** WaitingForCloudOperator */
@@ -501,6 +563,15 @@ export enum KnownStatus {
501
563
  * **PreparingForUpgrade** \
502
564
  * **UpgradePrerequisitesCompleted** \
503
565
  * **PreUpgrade** \
566
+ * **UpgradingKVAIO** \
567
+ * **WaitingForKVAIO** \
568
+ * **ImagePending** \
569
+ * **ImageProvisioning** \
570
+ * **ImageProvisioned** \
571
+ * **ImageDownloading** \
572
+ * **ImageDownloaded** \
573
+ * **ImageDeprovisioning** \
574
+ * **ImageUnknown** \
504
575
  * **UpdatingCloudOperator** \
505
576
  * **WaitingForCloudOperator** \
506
577
  * **UpdatingCAPI** \
@@ -556,10 +627,31 @@ export enum KnownAccessProfileType {
556
627
  */
557
628
  export type AccessProfileType = string;
558
629
 
630
+ /** Known values of {@link ArtifactType} that the service accepts. */
631
+ export enum KnownArtifactType {
632
+ /** LogsArtifactType */
633
+ LogsArtifactType = "LogsArtifactType"
634
+ }
635
+
636
+ /**
637
+ * Defines values for ArtifactType. \
638
+ * {@link KnownArtifactType} can be used interchangeably with ArtifactType,
639
+ * this enum contains the known values that the service supports.
640
+ * ### Known values supported by the service
641
+ * **LogsArtifactType**
642
+ */
643
+ export type ArtifactType = string;
644
+
559
645
  /** Known values of {@link SSHKeyType} that the service accepts. */
560
646
  export enum KnownSSHKeyType {
561
647
  /** SSHCustomerUser */
562
- SSHCustomerUser = "SSHCustomerUser"
648
+ SSHCustomerUser = "SSHCustomerUser",
649
+ /** ManagementCAKey */
650
+ ManagementCAKey = "ManagementCAKey",
651
+ /** LogsKey */
652
+ LogsKey = "LogsKey",
653
+ /** ScopedAccessKey */
654
+ ScopedAccessKey = "ScopedAccessKey"
563
655
  }
564
656
 
565
657
  /**
@@ -567,7 +659,10 @@ export enum KnownSSHKeyType {
567
659
  * {@link KnownSSHKeyType} can be used interchangeably with SSHKeyType,
568
660
  * this enum contains the known values that the service supports.
569
661
  * ### Known values supported by the service
570
- * **SSHCustomerUser**
662
+ * **SSHCustomerUser** \
663
+ * **ManagementCAKey** \
664
+ * **LogsKey** \
665
+ * **ScopedAccessKey**
571
666
  */
572
667
  export type SSHKeyType = string;
573
668
 
@@ -585,6 +680,13 @@ export interface AppliancesListBySubscriptionOptionalParams
585
680
  /** Contains response data for the listBySubscription operation. */
586
681
  export type AppliancesListBySubscriptionResponse = ApplianceListResult;
587
682
 
683
+ /** Optional parameters. */
684
+ export interface AppliancesGetTelemetryConfigOptionalParams
685
+ extends coreClient.OperationOptions {}
686
+
687
+ /** Contains response data for the getTelemetryConfig operation. */
688
+ export type AppliancesGetTelemetryConfigResponse = ApplianceGetTelemetryConfigResult;
689
+
588
690
  /** Optional parameters. */
589
691
  export interface AppliancesListByResourceGroupOptionalParams
590
692
  extends coreClient.OperationOptions {}
@@ -631,18 +733,18 @@ export interface AppliancesUpdateOptionalParams
631
733
  export type AppliancesUpdateResponse = Appliance;
632
734
 
633
735
  /** Optional parameters. */
634
- export interface AppliancesListClusterCustomerUserCredentialOptionalParams
736
+ export interface AppliancesListClusterUserCredentialOptionalParams
635
737
  extends coreClient.OperationOptions {}
636
738
 
637
- /** Contains response data for the listClusterCustomerUserCredential operation. */
638
- export type AppliancesListClusterCustomerUserCredentialResponse = ApplianceListClusterCustomerUserCredentialResults;
739
+ /** Contains response data for the listClusterUserCredential operation. */
740
+ export type AppliancesListClusterUserCredentialResponse = ApplianceListCredentialResults;
639
741
 
640
742
  /** Optional parameters. */
641
- export interface AppliancesListClusterUserCredentialOptionalParams
743
+ export interface AppliancesListKeysOptionalParams
642
744
  extends coreClient.OperationOptions {}
643
745
 
644
- /** Contains response data for the listClusterUserCredential operation. */
645
- export type AppliancesListClusterUserCredentialResponse = ApplianceListCredentialResults;
746
+ /** Contains response data for the listKeys operation. */
747
+ export type AppliancesListKeysResponse = ApplianceListKeysResults;
646
748
 
647
749
  /** Optional parameters. */
648
750
  export interface AppliancesGetUpgradeGraphOptionalParams
@@ -263,6 +263,43 @@ export const AppliancePropertiesInfrastructureConfig: coreClient.CompositeMapper
263
263
  }
264
264
  };
265
265
 
266
+ export const Resource: coreClient.CompositeMapper = {
267
+ type: {
268
+ name: "Composite",
269
+ className: "Resource",
270
+ modelProperties: {
271
+ id: {
272
+ serializedName: "id",
273
+ readOnly: true,
274
+ type: {
275
+ name: "String"
276
+ }
277
+ },
278
+ name: {
279
+ serializedName: "name",
280
+ readOnly: true,
281
+ type: {
282
+ name: "String"
283
+ }
284
+ },
285
+ type: {
286
+ serializedName: "type",
287
+ readOnly: true,
288
+ type: {
289
+ name: "String"
290
+ }
291
+ },
292
+ systemData: {
293
+ serializedName: "systemData",
294
+ type: {
295
+ name: "Composite",
296
+ className: "SystemData"
297
+ }
298
+ }
299
+ }
300
+ }
301
+ };
302
+
266
303
  export const SystemData: coreClient.CompositeMapper = {
267
304
  type: {
268
305
  name: "Composite",
@@ -308,27 +345,13 @@ export const SystemData: coreClient.CompositeMapper = {
308
345
  }
309
346
  };
310
347
 
311
- export const Resource: coreClient.CompositeMapper = {
348
+ export const ApplianceGetTelemetryConfigResult: coreClient.CompositeMapper = {
312
349
  type: {
313
350
  name: "Composite",
314
- className: "Resource",
351
+ className: "ApplianceGetTelemetryConfigResult",
315
352
  modelProperties: {
316
- id: {
317
- serializedName: "id",
318
- readOnly: true,
319
- type: {
320
- name: "String"
321
- }
322
- },
323
- name: {
324
- serializedName: "name",
325
- readOnly: true,
326
- type: {
327
- name: "String"
328
- }
329
- },
330
- type: {
331
- serializedName: "type",
353
+ telemetryInstrumentationKey: {
354
+ serializedName: "telemetryInstrumentationKey",
332
355
  readOnly: true,
333
356
  type: {
334
357
  name: "String"
@@ -354,11 +377,18 @@ export const PatchableAppliance: coreClient.CompositeMapper = {
354
377
  }
355
378
  };
356
379
 
357
- export const ApplianceListClusterCustomerUserCredentialResults: coreClient.CompositeMapper = {
380
+ export const ApplianceListCredentialResults: coreClient.CompositeMapper = {
358
381
  type: {
359
382
  name: "Composite",
360
- className: "ApplianceListClusterCustomerUserCredentialResults",
383
+ className: "ApplianceListCredentialResults",
361
384
  modelProperties: {
385
+ hybridConnectionConfig: {
386
+ serializedName: "hybridConnectionConfig",
387
+ type: {
388
+ name: "Composite",
389
+ className: "HybridConnectionConfig"
390
+ }
391
+ },
362
392
  kubeconfigs: {
363
393
  serializedName: "kubeconfigs",
364
394
  readOnly: true,
@@ -371,33 +401,39 @@ export const ApplianceListClusterCustomerUserCredentialResults: coreClient.Compo
371
401
  }
372
402
  }
373
403
  }
374
- },
375
- sshKeys: {
376
- serializedName: "sshKeys",
377
- readOnly: true,
378
- type: {
379
- name: "Dictionary",
380
- value: { type: { name: "Composite", className: "SSHKey" } }
381
- }
382
404
  }
383
405
  }
384
406
  }
385
407
  };
386
408
 
387
- export const ApplianceCredentialKubeconfig: coreClient.CompositeMapper = {
409
+ export const HybridConnectionConfig: coreClient.CompositeMapper = {
388
410
  type: {
389
411
  name: "Composite",
390
- className: "ApplianceCredentialKubeconfig",
412
+ className: "HybridConnectionConfig",
391
413
  modelProperties: {
392
- name: {
393
- serializedName: "name",
414
+ expirationTime: {
415
+ serializedName: "expirationTime",
416
+ readOnly: true,
417
+ type: {
418
+ name: "Number"
419
+ }
420
+ },
421
+ hybridConnectionName: {
422
+ serializedName: "hybridConnectionName",
394
423
  readOnly: true,
395
424
  type: {
396
425
  name: "String"
397
426
  }
398
427
  },
399
- value: {
400
- serializedName: "value",
428
+ relay: {
429
+ serializedName: "relay",
430
+ readOnly: true,
431
+ type: {
432
+ name: "String"
433
+ }
434
+ },
435
+ token: {
436
+ serializedName: "token",
401
437
  readOnly: true,
402
438
  type: {
403
439
  name: "String"
@@ -407,19 +443,21 @@ export const ApplianceCredentialKubeconfig: coreClient.CompositeMapper = {
407
443
  }
408
444
  };
409
445
 
410
- export const SSHKey: coreClient.CompositeMapper = {
446
+ export const ApplianceCredentialKubeconfig: coreClient.CompositeMapper = {
411
447
  type: {
412
448
  name: "Composite",
413
- className: "SSHKey",
449
+ className: "ApplianceCredentialKubeconfig",
414
450
  modelProperties: {
415
- privateKey: {
416
- serializedName: "privateKey",
451
+ name: {
452
+ serializedName: "name",
453
+ readOnly: true,
417
454
  type: {
418
455
  name: "String"
419
456
  }
420
457
  },
421
- publicKey: {
422
- serializedName: "publicKey",
458
+ value: {
459
+ serializedName: "value",
460
+ readOnly: true,
423
461
  type: {
424
462
  name: "String"
425
463
  }
@@ -428,16 +466,17 @@ export const SSHKey: coreClient.CompositeMapper = {
428
466
  }
429
467
  };
430
468
 
431
- export const ApplianceListCredentialResults: coreClient.CompositeMapper = {
469
+ export const ApplianceListKeysResults: coreClient.CompositeMapper = {
432
470
  type: {
433
471
  name: "Composite",
434
- className: "ApplianceListCredentialResults",
472
+ className: "ApplianceListKeysResults",
435
473
  modelProperties: {
436
- hybridConnectionConfig: {
437
- serializedName: "hybridConnectionConfig",
474
+ artifactProfiles: {
475
+ serializedName: "artifactProfiles",
476
+ readOnly: true,
438
477
  type: {
439
- name: "Composite",
440
- className: "HybridConnectionConfig"
478
+ name: "Dictionary",
479
+ value: { type: { name: "Composite", className: "ArtifactProfile" } }
441
480
  }
442
481
  },
443
482
  kubeconfigs: {
@@ -452,39 +491,70 @@ export const ApplianceListCredentialResults: coreClient.CompositeMapper = {
452
491
  }
453
492
  }
454
493
  }
494
+ },
495
+ sshKeys: {
496
+ serializedName: "sshKeys",
497
+ readOnly: true,
498
+ type: {
499
+ name: "Dictionary",
500
+ value: { type: { name: "Composite", className: "SSHKey" } }
501
+ }
455
502
  }
456
503
  }
457
504
  }
458
505
  };
459
506
 
460
- export const HybridConnectionConfig: coreClient.CompositeMapper = {
507
+ export const ArtifactProfile: coreClient.CompositeMapper = {
461
508
  type: {
462
509
  name: "Composite",
463
- className: "HybridConnectionConfig",
510
+ className: "ArtifactProfile",
464
511
  modelProperties: {
465
- expirationTime: {
466
- serializedName: "expirationTime",
512
+ endpoint: {
513
+ serializedName: "endpoint",
514
+ readOnly: true,
515
+ type: {
516
+ name: "String"
517
+ }
518
+ }
519
+ }
520
+ }
521
+ };
522
+
523
+ export const SSHKey: coreClient.CompositeMapper = {
524
+ type: {
525
+ name: "Composite",
526
+ className: "SSHKey",
527
+ modelProperties: {
528
+ certificate: {
529
+ serializedName: "certificate",
530
+ readOnly: true,
531
+ type: {
532
+ name: "String"
533
+ }
534
+ },
535
+ creationTimeStamp: {
536
+ serializedName: "creationTimeStamp",
467
537
  readOnly: true,
468
538
  type: {
469
539
  name: "Number"
470
540
  }
471
541
  },
472
- hybridConnectionName: {
473
- serializedName: "hybridConnectionName",
542
+ expirationTimeStamp: {
543
+ serializedName: "expirationTimeStamp",
474
544
  readOnly: true,
475
545
  type: {
476
- name: "String"
546
+ name: "Number"
477
547
  }
478
548
  },
479
- relay: {
480
- serializedName: "relay",
549
+ privateKey: {
550
+ serializedName: "privateKey",
481
551
  readOnly: true,
482
552
  type: {
483
553
  name: "String"
484
554
  }
485
555
  },
486
- token: {
487
- serializedName: "token",
556
+ publicKey: {
557
+ serializedName: "publicKey",
488
558
  readOnly: true,
489
559
  type: {
490
560
  name: "String"
@@ -696,13 +766,6 @@ export const Appliance: coreClient.CompositeMapper = {
696
766
  className: "Identity"
697
767
  }
698
768
  },
699
- systemData: {
700
- serializedName: "systemData",
701
- type: {
702
- name: "Composite",
703
- className: "SystemData"
704
- }
705
- },
706
769
  distro: {
707
770
  defaultValue: "AKSEdge",
708
771
  serializedName: "properties.distro",
@@ -43,7 +43,7 @@ export const $host: OperationURLParameter = {
43
43
  export const apiVersion: OperationQueryParameter = {
44
44
  parameterPath: "apiVersion",
45
45
  mapper: {
46
- defaultValue: "2022-04-15-preview",
46
+ defaultValue: "2022-10-27",
47
47
  isConstant: true,
48
48
  serializedName: "api-version",
49
49
  type: {