@azure/arm-baremetalinfrastructure 1.0.0-alpha.20250620.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.api.md → arm-baremetalinfrastructure-node.api.md} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,eAAe,GAA+B;IACzD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,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AAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,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"]}
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;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AAqC,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;AAEW,QAAA,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"]}
@@ -18,6 +18,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
18
18
  /// <reference lib="esnext.asynciterable" />
19
19
  /** Class containing AzureBareMetalInstances operations. */
20
20
  class AzureBareMetalInstancesImpl {
21
+ client;
21
22
  /**
22
23
  * Initialize a new instance of the class AzureBareMetalInstances class.
23
24
  * @param client Reference to the service client
@@ -40,52 +41,35 @@ class AzureBareMetalInstancesImpl {
40
41
  return this;
41
42
  },
42
43
  byPage: (settings) => {
43
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
44
+ if (settings?.maxPageSize) {
44
45
  throw new Error("maxPageSize is not supported by this operation.");
45
46
  }
46
47
  return this.listBySubscriptionPagingPage(options, settings);
47
48
  }
48
49
  };
49
50
  }
50
- listBySubscriptionPagingPage(options, settings) {
51
- return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
52
- let result;
53
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
54
- if (!continuationToken) {
55
- result = yield tslib_1.__await(this._listBySubscription(options));
56
- let page = result.value || [];
57
- continuationToken = result.nextLink;
58
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
59
- yield yield tslib_1.__await(page);
60
- }
61
- while (continuationToken) {
62
- result = yield tslib_1.__await(this._listBySubscriptionNext(continuationToken, options));
63
- continuationToken = result.nextLink;
64
- let page = result.value || [];
65
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
66
- yield yield tslib_1.__await(page);
67
- }
68
- });
51
+ async *listBySubscriptionPagingPage(options, settings) {
52
+ let result;
53
+ let continuationToken = settings?.continuationToken;
54
+ if (!continuationToken) {
55
+ result = await this._listBySubscription(options);
56
+ let page = result.value || [];
57
+ continuationToken = result.nextLink;
58
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
59
+ yield page;
60
+ }
61
+ while (continuationToken) {
62
+ result = await this._listBySubscriptionNext(continuationToken, options);
63
+ continuationToken = result.nextLink;
64
+ let page = result.value || [];
65
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
66
+ yield page;
67
+ }
69
68
  }
70
- listBySubscriptionPagingAll(options) {
71
- return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
72
- var _a, e_1, _b, _c;
73
- try {
74
- for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
75
- _c = _f.value;
76
- _d = false;
77
- const page = _c;
78
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
79
- }
80
- }
81
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
82
- finally {
83
- try {
84
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
85
- }
86
- finally { if (e_1) throw e_1.error; }
87
- }
88
- });
69
+ async *listBySubscriptionPagingAll(options) {
70
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
71
+ yield* page;
72
+ }
89
73
  }
90
74
  /**
91
75
  * Gets a list of Azure Bare Metal Instances in the specified subscription and resource group. The
@@ -103,52 +87,35 @@ class AzureBareMetalInstancesImpl {
103
87
  return this;
104
88
  },
105
89
  byPage: (settings) => {
106
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
90
+ if (settings?.maxPageSize) {
107
91
  throw new Error("maxPageSize is not supported by this operation.");
108
92
  }
109
93
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
110
94
  }
111
95
  };
112
96
  }
113
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
114
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
115
- let result;
116
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
117
- if (!continuationToken) {
118
- result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
119
- let page = result.value || [];
120
- continuationToken = result.nextLink;
121
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
122
- yield yield tslib_1.__await(page);
123
- }
124
- while (continuationToken) {
125
- result = yield tslib_1.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
126
- continuationToken = result.nextLink;
127
- let page = result.value || [];
128
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
129
- yield yield tslib_1.__await(page);
130
- }
131
- });
97
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
98
+ let result;
99
+ let continuationToken = settings?.continuationToken;
100
+ if (!continuationToken) {
101
+ result = await this._listByResourceGroup(resourceGroupName, options);
102
+ let page = result.value || [];
103
+ continuationToken = result.nextLink;
104
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
105
+ yield page;
106
+ }
107
+ while (continuationToken) {
108
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
109
+ continuationToken = result.nextLink;
110
+ let page = result.value || [];
111
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
112
+ yield page;
113
+ }
132
114
  }
133
- listByResourceGroupPagingAll(resourceGroupName, options) {
134
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
135
- var _a, e_2, _b, _c;
136
- try {
137
- for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
138
- _c = _f.value;
139
- _d = false;
140
- const page = _c;
141
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
142
- }
143
- }
144
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
145
- finally {
146
- try {
147
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
148
- }
149
- finally { if (e_2) throw e_2.error; }
150
- }
151
- });
115
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
116
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
117
+ yield* page;
118
+ }
152
119
  }
153
120
  /**
154
121
  * The operation to start an Azure Bare Metal instance
@@ -162,14 +129,19 @@ class AzureBareMetalInstancesImpl {
162
129
  return this.client.sendOperationRequest(args, spec);
163
130
  };
164
131
  const sendOperationFn = async (args, spec) => {
165
- var _a;
166
132
  let currentRawResponse = undefined;
167
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
133
+ const providedCallback = args.options?.onResponse;
168
134
  const callback = (rawResponse, flatResponse) => {
169
135
  currentRawResponse = rawResponse;
170
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
136
+ providedCallback?.(rawResponse, flatResponse);
137
+ };
138
+ const updatedArgs = {
139
+ ...args,
140
+ options: {
141
+ ...args.options,
142
+ onResponse: callback
143
+ }
171
144
  };
172
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
173
145
  const flatResponse = await directSendOperation(updatedArgs, spec);
174
146
  return {
175
147
  flatResponse,
@@ -186,8 +158,8 @@ class AzureBareMetalInstancesImpl {
186
158
  spec: startOperationSpec
187
159
  });
188
160
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
189
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
190
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
161
+ restoreFrom: options?.resumeFrom,
162
+ intervalInMs: options?.updateIntervalInMs,
191
163
  resourceLocationConfig: "location"
192
164
  });
193
165
  await poller.poll();
@@ -216,14 +188,19 @@ class AzureBareMetalInstancesImpl {
216
188
  return this.client.sendOperationRequest(args, spec);
217
189
  };
218
190
  const sendOperationFn = async (args, spec) => {
219
- var _a;
220
191
  let currentRawResponse = undefined;
221
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
192
+ const providedCallback = args.options?.onResponse;
222
193
  const callback = (rawResponse, flatResponse) => {
223
194
  currentRawResponse = rawResponse;
224
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
195
+ providedCallback?.(rawResponse, flatResponse);
196
+ };
197
+ const updatedArgs = {
198
+ ...args,
199
+ options: {
200
+ ...args.options,
201
+ onResponse: callback
202
+ }
225
203
  };
226
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
227
204
  const flatResponse = await directSendOperation(updatedArgs, spec);
228
205
  return {
229
206
  flatResponse,
@@ -240,8 +217,8 @@ class AzureBareMetalInstancesImpl {
240
217
  spec: restartOperationSpec
241
218
  });
242
219
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
243
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
244
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
220
+ restoreFrom: options?.resumeFrom,
221
+ intervalInMs: options?.updateIntervalInMs,
245
222
  resourceLocationConfig: "location"
246
223
  });
247
224
  await poller.poll();
@@ -270,14 +247,19 @@ class AzureBareMetalInstancesImpl {
270
247
  return this.client.sendOperationRequest(args, spec);
271
248
  };
272
249
  const sendOperationFn = async (args, spec) => {
273
- var _a;
274
250
  let currentRawResponse = undefined;
275
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
251
+ const providedCallback = args.options?.onResponse;
276
252
  const callback = (rawResponse, flatResponse) => {
277
253
  currentRawResponse = rawResponse;
278
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
254
+ providedCallback?.(rawResponse, flatResponse);
255
+ };
256
+ const updatedArgs = {
257
+ ...args,
258
+ options: {
259
+ ...args.options,
260
+ onResponse: callback
261
+ }
279
262
  };
280
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
281
263
  const flatResponse = await directSendOperation(updatedArgs, spec);
282
264
  return {
283
265
  flatResponse,
@@ -294,8 +276,8 @@ class AzureBareMetalInstancesImpl {
294
276
  spec: shutdownOperationSpec
295
277
  });
296
278
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
297
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
298
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
279
+ restoreFrom: options?.resumeFrom,
280
+ intervalInMs: options?.updateIntervalInMs,
299
281
  resourceLocationConfig: "location"
300
282
  });
301
283
  await poller.poll();
@@ -1 +1 @@
1
- {"version":3,"file":"azureBareMetalInstances.js","sourceRoot":"","sources":["../../../src/operations/azureBareMetalInstances.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAwB9C,4CAA4C;AAC5C,2DAA2D;AAC3D,MAAa,2BAA2B;IAGtC;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,kBAAkB,CACvB,OAAiE;QAEjE,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,4BAA4B,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC9D,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,4BAA4B,CACzC,OAAiE,EACjE,QAAuB;;YAEvB,I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AAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { AzureBareMetalInstances } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BareMetalInfrastructureClient } from \"../bareMetalInfrastructureClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n AzureBareMetalInstance,\n AzureBareMetalInstancesListBySubscriptionNextOptionalParams,\n AzureBareMetalInstancesListBySubscriptionOptionalParams,\n AzureBareMetalInstancesListBySubscriptionResponse,\n AzureBareMetalInstancesListByResourceGroupNextOptionalParams,\n AzureBareMetalInstancesListByResourceGroupOptionalParams,\n AzureBareMetalInstancesListByResourceGroupResponse,\n AzureBareMetalInstancesStartOptionalParams,\n AzureBareMetalInstancesStartResponse,\n AzureBareMetalInstancesRestartOptionalParams,\n AzureBareMetalInstancesRestartResponse,\n AzureBareMetalInstancesShutdownOptionalParams,\n AzureBareMetalInstancesShutdownResponse,\n AzureBareMetalInstancesGetOptionalParams,\n AzureBareMetalInstancesGetResponse,\n Tags,\n AzureBareMetalInstancesUpdateOptionalParams,\n AzureBareMetalInstancesUpdateResponse,\n AzureBareMetalInstancesListBySubscriptionNextResponse,\n AzureBareMetalInstancesListByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AzureBareMetalInstances operations. */\nexport class AzureBareMetalInstancesImpl implements AzureBareMetalInstances {\n private readonly client: BareMetalInfrastructureClient;\n\n /**\n * Initialize a new instance of the class AzureBareMetalInstances class.\n * @param client Reference to the service client\n */\n constructor(client: BareMetalInfrastructureClient) {\n this.client = client;\n }\n\n /**\n * Returns a list of Azure Bare Metal Instances in the specified subscription. The operations returns\n * various properties of each Azure Bare Metal Instance.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: AzureBareMetalInstancesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<AzureBareMetalInstance> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: AzureBareMetalInstancesListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AzureBareMetalInstance[]> {\n let result: AzureBareMetalInstancesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: AzureBareMetalInstancesListBySubscriptionOptionalParams\n ): AsyncIterableIterator<AzureBareMetalInstance> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of Azure Bare Metal Instances in the specified subscription and resource group. The\n * operations returns various properties of each Azure Bare Metal Instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: AzureBareMetalInstancesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<AzureBareMetalInstance> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: AzureBareMetalInstancesListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AzureBareMetalInstance[]> {\n let result: AzureBareMetalInstancesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: AzureBareMetalInstancesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<AzureBareMetalInstance> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * The operation to start an Azure Bare Metal instance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param options The options parameters.\n */\n async beginStart(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesStartOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<AzureBareMetalInstancesStartResponse>,\n AzureBareMetalInstancesStartResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<AzureBareMetalInstancesStartResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, azureBareMetalInstanceName, options },\n spec: startOperationSpec\n });\n const poller = await createHttpPoller<\n AzureBareMetalInstancesStartResponse,\n OperationState<AzureBareMetalInstancesStartResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to start an Azure Bare Metal instance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param options The options parameters.\n */\n async beginStartAndWait(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesStartOptionalParams\n ): Promise<AzureBareMetalInstancesStartResponse> {\n const poller = await this.beginStart(\n resourceGroupName,\n azureBareMetalInstanceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to restart an Azure Bare Metal Instance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param options The options parameters.\n */\n async beginRestart(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesRestartOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<AzureBareMetalInstancesRestartResponse>,\n AzureBareMetalInstancesRestartResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<AzureBareMetalInstancesRestartResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, azureBareMetalInstanceName, options },\n spec: restartOperationSpec\n });\n const poller = await createHttpPoller<\n AzureBareMetalInstancesRestartResponse,\n OperationState<AzureBareMetalInstancesRestartResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to restart an Azure Bare Metal Instance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param options The options parameters.\n */\n async beginRestartAndWait(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesRestartOptionalParams\n ): Promise<AzureBareMetalInstancesRestartResponse> {\n const poller = await this.beginRestart(\n resourceGroupName,\n azureBareMetalInstanceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to shutdown an Azure Bare Metal Instance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param options The options parameters.\n */\n async beginShutdown(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesShutdownOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<AzureBareMetalInstancesShutdownResponse>,\n AzureBareMetalInstancesShutdownResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<AzureBareMetalInstancesShutdownResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, azureBareMetalInstanceName, options },\n spec: shutdownOperationSpec\n });\n const poller = await createHttpPoller<\n AzureBareMetalInstancesShutdownResponse,\n OperationState<AzureBareMetalInstancesShutdownResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to shutdown an Azure Bare Metal Instance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param options The options parameters.\n */\n async beginShutdownAndWait(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesShutdownOptionalParams\n ): Promise<AzureBareMetalInstancesShutdownResponse> {\n const poller = await this.beginShutdown(\n resourceGroupName,\n azureBareMetalInstanceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Returns a list of Azure Bare Metal Instances in the specified subscription. The operations returns\n * various properties of each Azure Bare Metal Instance.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: AzureBareMetalInstancesListBySubscriptionOptionalParams\n ): Promise<AzureBareMetalInstancesListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Gets a list of Azure Bare Metal Instances in the specified subscription and resource group. The\n * operations returns various properties of each Azure Bare Metal Instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: AzureBareMetalInstancesListByResourceGroupOptionalParams\n ): Promise<AzureBareMetalInstancesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets an Azure Bare Metal Instance for the specified subscription, resource group, and instance name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesGetOptionalParams\n ): Promise<AzureBareMetalInstancesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, azureBareMetalInstanceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Patches the Tags field of a Azure Bare Metal Instance for the specified subscription, resource\n * group, and instance name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param tagsParameter Request body that only contains the new Tags field\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n tagsParameter: Tags,\n options?: AzureBareMetalInstancesUpdateOptionalParams\n ): Promise<AzureBareMetalInstancesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, azureBareMetalInstanceName, tagsParameter, options },\n updateOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: AzureBareMetalInstancesListBySubscriptionNextOptionalParams\n ): Promise<AzureBareMetalInstancesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: AzureBareMetalInstancesListByResourceGroupNextOptionalParams\n ): Promise<AzureBareMetalInstancesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst startOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/{azureBareMetalInstanceName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationStatus\n },\n 201: {\n bodyMapper: Mappers.OperationStatus\n },\n 202: {\n bodyMapper: Mappers.OperationStatus\n },\n 204: {\n bodyMapper: Mappers.OperationStatus\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureBareMetalInstanceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst restartOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/{azureBareMetalInstanceName}/restart\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationStatus\n },\n 201: {\n bodyMapper: Mappers.OperationStatus\n },\n 202: {\n bodyMapper: Mappers.OperationStatus\n },\n 204: {\n bodyMapper: Mappers.OperationStatus\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.forceParameter,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureBareMetalInstanceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst shutdownOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/{azureBareMetalInstanceName}/shutdown\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationStatus\n },\n 201: {\n bodyMapper: Mappers.OperationStatus\n },\n 202: {\n bodyMapper: Mappers.OperationStatus\n },\n 204: {\n bodyMapper: Mappers.OperationStatus\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureBareMetalInstanceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureBareMetalInstancesListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureBareMetalInstancesListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/{azureBareMetalInstanceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureBareMetalInstance\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureBareMetalInstanceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/{azureBareMetalInstanceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureBareMetalInstance\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.tagsParameter,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureBareMetalInstanceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureBareMetalInstancesListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureBareMetalInstancesListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"azureBareMetalInstances.js","sourceRoot":"","sources":["../../../src/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ACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { AzureBareMetalInstances } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BareMetalInfrastructureClient } from \"../bareMetalInfrastructureClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n AzureBareMetalInstance,\n AzureBareMetalInstancesListBySubscriptionNextOptionalParams,\n AzureBareMetalInstancesListBySubscriptionOptionalParams,\n AzureBareMetalInstancesListBySubscriptionResponse,\n AzureBareMetalInstancesListByResourceGroupNextOptionalParams,\n AzureBareMetalInstancesListByResourceGroupOptionalParams,\n AzureBareMetalInstancesListByResourceGroupResponse,\n AzureBareMetalInstancesStartOptionalParams,\n AzureBareMetalInstancesStartResponse,\n AzureBareMetalInstancesRestartOptionalParams,\n AzureBareMetalInstancesRestartResponse,\n AzureBareMetalInstancesShutdownOptionalParams,\n AzureBareMetalInstancesShutdownResponse,\n AzureBareMetalInstancesGetOptionalParams,\n AzureBareMetalInstancesGetResponse,\n Tags,\n AzureBareMetalInstancesUpdateOptionalParams,\n AzureBareMetalInstancesUpdateResponse,\n AzureBareMetalInstancesListBySubscriptionNextResponse,\n AzureBareMetalInstancesListByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AzureBareMetalInstances operations. */\nexport class AzureBareMetalInstancesImpl implements AzureBareMetalInstances {\n private readonly client: BareMetalInfrastructureClient;\n\n /**\n * Initialize a new instance of the class AzureBareMetalInstances class.\n * @param client Reference to the service client\n */\n constructor(client: BareMetalInfrastructureClient) {\n this.client = client;\n }\n\n /**\n * Returns a list of Azure Bare Metal Instances in the specified subscription. The operations returns\n * various properties of each Azure Bare Metal Instance.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: AzureBareMetalInstancesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<AzureBareMetalInstance> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: AzureBareMetalInstancesListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AzureBareMetalInstance[]> {\n let result: AzureBareMetalInstancesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: AzureBareMetalInstancesListBySubscriptionOptionalParams\n ): AsyncIterableIterator<AzureBareMetalInstance> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of Azure Bare Metal Instances in the specified subscription and resource group. The\n * operations returns various properties of each Azure Bare Metal Instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: AzureBareMetalInstancesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<AzureBareMetalInstance> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: AzureBareMetalInstancesListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AzureBareMetalInstance[]> {\n let result: AzureBareMetalInstancesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: AzureBareMetalInstancesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<AzureBareMetalInstance> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * The operation to start an Azure Bare Metal instance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param options The options parameters.\n */\n async beginStart(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesStartOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<AzureBareMetalInstancesStartResponse>,\n AzureBareMetalInstancesStartResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<AzureBareMetalInstancesStartResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, azureBareMetalInstanceName, options },\n spec: startOperationSpec\n });\n const poller = await createHttpPoller<\n AzureBareMetalInstancesStartResponse,\n OperationState<AzureBareMetalInstancesStartResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to start an Azure Bare Metal instance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param options The options parameters.\n */\n async beginStartAndWait(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesStartOptionalParams\n ): Promise<AzureBareMetalInstancesStartResponse> {\n const poller = await this.beginStart(\n resourceGroupName,\n azureBareMetalInstanceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to restart an Azure Bare Metal Instance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param options The options parameters.\n */\n async beginRestart(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesRestartOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<AzureBareMetalInstancesRestartResponse>,\n AzureBareMetalInstancesRestartResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<AzureBareMetalInstancesRestartResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, azureBareMetalInstanceName, options },\n spec: restartOperationSpec\n });\n const poller = await createHttpPoller<\n AzureBareMetalInstancesRestartResponse,\n OperationState<AzureBareMetalInstancesRestartResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to restart an Azure Bare Metal Instance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param options The options parameters.\n */\n async beginRestartAndWait(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesRestartOptionalParams\n ): Promise<AzureBareMetalInstancesRestartResponse> {\n const poller = await this.beginRestart(\n resourceGroupName,\n azureBareMetalInstanceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to shutdown an Azure Bare Metal Instance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param options The options parameters.\n */\n async beginShutdown(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesShutdownOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<AzureBareMetalInstancesShutdownResponse>,\n AzureBareMetalInstancesShutdownResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<AzureBareMetalInstancesShutdownResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, azureBareMetalInstanceName, options },\n spec: shutdownOperationSpec\n });\n const poller = await createHttpPoller<\n AzureBareMetalInstancesShutdownResponse,\n OperationState<AzureBareMetalInstancesShutdownResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to shutdown an Azure Bare Metal Instance\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param options The options parameters.\n */\n async beginShutdownAndWait(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesShutdownOptionalParams\n ): Promise<AzureBareMetalInstancesShutdownResponse> {\n const poller = await this.beginShutdown(\n resourceGroupName,\n azureBareMetalInstanceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Returns a list of Azure Bare Metal Instances in the specified subscription. The operations returns\n * various properties of each Azure Bare Metal Instance.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: AzureBareMetalInstancesListBySubscriptionOptionalParams\n ): Promise<AzureBareMetalInstancesListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Gets a list of Azure Bare Metal Instances in the specified subscription and resource group. The\n * operations returns various properties of each Azure Bare Metal Instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: AzureBareMetalInstancesListByResourceGroupOptionalParams\n ): Promise<AzureBareMetalInstancesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets an Azure Bare Metal Instance for the specified subscription, resource group, and instance name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesGetOptionalParams\n ): Promise<AzureBareMetalInstancesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, azureBareMetalInstanceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Patches the Tags field of a Azure Bare Metal Instance for the specified subscription, resource\n * group, and instance name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the\n * ResourceName.\n * @param tagsParameter Request body that only contains the new Tags field\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n tagsParameter: Tags,\n options?: AzureBareMetalInstancesUpdateOptionalParams\n ): Promise<AzureBareMetalInstancesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, azureBareMetalInstanceName, tagsParameter, options },\n updateOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: AzureBareMetalInstancesListBySubscriptionNextOptionalParams\n ): Promise<AzureBareMetalInstancesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: AzureBareMetalInstancesListByResourceGroupNextOptionalParams\n ): Promise<AzureBareMetalInstancesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst startOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/{azureBareMetalInstanceName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationStatus\n },\n 201: {\n bodyMapper: Mappers.OperationStatus\n },\n 202: {\n bodyMapper: Mappers.OperationStatus\n },\n 204: {\n bodyMapper: Mappers.OperationStatus\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureBareMetalInstanceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst restartOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/{azureBareMetalInstanceName}/restart\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationStatus\n },\n 201: {\n bodyMapper: Mappers.OperationStatus\n },\n 202: {\n bodyMapper: Mappers.OperationStatus\n },\n 204: {\n bodyMapper: Mappers.OperationStatus\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.forceParameter,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureBareMetalInstanceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst shutdownOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/{azureBareMetalInstanceName}/shutdown\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationStatus\n },\n 201: {\n bodyMapper: Mappers.OperationStatus\n },\n 202: {\n bodyMapper: Mappers.OperationStatus\n },\n 204: {\n bodyMapper: Mappers.OperationStatus\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureBareMetalInstanceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureBareMetalInstancesListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureBareMetalInstancesListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/{azureBareMetalInstanceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureBareMetalInstance\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureBareMetalInstanceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/{azureBareMetalInstanceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureBareMetalInstance\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.tagsParameter,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureBareMetalInstanceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureBareMetalInstancesListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureBareMetalInstancesListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}