@azure/arm-baremetalinfrastructure 1.0.0-alpha.20250718.1 → 1.0.0-alpha.20250721.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 (59) hide show
  1. package/dist/browser/bareMetalInfrastructureClient.js +16 -5
  2. package/dist/browser/bareMetalInfrastructureClient.js.map +1 -1
  3. package/dist/browser/lroImpl.js +7 -3
  4. package/dist/browser/lroImpl.js.map +1 -1
  5. package/dist/browser/models/mappers.js +37 -17
  6. package/dist/browser/models/mappers.js.map +1 -1
  7. package/dist/browser/operations/azureBareMetalInstances.js +78 -97
  8. package/dist/browser/operations/azureBareMetalInstances.js.map +1 -1
  9. package/dist/browser/operations/azureBareMetalStorageInstances.js +45 -79
  10. package/dist/browser/operations/azureBareMetalStorageInstances.js.map +1 -1
  11. package/dist/browser/operations/operations.js +10 -27
  12. package/dist/browser/operations/operations.js.map +1 -1
  13. package/dist/browser/pagingHelper.js +2 -4
  14. package/dist/browser/pagingHelper.js.map +1 -1
  15. package/dist/commonjs/bareMetalInfrastructureClient.js +16 -5
  16. package/dist/commonjs/bareMetalInfrastructureClient.js.map +1 -1
  17. package/dist/commonjs/lroImpl.js +7 -3
  18. package/dist/commonjs/lroImpl.js.map +1 -1
  19. package/dist/commonjs/models/mappers.js +37 -17
  20. package/dist/commonjs/models/mappers.js.map +1 -1
  21. package/dist/commonjs/operations/azureBareMetalInstances.js +78 -96
  22. package/dist/commonjs/operations/azureBareMetalInstances.js.map +1 -1
  23. package/dist/commonjs/operations/azureBareMetalStorageInstances.js +45 -78
  24. package/dist/commonjs/operations/azureBareMetalStorageInstances.js.map +1 -1
  25. package/dist/commonjs/operations/operations.js +10 -26
  26. package/dist/commonjs/operations/operations.js.map +1 -1
  27. package/dist/commonjs/pagingHelper.js +2 -4
  28. package/dist/commonjs/pagingHelper.js.map +1 -1
  29. package/dist/commonjs/tsdoc-metadata.json +11 -11
  30. package/dist/esm/bareMetalInfrastructureClient.js +16 -5
  31. package/dist/esm/bareMetalInfrastructureClient.js.map +1 -1
  32. package/dist/esm/lroImpl.js +7 -3
  33. package/dist/esm/lroImpl.js.map +1 -1
  34. package/dist/esm/models/mappers.js +37 -17
  35. package/dist/esm/models/mappers.js.map +1 -1
  36. package/dist/esm/operations/azureBareMetalInstances.js +78 -97
  37. package/dist/esm/operations/azureBareMetalInstances.js.map +1 -1
  38. package/dist/esm/operations/azureBareMetalStorageInstances.js +45 -79
  39. package/dist/esm/operations/azureBareMetalStorageInstances.js.map +1 -1
  40. package/dist/esm/operations/operations.js +10 -27
  41. package/dist/esm/operations/operations.js.map +1 -1
  42. package/dist/esm/pagingHelper.js +2 -4
  43. package/dist/esm/pagingHelper.js.map +1 -1
  44. package/dist/react-native/bareMetalInfrastructureClient.js +16 -5
  45. package/dist/react-native/bareMetalInfrastructureClient.js.map +1 -1
  46. package/dist/react-native/lroImpl.js +7 -3
  47. package/dist/react-native/lroImpl.js.map +1 -1
  48. package/dist/react-native/models/mappers.js +37 -17
  49. package/dist/react-native/models/mappers.js.map +1 -1
  50. package/dist/react-native/operations/azureBareMetalInstances.js +78 -97
  51. package/dist/react-native/operations/azureBareMetalInstances.js.map +1 -1
  52. package/dist/react-native/operations/azureBareMetalStorageInstances.js +45 -79
  53. package/dist/react-native/operations/azureBareMetalStorageInstances.js.map +1 -1
  54. package/dist/react-native/operations/operations.js +10 -27
  55. package/dist/react-native/operations/operations.js.map +1 -1
  56. package/dist/react-native/pagingHelper.js +2 -4
  57. package/dist/react-native/pagingHelper.js.map +1 -1
  58. package/package.json +2 -2
  59. package/review/arm-baremetalinfrastructure-node.api.md +550 -550
@@ -645,103 +645,123 @@ export const TrackedResource = {
645
645
  type: {
646
646
  name: "Composite",
647
647
  className: "TrackedResource",
648
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { tags: {
648
+ modelProperties: {
649
+ ...Resource.type.modelProperties,
650
+ tags: {
649
651
  serializedName: "tags",
650
652
  type: {
651
653
  name: "Dictionary",
652
654
  value: { type: { name: "String" } }
653
655
  }
654
- }, location: {
656
+ },
657
+ location: {
655
658
  serializedName: "location",
656
659
  required: true,
657
660
  type: {
658
661
  name: "String"
659
662
  }
660
- } })
663
+ }
664
+ }
661
665
  }
662
666
  };
663
667
  export const AzureBareMetalInstance = {
664
668
  type: {
665
669
  name: "Composite",
666
670
  className: "AzureBareMetalInstance",
667
- modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { hardwareProfile: {
671
+ modelProperties: {
672
+ ...TrackedResource.type.modelProperties,
673
+ hardwareProfile: {
668
674
  serializedName: "properties.hardwareProfile",
669
675
  type: {
670
676
  name: "Composite",
671
677
  className: "HardwareProfile"
672
678
  }
673
- }, storageProfile: {
679
+ },
680
+ storageProfile: {
674
681
  serializedName: "properties.storageProfile",
675
682
  type: {
676
683
  name: "Composite",
677
684
  className: "StorageProfile"
678
685
  }
679
- }, osProfile: {
686
+ },
687
+ osProfile: {
680
688
  serializedName: "properties.osProfile",
681
689
  type: {
682
690
  name: "Composite",
683
691
  className: "OSProfile"
684
692
  }
685
- }, networkProfile: {
693
+ },
694
+ networkProfile: {
686
695
  serializedName: "properties.networkProfile",
687
696
  type: {
688
697
  name: "Composite",
689
698
  className: "NetworkProfile"
690
699
  }
691
- }, azureBareMetalInstanceId: {
700
+ },
701
+ azureBareMetalInstanceId: {
692
702
  serializedName: "properties.azureBareMetalInstanceId",
693
703
  readOnly: true,
694
704
  type: {
695
705
  name: "String"
696
706
  }
697
- }, powerState: {
707
+ },
708
+ powerState: {
698
709
  serializedName: "properties.powerState",
699
710
  readOnly: true,
700
711
  type: {
701
712
  name: "String"
702
713
  }
703
- }, proximityPlacementGroup: {
714
+ },
715
+ proximityPlacementGroup: {
704
716
  serializedName: "properties.proximityPlacementGroup",
705
717
  readOnly: true,
706
718
  type: {
707
719
  name: "String"
708
720
  }
709
- }, hwRevision: {
721
+ },
722
+ hwRevision: {
710
723
  serializedName: "properties.hwRevision",
711
724
  readOnly: true,
712
725
  type: {
713
726
  name: "String"
714
727
  }
715
- }, partnerNodeId: {
728
+ },
729
+ partnerNodeId: {
716
730
  serializedName: "properties.partnerNodeId",
717
731
  type: {
718
732
  name: "String"
719
733
  }
720
- }, provisioningState: {
734
+ },
735
+ provisioningState: {
721
736
  serializedName: "properties.provisioningState",
722
737
  readOnly: true,
723
738
  type: {
724
739
  name: "String"
725
740
  }
726
- } })
741
+ }
742
+ }
727
743
  }
728
744
  };
729
745
  export const AzureBareMetalStorageInstance = {
730
746
  type: {
731
747
  name: "Composite",
732
748
  className: "AzureBareMetalStorageInstance",
733
- modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { azureBareMetalStorageInstanceUniqueIdentifier: {
749
+ modelProperties: {
750
+ ...TrackedResource.type.modelProperties,
751
+ azureBareMetalStorageInstanceUniqueIdentifier: {
734
752
  serializedName: "properties.azureBareMetalStorageInstanceUniqueIdentifier",
735
753
  type: {
736
754
  name: "String"
737
755
  }
738
- }, storageProperties: {
756
+ },
757
+ storageProperties: {
739
758
  serializedName: "properties.storageProperties",
740
759
  type: {
741
760
  name: "Composite",
742
761
  className: "StorageProperties"
743
762
  }
744
- } })
763
+ }
764
+ }
745
765
  }
746
766
  };
747
767
  export const AzureBareMetalInstancesStartHeaders = {
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,eAAe,GAA+B;IACzD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iBAAiB;QAC5B,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,S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W;QACjB,SAAS,EAAE,uCAAuC;QAClD,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAA+B;IAChF,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wCAAwC;QACnD,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const OperationStatus: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationStatus\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n startTime: {\n serializedName: \"startTime\",\n type: {\n name: \"String\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"OperationStatusError\"\n }\n }\n }\n }\n};\n\nexport const OperationStatusError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationStatusError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const ForceState: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ForceState\",\n modelProperties: {\n forceState: {\n serializedName: \"forceState\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstance\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const HardwareProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HardwareProfile\",\n modelProperties: {\n hardwareType: {\n serializedName: \"hardwareType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n azureBareMetalInstanceSize: {\n serializedName: \"azureBareMetalInstanceSize\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const StorageProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"StorageProfile\",\n modelProperties: {\n nfsIpAddress: {\n serializedName: \"nfsIpAddress\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n osDisks: {\n serializedName: \"osDisks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Disk\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Disk: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Disk\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n diskSizeGB: {\n serializedName: \"diskSizeGB\",\n type: {\n name: \"Number\"\n }\n },\n lun: {\n serializedName: \"lun\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const OSProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OSProfile\",\n modelProperties: {\n computerName: {\n serializedName: \"computerName\",\n type: {\n name: \"String\"\n }\n },\n osType: {\n serializedName: \"osType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"version\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n sshPublicKey: {\n serializedName: \"sshPublicKey\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const NetworkProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"NetworkProfile\",\n modelProperties: {\n networkInterfaces: {\n serializedName: \"networkInterfaces\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"NetworkInterface\"\n }\n }\n }\n },\n circuitId: {\n serializedName: \"circuitId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const NetworkInterface: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"NetworkInterface\",\n modelProperties: {\n ipAddress: {\n serializedName: \"ipAddress\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n },\n origin: {\n serializedName: \"origin\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n actionType: {\n serializedName: \"actionType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Tags: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Tags\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalStorageInstancesListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalStorageInstancesListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalStorageInstance\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const StorageProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"StorageProperties\",\n modelProperties: {\n provisioningState: {\n serializedName: \"provisioningState\",\n type: {\n name: \"String\"\n }\n },\n offeringType: {\n serializedName: \"offeringType\",\n type: {\n name: \"String\"\n }\n },\n storageType: {\n serializedName: \"storageType\",\n type: {\n name: \"String\"\n }\n },\n generation: {\n serializedName: \"generation\",\n type: {\n name: \"String\"\n }\n },\n hardwareType: {\n serializedName: \"hardwareType\",\n type: {\n name: \"String\"\n }\n },\n workloadType: {\n serializedName: \"workloadType\",\n type: {\n name: \"String\"\n }\n },\n storageBillingProperties: {\n serializedName: \"storageBillingProperties\",\n type: {\n name: \"Composite\",\n className: \"StorageBillingProperties\"\n }\n }\n }\n }\n};\n\nexport const StorageBillingProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"StorageBillingProperties\",\n modelProperties: {\n billingMode: {\n serializedName: \"billingMode\",\n type: {\n name: \"String\"\n }\n },\n azureBareMetalStorageInstanceSize: {\n serializedName: \"azureBareMetalStorageInstanceSize\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstance: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstance\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n hardwareProfile: {\n serializedName: \"properties.hardwareProfile\",\n type: {\n name: \"Composite\",\n className: \"HardwareProfile\"\n }\n },\n storageProfile: {\n serializedName: \"properties.storageProfile\",\n type: {\n name: \"Composite\",\n className: \"StorageProfile\"\n }\n },\n osProfile: {\n serializedName: \"properties.osProfile\",\n type: {\n name: \"Composite\",\n className: \"OSProfile\"\n }\n },\n networkProfile: {\n serializedName: \"properties.networkProfile\",\n type: {\n name: \"Composite\",\n className: \"NetworkProfile\"\n }\n },\n azureBareMetalInstanceId: {\n serializedName: \"properties.azureBareMetalInstanceId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n powerState: {\n serializedName: \"properties.powerState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n proximityPlacementGroup: {\n serializedName: \"properties.proximityPlacementGroup\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n hwRevision: {\n serializedName: \"properties.hwRevision\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n partnerNodeId: {\n serializedName: \"properties.partnerNodeId\",\n type: {\n name: \"String\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalStorageInstance: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalStorageInstance\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n azureBareMetalStorageInstanceUniqueIdentifier: {\n serializedName:\n \"properties.azureBareMetalStorageInstanceUniqueIdentifier\",\n type: {\n name: \"String\"\n }\n },\n storageProperties: {\n serializedName: \"properties.storageProperties\",\n type: {\n name: \"Composite\",\n className: \"StorageProperties\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesStartHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesStartHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesRestartHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesRestartHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesShutdownHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesShutdownHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};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,cAAc,EAAE,8BAA8B;gBAC9C,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,mBAAmB;iBAC/B;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAA+B;IAC7E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qCAAqC;QAChD,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qCAAqC,GAA+B;IAC/E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,uCAAuC;QAClD,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAA+B;IAChF,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wCAAwC;QACnD,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const OperationStatus: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationStatus\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n startTime: {\n serializedName: \"startTime\",\n type: {\n name: \"String\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"OperationStatusError\"\n }\n }\n }\n }\n};\n\nexport const OperationStatusError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationStatusError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const ForceState: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ForceState\",\n modelProperties: {\n forceState: {\n serializedName: \"forceState\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstance\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const HardwareProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HardwareProfile\",\n modelProperties: {\n hardwareType: {\n serializedName: \"hardwareType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n azureBareMetalInstanceSize: {\n serializedName: \"azureBareMetalInstanceSize\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const StorageProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"StorageProfile\",\n modelProperties: {\n nfsIpAddress: {\n serializedName: \"nfsIpAddress\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n osDisks: {\n serializedName: \"osDisks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Disk\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Disk: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Disk\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n diskSizeGB: {\n serializedName: \"diskSizeGB\",\n type: {\n name: \"Number\"\n }\n },\n lun: {\n serializedName: \"lun\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const OSProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OSProfile\",\n modelProperties: {\n computerName: {\n serializedName: \"computerName\",\n type: {\n name: \"String\"\n }\n },\n osType: {\n serializedName: \"osType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"version\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n sshPublicKey: {\n serializedName: \"sshPublicKey\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const NetworkProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"NetworkProfile\",\n modelProperties: {\n networkInterfaces: {\n serializedName: \"networkInterfaces\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"NetworkInterface\"\n }\n }\n }\n },\n circuitId: {\n serializedName: \"circuitId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const NetworkInterface: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"NetworkInterface\",\n modelProperties: {\n ipAddress: {\n serializedName: \"ipAddress\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n },\n origin: {\n serializedName: \"origin\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n actionType: {\n serializedName: \"actionType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Tags: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Tags\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalStorageInstancesListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalStorageInstancesListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalStorageInstance\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const StorageProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"StorageProperties\",\n modelProperties: {\n provisioningState: {\n serializedName: \"provisioningState\",\n type: {\n name: \"String\"\n }\n },\n offeringType: {\n serializedName: \"offeringType\",\n type: {\n name: \"String\"\n }\n },\n storageType: {\n serializedName: \"storageType\",\n type: {\n name: \"String\"\n }\n },\n generation: {\n serializedName: \"generation\",\n type: {\n name: \"String\"\n }\n },\n hardwareType: {\n serializedName: \"hardwareType\",\n type: {\n name: \"String\"\n }\n },\n workloadType: {\n serializedName: \"workloadType\",\n type: {\n name: \"String\"\n }\n },\n storageBillingProperties: {\n serializedName: \"storageBillingProperties\",\n type: {\n name: \"Composite\",\n className: \"StorageBillingProperties\"\n }\n }\n }\n }\n};\n\nexport const StorageBillingProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"StorageBillingProperties\",\n modelProperties: {\n billingMode: {\n serializedName: \"billingMode\",\n type: {\n name: \"String\"\n }\n },\n azureBareMetalStorageInstanceSize: {\n serializedName: \"azureBareMetalStorageInstanceSize\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstance: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstance\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n hardwareProfile: {\n serializedName: \"properties.hardwareProfile\",\n type: {\n name: \"Composite\",\n className: \"HardwareProfile\"\n }\n },\n storageProfile: {\n serializedName: \"properties.storageProfile\",\n type: {\n name: \"Composite\",\n className: \"StorageProfile\"\n }\n },\n osProfile: {\n serializedName: \"properties.osProfile\",\n type: {\n name: \"Composite\",\n className: \"OSProfile\"\n }\n },\n networkProfile: {\n serializedName: \"properties.networkProfile\",\n type: {\n name: \"Composite\",\n className: \"NetworkProfile\"\n }\n },\n azureBareMetalInstanceId: {\n serializedName: \"properties.azureBareMetalInstanceId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n powerState: {\n serializedName: \"properties.powerState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n proximityPlacementGroup: {\n serializedName: \"properties.proximityPlacementGroup\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n hwRevision: {\n serializedName: \"properties.hwRevision\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n partnerNodeId: {\n serializedName: \"properties.partnerNodeId\",\n type: {\n name: \"String\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalStorageInstance: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalStorageInstance\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n azureBareMetalStorageInstanceUniqueIdentifier: {\n serializedName:\n \"properties.azureBareMetalStorageInstanceUniqueIdentifier\",\n type: {\n name: \"String\"\n }\n },\n storageProperties: {\n serializedName: \"properties.storageProperties\",\n type: {\n name: \"Composite\",\n className: \"StorageProperties\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesStartHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesStartHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesRestartHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesRestartHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesShutdownHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesShutdownHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
@@ -5,7 +5,6 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
8
  import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
10
  import * as Mappers from "../models/mappers.js";
@@ -15,6 +14,7 @@ import { createLroSpec } from "../lroImpl.js";
15
14
  /// <reference lib="esnext.asynciterable" />
16
15
  /** Class containing AzureBareMetalInstances operations. */
17
16
  export class AzureBareMetalInstancesImpl {
17
+ client;
18
18
  /**
19
19
  * Initialize a new instance of the class AzureBareMetalInstances class.
20
20
  * @param client Reference to the service client
@@ -37,52 +37,35 @@ export class AzureBareMetalInstancesImpl {
37
37
  return this;
38
38
  },
39
39
  byPage: (settings) => {
40
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
+ if (settings?.maxPageSize) {
41
41
  throw new Error("maxPageSize is not supported by this operation.");
42
42
  }
43
43
  return this.listBySubscriptionPagingPage(options, settings);
44
44
  }
45
45
  };
46
46
  }
47
- listBySubscriptionPagingPage(options, settings) {
48
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
49
- let result;
50
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
- if (!continuationToken) {
52
- result = yield __await(this._listBySubscription(options));
53
- let page = result.value || [];
54
- continuationToken = result.nextLink;
55
- setContinuationToken(page, continuationToken);
56
- yield yield __await(page);
57
- }
58
- while (continuationToken) {
59
- result = yield __await(this._listBySubscriptionNext(continuationToken, options));
60
- continuationToken = result.nextLink;
61
- let page = result.value || [];
62
- setContinuationToken(page, continuationToken);
63
- yield yield __await(page);
64
- }
65
- });
47
+ async *listBySubscriptionPagingPage(options, settings) {
48
+ let result;
49
+ let continuationToken = settings?.continuationToken;
50
+ if (!continuationToken) {
51
+ result = await this._listBySubscription(options);
52
+ let page = result.value || [];
53
+ continuationToken = result.nextLink;
54
+ setContinuationToken(page, continuationToken);
55
+ yield page;
56
+ }
57
+ while (continuationToken) {
58
+ result = await this._listBySubscriptionNext(continuationToken, options);
59
+ continuationToken = result.nextLink;
60
+ let page = result.value || [];
61
+ setContinuationToken(page, continuationToken);
62
+ yield page;
63
+ }
66
64
  }
67
- listBySubscriptionPagingAll(options) {
68
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
69
- var _a, e_1, _b, _c;
70
- try {
71
- for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
72
- _c = _f.value;
73
- _d = false;
74
- const page = _c;
75
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
76
- }
77
- }
78
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
79
- finally {
80
- try {
81
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
82
- }
83
- finally { if (e_1) throw e_1.error; }
84
- }
85
- });
65
+ async *listBySubscriptionPagingAll(options) {
66
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
67
+ yield* page;
68
+ }
86
69
  }
87
70
  /**
88
71
  * Gets a list of Azure Bare Metal Instances in the specified subscription and resource group. The
@@ -100,52 +83,35 @@ export class AzureBareMetalInstancesImpl {
100
83
  return this;
101
84
  },
102
85
  byPage: (settings) => {
103
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
86
+ if (settings?.maxPageSize) {
104
87
  throw new Error("maxPageSize is not supported by this operation.");
105
88
  }
106
89
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
107
90
  }
108
91
  };
109
92
  }
110
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
111
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
112
- let result;
113
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
114
- if (!continuationToken) {
115
- result = yield __await(this._listByResourceGroup(resourceGroupName, options));
116
- let page = result.value || [];
117
- continuationToken = result.nextLink;
118
- setContinuationToken(page, continuationToken);
119
- yield yield __await(page);
120
- }
121
- while (continuationToken) {
122
- result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
123
- continuationToken = result.nextLink;
124
- let page = result.value || [];
125
- setContinuationToken(page, continuationToken);
126
- yield yield __await(page);
127
- }
128
- });
93
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
94
+ let result;
95
+ let continuationToken = settings?.continuationToken;
96
+ if (!continuationToken) {
97
+ result = await this._listByResourceGroup(resourceGroupName, options);
98
+ let page = result.value || [];
99
+ continuationToken = result.nextLink;
100
+ setContinuationToken(page, continuationToken);
101
+ yield page;
102
+ }
103
+ while (continuationToken) {
104
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
105
+ continuationToken = result.nextLink;
106
+ let page = result.value || [];
107
+ setContinuationToken(page, continuationToken);
108
+ yield page;
109
+ }
129
110
  }
130
- listByResourceGroupPagingAll(resourceGroupName, options) {
131
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
132
- var _a, e_2, _b, _c;
133
- try {
134
- for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
135
- _c = _f.value;
136
- _d = false;
137
- const page = _c;
138
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
139
- }
140
- }
141
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
142
- finally {
143
- try {
144
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
145
- }
146
- finally { if (e_2) throw e_2.error; }
147
- }
148
- });
111
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
112
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
113
+ yield* page;
114
+ }
149
115
  }
150
116
  /**
151
117
  * The operation to start an Azure Bare Metal instance
@@ -159,14 +125,19 @@ export class AzureBareMetalInstancesImpl {
159
125
  return this.client.sendOperationRequest(args, spec);
160
126
  };
161
127
  const sendOperationFn = async (args, spec) => {
162
- var _a;
163
128
  let currentRawResponse = undefined;
164
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
129
+ const providedCallback = args.options?.onResponse;
165
130
  const callback = (rawResponse, flatResponse) => {
166
131
  currentRawResponse = rawResponse;
167
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
132
+ providedCallback?.(rawResponse, flatResponse);
133
+ };
134
+ const updatedArgs = {
135
+ ...args,
136
+ options: {
137
+ ...args.options,
138
+ onResponse: callback
139
+ }
168
140
  };
169
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
170
141
  const flatResponse = await directSendOperation(updatedArgs, spec);
171
142
  return {
172
143
  flatResponse,
@@ -183,8 +154,8 @@ export class AzureBareMetalInstancesImpl {
183
154
  spec: startOperationSpec
184
155
  });
185
156
  const poller = await createHttpPoller(lro, {
186
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
187
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
157
+ restoreFrom: options?.resumeFrom,
158
+ intervalInMs: options?.updateIntervalInMs,
188
159
  resourceLocationConfig: "location"
189
160
  });
190
161
  await poller.poll();
@@ -213,14 +184,19 @@ export class AzureBareMetalInstancesImpl {
213
184
  return this.client.sendOperationRequest(args, spec);
214
185
  };
215
186
  const sendOperationFn = async (args, spec) => {
216
- var _a;
217
187
  let currentRawResponse = undefined;
218
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
188
+ const providedCallback = args.options?.onResponse;
219
189
  const callback = (rawResponse, flatResponse) => {
220
190
  currentRawResponse = rawResponse;
221
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
191
+ providedCallback?.(rawResponse, flatResponse);
192
+ };
193
+ const updatedArgs = {
194
+ ...args,
195
+ options: {
196
+ ...args.options,
197
+ onResponse: callback
198
+ }
222
199
  };
223
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
224
200
  const flatResponse = await directSendOperation(updatedArgs, spec);
225
201
  return {
226
202
  flatResponse,
@@ -237,8 +213,8 @@ export class AzureBareMetalInstancesImpl {
237
213
  spec: restartOperationSpec
238
214
  });
239
215
  const poller = await createHttpPoller(lro, {
240
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
241
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
216
+ restoreFrom: options?.resumeFrom,
217
+ intervalInMs: options?.updateIntervalInMs,
242
218
  resourceLocationConfig: "location"
243
219
  });
244
220
  await poller.poll();
@@ -267,14 +243,19 @@ export class AzureBareMetalInstancesImpl {
267
243
  return this.client.sendOperationRequest(args, spec);
268
244
  };
269
245
  const sendOperationFn = async (args, spec) => {
270
- var _a;
271
246
  let currentRawResponse = undefined;
272
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
247
+ const providedCallback = args.options?.onResponse;
273
248
  const callback = (rawResponse, flatResponse) => {
274
249
  currentRawResponse = rawResponse;
275
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
250
+ providedCallback?.(rawResponse, flatResponse);
251
+ };
252
+ const updatedArgs = {
253
+ ...args,
254
+ options: {
255
+ ...args.options,
256
+ onResponse: callback
257
+ }
276
258
  };
277
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
278
259
  const flatResponse = await directSendOperation(updatedArgs, spec);
279
260
  return {
280
261
  flatResponse,
@@ -291,8 +272,8 @@ export class AzureBareMetalInstancesImpl {
291
272
  spec: shutdownOperationSpec
292
273
  });
293
274
  const poller = await createHttpPoller(lro, {
294
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
295
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
275
+ restoreFrom: options?.resumeFrom,
276
+ intervalInMs: options?.updateIntervalInMs,
296
277
  resourceLocationConfig: "location"
297
278
  });
298
279
  await poller.poll();