@azure/arm-powerbidedicated 4.0.2-alpha.20250218.1 → 4.0.2-alpha.20250219.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -12
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js +25 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- 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/autoScaleVCores.d.ts +3 -3
- package/dist/browser/operations/autoScaleVCores.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/autoScaleVCores.js +2 -2
- package/dist/browser/operations/autoScaleVCores.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/capacities.d.ts +3 -3
- package/dist/browser/operations/capacities.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/capacities.js +169 -189
- package/dist/browser/operations/capacities.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 +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/autoScaleVCores.d.ts +1 -1
- package/dist/browser/operationsInterfaces/autoScaleVCores.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/autoScaleVCores.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/capacities.d.ts +1 -1
- package/dist/browser/operationsInterfaces/capacities.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/capacities.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/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/powerBIDedicated.d.ts +2 -2
- package/dist/browser/powerBIDedicated.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/powerBIDedicated.js +15 -18
- package/dist/browser/powerBIDedicated.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 +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +29 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +541 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +109 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +27 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +635 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +17 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +152 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/autoScaleVCores.d.ts +81 -0
- package/dist/commonjs/operations/autoScaleVCores.d.ts.map +1 -0
- package/dist/commonjs/operations/autoScaleVCores.js +313 -0
- package/dist/commonjs/operations/autoScaleVCores.js.map +1 -0
- package/dist/commonjs/operations/capacities.d.ts +169 -0
- package/dist/commonjs/operations/capacities.d.ts.map +1 -0
- package/dist/commonjs/operations/capacities.js +695 -0
- package/dist/commonjs/operations/capacities.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 +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/autoScaleVCores.d.ts +57 -0
- package/dist/commonjs/operationsInterfaces/autoScaleVCores.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/autoScaleVCores.js +10 -0
- package/dist/commonjs/operationsInterfaces/autoScaleVCores.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/capacities.d.ts +145 -0
- package/dist/commonjs/operationsInterfaces/capacities.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/capacities.js +10 -0
- package/dist/commonjs/operationsInterfaces/capacities.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/dist/commonjs/operationsInterfaces/operations.js +10 -0
- 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 +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/powerBIDedicated.d.ts +23 -0
- package/dist/commonjs/powerBIDedicated.d.ts.map +1 -0
- package/dist/commonjs/powerBIDedicated.js +105 -0
- package/dist/commonjs/powerBIDedicated.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
- 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 +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +25 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +541 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +106 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +27 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +632 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +17 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +149 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/autoScaleVCores.d.ts +81 -0
- package/dist/esm/operations/autoScaleVCores.d.ts.map +1 -0
- package/dist/esm/operations/autoScaleVCores.js +309 -0
- package/dist/esm/operations/autoScaleVCores.js.map +1 -0
- package/dist/esm/operations/capacities.d.ts +169 -0
- package/dist/esm/operations/capacities.d.ts.map +1 -0
- package/dist/esm/operations/capacities.js +691 -0
- package/dist/esm/operations/capacities.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 +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/autoScaleVCores.d.ts +57 -0
- package/dist/esm/operationsInterfaces/autoScaleVCores.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/autoScaleVCores.js} +2 -4
- package/dist/esm/operationsInterfaces/autoScaleVCores.js.map +1 -0
- package/dist/esm/operationsInterfaces/capacities.d.ts +145 -0
- package/dist/esm/operationsInterfaces/capacities.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/capacities.js +9 -0
- package/dist/esm/operationsInterfaces/capacities.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 +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/powerBIDedicated.d.ts +23 -0
- package/dist/esm/powerBIDedicated.d.ts.map +1 -0
- package/dist/esm/powerBIDedicated.js +100 -0
- package/dist/esm/powerBIDedicated.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 +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +25 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +541 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +106 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +27 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +632 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +17 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +149 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/autoScaleVCores.d.ts +81 -0
- package/dist/react-native/operations/autoScaleVCores.d.ts.map +1 -0
- package/dist/react-native/operations/autoScaleVCores.js +309 -0
- package/dist/react-native/operations/autoScaleVCores.js.map +1 -0
- package/dist/react-native/operations/capacities.d.ts +169 -0
- package/dist/react-native/operations/capacities.d.ts.map +1 -0
- package/dist/react-native/operations/capacities.js +691 -0
- package/dist/react-native/operations/capacities.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 +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/autoScaleVCores.d.ts +57 -0
- package/dist/react-native/operationsInterfaces/autoScaleVCores.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/autoScaleVCores.js +9 -0
- package/dist/react-native/operationsInterfaces/autoScaleVCores.js.map +1 -0
- package/dist/react-native/operationsInterfaces/capacities.d.ts +145 -0
- package/dist/react-native/operationsInterfaces/capacities.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/capacities.js +9 -0
- package/dist/react-native/operationsInterfaces/capacities.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 +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/powerBIDedicated.d.ts +23 -0
- package/dist/react-native/powerBIDedicated.d.ts.map +1 -0
- package/dist/react-native/powerBIDedicated.js +100 -0
- package/dist/react-native/powerBIDedicated.js.map +1 -0
- package/package.json +70 -41
- package/dist/index.js +0 -2244
- 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/autoScaleVCoresCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/autoScaleVCoresCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/autoScaleVCoresCreateSample.js +0 -36
- package/dist-esm/samples-dev/autoScaleVCoresCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/autoScaleVCoresDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/autoScaleVCoresDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/autoScaleVCoresDeleteSample.js +0 -36
- package/dist-esm/samples-dev/autoScaleVCoresDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/autoScaleVCoresGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/autoScaleVCoresGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/autoScaleVCoresGetSample.js +0 -36
- package/dist-esm/samples-dev/autoScaleVCoresGetSample.js.map +0 -1
- package/dist-esm/samples-dev/autoScaleVCoresListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/autoScaleVCoresListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/autoScaleVCoresListByResourceGroupSample.js +0 -51
- package/dist-esm/samples-dev/autoScaleVCoresListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/autoScaleVCoresListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/autoScaleVCoresListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/autoScaleVCoresListBySubscriptionSample.js +0 -50
- package/dist-esm/samples-dev/autoScaleVCoresListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/autoScaleVCoresUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/autoScaleVCoresUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/autoScaleVCoresUpdateSample.js +0 -34
- package/dist-esm/samples-dev/autoScaleVCoresUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/capacitiesCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/capacitiesCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capacitiesCheckNameAvailabilitySample.js +0 -32
- package/dist-esm/samples-dev/capacitiesCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/capacitiesCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/capacitiesCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capacitiesCreateSample.js +0 -37
- package/dist-esm/samples-dev/capacitiesCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/capacitiesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/capacitiesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capacitiesDeleteSample.js +0 -36
- package/dist-esm/samples-dev/capacitiesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/capacitiesGetDetailsSample.d.ts +0 -2
- package/dist-esm/samples-dev/capacitiesGetDetailsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capacitiesGetDetailsSample.js +0 -36
- package/dist-esm/samples-dev/capacitiesGetDetailsSample.js.map +0 -1
- package/dist-esm/samples-dev/capacitiesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/capacitiesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capacitiesListByResourceGroupSample.js +0 -51
- package/dist-esm/samples-dev/capacitiesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/capacitiesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/capacitiesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capacitiesListSample.js +0 -50
- package/dist-esm/samples-dev/capacitiesListSample.js.map +0 -1
- package/dist-esm/samples-dev/capacitiesListSkusForCapacitySample.d.ts +0 -2
- package/dist-esm/samples-dev/capacitiesListSkusForCapacitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capacitiesListSkusForCapacitySample.js +0 -36
- package/dist-esm/samples-dev/capacitiesListSkusForCapacitySample.js.map +0 -1
- package/dist-esm/samples-dev/capacitiesListSkusSample.d.ts +0 -2
- package/dist-esm/samples-dev/capacitiesListSkusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capacitiesListSkusSample.js +0 -34
- package/dist-esm/samples-dev/capacitiesListSkusSample.js.map +0 -1
- package/dist-esm/samples-dev/capacitiesResumeSample.d.ts +0 -2
- package/dist-esm/samples-dev/capacitiesResumeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capacitiesResumeSample.js +0 -36
- package/dist-esm/samples-dev/capacitiesResumeSample.js.map +0 -1
- package/dist-esm/samples-dev/capacitiesSuspendSample.d.ts +0 -2
- package/dist-esm/samples-dev/capacitiesSuspendSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capacitiesSuspendSample.js +0 -36
- package/dist-esm/samples-dev/capacitiesSuspendSample.js.map +0 -1
- package/dist-esm/samples-dev/capacitiesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/capacitiesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/capacitiesUpdateSample.js +0 -59
- package/dist-esm/samples-dev/capacitiesUpdateSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -29
- 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/autoScaleVCores.d.ts.map +0 -1
- package/dist-esm/src/operations/autoScaleVCores.js.map +0 -1
- package/dist-esm/src/operations/capacities.d.ts.map +0 -1
- package/dist-esm/src/operations/capacities.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/autoScaleVCores.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/autoScaleVCores.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/capacities.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/capacities.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/src/powerBIDedicated.d.ts.map +0 -1
- package/dist-esm/src/powerBIDedicated.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -624
- package/src/models/mappers.ts +0 -679
- package/src/models/parameters.ts +0 -175
- package/src/operations/autoScaleVCores.ts +0 -379
- package/src/operations/capacities.ts +0 -956
- package/src/operations/operations.ts +0 -149
- package/src/operationsInterfaces/autoScaleVCores.ts +0 -101
- package/src/operationsInterfaces/capacities.ts +0 -248
- package/src/operationsInterfaces/index.ts +0 -11
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/pagingHelper.ts +0 -39
- package/src/powerBIDedicated.ts +0 -153
- package/tsconfig.json +0 -33
- package/types/arm-powerbidedicated.d.ts +0 -854
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +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/mappers.js +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/autoScaleVCores.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/capacities.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/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const accept: OperationParameter;
|
|
3
|
+
export declare const $host: OperationURLParameter;
|
|
4
|
+
export declare const resourceGroupName: OperationURLParameter;
|
|
5
|
+
export declare const dedicatedCapacityName: OperationURLParameter;
|
|
6
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
7
|
+
export declare const subscriptionId: OperationURLParameter;
|
|
8
|
+
export declare const contentType: OperationParameter;
|
|
9
|
+
export declare const capacityParameters: OperationParameter;
|
|
10
|
+
export declare const capacityUpdateParameters: OperationParameter;
|
|
11
|
+
export declare const capacityParameters1: OperationParameter;
|
|
12
|
+
export declare const location: OperationURLParameter;
|
|
13
|
+
export declare const nextLink: OperationURLParameter;
|
|
14
|
+
export declare const vcoreName: OperationURLParameter;
|
|
15
|
+
export declare const vCoreParameters: OperationParameter;
|
|
16
|
+
export declare const vCoreUpdateParameters: OperationParameter;
|
|
17
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAS5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAc/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,qBAcnC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAGhC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,kBAGtC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,kBAGjC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAStB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAcvB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,kBAG7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,kBAGnC,CAAC"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.vCoreUpdateParameters = exports.vCoreParameters = exports.vcoreName = exports.nextLink = exports.location = exports.capacityParameters1 = exports.capacityUpdateParameters = exports.capacityParameters = exports.contentType = exports.subscriptionId = exports.apiVersion = exports.dedicatedCapacityName = exports.resourceGroupName = exports.$host = exports.accept = void 0;
|
|
11
|
+
const mappers_js_1 = require("../models/mappers.js");
|
|
12
|
+
exports.accept = {
|
|
13
|
+
parameterPath: "accept",
|
|
14
|
+
mapper: {
|
|
15
|
+
defaultValue: "application/json",
|
|
16
|
+
isConstant: true,
|
|
17
|
+
serializedName: "Accept",
|
|
18
|
+
type: {
|
|
19
|
+
name: "String"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
exports.$host = {
|
|
24
|
+
parameterPath: "$host",
|
|
25
|
+
mapper: {
|
|
26
|
+
serializedName: "$host",
|
|
27
|
+
required: true,
|
|
28
|
+
type: {
|
|
29
|
+
name: "String"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
skipEncoding: true
|
|
33
|
+
};
|
|
34
|
+
exports.resourceGroupName = {
|
|
35
|
+
parameterPath: "resourceGroupName",
|
|
36
|
+
mapper: {
|
|
37
|
+
constraints: {
|
|
38
|
+
Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
|
|
39
|
+
MaxLength: 90,
|
|
40
|
+
MinLength: 1
|
|
41
|
+
},
|
|
42
|
+
serializedName: "resourceGroupName",
|
|
43
|
+
required: true,
|
|
44
|
+
type: {
|
|
45
|
+
name: "String"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
exports.dedicatedCapacityName = {
|
|
50
|
+
parameterPath: "dedicatedCapacityName",
|
|
51
|
+
mapper: {
|
|
52
|
+
constraints: {
|
|
53
|
+
Pattern: new RegExp("^[a-z][a-z0-9]*$"),
|
|
54
|
+
MaxLength: 63,
|
|
55
|
+
MinLength: 3
|
|
56
|
+
},
|
|
57
|
+
serializedName: "dedicatedCapacityName",
|
|
58
|
+
required: true,
|
|
59
|
+
type: {
|
|
60
|
+
name: "String"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
exports.apiVersion = {
|
|
65
|
+
parameterPath: "apiVersion",
|
|
66
|
+
mapper: {
|
|
67
|
+
defaultValue: "2021-01-01",
|
|
68
|
+
isConstant: true,
|
|
69
|
+
serializedName: "api-version",
|
|
70
|
+
type: {
|
|
71
|
+
name: "String"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
exports.subscriptionId = {
|
|
76
|
+
parameterPath: "subscriptionId",
|
|
77
|
+
mapper: {
|
|
78
|
+
serializedName: "subscriptionId",
|
|
79
|
+
required: true,
|
|
80
|
+
type: {
|
|
81
|
+
name: "String"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
exports.contentType = {
|
|
86
|
+
parameterPath: ["options", "contentType"],
|
|
87
|
+
mapper: {
|
|
88
|
+
defaultValue: "application/json",
|
|
89
|
+
isConstant: true,
|
|
90
|
+
serializedName: "Content-Type",
|
|
91
|
+
type: {
|
|
92
|
+
name: "String"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
exports.capacityParameters = {
|
|
97
|
+
parameterPath: "capacityParameters",
|
|
98
|
+
mapper: mappers_js_1.DedicatedCapacity
|
|
99
|
+
};
|
|
100
|
+
exports.capacityUpdateParameters = {
|
|
101
|
+
parameterPath: "capacityUpdateParameters",
|
|
102
|
+
mapper: mappers_js_1.DedicatedCapacityUpdateParameters
|
|
103
|
+
};
|
|
104
|
+
exports.capacityParameters1 = {
|
|
105
|
+
parameterPath: "capacityParameters",
|
|
106
|
+
mapper: mappers_js_1.CheckCapacityNameAvailabilityParameters
|
|
107
|
+
};
|
|
108
|
+
exports.location = {
|
|
109
|
+
parameterPath: "location",
|
|
110
|
+
mapper: {
|
|
111
|
+
serializedName: "location",
|
|
112
|
+
required: true,
|
|
113
|
+
type: {
|
|
114
|
+
name: "String"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
exports.nextLink = {
|
|
119
|
+
parameterPath: "nextLink",
|
|
120
|
+
mapper: {
|
|
121
|
+
serializedName: "nextLink",
|
|
122
|
+
required: true,
|
|
123
|
+
type: {
|
|
124
|
+
name: "String"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
skipEncoding: true
|
|
128
|
+
};
|
|
129
|
+
exports.vcoreName = {
|
|
130
|
+
parameterPath: "vcoreName",
|
|
131
|
+
mapper: {
|
|
132
|
+
constraints: {
|
|
133
|
+
Pattern: new RegExp("^[-a-zA-Z0-9_]+$"),
|
|
134
|
+
MaxLength: 63,
|
|
135
|
+
MinLength: 3
|
|
136
|
+
},
|
|
137
|
+
serializedName: "vcoreName",
|
|
138
|
+
required: true,
|
|
139
|
+
type: {
|
|
140
|
+
name: "String"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
exports.vCoreParameters = {
|
|
145
|
+
parameterPath: "vCoreParameters",
|
|
146
|
+
mapper: mappers_js_1.AutoScaleVCore
|
|
147
|
+
};
|
|
148
|
+
exports.vCoreUpdateParameters = {
|
|
149
|
+
parameterPath: "vCoreUpdateParameters",
|
|
150
|
+
mapper: mappers_js_1.AutoScaleVCoreUpdateParameters
|
|
151
|
+
};
|
|
152
|
+
//# sourceMappingURL=parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAM8B;AAEjB,QAAA,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;AAEW,QAAA,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;AAEW,QAAA,iBAAiB,GAA0B;IACtD,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,qBAAqB,CAAC;YAC1C,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,mBAAmB;QACnC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,qBAAqB,GAA0B;IAC1D,aAAa,EAAE,uBAAuB;IACtC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,kBAAkB,CAAC;YACvC,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,uBAAuB;QACvC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,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I;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,SAAS,GAA0B;IAC9C,aAAa,EAAE,WAAW;IAC1B,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,kBAAkB,CAAC;YACvC,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,WAAW;QAC3B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,eAAe,GAAuB;IACjD,aAAa,EAAE,iBAAiB;IAChC,MAAM,EAAE,2BAAoB;CAC7B,CAAC;AAEW,QAAA,qBAAqB,GAAuB;IACvD,aAAa,EAAE,uBAAuB;IACtC,MAAM,EAAE,2CAAoC;CAC7C,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 DedicatedCapacity as DedicatedCapacityMapper,\n DedicatedCapacityUpdateParameters as DedicatedCapacityUpdateParametersMapper,\n CheckCapacityNameAvailabilityParameters as CheckCapacityNameAvailabilityParametersMapper,\n AutoScaleVCore as AutoScaleVCoreMapper,\n AutoScaleVCoreUpdateParameters as AutoScaleVCoreUpdateParametersMapper\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 resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const dedicatedCapacityName: OperationURLParameter = {\n parameterPath: \"dedicatedCapacityName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-z][a-z0-9]*$\"),\n MaxLength: 63,\n MinLength: 3\n },\n serializedName: \"dedicatedCapacityName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-01-01\",\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: \"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 capacityParameters: OperationParameter = {\n parameterPath: \"capacityParameters\",\n mapper: DedicatedCapacityMapper\n};\n\nexport const capacityUpdateParameters: OperationParameter = {\n parameterPath: \"capacityUpdateParameters\",\n mapper: DedicatedCapacityUpdateParametersMapper\n};\n\nexport const capacityParameters1: OperationParameter = {\n parameterPath: \"capacityParameters\",\n mapper: CheckCapacityNameAvailabilityParametersMapper\n};\n\nexport const location: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\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 vcoreName: OperationURLParameter = {\n parameterPath: \"vcoreName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-a-zA-Z0-9_]+$\"),\n MaxLength: 63,\n MinLength: 3\n },\n serializedName: \"vcoreName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const vCoreParameters: OperationParameter = {\n parameterPath: \"vCoreParameters\",\n mapper: AutoScaleVCoreMapper\n};\n\nexport const vCoreUpdateParameters: OperationParameter = {\n parameterPath: \"vCoreUpdateParameters\",\n mapper: AutoScaleVCoreUpdateParametersMapper\n};\n"]}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { AutoScaleVCores } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { PowerBIDedicated } from "../powerBIDedicated.js";
|
|
4
|
+
import { AutoScaleVCore, AutoScaleVCoresListByResourceGroupOptionalParams, AutoScaleVCoresListBySubscriptionOptionalParams, AutoScaleVCoresGetOptionalParams, AutoScaleVCoresGetResponse, AutoScaleVCoresCreateOptionalParams, AutoScaleVCoresCreateResponse, AutoScaleVCoresDeleteOptionalParams, AutoScaleVCoreUpdateParameters, AutoScaleVCoresUpdateOptionalParams, AutoScaleVCoresUpdateResponse } from "../models/index.js";
|
|
5
|
+
/** Class containing AutoScaleVCores operations. */
|
|
6
|
+
export declare class AutoScaleVCoresImpl implements AutoScaleVCores {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class AutoScaleVCores class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: PowerBIDedicated);
|
|
13
|
+
/**
|
|
14
|
+
* Gets all the auto scale v-cores for the given resource group.
|
|
15
|
+
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
16
|
+
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
listByResourceGroup(resourceGroupName: string, options?: AutoScaleVCoresListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AutoScaleVCore>;
|
|
20
|
+
private listByResourceGroupPagingPage;
|
|
21
|
+
private listByResourceGroupPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* Lists all the auto scale v-cores for the given subscription.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
listBySubscription(options?: AutoScaleVCoresListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AutoScaleVCore>;
|
|
27
|
+
private listBySubscriptionPagingPage;
|
|
28
|
+
private listBySubscriptionPagingAll;
|
|
29
|
+
/**
|
|
30
|
+
* Gets details about the specified auto scale v-core.
|
|
31
|
+
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
32
|
+
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
33
|
+
* @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
|
|
34
|
+
* maximum of 63.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
get(resourceGroupName: string, vcoreName: string, options?: AutoScaleVCoresGetOptionalParams): Promise<AutoScaleVCoresGetResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Provisions the specified auto scale v-core based on the configuration specified in the request.
|
|
40
|
+
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
41
|
+
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
42
|
+
* @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
|
|
43
|
+
* maximum of 63.
|
|
44
|
+
* @param vCoreParameters Contains the information used to provision the auto scale v-core.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
create(resourceGroupName: string, vcoreName: string, vCoreParameters: AutoScaleVCore, options?: AutoScaleVCoresCreateOptionalParams): Promise<AutoScaleVCoresCreateResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Deletes the specified auto scale v-core.
|
|
50
|
+
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
51
|
+
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
52
|
+
* @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
|
|
53
|
+
* maximum of 63.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
delete(resourceGroupName: string, vcoreName: string, options?: AutoScaleVCoresDeleteOptionalParams): Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* Updates the current state of the specified auto scale v-core.
|
|
59
|
+
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
60
|
+
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
61
|
+
* @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
|
|
62
|
+
* maximum of 63.
|
|
63
|
+
* @param vCoreUpdateParameters Request object that contains the updated information for the auto scale
|
|
64
|
+
* v-core.
|
|
65
|
+
* @param options The options parameters.
|
|
66
|
+
*/
|
|
67
|
+
update(resourceGroupName: string, vcoreName: string, vCoreUpdateParameters: AutoScaleVCoreUpdateParameters, options?: AutoScaleVCoresUpdateOptionalParams): Promise<AutoScaleVCoresUpdateResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Gets all the auto scale v-cores for the given resource group.
|
|
70
|
+
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
71
|
+
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
private _listByResourceGroup;
|
|
75
|
+
/**
|
|
76
|
+
* Lists all the auto scale v-cores for the given subscription.
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
private _listBySubscription;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=autoScaleVCores.d.ts.map
|
|
@@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ACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,qBAAqB,EAAE,8BAA8B,EACrD,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC;IAOzC;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;CAQ5B"}
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.AutoScaleVCoresImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
14
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Class containing AutoScaleVCores operations. */
|
|
17
|
+
class AutoScaleVCoresImpl {
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class AutoScaleVCores class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Gets all the auto scale v-cores for the given resource group.
|
|
27
|
+
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
28
|
+
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
32
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
33
|
+
return {
|
|
34
|
+
next() {
|
|
35
|
+
return iter.next();
|
|
36
|
+
},
|
|
37
|
+
[Symbol.asyncIterator]() {
|
|
38
|
+
return this;
|
|
39
|
+
},
|
|
40
|
+
byPage: (settings) => {
|
|
41
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
42
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
|
+
}
|
|
44
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
listByResourceGroupPagingPage(resourceGroupName, options, _settings) {
|
|
49
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
50
|
+
let result;
|
|
51
|
+
result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
52
|
+
yield yield tslib_1.__await(result.value || []);
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
56
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
57
|
+
var _a, e_1, _b, _c;
|
|
58
|
+
try {
|
|
59
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
60
|
+
_c = _f.value;
|
|
61
|
+
_d = false;
|
|
62
|
+
const page = _c;
|
|
63
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
67
|
+
finally {
|
|
68
|
+
try {
|
|
69
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
70
|
+
}
|
|
71
|
+
finally { if (e_1) throw e_1.error; }
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Lists all the auto scale v-cores for the given subscription.
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
listBySubscription(options) {
|
|
80
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
81
|
+
return {
|
|
82
|
+
next() {
|
|
83
|
+
return iter.next();
|
|
84
|
+
},
|
|
85
|
+
[Symbol.asyncIterator]() {
|
|
86
|
+
return this;
|
|
87
|
+
},
|
|
88
|
+
byPage: (settings) => {
|
|
89
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
90
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
91
|
+
}
|
|
92
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
listBySubscriptionPagingPage(options, _settings) {
|
|
97
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
98
|
+
let result;
|
|
99
|
+
result = yield tslib_1.__await(this._listBySubscription(options));
|
|
100
|
+
yield yield tslib_1.__await(result.value || []);
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
listBySubscriptionPagingAll(options) {
|
|
104
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
105
|
+
var _a, e_2, _b, _c;
|
|
106
|
+
try {
|
|
107
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
108
|
+
_c = _f.value;
|
|
109
|
+
_d = false;
|
|
110
|
+
const page = _c;
|
|
111
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
115
|
+
finally {
|
|
116
|
+
try {
|
|
117
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
118
|
+
}
|
|
119
|
+
finally { if (e_2) throw e_2.error; }
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Gets details about the specified auto scale v-core.
|
|
125
|
+
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
126
|
+
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
127
|
+
* @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
|
|
128
|
+
* maximum of 63.
|
|
129
|
+
* @param options The options parameters.
|
|
130
|
+
*/
|
|
131
|
+
get(resourceGroupName, vcoreName, options) {
|
|
132
|
+
return this.client.sendOperationRequest({ resourceGroupName, vcoreName, options }, getOperationSpec);
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Provisions the specified auto scale v-core based on the configuration specified in the request.
|
|
136
|
+
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
137
|
+
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
138
|
+
* @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
|
|
139
|
+
* maximum of 63.
|
|
140
|
+
* @param vCoreParameters Contains the information used to provision the auto scale v-core.
|
|
141
|
+
* @param options The options parameters.
|
|
142
|
+
*/
|
|
143
|
+
create(resourceGroupName, vcoreName, vCoreParameters, options) {
|
|
144
|
+
return this.client.sendOperationRequest({ resourceGroupName, vcoreName, vCoreParameters, options }, createOperationSpec);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Deletes the specified auto scale v-core.
|
|
148
|
+
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
149
|
+
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
150
|
+
* @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
|
|
151
|
+
* maximum of 63.
|
|
152
|
+
* @param options The options parameters.
|
|
153
|
+
*/
|
|
154
|
+
delete(resourceGroupName, vcoreName, options) {
|
|
155
|
+
return this.client.sendOperationRequest({ resourceGroupName, vcoreName, options }, deleteOperationSpec);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Updates the current state of the specified auto scale v-core.
|
|
159
|
+
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
160
|
+
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
161
|
+
* @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
|
|
162
|
+
* maximum of 63.
|
|
163
|
+
* @param vCoreUpdateParameters Request object that contains the updated information for the auto scale
|
|
164
|
+
* v-core.
|
|
165
|
+
* @param options The options parameters.
|
|
166
|
+
*/
|
|
167
|
+
update(resourceGroupName, vcoreName, vCoreUpdateParameters, options) {
|
|
168
|
+
return this.client.sendOperationRequest({ resourceGroupName, vcoreName, vCoreUpdateParameters, options }, updateOperationSpec);
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Gets all the auto scale v-cores for the given resource group.
|
|
172
|
+
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
173
|
+
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
174
|
+
* @param options The options parameters.
|
|
175
|
+
*/
|
|
176
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
177
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Lists all the auto scale v-cores for the given subscription.
|
|
181
|
+
* @param options The options parameters.
|
|
182
|
+
*/
|
|
183
|
+
_listBySubscription(options) {
|
|
184
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
exports.AutoScaleVCoresImpl = AutoScaleVCoresImpl;
|
|
188
|
+
// Operation Specifications
|
|
189
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
190
|
+
const getOperationSpec = {
|
|
191
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}",
|
|
192
|
+
httpMethod: "GET",
|
|
193
|
+
responses: {
|
|
194
|
+
200: {
|
|
195
|
+
bodyMapper: Mappers.AutoScaleVCore
|
|
196
|
+
},
|
|
197
|
+
default: {
|
|
198
|
+
bodyMapper: Mappers.ErrorResponse
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
queryParameters: [Parameters.apiVersion],
|
|
202
|
+
urlParameters: [
|
|
203
|
+
Parameters.$host,
|
|
204
|
+
Parameters.resourceGroupName,
|
|
205
|
+
Parameters.subscriptionId,
|
|
206
|
+
Parameters.vcoreName
|
|
207
|
+
],
|
|
208
|
+
headerParameters: [Parameters.accept],
|
|
209
|
+
serializer
|
|
210
|
+
};
|
|
211
|
+
const createOperationSpec = {
|
|
212
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}",
|
|
213
|
+
httpMethod: "PUT",
|
|
214
|
+
responses: {
|
|
215
|
+
200: {
|
|
216
|
+
bodyMapper: Mappers.AutoScaleVCore
|
|
217
|
+
},
|
|
218
|
+
default: {
|
|
219
|
+
bodyMapper: Mappers.ErrorResponse
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
requestBody: Parameters.vCoreParameters,
|
|
223
|
+
queryParameters: [Parameters.apiVersion],
|
|
224
|
+
urlParameters: [
|
|
225
|
+
Parameters.$host,
|
|
226
|
+
Parameters.resourceGroupName,
|
|
227
|
+
Parameters.subscriptionId,
|
|
228
|
+
Parameters.vcoreName
|
|
229
|
+
],
|
|
230
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
231
|
+
mediaType: "json",
|
|
232
|
+
serializer
|
|
233
|
+
};
|
|
234
|
+
const deleteOperationSpec = {
|
|
235
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}",
|
|
236
|
+
httpMethod: "DELETE",
|
|
237
|
+
responses: {
|
|
238
|
+
200: {},
|
|
239
|
+
204: {},
|
|
240
|
+
default: {
|
|
241
|
+
bodyMapper: Mappers.ErrorResponse
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
queryParameters: [Parameters.apiVersion],
|
|
245
|
+
urlParameters: [
|
|
246
|
+
Parameters.$host,
|
|
247
|
+
Parameters.resourceGroupName,
|
|
248
|
+
Parameters.subscriptionId,
|
|
249
|
+
Parameters.vcoreName
|
|
250
|
+
],
|
|
251
|
+
headerParameters: [Parameters.accept],
|
|
252
|
+
serializer
|
|
253
|
+
};
|
|
254
|
+
const updateOperationSpec = {
|
|
255
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}",
|
|
256
|
+
httpMethod: "PATCH",
|
|
257
|
+
responses: {
|
|
258
|
+
200: {
|
|
259
|
+
bodyMapper: Mappers.AutoScaleVCore
|
|
260
|
+
},
|
|
261
|
+
default: {
|
|
262
|
+
bodyMapper: Mappers.ErrorResponse
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
requestBody: Parameters.vCoreUpdateParameters,
|
|
266
|
+
queryParameters: [Parameters.apiVersion],
|
|
267
|
+
urlParameters: [
|
|
268
|
+
Parameters.$host,
|
|
269
|
+
Parameters.resourceGroupName,
|
|
270
|
+
Parameters.subscriptionId,
|
|
271
|
+
Parameters.vcoreName
|
|
272
|
+
],
|
|
273
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
274
|
+
mediaType: "json",
|
|
275
|
+
serializer
|
|
276
|
+
};
|
|
277
|
+
const listByResourceGroupOperationSpec = {
|
|
278
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores",
|
|
279
|
+
httpMethod: "GET",
|
|
280
|
+
responses: {
|
|
281
|
+
200: {
|
|
282
|
+
bodyMapper: Mappers.AutoScaleVCoreListResult
|
|
283
|
+
},
|
|
284
|
+
default: {
|
|
285
|
+
bodyMapper: Mappers.ErrorResponse
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
queryParameters: [Parameters.apiVersion],
|
|
289
|
+
urlParameters: [
|
|
290
|
+
Parameters.$host,
|
|
291
|
+
Parameters.resourceGroupName,
|
|
292
|
+
Parameters.subscriptionId
|
|
293
|
+
],
|
|
294
|
+
headerParameters: [Parameters.accept],
|
|
295
|
+
serializer
|
|
296
|
+
};
|
|
297
|
+
const listBySubscriptionOperationSpec = {
|
|
298
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/autoScaleVCores",
|
|
299
|
+
httpMethod: "GET",
|
|
300
|
+
responses: {
|
|
301
|
+
200: {
|
|
302
|
+
bodyMapper: Mappers.AutoScaleVCoreListResult
|
|
303
|
+
},
|
|
304
|
+
default: {
|
|
305
|
+
bodyMapper: Mappers.ErrorResponse
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
queryParameters: [Parameters.apiVersion],
|
|
309
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
310
|
+
headerParameters: [Parameters.accept],
|
|
311
|
+
serializer
|
|
312
|
+
};
|
|
313
|
+
//# sourceMappingURL=autoScaleVCores.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoScaleVCores.js","sour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,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EACF,sFAAsF;IACxF,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;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,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,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 { AutoScaleVCores } 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 { PowerBIDedicated } from \"../powerBIDedicated.js\";\nimport {\n AutoScaleVCore,\n AutoScaleVCoresListByResourceGroupOptionalParams,\n AutoScaleVCoresListByResourceGroupResponse,\n AutoScaleVCoresListBySubscriptionOptionalParams,\n AutoScaleVCoresListBySubscriptionResponse,\n AutoScaleVCoresGetOptionalParams,\n AutoScaleVCoresGetResponse,\n AutoScaleVCoresCreateOptionalParams,\n AutoScaleVCoresCreateResponse,\n AutoScaleVCoresDeleteOptionalParams,\n AutoScaleVCoreUpdateParameters,\n AutoScaleVCoresUpdateOptionalParams,\n AutoScaleVCoresUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AutoScaleVCores operations. */\nexport class AutoScaleVCoresImpl implements AutoScaleVCores {\n private readonly client: PowerBIDedicated;\n\n /**\n * Initialize a new instance of the class AutoScaleVCores class.\n * @param client Reference to the service client\n */\n constructor(client: PowerBIDedicated) {\n this.client = client;\n }\n\n /**\n * Gets all the auto scale v-cores for the given resource group.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: AutoScaleVCoresListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<AutoScaleVCore> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: AutoScaleVCoresListByResourceGroupOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<AutoScaleVCore[]> {\n let result: AutoScaleVCoresListByResourceGroupResponse;\n result = await this._listByResourceGroup(resourceGroupName, options);\n yield result.value || [];\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: AutoScaleVCoresListByResourceGroupOptionalParams\n ): AsyncIterableIterator<AutoScaleVCore> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the auto scale v-cores for the given subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: AutoScaleVCoresListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<AutoScaleVCore> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: AutoScaleVCoresListBySubscriptionOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<AutoScaleVCore[]> {\n let result: AutoScaleVCoresListBySubscriptionResponse;\n result = await this._listBySubscription(options);\n yield result.value || [];\n }\n\n private async *listBySubscriptionPagingAll(\n options?: AutoScaleVCoresListBySubscriptionOptionalParams\n ): AsyncIterableIterator<AutoScaleVCore> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets details about the specified auto scale v-core.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a\n * maximum of 63.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n vcoreName: string,\n options?: AutoScaleVCoresGetOptionalParams\n ): Promise<AutoScaleVCoresGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vcoreName, options },\n getOperationSpec\n );\n }\n\n /**\n * Provisions the specified auto scale v-core based on the configuration specified in the request.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a\n * maximum of 63.\n * @param vCoreParameters Contains the information used to provision the auto scale v-core.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n vcoreName: string,\n vCoreParameters: AutoScaleVCore,\n options?: AutoScaleVCoresCreateOptionalParams\n ): Promise<AutoScaleVCoresCreateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vcoreName, vCoreParameters, options },\n createOperationSpec\n );\n }\n\n /**\n * Deletes the specified auto scale v-core.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a\n * maximum of 63.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n vcoreName: string,\n options?: AutoScaleVCoresDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vcoreName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Updates the current state of the specified auto scale v-core.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a\n * maximum of 63.\n * @param vCoreUpdateParameters Request object that contains the updated information for the auto scale\n * v-core.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n vcoreName: string,\n vCoreUpdateParameters: AutoScaleVCoreUpdateParameters,\n options?: AutoScaleVCoresUpdateOptionalParams\n ): Promise<AutoScaleVCoresUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vcoreName, vCoreUpdateParameters, options },\n updateOperationSpec\n );\n }\n\n /**\n * Gets all the auto scale v-cores for the given resource group.\n * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated\n * capacity is part. This name must be at least 1 character in length, and no more than 90.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: AutoScaleVCoresListByResourceGroupOptionalParams\n ): Promise<AutoScaleVCoresListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Lists all the auto scale v-cores for the given subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: AutoScaleVCoresListBySubscriptionOptionalParams\n ): Promise<AutoScaleVCoresListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AutoScaleVCore\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.vcoreName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AutoScaleVCore\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.vCoreParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.vcoreName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.vcoreName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AutoScaleVCore\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.vCoreUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.vcoreName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AutoScaleVCoreListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/autoScaleVCores\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AutoScaleVCoreListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|