@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":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAgC;IAEvD;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,OAAsC,EACtC,SAAwB;QAExB,IAAI,MAA8B,CAAC;QACnC,MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACnC,MAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;IAC3B,CAAC;IAEO,KAAK,CAAC,CAAC,aAAa,CAC1B,OAAsC;QAEtC,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;YACtD,KAAK,CAAC,CAAC,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED;;;OAGG;IACK,KAAK,CACX,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,yDAAyD;IAC/D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,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 { Operations } 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 Operation,\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: BareMetalInfrastructureClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: BareMetalInfrastructureClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of AzureBareMetal management operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(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.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of AzureBareMetal management operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.BareMetalInfrastructure/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
+
import { AzureBareMetalInstance, AzureBareMetalInstancesListBySubscriptionOptionalParams, AzureBareMetalInstancesListByResourceGroupOptionalParams, AzureBareMetalInstancesStartOptionalParams, AzureBareMetalInstancesStartResponse, AzureBareMetalInstancesRestartOptionalParams, AzureBareMetalInstancesRestartResponse, AzureBareMetalInstancesShutdownOptionalParams, AzureBareMetalInstancesShutdownResponse, AzureBareMetalInstancesGetOptionalParams, AzureBareMetalInstancesGetResponse, Tags, AzureBareMetalInstancesUpdateOptionalParams, AzureBareMetalInstancesUpdateResponse } from "../models/index.js";
|
|
4
|
+
/** Interface representing a AzureBareMetalInstances. */
|
|
5
|
+
export interface AzureBareMetalInstances {
|
|
6
|
+
/**
|
|
7
|
+
* Returns a list of Azure Bare Metal Instances in the specified subscription. The operations returns
|
|
8
|
+
* various properties of each Azure Bare Metal Instance.
|
|
9
|
+
* @param options The options parameters.
|
|
10
|
+
*/
|
|
11
|
+
listBySubscription(options?: AzureBareMetalInstancesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureBareMetalInstance>;
|
|
12
|
+
/**
|
|
13
|
+
* Gets a list of Azure Bare Metal Instances in the specified subscription and resource group. The
|
|
14
|
+
* operations returns various properties of each Azure Bare Metal Instance.
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
listByResourceGroup(resourceGroupName: string, options?: AzureBareMetalInstancesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureBareMetalInstance>;
|
|
19
|
+
/**
|
|
20
|
+
* The operation to start an Azure Bare Metal instance
|
|
21
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
22
|
+
* @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
|
|
23
|
+
* ResourceName.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
beginStart(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesStartOptionalParams): Promise<SimplePollerLike<OperationState<AzureBareMetalInstancesStartResponse>, AzureBareMetalInstancesStartResponse>>;
|
|
27
|
+
/**
|
|
28
|
+
* The operation to start an Azure Bare Metal instance
|
|
29
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
30
|
+
* @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
|
|
31
|
+
* ResourceName.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
beginStartAndWait(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesStartOptionalParams): Promise<AzureBareMetalInstancesStartResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* The operation to restart an Azure Bare Metal Instance
|
|
37
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
38
|
+
* @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
|
|
39
|
+
* ResourceName.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
beginRestart(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesRestartOptionalParams): Promise<SimplePollerLike<OperationState<AzureBareMetalInstancesRestartResponse>, AzureBareMetalInstancesRestartResponse>>;
|
|
43
|
+
/**
|
|
44
|
+
* The operation to restart an Azure Bare Metal Instance
|
|
45
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
46
|
+
* @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
|
|
47
|
+
* ResourceName.
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
beginRestartAndWait(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesRestartOptionalParams): Promise<AzureBareMetalInstancesRestartResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* The operation to shutdown an Azure Bare Metal Instance
|
|
53
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
54
|
+
* @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
|
|
55
|
+
* ResourceName.
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
beginShutdown(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesShutdownOptionalParams): Promise<SimplePollerLike<OperationState<AzureBareMetalInstancesShutdownResponse>, AzureBareMetalInstancesShutdownResponse>>;
|
|
59
|
+
/**
|
|
60
|
+
* The operation to shutdown an Azure Bare Metal Instance
|
|
61
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
62
|
+
* @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
|
|
63
|
+
* ResourceName.
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
beginShutdownAndWait(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesShutdownOptionalParams): Promise<AzureBareMetalInstancesShutdownResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* Gets an Azure Bare Metal Instance for the specified subscription, resource group, and instance name.
|
|
69
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
70
|
+
* @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
|
|
71
|
+
* ResourceName.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
get(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesGetOptionalParams): Promise<AzureBareMetalInstancesGetResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* Patches the Tags field of a Azure Bare Metal Instance for the specified subscription, resource
|
|
77
|
+
* group, and instance name.
|
|
78
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
79
|
+
* @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
|
|
80
|
+
* ResourceName.
|
|
81
|
+
* @param tagsParameter Request body that only contains the new Tags field
|
|
82
|
+
* @param options The options parameters.
|
|
83
|
+
*/
|
|
84
|
+
update(resourceGroupName: string, azureBareMetalInstanceName: string, tagsParameter: Tags, options?: AzureBareMetalInstancesUpdateOptionalParams): Promise<AzureBareMetalInstancesUpdateResponse>;
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=azureBareMetalInstances.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureBareMetalInstances.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureBareMetalInstances.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,sBAAsB,EACtB,uDAAuD,EACvD,wDAAwD,EACxD,0CAA0C,EAC1C,oCAAoC,EACpC,4CAA4C,EAC5C,sCAAsC,EACtC,6CAA6C,EAC7C,uCAAuC,EACvC,wCAAwC,EACxC,kCAAkC,EAClC,IAAI,EACJ,2CAA2C,EAC3C,qCAAqC,EACtC,MAAM,oBAAoB,CAAC;AAG5B,wDAAwD;AACxD,MAAM,WAAW,uBAAuB;IACtC;;;;OAIG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,sBAAsB,CAAC,CAAC;IACtD;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,wDAAwD,GACjE,0BAA0B,CAAC,sBAAsB,CAAC,CAAC;IACtD;;;;;;OAMG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,oCAAoC,CAAC,EACpD,oCAAoC,CACrC,CACF,CAAC;IACF;;;;;;OAMG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;IACjD;;;;;;OAMG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,sCAAsC,CAAC,EACtD,sCAAsC,CACvC,CACF,CAAC;IACF;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;;OAMG;IACH,aAAa,CACX,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,CAAC;IACF;;;;;;OAMG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;IACpD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;;;;;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,CAAC;CACnD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=azureBareMetalInstances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureBareMetalInstances.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureBareMetalInstances.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n AzureBareMetalInstance,\n AzureBareMetalInstancesListBySubscriptionOptionalParams,\n AzureBareMetalInstancesListByResourceGroupOptionalParams,\n AzureBareMetalInstancesStartOptionalParams,\n AzureBareMetalInstancesStartResponse,\n AzureBareMetalInstancesRestartOptionalParams,\n AzureBareMetalInstancesRestartResponse,\n AzureBareMetalInstancesShutdownOptionalParams,\n AzureBareMetalInstancesShutdownResponse,\n AzureBareMetalInstancesGetOptionalParams,\n AzureBareMetalInstancesGetResponse,\n Tags,\n AzureBareMetalInstancesUpdateOptionalParams,\n AzureBareMetalInstancesUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AzureBareMetalInstances. */\nexport interface AzureBareMetalInstances {\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 listBySubscription(\n options?: AzureBareMetalInstancesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<AzureBareMetalInstance>;\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 listByResourceGroup(\n resourceGroupName: string,\n options?: AzureBareMetalInstancesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<AzureBareMetalInstance>;\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 beginStart(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesStartOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<AzureBareMetalInstancesStartResponse>,\n AzureBareMetalInstancesStartResponse\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 beginStartAndWait(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesStartOptionalParams\n ): Promise<AzureBareMetalInstancesStartResponse>;\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 beginRestart(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesRestartOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<AzureBareMetalInstancesRestartResponse>,\n AzureBareMetalInstancesRestartResponse\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 beginRestartAndWait(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesRestartOptionalParams\n ): Promise<AzureBareMetalInstancesRestartResponse>;\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 beginShutdown(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesShutdownOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<AzureBareMetalInstancesShutdownResponse>,\n AzureBareMetalInstancesShutdownResponse\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 beginShutdownAndWait(\n resourceGroupName: string,\n azureBareMetalInstanceName: string,\n options?: AzureBareMetalInstancesShutdownOptionalParams\n ): Promise<AzureBareMetalInstancesShutdownResponse>;\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 /**\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}\n"]}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { AzureBareMetalStorageInstance, AzureBareMetalStorageInstancesListBySubscriptionOptionalParams, AzureBareMetalStorageInstancesListByResourceGroupOptionalParams, AzureBareMetalStorageInstancesGetOptionalParams, AzureBareMetalStorageInstancesGetResponse, AzureBareMetalStorageInstancesCreateOptionalParams, AzureBareMetalStorageInstancesCreateResponse, Tags, AzureBareMetalStorageInstancesUpdateOptionalParams, AzureBareMetalStorageInstancesUpdateResponse, AzureBareMetalStorageInstancesDeleteOptionalParams } from "../models/index.js";
|
|
3
|
+
/** Interface representing a AzureBareMetalStorageInstances. */
|
|
4
|
+
export interface AzureBareMetalStorageInstances {
|
|
5
|
+
/**
|
|
6
|
+
* Gets a list of AzureBareMetalStorage instances in the specified subscription. The operations returns
|
|
7
|
+
* various properties of each Azure Bare Metal Instance.
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
listBySubscription(options?: AzureBareMetalStorageInstancesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureBareMetalStorageInstance>;
|
|
11
|
+
/**
|
|
12
|
+
* Gets a list of AzureBareMetalStorage instances in the specified subscription and resource group. The
|
|
13
|
+
* operations returns various properties of each Azure Bare Metal Instance.
|
|
14
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
listByResourceGroup(resourceGroupName: string, options?: AzureBareMetalStorageInstancesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureBareMetalStorageInstance>;
|
|
18
|
+
/**
|
|
19
|
+
* Gets an Azure Bare Metal Storage instance for the specified subscription, resource group, and
|
|
20
|
+
* instance name.
|
|
21
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
22
|
+
* @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known
|
|
23
|
+
* as the ResourceName.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
get(resourceGroupName: string, azureBareMetalStorageInstanceName: string, options?: AzureBareMetalStorageInstancesGetOptionalParams): Promise<AzureBareMetalStorageInstancesGetResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Create an azure bare metal storage resource.
|
|
29
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
30
|
+
* @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known
|
|
31
|
+
* as the ResourceName.
|
|
32
|
+
* @param requestBodyParameters request body for put call
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
create(resourceGroupName: string, azureBareMetalStorageInstanceName: string, requestBodyParameters: AzureBareMetalStorageInstance, options?: AzureBareMetalStorageInstancesCreateOptionalParams): Promise<AzureBareMetalStorageInstancesCreateResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Patches the Tags field of a Azure Bare Metal Storage instance for the specified subscription,
|
|
38
|
+
* resource group, and instance name.
|
|
39
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
40
|
+
* @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known
|
|
41
|
+
* as the ResourceName.
|
|
42
|
+
* @param tagsParameter Request body that only contains the new Tags field
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
update(resourceGroupName: string, azureBareMetalStorageInstanceName: string, tagsParameter: Tags, options?: AzureBareMetalStorageInstancesUpdateOptionalParams): Promise<AzureBareMetalStorageInstancesUpdateResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* Delete an AzureBareMetalStorageInstance.
|
|
48
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
49
|
+
* @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known
|
|
50
|
+
* as the ResourceName.
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
delete(resourceGroupName: string, azureBareMetalStorageInstanceName: string, options?: AzureBareMetalStorageInstancesDeleteOptionalParams): Promise<void>;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=azureBareMetalStorageInstances.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureBareMetalStorageInstances.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureBareMetalStorageInstances.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,6BAA6B,EAC7B,8DAA8D,EAC9D,+DAA+D,EAC/D,+CAA+C,EAC/C,yCAAyC,EACzC,kDAAkD,EAClD,4CAA4C,EAC5C,IAAI,EACJ,kDAAkD,EAClD,4CAA4C,EAC5C,kDAAkD,EACnD,MAAM,oBAAoB,CAAC;AAG5B,+DAA+D;AAC/D,MAAM,WAAW,8BAA8B;IAC7C;;;;OAIG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,8DAA8D,GACvE,0BAA0B,CAAC,6BAA6B,CAAC,CAAC;IAC7D;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+DAA+D,GACxE,0BAA0B,CAAC,6BAA6B,CAAC,CAAC;IAC7D;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iCAAiC,EAAE,MAAM,EACzC,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACtD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iCAAiC,EAAE,MAAM,EACzC,qBAAqB,EAAE,6BAA6B,EACpD,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC,CAAC;IACzD;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iCAAiC,EAAE,MAAM,EACzC,aAAa,EAAE,IAAI,EACnB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC,CAAC;IACzD;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iCAAiC,EAAE,MAAM,EACzC,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=azureBareMetalStorageInstances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureBareMetalStorageInstances.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureBareMetalStorageInstances.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n AzureBareMetalStorageInstance,\n AzureBareMetalStorageInstancesListBySubscriptionOptionalParams,\n AzureBareMetalStorageInstancesListByResourceGroupOptionalParams,\n AzureBareMetalStorageInstancesGetOptionalParams,\n AzureBareMetalStorageInstancesGetResponse,\n AzureBareMetalStorageInstancesCreateOptionalParams,\n AzureBareMetalStorageInstancesCreateResponse,\n Tags,\n AzureBareMetalStorageInstancesUpdateOptionalParams,\n AzureBareMetalStorageInstancesUpdateResponse,\n AzureBareMetalStorageInstancesDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AzureBareMetalStorageInstances. */\nexport interface AzureBareMetalStorageInstances {\n /**\n * Gets a list of AzureBareMetalStorage 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 listBySubscription(\n options?: AzureBareMetalStorageInstancesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<AzureBareMetalStorageInstance>;\n /**\n * Gets a list of AzureBareMetalStorage 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 listByResourceGroup(\n resourceGroupName: string,\n options?: AzureBareMetalStorageInstancesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<AzureBareMetalStorageInstance>;\n /**\n * Gets an Azure Bare Metal Storage instance for the specified subscription, resource group, and\n * instance name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known\n * as the ResourceName.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n azureBareMetalStorageInstanceName: string,\n options?: AzureBareMetalStorageInstancesGetOptionalParams\n ): Promise<AzureBareMetalStorageInstancesGetResponse>;\n /**\n * Create an azure bare metal storage resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known\n * as the ResourceName.\n * @param requestBodyParameters request body for put call\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n azureBareMetalStorageInstanceName: string,\n requestBodyParameters: AzureBareMetalStorageInstance,\n options?: AzureBareMetalStorageInstancesCreateOptionalParams\n ): Promise<AzureBareMetalStorageInstancesCreateResponse>;\n /**\n * Patches the Tags field of a Azure Bare Metal Storage instance for the specified subscription,\n * resource group, and instance name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known\n * as the 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 azureBareMetalStorageInstanceName: string,\n tagsParameter: Tags,\n options?: AzureBareMetalStorageInstancesUpdateOptionalParams\n ): Promise<AzureBareMetalStorageInstancesUpdateResponse>;\n /**\n * Delete an AzureBareMetalStorageInstance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known\n * as the ResourceName.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n azureBareMetalStorageInstanceName: string,\n options?: AzureBareMetalStorageInstancesDeleteOptionalParams\n ): Promise<void>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./azureBareMetalInstances.js";
|
|
9
|
+
export * from "./operations.js";
|
|
10
|
+
export * from "./azureBareMetalStorageInstances.js";
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,qCAAqC,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\nexport * from \"./azureBareMetalInstances.js\";\nexport * from \"./operations.js\";\nexport * from \"./azureBareMetalStorageInstances.js\";\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
3
|
+
/** Interface representing a Operations. */
|
|
4
|
+
export interface Operations {
|
|
5
|
+
/**
|
|
6
|
+
* Gets a list of AzureBareMetal management operations.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Gets a list of AzureBareMetal management operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PageInfo {
|
|
2
|
+
continuationToken?: string;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
6
|
+
* returns a continuation token that can be used to begin paging from
|
|
7
|
+
* that point later.
|
|
8
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
9
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
10
|
+
*/
|
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
const pageMap = new WeakMap();
|
|
9
|
+
/**
|
|
10
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
11
|
+
* returns a continuation token that can be used to begin paging from
|
|
12
|
+
* that point later.
|
|
13
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
14
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
15
|
+
*/
|
|
16
|
+
export function getContinuationToken(page) {
|
|
17
|
+
if (typeof page !== "object" || page === null) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
return pageMap.get(page)?.continuationToken;
|
|
21
|
+
}
|
|
22
|
+
export function setContinuationToken(page, continuationToken) {
|
|
23
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
const pageInfo = pageMap.get(page) ?? {};
|
|
27
|
+
pageInfo.continuationToken = continuationToken;
|
|
28
|
+
pageMap.set(page, pageInfo);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=pagingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
package/package.json
CHANGED
|
@@ -3,100 +3,57 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for BareMetalInfrastructureClient.",
|
|
6
|
-
"version": "1.0.0-beta.
|
|
6
|
+
"version": "1.0.0-beta.3",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": ">=
|
|
8
|
+
"node": ">=20.0.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@azure/
|
|
12
|
-
"@azure/
|
|
13
|
-
"@azure/core-
|
|
14
|
-
"@azure/core-
|
|
15
|
-
"@azure/core-
|
|
16
|
-
"@azure/core-rest-pipeline": "^1.
|
|
17
|
-
"tslib": "^2.
|
|
11
|
+
"@azure/abort-controller": "^2.1.2",
|
|
12
|
+
"@azure/core-auth": "^1.9.0",
|
|
13
|
+
"@azure/core-client": "^1.9.2",
|
|
14
|
+
"@azure/core-lro": "^2.7.2",
|
|
15
|
+
"@azure/core-paging": "^1.6.2",
|
|
16
|
+
"@azure/core-rest-pipeline": "^1.18.1",
|
|
17
|
+
"tslib": "^2.8.1"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
20
20
|
"node",
|
|
21
21
|
"azure",
|
|
22
22
|
"typescript",
|
|
23
23
|
"browser",
|
|
24
|
-
"isomorphic"
|
|
24
|
+
"isomorphic",
|
|
25
|
+
"cloud"
|
|
25
26
|
],
|
|
26
27
|
"license": "MIT",
|
|
27
|
-
"main": "./dist/index.js",
|
|
28
|
-
"module": "./dist
|
|
29
|
-
"types": "./
|
|
28
|
+
"main": "./dist/commonjs/index.js",
|
|
29
|
+
"module": "./dist/esm/index.js",
|
|
30
|
+
"types": "./dist/commonjs/index.d.ts",
|
|
30
31
|
"devDependencies": {
|
|
31
|
-
"@
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
32
|
+
"@azure/identity": "4.11.1",
|
|
33
|
+
"@azure/logger": "^1.1.4",
|
|
34
|
+
"@types/node": "^20.19.0",
|
|
35
|
+
"@vitest/browser": "^3.2.3",
|
|
36
|
+
"@vitest/coverage-istanbul": "^3.2.3",
|
|
36
37
|
"dotenv": "^16.0.0",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"@azure-tools/test-credential": "^1.
|
|
41
|
-
"
|
|
42
|
-
"@
|
|
43
|
-
"
|
|
44
|
-
"@types/chai": "^4.2.8",
|
|
45
|
-
"chai": "^4.2.0",
|
|
46
|
-
"cross-env": "^7.0.2",
|
|
47
|
-
"@types/node": "^18.0.0",
|
|
48
|
-
"ts-node": "^10.0.0"
|
|
49
|
-
},
|
|
50
|
-
"repository": {
|
|
51
|
-
"type": "git",
|
|
52
|
-
"url": "https://github.com/Azure/azure-sdk-for-js.git"
|
|
38
|
+
"playwright": "^1.50.1",
|
|
39
|
+
"typescript": "~5.8.3",
|
|
40
|
+
"vitest": "^3.2.3",
|
|
41
|
+
"@azure-tools/test-credential": "^2.1.1",
|
|
42
|
+
"@azure-tools/test-recorder": "^4.1.0",
|
|
43
|
+
"@azure-tools/test-utils-vitest": "^1.0.0",
|
|
44
|
+
"@azure/dev-tool": "^1.0.0"
|
|
53
45
|
},
|
|
46
|
+
"repository": "github:Azure/azure-sdk-for-js",
|
|
54
47
|
"bugs": {
|
|
55
48
|
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
|
56
49
|
},
|
|
57
50
|
"files": [
|
|
58
|
-
"dist
|
|
59
|
-
"dist/**/*.js.map",
|
|
60
|
-
"dist/**/*.d.ts",
|
|
61
|
-
"dist/**/*.d.ts.map",
|
|
62
|
-
"dist-esm/**/*.js",
|
|
63
|
-
"dist-esm/**/*.js.map",
|
|
64
|
-
"dist-esm/**/*.d.ts",
|
|
65
|
-
"dist-esm/**/*.d.ts.map",
|
|
66
|
-
"src/**/*.ts",
|
|
51
|
+
"dist/",
|
|
67
52
|
"README.md",
|
|
68
53
|
"LICENSE",
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"CHANGELOG.md",
|
|
72
|
-
"types/*"
|
|
54
|
+
"review/",
|
|
55
|
+
"CHANGELOG.md"
|
|
73
56
|
],
|
|
74
|
-
"scripts": {
|
|
75
|
-
"build": "npm run clean && tsc && dev-tool run bundle && npm run minify && mkdirp ./review && npm run extract-api",
|
|
76
|
-
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
|
|
77
|
-
"prepack": "npm run build",
|
|
78
|
-
"pack": "npm pack 2>&1",
|
|
79
|
-
"extract-api": "api-extractor run --local",
|
|
80
|
-
"lint": "echo skipped",
|
|
81
|
-
"audit": "echo skipped",
|
|
82
|
-
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
83
|
-
"build:node": "echo skipped",
|
|
84
|
-
"build:browser": "echo skipped",
|
|
85
|
-
"build:test": "echo skipped",
|
|
86
|
-
"build:samples": "echo skipped.",
|
|
87
|
-
"check-format": "echo skipped",
|
|
88
|
-
"execute:samples": "echo skipped",
|
|
89
|
-
"format": "echo skipped",
|
|
90
|
-
"test": "npm run integration-test",
|
|
91
|
-
"test:node": "echo skipped",
|
|
92
|
-
"test:browser": "echo skipped",
|
|
93
|
-
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
94
|
-
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
|
|
95
|
-
"unit-test:browser": "echo skipped",
|
|
96
|
-
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
97
|
-
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
|
|
98
|
-
"integration-test:browser": "echo skipped"
|
|
99
|
-
},
|
|
100
57
|
"sideEffects": false,
|
|
101
58
|
"//metadata": {
|
|
102
59
|
"constantPaths": [
|
|
@@ -114,6 +71,62 @@
|
|
|
114
71
|
"azure"
|
|
115
72
|
],
|
|
116
73
|
"disableDocsMs": true,
|
|
117
|
-
"apiRefLink": "https://
|
|
74
|
+
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-baremetalinfrastructure?view=azure-node-preview"
|
|
75
|
+
},
|
|
76
|
+
"type": "module",
|
|
77
|
+
"tshy": {
|
|
78
|
+
"project": "../../../tsconfig.src.build.json",
|
|
79
|
+
"exports": {
|
|
80
|
+
"./package.json": "./package.json",
|
|
81
|
+
".": "./src/index.ts"
|
|
82
|
+
},
|
|
83
|
+
"dialects": [
|
|
84
|
+
"esm",
|
|
85
|
+
"commonjs"
|
|
86
|
+
],
|
|
87
|
+
"esmDialects": [
|
|
88
|
+
"browser",
|
|
89
|
+
"react-native"
|
|
90
|
+
],
|
|
91
|
+
"selfLink": false
|
|
92
|
+
},
|
|
93
|
+
"browser": "./dist/browser/index.js",
|
|
94
|
+
"react-native": "./dist/react-native/index.js",
|
|
95
|
+
"exports": {
|
|
96
|
+
"./package.json": "./package.json",
|
|
97
|
+
".": {
|
|
98
|
+
"browser": {
|
|
99
|
+
"types": "./dist/browser/index.d.ts",
|
|
100
|
+
"default": "./dist/browser/index.js"
|
|
101
|
+
},
|
|
102
|
+
"react-native": {
|
|
103
|
+
"types": "./dist/react-native/index.d.ts",
|
|
104
|
+
"default": "./dist/react-native/index.js"
|
|
105
|
+
},
|
|
106
|
+
"import": {
|
|
107
|
+
"types": "./dist/esm/index.d.ts",
|
|
108
|
+
"default": "./dist/esm/index.js"
|
|
109
|
+
},
|
|
110
|
+
"require": {
|
|
111
|
+
"types": "./dist/commonjs/index.d.ts",
|
|
112
|
+
"default": "./dist/commonjs/index.js"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"scripts": {
|
|
117
|
+
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
|
118
|
+
"build:samples": "tsc -p tsconfig.samples.json",
|
|
119
|
+
"check-format": "echo skipped",
|
|
120
|
+
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
121
|
+
"execute:samples": "echo skipped",
|
|
122
|
+
"extract-api": "dev-tool run extract-api",
|
|
123
|
+
"format": "echo skipped",
|
|
124
|
+
"lint": "echo skipped",
|
|
125
|
+
"pack": "pnpm pack 2>&1",
|
|
126
|
+
"test": "npm run test:node && npm run test:browser",
|
|
127
|
+
"test:browser": "echo skipped",
|
|
128
|
+
"test:node": "dev-tool run test:vitest",
|
|
129
|
+
"test:node:esm": "dev-tool run test:vitest --esm",
|
|
130
|
+
"update-snippets": "dev-tool run update-snippets"
|
|
118
131
|
}
|
|
119
132
|
}
|