@azure/arm-baremetalinfrastructure 1.0.0-beta.2 → 1.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -4
- package/LICENSE +4 -4
- package/README.md +26 -17
- package/{dist-esm/src → dist/browser}/bareMetalInfrastructureClient.d.ts +2 -2
- package/dist/browser/bareMetalInfrastructureClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/bareMetalInfrastructureClient.js +32 -24
- package/dist/browser/bareMetalInfrastructureClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +18 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +37 -17
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/azureBareMetalInstances.d.ts +3 -3
- package/dist/browser/operations/azureBareMetalInstances.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/azureBareMetalInstances.js +175 -206
- package/dist/browser/operations/azureBareMetalInstances.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/azureBareMetalStorageInstances.d.ts +3 -3
- package/dist/browser/operations/azureBareMetalStorageInstances.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/azureBareMetalStorageInstances.js +48 -82
- package/dist/browser/operations/azureBareMetalStorageInstances.js.map +1 -0
- package/dist/browser/operations/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +12 -29
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/azureBareMetalInstances.d.ts +1 -1
- package/dist/browser/operationsInterfaces/azureBareMetalInstances.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/azureBareMetalInstances.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/azureBareMetalStorageInstances.d.ts +1 -1
- package/dist/browser/operationsInterfaces/azureBareMetalStorageInstances.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/azureBareMetalStorageInstances.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +3 -3
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/bareMetalInfrastructureClient.d.ts +22 -0
- package/dist/commonjs/bareMetalInfrastructureClient.d.ts.map +1 -0
- package/dist/commonjs/bareMetalInfrastructureClient.js +115 -0
- package/dist/commonjs/bareMetalInfrastructureClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +21 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-baremetalinfrastructure.d.ts → dist/commonjs/models/index.d.ts} +808 -1069
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +215 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +30 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +812 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +14 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +129 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/azureBareMetalInstances.d.ts +124 -0
- package/dist/commonjs/operations/azureBareMetalInstances.d.ts.map +1 -0
- package/dist/commonjs/operations/azureBareMetalInstances.js +568 -0
- package/dist/commonjs/operations/azureBareMetalInstances.js.map +1 -0
- package/dist/commonjs/operations/azureBareMetalStorageInstances.d.ts +93 -0
- package/dist/commonjs/operations/azureBareMetalStorageInstances.d.ts.map +1 -0
- package/dist/commonjs/operations/azureBareMetalStorageInstances.js +375 -0
- package/dist/commonjs/operations/azureBareMetalStorageInstances.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +4 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +14 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +26 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +84 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/azureBareMetalInstances.d.ts +86 -0
- package/dist/commonjs/operationsInterfaces/azureBareMetalInstances.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/azureBareMetalInstances.js +10 -0
- package/dist/commonjs/operationsInterfaces/azureBareMetalInstances.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/azureBareMetalStorageInstances.d.ts +55 -0
- package/dist/commonjs/operationsInterfaces/azureBareMetalStorageInstances.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/azureBareMetalStorageInstances.js +10 -0
- package/dist/commonjs/operationsInterfaces/azureBareMetalStorageInstances.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +14 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/commonjs/operationsInterfaces/operations.js} +3 -4
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/bareMetalInfrastructureClient.d.ts +22 -0
- package/dist/esm/bareMetalInfrastructureClient.d.ts.map +1 -0
- package/dist/esm/bareMetalInfrastructureClient.js +110 -0
- package/dist/esm/bareMetalInfrastructureClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +18 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +808 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +212 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +30 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +809 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +14 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +126 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/azureBareMetalInstances.d.ts +124 -0
- package/dist/esm/operations/azureBareMetalInstances.d.ts.map +1 -0
- package/dist/esm/operations/azureBareMetalInstances.js +563 -0
- package/dist/esm/operations/azureBareMetalInstances.js.map +1 -0
- package/dist/esm/operations/azureBareMetalStorageInstances.d.ts +93 -0
- package/dist/esm/operations/azureBareMetalStorageInstances.d.ts.map +1 -0
- package/dist/esm/operations/azureBareMetalStorageInstances.js +370 -0
- package/dist/esm/operations/azureBareMetalStorageInstances.js.map +1 -0
- package/dist/esm/operations/index.d.ts +4 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +11 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +26 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +79 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/azureBareMetalInstances.d.ts +86 -0
- package/dist/esm/operationsInterfaces/azureBareMetalInstances.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/azureBareMetalInstances.js +9 -0
- package/dist/esm/operationsInterfaces/azureBareMetalInstances.js.map +1 -0
- package/dist/esm/operationsInterfaces/azureBareMetalStorageInstances.d.ts +55 -0
- package/dist/esm/operationsInterfaces/azureBareMetalStorageInstances.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/azureBareMetalStorageInstances.js +9 -0
- package/dist/esm/operationsInterfaces/azureBareMetalStorageInstances.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +11 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/bareMetalInfrastructureClient.d.ts +22 -0
- package/dist/react-native/bareMetalInfrastructureClient.d.ts.map +1 -0
- package/dist/react-native/bareMetalInfrastructureClient.js +110 -0
- package/dist/react-native/bareMetalInfrastructureClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +18 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +808 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +212 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +30 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +809 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +14 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +126 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/azureBareMetalInstances.d.ts +124 -0
- package/dist/react-native/operations/azureBareMetalInstances.d.ts.map +1 -0
- package/dist/react-native/operations/azureBareMetalInstances.js +563 -0
- package/dist/react-native/operations/azureBareMetalInstances.js.map +1 -0
- package/dist/react-native/operations/azureBareMetalStorageInstances.d.ts +93 -0
- package/dist/react-native/operations/azureBareMetalStorageInstances.d.ts.map +1 -0
- package/dist/react-native/operations/azureBareMetalStorageInstances.js +370 -0
- package/dist/react-native/operations/azureBareMetalStorageInstances.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +4 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +11 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +26 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +79 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/azureBareMetalInstances.d.ts +86 -0
- package/dist/react-native/operationsInterfaces/azureBareMetalInstances.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/azureBareMetalInstances.js +9 -0
- package/dist/react-native/operationsInterfaces/azureBareMetalInstances.js.map +1 -0
- package/dist/react-native/operationsInterfaces/azureBareMetalStorageInstances.d.ts +55 -0
- package/dist/react-native/operationsInterfaces/azureBareMetalStorageInstances.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/azureBareMetalStorageInstances.js +9 -0
- package/dist/react-native/operationsInterfaces/azureBareMetalStorageInstances.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +11 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +87 -74
- package/dist/index.js +0 -2418
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalInstancesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureBareMetalInstancesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalInstancesGetSample.js +0 -39
- package/dist-esm/samples-dev/azureBareMetalInstancesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalInstancesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureBareMetalInstancesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalInstancesListByResourceGroupSample.js +0 -54
- package/dist-esm/samples-dev/azureBareMetalInstancesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalInstancesListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureBareMetalInstancesListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalInstancesListBySubscriptionSample.js +0 -53
- package/dist-esm/samples-dev/azureBareMetalInstancesListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalInstancesRestartSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureBareMetalInstancesRestartSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalInstancesRestartSample.js +0 -39
- package/dist-esm/samples-dev/azureBareMetalInstancesRestartSample.js.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalInstancesShutdownSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureBareMetalInstancesShutdownSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalInstancesShutdownSample.js +0 -39
- package/dist-esm/samples-dev/azureBareMetalInstancesShutdownSample.js.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalInstancesStartSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureBareMetalInstancesStartSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalInstancesStartSample.js +0 -39
- package/dist-esm/samples-dev/azureBareMetalInstancesStartSample.js.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalInstancesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureBareMetalInstancesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalInstancesUpdateSample.js +0 -60
- package/dist-esm/samples-dev/azureBareMetalInstancesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesCreateSample.js +0 -56
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesDeleteSample.js +0 -39
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesGetSample.js +0 -39
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesListByResourceGroupSample.js +0 -54
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesListBySubscriptionSample.js +0 -53
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesUpdateSample.js +0 -60
- package/dist-esm/samples-dev/azureBareMetalStorageInstancesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -53
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/src/bareMetalInfrastructureClient.d.ts.map +0 -1
- package/dist-esm/src/bareMetalInfrastructureClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -21
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/azureBareMetalInstances.d.ts.map +0 -1
- package/dist-esm/src/operations/azureBareMetalInstances.js.map +0 -1
- package/dist-esm/src/operations/azureBareMetalStorageInstances.d.ts.map +0 -1
- package/dist-esm/src/operations/azureBareMetalStorageInstances.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -4
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/azureBareMetalInstances.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/azureBareMetalInstances.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/azureBareMetalStorageInstances.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/azureBareMetalStorageInstances.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/baremetalinfrastructure_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/baremetalinfrastructure_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/baremetalinfrastructure_operations_test.spec.js +0 -76
- package/dist-esm/test/baremetalinfrastructure_operations_test.spec.js.map +0 -1
- package/src/bareMetalInfrastructureClient.ts +0 -154
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -899
- package/src/models/mappers.ts +0 -839
- package/src/models/parameters.ts +0 -147
- package/src/operations/azureBareMetalInstances.ts +0 -783
- package/src/operations/azureBareMetalStorageInstances.ts +0 -498
- package/src/operations/operations.ts +0 -103
- package/src/operationsInterfaces/azureBareMetalInstances.ts +0 -163
- package/src/operationsInterfaces/azureBareMetalStorageInstances.ts +0 -99
- package/src/operationsInterfaces/index.ts +0 -11
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/azureBareMetalInstances.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/azureBareMetalStorageInstances.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/review/{arm-baremetalinfrastructure.api.md → arm-baremetalinfrastructure-node.api.md} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,eAAe,GAA+B;IACzD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iBAAiB;QAC5B,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,cAAc,EAAE,WAAW;gBAC3B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,sBAAsB;iBAClC;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAA+B;IAC9D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,sBAAsB;QACjC,eAAe,EA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UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const OperationStatus: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationStatus\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n startTime: {\n serializedName: \"startTime\",\n type: {\n name: \"String\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"OperationStatusError\"\n }\n }\n }\n }\n};\n\nexport const OperationStatusError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationStatusError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const ForceState: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ForceState\",\n modelProperties: {\n forceState: {\n serializedName: \"forceState\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstance\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const HardwareProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HardwareProfile\",\n modelProperties: {\n hardwareType: {\n serializedName: \"hardwareType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n azureBareMetalInstanceSize: {\n serializedName: \"azureBareMetalInstanceSize\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const StorageProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"StorageProfile\",\n modelProperties: {\n nfsIpAddress: {\n serializedName: \"nfsIpAddress\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n osDisks: {\n serializedName: \"osDisks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Disk\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Disk: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Disk\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n diskSizeGB: {\n serializedName: \"diskSizeGB\",\n type: {\n name: \"Number\"\n }\n },\n lun: {\n serializedName: \"lun\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const OSProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OSProfile\",\n modelProperties: {\n computerName: {\n serializedName: \"computerName\",\n type: {\n name: \"String\"\n }\n },\n osType: {\n serializedName: \"osType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"version\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n sshPublicKey: {\n serializedName: \"sshPublicKey\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const NetworkProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"NetworkProfile\",\n modelProperties: {\n networkInterfaces: {\n serializedName: \"networkInterfaces\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"NetworkInterface\"\n }\n }\n }\n },\n circuitId: {\n serializedName: \"circuitId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const NetworkInterface: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"NetworkInterface\",\n modelProperties: {\n ipAddress: {\n serializedName: \"ipAddress\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n },\n origin: {\n serializedName: \"origin\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n actionType: {\n serializedName: \"actionType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Tags: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Tags\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalStorageInstancesListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalStorageInstancesListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalStorageInstance\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const StorageProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"StorageProperties\",\n modelProperties: {\n provisioningState: {\n serializedName: \"provisioningState\",\n type: {\n name: \"String\"\n }\n },\n offeringType: {\n serializedName: \"offeringType\",\n type: {\n name: \"String\"\n }\n },\n storageType: {\n serializedName: \"storageType\",\n type: {\n name: \"String\"\n }\n },\n generation: {\n serializedName: \"generation\",\n type: {\n name: \"String\"\n }\n },\n hardwareType: {\n serializedName: \"hardwareType\",\n type: {\n name: \"String\"\n }\n },\n workloadType: {\n serializedName: \"workloadType\",\n type: {\n name: \"String\"\n }\n },\n storageBillingProperties: {\n serializedName: \"storageBillingProperties\",\n type: {\n name: \"Composite\",\n className: \"StorageBillingProperties\"\n }\n }\n }\n }\n};\n\nexport const StorageBillingProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"StorageBillingProperties\",\n modelProperties: {\n billingMode: {\n serializedName: \"billingMode\",\n type: {\n name: \"String\"\n }\n },\n azureBareMetalStorageInstanceSize: {\n serializedName: \"azureBareMetalStorageInstanceSize\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstance: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstance\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n hardwareProfile: {\n serializedName: \"properties.hardwareProfile\",\n type: {\n name: \"Composite\",\n className: \"HardwareProfile\"\n }\n },\n storageProfile: {\n serializedName: \"properties.storageProfile\",\n type: {\n name: \"Composite\",\n className: \"StorageProfile\"\n }\n },\n osProfile: {\n serializedName: \"properties.osProfile\",\n type: {\n name: \"Composite\",\n className: \"OSProfile\"\n }\n },\n networkProfile: {\n serializedName: \"properties.networkProfile\",\n type: {\n name: \"Composite\",\n className: \"NetworkProfile\"\n }\n },\n azureBareMetalInstanceId: {\n serializedName: \"properties.azureBareMetalInstanceId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n powerState: {\n serializedName: \"properties.powerState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n proximityPlacementGroup: {\n serializedName: \"properties.proximityPlacementGroup\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n hwRevision: {\n serializedName: \"properties.hwRevision\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n partnerNodeId: {\n serializedName: \"properties.partnerNodeId\",\n type: {\n name: \"String\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalStorageInstance: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalStorageInstance\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n azureBareMetalStorageInstanceUniqueIdentifier: {\n serializedName:\n \"properties.azureBareMetalStorageInstanceUniqueIdentifier\",\n type: {\n name: \"String\"\n }\n },\n storageProperties: {\n serializedName: \"properties.storageProperties\",\n type: {\n name: \"Composite\",\n className: \"StorageProperties\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesStartHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesStartHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesRestartHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesRestartHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesShutdownHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesShutdownHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { ForceState as ForceStateMapper, Tags as TagsMapper, AzureBareMetalStorageInstance as AzureBareMetalStorageInstanceMapper } from "../models/mappers";
|
|
8
|
+
import { ForceState as ForceStateMapper, Tags as TagsMapper, AzureBareMetalStorageInstance as AzureBareMetalStorageInstanceMapper } from "../models/mappers.js";
|
|
9
9
|
export const accept = {
|
|
10
10
|
parameterPath: "accept",
|
|
11
11
|
mapper: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,UAAU,IAAI,gBAAgB,EAC9B,IAAI,IAAI,UAAU,EAClB,6BAA6B,IAAI,mCAAmC,EACrE,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,oBAAoB;QAClC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA0B;IACnD,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,cAAc,EAAE,gBAAgB;QAChC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;SACb;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAA0B;IACtD,aAAa,EAAE,mBAAmB;IAClC,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EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,IAAI,CAAC;SAC1B;QACD,cAAc,EAAE,mCAAmC;QACnD,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAuB;IACvD,aAAa,EAAE,uBAAuB;IACtC,MAAM,EAAE,mCAAmC;CAC5C,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n ForceState as ForceStateMapper,\n Tags as TagsMapper,\n AzureBareMetalStorageInstance as AzureBareMetalStorageInstanceMapper\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2023-08-04-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const azureBareMetalInstanceName: OperationURLParameter = {\n parameterPath: \"azureBareMetalInstanceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9]+$\")\n },\n serializedName: \"azureBareMetalInstanceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const forceParameter: OperationParameter = {\n parameterPath: [\"options\", \"forceParameter\"],\n mapper: ForceStateMapper\n};\n\nexport const tagsParameter: OperationParameter = {\n parameterPath: \"tagsParameter\",\n mapper: TagsMapper\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const azureBareMetalStorageInstanceName: OperationURLParameter = {\n parameterPath: \"azureBareMetalStorageInstanceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\".*\")\n },\n serializedName: \"azureBareMetalStorageInstanceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const requestBodyParameters: OperationParameter = {\n parameterPath: \"requestBodyParameters\",\n mapper: AzureBareMetalStorageInstanceMapper\n};\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { AzureBareMetalInstances } from "../operationsInterfaces";
|
|
3
|
-
import { BareMetalInfrastructureClient } from "../bareMetalInfrastructureClient";
|
|
2
|
+
import { AzureBareMetalInstances } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { BareMetalInfrastructureClient } from "../bareMetalInfrastructureClient.js";
|
|
4
4
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { AzureBareMetalInstance, AzureBareMetalInstancesListBySubscriptionOptionalParams, AzureBareMetalInstancesListByResourceGroupOptionalParams, AzureBareMetalInstancesStartOptionalParams, AzureBareMetalInstancesStartResponse, AzureBareMetalInstancesRestartOptionalParams, AzureBareMetalInstancesRestartResponse, AzureBareMetalInstancesShutdownOptionalParams, AzureBareMetalInstancesShutdownResponse, AzureBareMetalInstancesGetOptionalParams, AzureBareMetalInstancesGetResponse, Tags, AzureBareMetalInstancesUpdateOptionalParams, AzureBareMetalInstancesUpdateResponse } from "../models";
|
|
5
|
+
import { AzureBareMetalInstance, AzureBareMetalInstancesListBySubscriptionOptionalParams, AzureBareMetalInstancesListByResourceGroupOptionalParams, AzureBareMetalInstancesStartOptionalParams, AzureBareMetalInstancesStartResponse, AzureBareMetalInstancesRestartOptionalParams, AzureBareMetalInstancesRestartResponse, AzureBareMetalInstancesShutdownOptionalParams, AzureBareMetalInstancesShutdownResponse, AzureBareMetalInstancesGetOptionalParams, AzureBareMetalInstancesGetResponse, Tags, AzureBareMetalInstancesUpdateOptionalParams, AzureBareMetalInstancesUpdateResponse } from "../models/index.js";
|
|
6
6
|
/** Class containing AzureBareMetalInstances operations. */
|
|
7
7
|
export declare class AzureBareMetalInstancesImpl implements AzureBareMetalInstances {
|
|
8
8
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureBareMetalInstances.d.ts","sourceRoot":"","sources":["../../../src/operations/azureBareMetalInstances.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAI3E,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,sBAAsB,EAEtB,uDAAuD,EAGvD,wDAAwD,EAExD,0CAA0C,EAC1C,oCAAoC,EACpC,4CAA4C,EAC5C,sCAAsC,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CAAC,sCAAsC,CAAC;IASlD;;;;;;OAMG;IACG,aAAa,CACjB,iBAAiB,EAAE,MAAM,EACzB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,uCAAuC,CAAC,EACvD,uCAAuC,CACxC,CACF;IAyDD;;;;;;OAMG;IACG,oBAAoB,CACxB,iBAAiB,EAAE,MAAM,EACzB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IASnD;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC;IAO9C;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,0BAA0B,EAAE,MAAM,EAClC,aAAa,EAAE,IAAI,EACnB,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAOjD;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAU/B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
9
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
12
|
import { createHttpPoller } from "@azure/core-lro";
|
|
14
|
-
import { createLroSpec } from "../lroImpl";
|
|
13
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
15
14
|
/// <reference lib="esnext.asynciterable" />
|
|
16
15
|
/** Class containing AzureBareMetalInstances operations. */
|
|
17
16
|
export class AzureBareMetalInstancesImpl {
|
|
17
|
+
client;
|
|
18
18
|
/**
|
|
19
19
|
* Initialize a new instance of the class AzureBareMetalInstances class.
|
|
20
20
|
* @param client Reference to the service client
|
|
@@ -37,52 +37,35 @@ export class AzureBareMetalInstancesImpl {
|
|
|
37
37
|
return this;
|
|
38
38
|
},
|
|
39
39
|
byPage: (settings) => {
|
|
40
|
-
if (settings
|
|
40
|
+
if (settings?.maxPageSize) {
|
|
41
41
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
42
|
}
|
|
43
43
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
listBySubscriptionPagingPage(options, settings) {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
});
|
|
47
|
+
async *listBySubscriptionPagingPage(options, settings) {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings?.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = await this._listBySubscription(options);
|
|
52
|
+
let page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
setContinuationToken(page, continuationToken);
|
|
55
|
+
yield page;
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
let page = result.value || [];
|
|
61
|
+
setContinuationToken(page, continuationToken);
|
|
62
|
+
yield page;
|
|
63
|
+
}
|
|
66
64
|
}
|
|
67
|
-
listBySubscriptionPagingAll(options) {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
72
|
-
_c = _f.value;
|
|
73
|
-
_d = false;
|
|
74
|
-
const page = _c;
|
|
75
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
79
|
-
finally {
|
|
80
|
-
try {
|
|
81
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
82
|
-
}
|
|
83
|
-
finally { if (e_1) throw e_1.error; }
|
|
84
|
-
}
|
|
85
|
-
});
|
|
65
|
+
async *listBySubscriptionPagingAll(options) {
|
|
66
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
67
|
+
yield* page;
|
|
68
|
+
}
|
|
86
69
|
}
|
|
87
70
|
/**
|
|
88
71
|
* Gets a list of Azure Bare Metal Instances in the specified subscription and resource group. The
|
|
@@ -100,52 +83,35 @@ export class AzureBareMetalInstancesImpl {
|
|
|
100
83
|
return this;
|
|
101
84
|
},
|
|
102
85
|
byPage: (settings) => {
|
|
103
|
-
if (settings
|
|
86
|
+
if (settings?.maxPageSize) {
|
|
104
87
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
105
88
|
}
|
|
106
89
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
107
90
|
}
|
|
108
91
|
};
|
|
109
92
|
}
|
|
110
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
});
|
|
93
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
94
|
+
let result;
|
|
95
|
+
let continuationToken = settings?.continuationToken;
|
|
96
|
+
if (!continuationToken) {
|
|
97
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
98
|
+
let page = result.value || [];
|
|
99
|
+
continuationToken = result.nextLink;
|
|
100
|
+
setContinuationToken(page, continuationToken);
|
|
101
|
+
yield page;
|
|
102
|
+
}
|
|
103
|
+
while (continuationToken) {
|
|
104
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
105
|
+
continuationToken = result.nextLink;
|
|
106
|
+
let page = result.value || [];
|
|
107
|
+
setContinuationToken(page, continuationToken);
|
|
108
|
+
yield page;
|
|
109
|
+
}
|
|
129
110
|
}
|
|
130
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
135
|
-
_c = _f.value;
|
|
136
|
-
_d = false;
|
|
137
|
-
const page = _c;
|
|
138
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
142
|
-
finally {
|
|
143
|
-
try {
|
|
144
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
145
|
-
}
|
|
146
|
-
finally { if (e_2) throw e_2.error; }
|
|
147
|
-
}
|
|
148
|
-
});
|
|
111
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
112
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
113
|
+
yield* page;
|
|
114
|
+
}
|
|
149
115
|
}
|
|
150
116
|
/**
|
|
151
117
|
* The operation to start an Azure Bare Metal instance
|
|
@@ -154,43 +120,46 @@ export class AzureBareMetalInstancesImpl {
|
|
|
154
120
|
* ResourceName.
|
|
155
121
|
* @param options The options parameters.
|
|
156
122
|
*/
|
|
157
|
-
beginStart(resourceGroupName, azureBareMetalInstanceName, options) {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
123
|
+
async beginStart(resourceGroupName, azureBareMetalInstanceName, options) {
|
|
124
|
+
const directSendOperation = async (args, spec) => {
|
|
125
|
+
return this.client.sendOperationRequest(args, spec);
|
|
126
|
+
};
|
|
127
|
+
const sendOperationFn = async (args, spec) => {
|
|
128
|
+
let currentRawResponse = undefined;
|
|
129
|
+
const providedCallback = args.options?.onResponse;
|
|
130
|
+
const callback = (rawResponse, flatResponse) => {
|
|
131
|
+
currentRawResponse = rawResponse;
|
|
132
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
133
|
+
};
|
|
134
|
+
const updatedArgs = {
|
|
135
|
+
...args,
|
|
136
|
+
options: {
|
|
137
|
+
...args.options,
|
|
138
|
+
onResponse: callback
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
142
|
+
return {
|
|
143
|
+
flatResponse,
|
|
144
|
+
rawResponse: {
|
|
145
|
+
statusCode: currentRawResponse.status,
|
|
146
|
+
body: currentRawResponse.parsedBody,
|
|
147
|
+
headers: currentRawResponse.headers.toJSON()
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
const lro = createLroSpec({
|
|
152
|
+
sendOperationFn,
|
|
153
|
+
args: { resourceGroupName, azureBareMetalInstanceName, options },
|
|
154
|
+
spec: startOperationSpec
|
|
155
|
+
});
|
|
156
|
+
const poller = await createHttpPoller(lro, {
|
|
157
|
+
restoreFrom: options?.resumeFrom,
|
|
158
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
159
|
+
resourceLocationConfig: "location"
|
|
193
160
|
});
|
|
161
|
+
await poller.poll();
|
|
162
|
+
return poller;
|
|
194
163
|
}
|
|
195
164
|
/**
|
|
196
165
|
* The operation to start an Azure Bare Metal instance
|
|
@@ -199,11 +168,9 @@ export class AzureBareMetalInstancesImpl {
|
|
|
199
168
|
* ResourceName.
|
|
200
169
|
* @param options The options parameters.
|
|
201
170
|
*/
|
|
202
|
-
beginStartAndWait(resourceGroupName, azureBareMetalInstanceName, options) {
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
return poller.pollUntilDone();
|
|
206
|
-
});
|
|
171
|
+
async beginStartAndWait(resourceGroupName, azureBareMetalInstanceName, options) {
|
|
172
|
+
const poller = await this.beginStart(resourceGroupName, azureBareMetalInstanceName, options);
|
|
173
|
+
return poller.pollUntilDone();
|
|
207
174
|
}
|
|
208
175
|
/**
|
|
209
176
|
* The operation to restart an Azure Bare Metal Instance
|
|
@@ -212,43 +179,46 @@ export class AzureBareMetalInstancesImpl {
|
|
|
212
179
|
* ResourceName.
|
|
213
180
|
* @param options The options parameters.
|
|
214
181
|
*/
|
|
215
|
-
beginRestart(resourceGroupName, azureBareMetalInstanceName, options) {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
182
|
+
async beginRestart(resourceGroupName, azureBareMetalInstanceName, options) {
|
|
183
|
+
const directSendOperation = async (args, spec) => {
|
|
184
|
+
return this.client.sendOperationRequest(args, spec);
|
|
185
|
+
};
|
|
186
|
+
const sendOperationFn = async (args, spec) => {
|
|
187
|
+
let currentRawResponse = undefined;
|
|
188
|
+
const providedCallback = args.options?.onResponse;
|
|
189
|
+
const callback = (rawResponse, flatResponse) => {
|
|
190
|
+
currentRawResponse = rawResponse;
|
|
191
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
192
|
+
};
|
|
193
|
+
const updatedArgs = {
|
|
194
|
+
...args,
|
|
195
|
+
options: {
|
|
196
|
+
...args.options,
|
|
197
|
+
onResponse: callback
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
201
|
+
return {
|
|
202
|
+
flatResponse,
|
|
203
|
+
rawResponse: {
|
|
204
|
+
statusCode: currentRawResponse.status,
|
|
205
|
+
body: currentRawResponse.parsedBody,
|
|
206
|
+
headers: currentRawResponse.headers.toJSON()
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
const lro = createLroSpec({
|
|
211
|
+
sendOperationFn,
|
|
212
|
+
args: { resourceGroupName, azureBareMetalInstanceName, options },
|
|
213
|
+
spec: restartOperationSpec
|
|
214
|
+
});
|
|
215
|
+
const poller = await createHttpPoller(lro, {
|
|
216
|
+
restoreFrom: options?.resumeFrom,
|
|
217
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
218
|
+
resourceLocationConfig: "location"
|
|
251
219
|
});
|
|
220
|
+
await poller.poll();
|
|
221
|
+
return poller;
|
|
252
222
|
}
|
|
253
223
|
/**
|
|
254
224
|
* The operation to restart an Azure Bare Metal Instance
|
|
@@ -257,11 +227,9 @@ export class AzureBareMetalInstancesImpl {
|
|
|
257
227
|
* ResourceName.
|
|
258
228
|
* @param options The options parameters.
|
|
259
229
|
*/
|
|
260
|
-
beginRestartAndWait(resourceGroupName, azureBareMetalInstanceName, options) {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
return poller.pollUntilDone();
|
|
264
|
-
});
|
|
230
|
+
async beginRestartAndWait(resourceGroupName, azureBareMetalInstanceName, options) {
|
|
231
|
+
const poller = await this.beginRestart(resourceGroupName, azureBareMetalInstanceName, options);
|
|
232
|
+
return poller.pollUntilDone();
|
|
265
233
|
}
|
|
266
234
|
/**
|
|
267
235
|
* The operation to shutdown an Azure Bare Metal Instance
|
|
@@ -270,43 +238,46 @@ export class AzureBareMetalInstancesImpl {
|
|
|
270
238
|
* ResourceName.
|
|
271
239
|
* @param options The options parameters.
|
|
272
240
|
*/
|
|
273
|
-
beginShutdown(resourceGroupName, azureBareMetalInstanceName, options) {
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
resourceLocationConfig: "location"
|
|
306
|
-
});
|
|
307
|
-
yield poller.poll();
|
|
308
|
-
return poller;
|
|
241
|
+
async beginShutdown(resourceGroupName, azureBareMetalInstanceName, options) {
|
|
242
|
+
const directSendOperation = async (args, spec) => {
|
|
243
|
+
return this.client.sendOperationRequest(args, spec);
|
|
244
|
+
};
|
|
245
|
+
const sendOperationFn = async (args, spec) => {
|
|
246
|
+
let currentRawResponse = undefined;
|
|
247
|
+
const providedCallback = args.options?.onResponse;
|
|
248
|
+
const callback = (rawResponse, flatResponse) => {
|
|
249
|
+
currentRawResponse = rawResponse;
|
|
250
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
251
|
+
};
|
|
252
|
+
const updatedArgs = {
|
|
253
|
+
...args,
|
|
254
|
+
options: {
|
|
255
|
+
...args.options,
|
|
256
|
+
onResponse: callback
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
260
|
+
return {
|
|
261
|
+
flatResponse,
|
|
262
|
+
rawResponse: {
|
|
263
|
+
statusCode: currentRawResponse.status,
|
|
264
|
+
body: currentRawResponse.parsedBody,
|
|
265
|
+
headers: currentRawResponse.headers.toJSON()
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
const lro = createLroSpec({
|
|
270
|
+
sendOperationFn,
|
|
271
|
+
args: { resourceGroupName, azureBareMetalInstanceName, options },
|
|
272
|
+
spec: shutdownOperationSpec
|
|
309
273
|
});
|
|
274
|
+
const poller = await createHttpPoller(lro, {
|
|
275
|
+
restoreFrom: options?.resumeFrom,
|
|
276
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
277
|
+
resourceLocationConfig: "location"
|
|
278
|
+
});
|
|
279
|
+
await poller.poll();
|
|
280
|
+
return poller;
|
|
310
281
|
}
|
|
311
282
|
/**
|
|
312
283
|
* The operation to shutdown an Azure Bare Metal Instance
|
|
@@ -315,11 +286,9 @@ export class AzureBareMetalInstancesImpl {
|
|
|
315
286
|
* ResourceName.
|
|
316
287
|
* @param options The options parameters.
|
|
317
288
|
*/
|
|
318
|
-
beginShutdownAndWait(resourceGroupName, azureBareMetalInstanceName, options) {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
return poller.pollUntilDone();
|
|
322
|
-
});
|
|
289
|
+
async beginShutdownAndWait(resourceGroupName, azureBareMetalInstanceName, options) {
|
|
290
|
+
const poller = await this.beginShutdown(resourceGroupName, azureBareMetalInstanceName, options);
|
|
291
|
+
return poller.pollUntilDone();
|
|
323
292
|
}
|
|
324
293
|
/**
|
|
325
294
|
* Returns a list of Azure Bare Metal Instances in the specified subscription. The operations returns
|