@azure/arm-avs 5.0.1-alpha.20240926.1 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/CHANGELOG.md +47 -7
  2. package/dist/index.js +136 -543
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/workloadNetworksUpdateDhcpSample.js +1 -1
  7. package/dist-esm/samples-dev/workloadNetworksUpdateDhcpSample.js.map +1 -1
  8. package/dist-esm/samples-dev/workloadNetworksUpdateDnsServiceSample.js.map +1 -1
  9. package/dist-esm/samples-dev/workloadNetworksUpdateDnsZoneSample.js +1 -1
  10. package/dist-esm/samples-dev/workloadNetworksUpdateDnsZoneSample.js.map +1 -1
  11. package/dist-esm/samples-dev/workloadNetworksUpdatePortMirroringSample.js.map +1 -1
  12. package/dist-esm/samples-dev/workloadNetworksUpdateSegmentsSample.js +1 -1
  13. package/dist-esm/samples-dev/workloadNetworksUpdateSegmentsSample.js.map +1 -1
  14. package/dist-esm/samples-dev/workloadNetworksUpdateVMGroupSample.js +1 -1
  15. package/dist-esm/samples-dev/workloadNetworksUpdateVMGroupSample.js.map +1 -1
  16. package/dist-esm/src/azureVMwareSolutionAPI.js +1 -1
  17. package/dist-esm/src/models/index.d.ts +80 -227
  18. package/dist-esm/src/models/index.d.ts.map +1 -1
  19. package/dist-esm/src/models/index.js +6 -6
  20. package/dist-esm/src/models/index.js.map +1 -1
  21. package/dist-esm/src/models/mappers.d.ts +24 -36
  22. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  23. package/dist-esm/src/models/mappers.js +50 -425
  24. package/dist-esm/src/models/mappers.js.map +1 -1
  25. package/dist-esm/src/models/parameters.d.ts +0 -6
  26. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  27. package/dist-esm/src/models/parameters.js +1 -25
  28. package/dist-esm/src/models/parameters.js.map +1 -1
  29. package/dist-esm/src/operations/addons.js +2 -2
  30. package/dist-esm/src/operations/addons.js.map +1 -1
  31. package/dist-esm/src/operations/authorizations.js +2 -2
  32. package/dist-esm/src/operations/authorizations.js.map +1 -1
  33. package/dist-esm/src/operations/cloudLinks.js +2 -2
  34. package/dist-esm/src/operations/cloudLinks.js.map +1 -1
  35. package/dist-esm/src/operations/clusters.js +2 -2
  36. package/dist-esm/src/operations/clusters.js.map +1 -1
  37. package/dist-esm/src/operations/datastores.js +2 -2
  38. package/dist-esm/src/operations/datastores.js.map +1 -1
  39. package/dist-esm/src/operations/globalReachConnections.js +2 -2
  40. package/dist-esm/src/operations/globalReachConnections.js.map +1 -1
  41. package/dist-esm/src/operations/hcxEnterpriseSites.js +2 -2
  42. package/dist-esm/src/operations/hcxEnterpriseSites.js.map +1 -1
  43. package/dist-esm/src/operations/placementPolicies.js +2 -2
  44. package/dist-esm/src/operations/placementPolicies.js.map +1 -1
  45. package/dist-esm/src/operations/privateClouds.js +4 -4
  46. package/dist-esm/src/operations/privateClouds.js.map +1 -1
  47. package/dist-esm/src/operations/scriptCmdlets.js +2 -2
  48. package/dist-esm/src/operations/scriptCmdlets.js.map +1 -1
  49. package/dist-esm/src/operations/scriptExecutions.js +2 -2
  50. package/dist-esm/src/operations/scriptExecutions.js.map +1 -1
  51. package/dist-esm/src/operations/scriptPackages.js +2 -2
  52. package/dist-esm/src/operations/scriptPackages.js.map +1 -1
  53. package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
  54. package/dist-esm/src/operations/virtualMachines.js +3 -2
  55. package/dist-esm/src/operations/virtualMachines.js.map +1 -1
  56. package/dist-esm/src/operations/workloadNetworks.d.ts +13 -13
  57. package/dist-esm/src/operations/workloadNetworks.d.ts.map +1 -1
  58. package/dist-esm/src/operations/workloadNetworks.js +26 -26
  59. package/dist-esm/src/operations/workloadNetworks.js.map +1 -1
  60. package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts +13 -13
  61. package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts.map +1 -1
  62. package/package.json +2 -2
  63. package/review/arm-avs.api.md +140 -222
  64. package/src/azureVMwareSolutionAPI.ts +1 -1
  65. package/src/models/index.ts +80 -250
  66. package/src/models/mappers.ts +64 -459
  67. package/src/models/parameters.ts +0 -36
  68. package/src/operations/addons.ts +2 -2
  69. package/src/operations/authorizations.ts +2 -2
  70. package/src/operations/cloudLinks.ts +2 -2
  71. package/src/operations/clusters.ts +2 -2
  72. package/src/operations/datastores.ts +2 -2
  73. package/src/operations/globalReachConnections.ts +2 -2
  74. package/src/operations/hcxEnterpriseSites.ts +2 -2
  75. package/src/operations/placementPolicies.ts +2 -2
  76. package/src/operations/privateClouds.ts +4 -4
  77. package/src/operations/scriptCmdlets.ts +2 -2
  78. package/src/operations/scriptExecutions.ts +2 -2
  79. package/src/operations/scriptPackages.ts +2 -2
  80. package/src/operations/virtualMachines.ts +3 -2
  81. package/src/operations/workloadNetworks.ts +38 -44
  82. package/src/operationsInterfaces/workloadNetworks.ts +12 -18
  83. package/types/arm-avs.d.ts +183 -340
@@ -29,18 +29,12 @@ import {
29
29
  IscsiPath as IscsiPathMapper,
30
30
  ScriptExecution as ScriptExecutionMapper,
31
31
  WorkloadNetworkDhcp as WorkloadNetworkDhcpMapper,
32
- WorkloadNetworkDhcpUpdate as WorkloadNetworkDhcpUpdateMapper,
33
32
  WorkloadNetworkDnsService as WorkloadNetworkDnsServiceMapper,
34
- WorkloadNetworkDnsServiceUpdate as WorkloadNetworkDnsServiceUpdateMapper,
35
33
  WorkloadNetworkDnsZone as WorkloadNetworkDnsZoneMapper,
36
- WorkloadNetworkDnsZoneUpdate as WorkloadNetworkDnsZoneUpdateMapper,
37
34
  WorkloadNetworkPortMirroring as WorkloadNetworkPortMirroringMapper,
38
- WorkloadNetworkPortMirroringUpdate as WorkloadNetworkPortMirroringUpdateMapper,
39
35
  WorkloadNetworkPublicIP as WorkloadNetworkPublicIPMapper,
40
36
  WorkloadNetworkSegment as WorkloadNetworkSegmentMapper,
41
- WorkloadNetworkSegmentUpdate as WorkloadNetworkSegmentUpdateMapper,
42
37
  WorkloadNetworkVMGroup as WorkloadNetworkVMGroupMapper,
43
- WorkloadNetworkVMGroupUpdate as WorkloadNetworkVMGroupUpdateMapper,
44
38
  } from "../models/mappers";
45
39
 
46
40
  export const accept: OperationParameter = {
@@ -439,11 +433,6 @@ export const workloadNetworkDhcp: OperationParameter = {
439
433
  mapper: WorkloadNetworkDhcpMapper,
440
434
  };
441
435
 
442
- export const workloadNetworkDhcp1: OperationParameter = {
443
- parameterPath: "workloadNetworkDhcp",
444
- mapper: WorkloadNetworkDhcpUpdateMapper,
445
- };
446
-
447
436
  export const dnsServiceId: OperationURLParameter = {
448
437
  parameterPath: "dnsServiceId",
449
438
  mapper: {
@@ -463,11 +452,6 @@ export const workloadNetworkDnsService: OperationParameter = {
463
452
  mapper: WorkloadNetworkDnsServiceMapper,
464
453
  };
465
454
 
466
- export const workloadNetworkDnsService1: OperationParameter = {
467
- parameterPath: "workloadNetworkDnsService",
468
- mapper: WorkloadNetworkDnsServiceUpdateMapper,
469
- };
470
-
471
455
  export const dnsZoneId: OperationURLParameter = {
472
456
  parameterPath: "dnsZoneId",
473
457
  mapper: {
@@ -487,11 +471,6 @@ export const workloadNetworkDnsZone: OperationParameter = {
487
471
  mapper: WorkloadNetworkDnsZoneMapper,
488
472
  };
489
473
 
490
- export const workloadNetworkDnsZone1: OperationParameter = {
491
- parameterPath: "workloadNetworkDnsZone",
492
- mapper: WorkloadNetworkDnsZoneUpdateMapper,
493
- };
494
-
495
474
  export const gatewayId: OperationURLParameter = {
496
475
  parameterPath: "gatewayId",
497
476
  mapper: {
@@ -525,11 +504,6 @@ export const workloadNetworkPortMirroring: OperationParameter = {
525
504
  mapper: WorkloadNetworkPortMirroringMapper,
526
505
  };
527
506
 
528
- export const workloadNetworkPortMirroring1: OperationParameter = {
529
- parameterPath: "workloadNetworkPortMirroring",
530
- mapper: WorkloadNetworkPortMirroringUpdateMapper,
531
- };
532
-
533
507
  export const publicIPId: OperationURLParameter = {
534
508
  parameterPath: "publicIPId",
535
509
  mapper: {
@@ -568,11 +542,6 @@ export const workloadNetworkSegment: OperationParameter = {
568
542
  mapper: WorkloadNetworkSegmentMapper,
569
543
  };
570
544
 
571
- export const workloadNetworkSegment1: OperationParameter = {
572
- parameterPath: "workloadNetworkSegment",
573
- mapper: WorkloadNetworkSegmentUpdateMapper,
574
- };
575
-
576
545
  export const vmGroupId: OperationURLParameter = {
577
546
  parameterPath: "vmGroupId",
578
547
  mapper: {
@@ -591,8 +560,3 @@ export const workloadNetworkVMGroup: OperationParameter = {
591
560
  parameterPath: "workloadNetworkVMGroup",
592
561
  mapper: WorkloadNetworkVMGroupMapper,
593
562
  };
594
-
595
- export const workloadNetworkVMGroup1: OperationParameter = {
596
- parameterPath: "workloadNetworkVMGroup",
597
- mapper: WorkloadNetworkVMGroupUpdateMapper,
598
- };
@@ -375,7 +375,7 @@ const listOperationSpec: coreClient.OperationSpec = {
375
375
  httpMethod: "GET",
376
376
  responses: {
377
377
  200: {
378
- bodyMapper: Mappers.AddonListResult,
378
+ bodyMapper: Mappers.AddonList,
379
379
  },
380
380
  default: {
381
381
  bodyMapper: Mappers.ErrorResponse,
@@ -474,7 +474,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
474
474
  httpMethod: "GET",
475
475
  responses: {
476
476
  200: {
477
- bodyMapper: Mappers.AddonListResult,
477
+ bodyMapper: Mappers.AddonList,
478
478
  },
479
479
  default: {
480
480
  bodyMapper: Mappers.ErrorResponse,
@@ -381,7 +381,7 @@ const listOperationSpec: coreClient.OperationSpec = {
381
381
  httpMethod: "GET",
382
382
  responses: {
383
383
  200: {
384
- bodyMapper: Mappers.ExpressRouteAuthorizationListResult,
384
+ bodyMapper: Mappers.ExpressRouteAuthorizationList,
385
385
  },
386
386
  default: {
387
387
  bodyMapper: Mappers.ErrorResponse,
@@ -480,7 +480,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
480
480
  httpMethod: "GET",
481
481
  responses: {
482
482
  200: {
483
- bodyMapper: Mappers.ExpressRouteAuthorizationListResult,
483
+ bodyMapper: Mappers.ExpressRouteAuthorizationList,
484
484
  },
485
485
  default: {
486
486
  bodyMapper: Mappers.ErrorResponse,
@@ -381,7 +381,7 @@ const listOperationSpec: coreClient.OperationSpec = {
381
381
  httpMethod: "GET",
382
382
  responses: {
383
383
  200: {
384
- bodyMapper: Mappers.CloudLinkListResult,
384
+ bodyMapper: Mappers.CloudLinkList,
385
385
  },
386
386
  default: {
387
387
  bodyMapper: Mappers.ErrorResponse,
@@ -480,7 +480,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
480
480
  httpMethod: "GET",
481
481
  responses: {
482
482
  200: {
483
- bodyMapper: Mappers.CloudLinkListResult,
483
+ bodyMapper: Mappers.CloudLinkList,
484
484
  },
485
485
  default: {
486
486
  bodyMapper: Mappers.ErrorResponse,
@@ -511,7 +511,7 @@ const listOperationSpec: coreClient.OperationSpec = {
511
511
  httpMethod: "GET",
512
512
  responses: {
513
513
  200: {
514
- bodyMapper: Mappers.ClusterListResult,
514
+ bodyMapper: Mappers.ClusterList,
515
515
  },
516
516
  default: {
517
517
  bodyMapper: Mappers.ErrorResponse,
@@ -665,7 +665,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
665
665
  httpMethod: "GET",
666
666
  responses: {
667
667
  200: {
668
- bodyMapper: Mappers.ClusterListResult,
668
+ bodyMapper: Mappers.ClusterList,
669
669
  },
670
670
  default: {
671
671
  bodyMapper: Mappers.ErrorResponse,
@@ -423,7 +423,7 @@ const listOperationSpec: coreClient.OperationSpec = {
423
423
  httpMethod: "GET",
424
424
  responses: {
425
425
  200: {
426
- bodyMapper: Mappers.DatastoreListResult,
426
+ bodyMapper: Mappers.DatastoreList,
427
427
  },
428
428
  default: {
429
429
  bodyMapper: Mappers.ErrorResponse,
@@ -526,7 +526,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
526
526
  httpMethod: "GET",
527
527
  responses: {
528
528
  200: {
529
- bodyMapper: Mappers.DatastoreListResult,
529
+ bodyMapper: Mappers.DatastoreList,
530
530
  },
531
531
  default: {
532
532
  bodyMapper: Mappers.ErrorResponse,
@@ -391,7 +391,7 @@ const listOperationSpec: coreClient.OperationSpec = {
391
391
  httpMethod: "GET",
392
392
  responses: {
393
393
  200: {
394
- bodyMapper: Mappers.GlobalReachConnectionListResult,
394
+ bodyMapper: Mappers.GlobalReachConnectionList,
395
395
  },
396
396
  default: {
397
397
  bodyMapper: Mappers.ErrorResponse,
@@ -490,7 +490,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
490
490
  httpMethod: "GET",
491
491
  responses: {
492
492
  200: {
493
- bodyMapper: Mappers.GlobalReachConnectionListResult,
493
+ bodyMapper: Mappers.GlobalReachConnectionList,
494
494
  },
495
495
  default: {
496
496
  bodyMapper: Mappers.ErrorResponse,
@@ -228,7 +228,7 @@ const listOperationSpec: coreClient.OperationSpec = {
228
228
  httpMethod: "GET",
229
229
  responses: {
230
230
  200: {
231
- bodyMapper: Mappers.HcxEnterpriseSiteListResult,
231
+ bodyMapper: Mappers.HcxEnterpriseSiteList,
232
232
  },
233
233
  default: {
234
234
  bodyMapper: Mappers.ErrorResponse,
@@ -319,7 +319,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
319
319
  httpMethod: "GET",
320
320
  responses: {
321
321
  200: {
322
- bodyMapper: Mappers.HcxEnterpriseSiteListResult,
322
+ bodyMapper: Mappers.HcxEnterpriseSiteList,
323
323
  },
324
324
  default: {
325
325
  bodyMapper: Mappers.ErrorResponse,
@@ -538,7 +538,7 @@ const listOperationSpec: coreClient.OperationSpec = {
538
538
  httpMethod: "GET",
539
539
  responses: {
540
540
  200: {
541
- bodyMapper: Mappers.PlacementPolicyListResult,
541
+ bodyMapper: Mappers.PlacementPoliciesList,
542
542
  },
543
543
  default: {
544
544
  bodyMapper: Mappers.ErrorResponse,
@@ -675,7 +675,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
675
675
  httpMethod: "GET",
676
676
  responses: {
677
677
  200: {
678
- bodyMapper: Mappers.PlacementPolicyListResult,
678
+ bodyMapper: Mappers.PlacementPoliciesList,
679
679
  },
680
680
  default: {
681
681
  bodyMapper: Mappers.ErrorResponse,
@@ -733,7 +733,7 @@ const listInSubscriptionOperationSpec: coreClient.OperationSpec = {
733
733
  httpMethod: "GET",
734
734
  responses: {
735
735
  200: {
736
- bodyMapper: Mappers.PrivateCloudListResult,
736
+ bodyMapper: Mappers.PrivateCloudList,
737
737
  },
738
738
  default: {
739
739
  bodyMapper: Mappers.ErrorResponse,
@@ -749,7 +749,7 @@ const listOperationSpec: coreClient.OperationSpec = {
749
749
  httpMethod: "GET",
750
750
  responses: {
751
751
  200: {
752
- bodyMapper: Mappers.PrivateCloudListResult,
752
+ bodyMapper: Mappers.PrivateCloudList,
753
753
  },
754
754
  default: {
755
755
  bodyMapper: Mappers.ErrorResponse,
@@ -957,7 +957,7 @@ const listInSubscriptionNextOperationSpec: coreClient.OperationSpec = {
957
957
  httpMethod: "GET",
958
958
  responses: {
959
959
  200: {
960
- bodyMapper: Mappers.PrivateCloudListResult,
960
+ bodyMapper: Mappers.PrivateCloudList,
961
961
  },
962
962
  default: {
963
963
  bodyMapper: Mappers.ErrorResponse,
@@ -976,7 +976,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
976
976
  httpMethod: "GET",
977
977
  responses: {
978
978
  200: {
979
- bodyMapper: Mappers.PrivateCloudListResult,
979
+ bodyMapper: Mappers.PrivateCloudList,
980
980
  },
981
981
  default: {
982
982
  bodyMapper: Mappers.ErrorResponse,
@@ -210,7 +210,7 @@ const listOperationSpec: coreClient.OperationSpec = {
210
210
  httpMethod: "GET",
211
211
  responses: {
212
212
  200: {
213
- bodyMapper: Mappers.ScriptCmdletListResult,
213
+ bodyMapper: Mappers.ScriptCmdletsList,
214
214
  },
215
215
  default: {
216
216
  bodyMapper: Mappers.ErrorResponse,
@@ -255,7 +255,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
255
255
  httpMethod: "GET",
256
256
  responses: {
257
257
  200: {
258
- bodyMapper: Mappers.ScriptCmdletListResult,
258
+ bodyMapper: Mappers.ScriptCmdletsList,
259
259
  },
260
260
  default: {
261
261
  bodyMapper: Mappers.ErrorResponse,
@@ -407,7 +407,7 @@ const listOperationSpec: coreClient.OperationSpec = {
407
407
  httpMethod: "GET",
408
408
  responses: {
409
409
  200: {
410
- bodyMapper: Mappers.ScriptExecutionListResult,
410
+ bodyMapper: Mappers.ScriptExecutionsList,
411
411
  },
412
412
  default: {
413
413
  bodyMapper: Mappers.ErrorResponse,
@@ -530,7 +530,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
530
530
  httpMethod: "GET",
531
531
  responses: {
532
532
  200: {
533
- bodyMapper: Mappers.ScriptExecutionListResult,
533
+ bodyMapper: Mappers.ScriptExecutionsList,
534
534
  },
535
535
  default: {
536
536
  bodyMapper: Mappers.ErrorResponse,
@@ -179,7 +179,7 @@ const listOperationSpec: coreClient.OperationSpec = {
179
179
  httpMethod: "GET",
180
180
  responses: {
181
181
  200: {
182
- bodyMapper: Mappers.ScriptPackageListResult,
182
+ bodyMapper: Mappers.ScriptPackagesList,
183
183
  },
184
184
  default: {
185
185
  bodyMapper: Mappers.ErrorResponse,
@@ -222,7 +222,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
222
222
  httpMethod: "GET",
223
223
  responses: {
224
224
  200: {
225
- bodyMapper: Mappers.ScriptPackageListResult,
225
+ bodyMapper: Mappers.ScriptPackagesList,
226
226
  },
227
227
  default: {
228
228
  bodyMapper: Mappers.ErrorResponse,
@@ -262,6 +262,7 @@ export class VirtualMachinesImpl implements VirtualMachines {
262
262
  >(lro, {
263
263
  restoreFrom: options?.resumeFrom,
264
264
  intervalInMs: options?.updateIntervalInMs,
265
+ resourceLocationConfig: "location",
265
266
  });
266
267
  await poller.poll();
267
268
  return poller;
@@ -324,7 +325,7 @@ const listOperationSpec: coreClient.OperationSpec = {
324
325
  httpMethod: "GET",
325
326
  responses: {
326
327
  200: {
327
- bodyMapper: Mappers.VirtualMachineListResult,
328
+ bodyMapper: Mappers.VirtualMachinesList,
328
329
  },
329
330
  default: {
330
331
  bodyMapper: Mappers.ErrorResponse,
@@ -403,7 +404,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
403
404
  httpMethod: "GET",
404
405
  responses: {
405
406
  200: {
406
- bodyMapper: Mappers.VirtualMachineListResult,
407
+ bodyMapper: Mappers.VirtualMachinesList,
407
408
  },
408
409
  default: {
409
410
  bodyMapper: Mappers.ErrorResponse,