@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
|
@@ -1,956 +0,0 @@
|
|
|
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
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { Capacities } from "../operationsInterfaces";
|
|
11
|
-
import * as coreClient from "@azure/core-client";
|
|
12
|
-
import * as Mappers from "../models/mappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
import { PowerBIDedicated } from "../powerBIDedicated";
|
|
15
|
-
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
|
-
import { LroImpl } from "../lroImpl";
|
|
17
|
-
import {
|
|
18
|
-
DedicatedCapacity,
|
|
19
|
-
CapacitiesListByResourceGroupOptionalParams,
|
|
20
|
-
CapacitiesListByResourceGroupResponse,
|
|
21
|
-
CapacitiesListOptionalParams,
|
|
22
|
-
CapacitiesListResponse,
|
|
23
|
-
CapacitiesGetDetailsOptionalParams,
|
|
24
|
-
CapacitiesGetDetailsResponse,
|
|
25
|
-
CapacitiesCreateOptionalParams,
|
|
26
|
-
CapacitiesCreateResponse,
|
|
27
|
-
CapacitiesDeleteOptionalParams,
|
|
28
|
-
DedicatedCapacityUpdateParameters,
|
|
29
|
-
CapacitiesUpdateOptionalParams,
|
|
30
|
-
CapacitiesUpdateResponse,
|
|
31
|
-
CapacitiesSuspendOptionalParams,
|
|
32
|
-
CapacitiesResumeOptionalParams,
|
|
33
|
-
CapacitiesListSkusOptionalParams,
|
|
34
|
-
CapacitiesListSkusResponse,
|
|
35
|
-
CapacitiesListSkusForCapacityOptionalParams,
|
|
36
|
-
CapacitiesListSkusForCapacityResponse,
|
|
37
|
-
CheckCapacityNameAvailabilityParameters,
|
|
38
|
-
CapacitiesCheckNameAvailabilityOptionalParams,
|
|
39
|
-
CapacitiesCheckNameAvailabilityResponse
|
|
40
|
-
} from "../models";
|
|
41
|
-
|
|
42
|
-
/// <reference lib="esnext.asynciterable" />
|
|
43
|
-
/** Class containing Capacities operations. */
|
|
44
|
-
export class CapacitiesImpl implements Capacities {
|
|
45
|
-
private readonly client: PowerBIDedicated;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Initialize a new instance of the class Capacities class.
|
|
49
|
-
* @param client Reference to the service client
|
|
50
|
-
*/
|
|
51
|
-
constructor(client: PowerBIDedicated) {
|
|
52
|
-
this.client = client;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Gets all the Dedicated capacities for the given resource group.
|
|
57
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
58
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
59
|
-
* @param options The options parameters.
|
|
60
|
-
*/
|
|
61
|
-
public listByResourceGroup(
|
|
62
|
-
resourceGroupName: string,
|
|
63
|
-
options?: CapacitiesListByResourceGroupOptionalParams
|
|
64
|
-
): PagedAsyncIterableIterator<DedicatedCapacity> {
|
|
65
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
66
|
-
return {
|
|
67
|
-
next() {
|
|
68
|
-
return iter.next();
|
|
69
|
-
},
|
|
70
|
-
[Symbol.asyncIterator]() {
|
|
71
|
-
return this;
|
|
72
|
-
},
|
|
73
|
-
byPage: (settings?: PageSettings) => {
|
|
74
|
-
if (settings?.maxPageSize) {
|
|
75
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
76
|
-
}
|
|
77
|
-
return this.listByResourceGroupPagingPage(
|
|
78
|
-
resourceGroupName,
|
|
79
|
-
options,
|
|
80
|
-
settings
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private async *listByResourceGroupPagingPage(
|
|
87
|
-
resourceGroupName: string,
|
|
88
|
-
options?: CapacitiesListByResourceGroupOptionalParams,
|
|
89
|
-
_settings?: PageSettings
|
|
90
|
-
): AsyncIterableIterator<DedicatedCapacity[]> {
|
|
91
|
-
let result: CapacitiesListByResourceGroupResponse;
|
|
92
|
-
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
93
|
-
yield result.value || [];
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private async *listByResourceGroupPagingAll(
|
|
97
|
-
resourceGroupName: string,
|
|
98
|
-
options?: CapacitiesListByResourceGroupOptionalParams
|
|
99
|
-
): AsyncIterableIterator<DedicatedCapacity> {
|
|
100
|
-
for await (const page of this.listByResourceGroupPagingPage(
|
|
101
|
-
resourceGroupName,
|
|
102
|
-
options
|
|
103
|
-
)) {
|
|
104
|
-
yield* page;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Lists all the Dedicated capacities for the given subscription.
|
|
110
|
-
* @param options The options parameters.
|
|
111
|
-
*/
|
|
112
|
-
public list(
|
|
113
|
-
options?: CapacitiesListOptionalParams
|
|
114
|
-
): PagedAsyncIterableIterator<DedicatedCapacity> {
|
|
115
|
-
const iter = this.listPagingAll(options);
|
|
116
|
-
return {
|
|
117
|
-
next() {
|
|
118
|
-
return iter.next();
|
|
119
|
-
},
|
|
120
|
-
[Symbol.asyncIterator]() {
|
|
121
|
-
return this;
|
|
122
|
-
},
|
|
123
|
-
byPage: (settings?: PageSettings) => {
|
|
124
|
-
if (settings?.maxPageSize) {
|
|
125
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
126
|
-
}
|
|
127
|
-
return this.listPagingPage(options, settings);
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
private async *listPagingPage(
|
|
133
|
-
options?: CapacitiesListOptionalParams,
|
|
134
|
-
_settings?: PageSettings
|
|
135
|
-
): AsyncIterableIterator<DedicatedCapacity[]> {
|
|
136
|
-
let result: CapacitiesListResponse;
|
|
137
|
-
result = await this._list(options);
|
|
138
|
-
yield result.value || [];
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
private async *listPagingAll(
|
|
142
|
-
options?: CapacitiesListOptionalParams
|
|
143
|
-
): AsyncIterableIterator<DedicatedCapacity> {
|
|
144
|
-
for await (const page of this.listPagingPage(options)) {
|
|
145
|
-
yield* page;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* Gets details about the specified dedicated capacity.
|
|
151
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
152
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
153
|
-
* @param dedicatedCapacityName The name of the dedicated capacity. It must be a minimum of 3
|
|
154
|
-
* characters, and a maximum of 63.
|
|
155
|
-
* @param options The options parameters.
|
|
156
|
-
*/
|
|
157
|
-
getDetails(
|
|
158
|
-
resourceGroupName: string,
|
|
159
|
-
dedicatedCapacityName: string,
|
|
160
|
-
options?: CapacitiesGetDetailsOptionalParams
|
|
161
|
-
): Promise<CapacitiesGetDetailsResponse> {
|
|
162
|
-
return this.client.sendOperationRequest(
|
|
163
|
-
{ resourceGroupName, dedicatedCapacityName, options },
|
|
164
|
-
getDetailsOperationSpec
|
|
165
|
-
);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* Provisions the specified Dedicated capacity based on the configuration specified in the request.
|
|
170
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
171
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
172
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be a minimum of 3
|
|
173
|
-
* characters, and a maximum of 63.
|
|
174
|
-
* @param capacityParameters Contains the information used to provision the Dedicated capacity.
|
|
175
|
-
* @param options The options parameters.
|
|
176
|
-
*/
|
|
177
|
-
async beginCreate(
|
|
178
|
-
resourceGroupName: string,
|
|
179
|
-
dedicatedCapacityName: string,
|
|
180
|
-
capacityParameters: DedicatedCapacity,
|
|
181
|
-
options?: CapacitiesCreateOptionalParams
|
|
182
|
-
): Promise<
|
|
183
|
-
PollerLike<
|
|
184
|
-
PollOperationState<CapacitiesCreateResponse>,
|
|
185
|
-
CapacitiesCreateResponse
|
|
186
|
-
>
|
|
187
|
-
> {
|
|
188
|
-
const directSendOperation = async (
|
|
189
|
-
args: coreClient.OperationArguments,
|
|
190
|
-
spec: coreClient.OperationSpec
|
|
191
|
-
): Promise<CapacitiesCreateResponse> => {
|
|
192
|
-
return this.client.sendOperationRequest(args, spec);
|
|
193
|
-
};
|
|
194
|
-
const sendOperation = async (
|
|
195
|
-
args: coreClient.OperationArguments,
|
|
196
|
-
spec: coreClient.OperationSpec
|
|
197
|
-
) => {
|
|
198
|
-
let currentRawResponse:
|
|
199
|
-
| coreClient.FullOperationResponse
|
|
200
|
-
| undefined = undefined;
|
|
201
|
-
const providedCallback = args.options?.onResponse;
|
|
202
|
-
const callback: coreClient.RawResponseCallback = (
|
|
203
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
204
|
-
flatResponse: unknown
|
|
205
|
-
) => {
|
|
206
|
-
currentRawResponse = rawResponse;
|
|
207
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
208
|
-
};
|
|
209
|
-
const updatedArgs = {
|
|
210
|
-
...args,
|
|
211
|
-
options: {
|
|
212
|
-
...args.options,
|
|
213
|
-
onResponse: callback
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
217
|
-
return {
|
|
218
|
-
flatResponse,
|
|
219
|
-
rawResponse: {
|
|
220
|
-
statusCode: currentRawResponse!.status,
|
|
221
|
-
body: currentRawResponse!.parsedBody,
|
|
222
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
223
|
-
}
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
|
|
227
|
-
const lro = new LroImpl(
|
|
228
|
-
sendOperation,
|
|
229
|
-
{ resourceGroupName, dedicatedCapacityName, capacityParameters, options },
|
|
230
|
-
createOperationSpec
|
|
231
|
-
);
|
|
232
|
-
const poller = new LroEngine(lro, {
|
|
233
|
-
resumeFrom: options?.resumeFrom,
|
|
234
|
-
intervalInMs: options?.updateIntervalInMs
|
|
235
|
-
});
|
|
236
|
-
await poller.poll();
|
|
237
|
-
return poller;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* Provisions the specified Dedicated capacity based on the configuration specified in the request.
|
|
242
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
243
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
244
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be a minimum of 3
|
|
245
|
-
* characters, and a maximum of 63.
|
|
246
|
-
* @param capacityParameters Contains the information used to provision the Dedicated capacity.
|
|
247
|
-
* @param options The options parameters.
|
|
248
|
-
*/
|
|
249
|
-
async beginCreateAndWait(
|
|
250
|
-
resourceGroupName: string,
|
|
251
|
-
dedicatedCapacityName: string,
|
|
252
|
-
capacityParameters: DedicatedCapacity,
|
|
253
|
-
options?: CapacitiesCreateOptionalParams
|
|
254
|
-
): Promise<CapacitiesCreateResponse> {
|
|
255
|
-
const poller = await this.beginCreate(
|
|
256
|
-
resourceGroupName,
|
|
257
|
-
dedicatedCapacityName,
|
|
258
|
-
capacityParameters,
|
|
259
|
-
options
|
|
260
|
-
);
|
|
261
|
-
return poller.pollUntilDone();
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* Deletes the specified Dedicated capacity.
|
|
266
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
267
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
268
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
269
|
-
* length, and no more than 63.
|
|
270
|
-
* @param options The options parameters.
|
|
271
|
-
*/
|
|
272
|
-
async beginDelete(
|
|
273
|
-
resourceGroupName: string,
|
|
274
|
-
dedicatedCapacityName: string,
|
|
275
|
-
options?: CapacitiesDeleteOptionalParams
|
|
276
|
-
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
277
|
-
const directSendOperation = async (
|
|
278
|
-
args: coreClient.OperationArguments,
|
|
279
|
-
spec: coreClient.OperationSpec
|
|
280
|
-
): Promise<void> => {
|
|
281
|
-
return this.client.sendOperationRequest(args, spec);
|
|
282
|
-
};
|
|
283
|
-
const sendOperation = async (
|
|
284
|
-
args: coreClient.OperationArguments,
|
|
285
|
-
spec: coreClient.OperationSpec
|
|
286
|
-
) => {
|
|
287
|
-
let currentRawResponse:
|
|
288
|
-
| coreClient.FullOperationResponse
|
|
289
|
-
| undefined = undefined;
|
|
290
|
-
const providedCallback = args.options?.onResponse;
|
|
291
|
-
const callback: coreClient.RawResponseCallback = (
|
|
292
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
293
|
-
flatResponse: unknown
|
|
294
|
-
) => {
|
|
295
|
-
currentRawResponse = rawResponse;
|
|
296
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
297
|
-
};
|
|
298
|
-
const updatedArgs = {
|
|
299
|
-
...args,
|
|
300
|
-
options: {
|
|
301
|
-
...args.options,
|
|
302
|
-
onResponse: callback
|
|
303
|
-
}
|
|
304
|
-
};
|
|
305
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
306
|
-
return {
|
|
307
|
-
flatResponse,
|
|
308
|
-
rawResponse: {
|
|
309
|
-
statusCode: currentRawResponse!.status,
|
|
310
|
-
body: currentRawResponse!.parsedBody,
|
|
311
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
312
|
-
}
|
|
313
|
-
};
|
|
314
|
-
};
|
|
315
|
-
|
|
316
|
-
const lro = new LroImpl(
|
|
317
|
-
sendOperation,
|
|
318
|
-
{ resourceGroupName, dedicatedCapacityName, options },
|
|
319
|
-
deleteOperationSpec
|
|
320
|
-
);
|
|
321
|
-
const poller = new LroEngine(lro, {
|
|
322
|
-
resumeFrom: options?.resumeFrom,
|
|
323
|
-
intervalInMs: options?.updateIntervalInMs
|
|
324
|
-
});
|
|
325
|
-
await poller.poll();
|
|
326
|
-
return poller;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* Deletes the specified Dedicated capacity.
|
|
331
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
332
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
333
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
334
|
-
* length, and no more than 63.
|
|
335
|
-
* @param options The options parameters.
|
|
336
|
-
*/
|
|
337
|
-
async beginDeleteAndWait(
|
|
338
|
-
resourceGroupName: string,
|
|
339
|
-
dedicatedCapacityName: string,
|
|
340
|
-
options?: CapacitiesDeleteOptionalParams
|
|
341
|
-
): Promise<void> {
|
|
342
|
-
const poller = await this.beginDelete(
|
|
343
|
-
resourceGroupName,
|
|
344
|
-
dedicatedCapacityName,
|
|
345
|
-
options
|
|
346
|
-
);
|
|
347
|
-
return poller.pollUntilDone();
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
* Updates the current state of the specified Dedicated capacity.
|
|
352
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
353
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
354
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
355
|
-
* length, and no more than 63.
|
|
356
|
-
* @param capacityUpdateParameters Request object that contains the updated information for the
|
|
357
|
-
* capacity.
|
|
358
|
-
* @param options The options parameters.
|
|
359
|
-
*/
|
|
360
|
-
async beginUpdate(
|
|
361
|
-
resourceGroupName: string,
|
|
362
|
-
dedicatedCapacityName: string,
|
|
363
|
-
capacityUpdateParameters: DedicatedCapacityUpdateParameters,
|
|
364
|
-
options?: CapacitiesUpdateOptionalParams
|
|
365
|
-
): Promise<
|
|
366
|
-
PollerLike<
|
|
367
|
-
PollOperationState<CapacitiesUpdateResponse>,
|
|
368
|
-
CapacitiesUpdateResponse
|
|
369
|
-
>
|
|
370
|
-
> {
|
|
371
|
-
const directSendOperation = async (
|
|
372
|
-
args: coreClient.OperationArguments,
|
|
373
|
-
spec: coreClient.OperationSpec
|
|
374
|
-
): Promise<CapacitiesUpdateResponse> => {
|
|
375
|
-
return this.client.sendOperationRequest(args, spec);
|
|
376
|
-
};
|
|
377
|
-
const sendOperation = async (
|
|
378
|
-
args: coreClient.OperationArguments,
|
|
379
|
-
spec: coreClient.OperationSpec
|
|
380
|
-
) => {
|
|
381
|
-
let currentRawResponse:
|
|
382
|
-
| coreClient.FullOperationResponse
|
|
383
|
-
| undefined = undefined;
|
|
384
|
-
const providedCallback = args.options?.onResponse;
|
|
385
|
-
const callback: coreClient.RawResponseCallback = (
|
|
386
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
387
|
-
flatResponse: unknown
|
|
388
|
-
) => {
|
|
389
|
-
currentRawResponse = rawResponse;
|
|
390
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
391
|
-
};
|
|
392
|
-
const updatedArgs = {
|
|
393
|
-
...args,
|
|
394
|
-
options: {
|
|
395
|
-
...args.options,
|
|
396
|
-
onResponse: callback
|
|
397
|
-
}
|
|
398
|
-
};
|
|
399
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
400
|
-
return {
|
|
401
|
-
flatResponse,
|
|
402
|
-
rawResponse: {
|
|
403
|
-
statusCode: currentRawResponse!.status,
|
|
404
|
-
body: currentRawResponse!.parsedBody,
|
|
405
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
406
|
-
}
|
|
407
|
-
};
|
|
408
|
-
};
|
|
409
|
-
|
|
410
|
-
const lro = new LroImpl(
|
|
411
|
-
sendOperation,
|
|
412
|
-
{
|
|
413
|
-
resourceGroupName,
|
|
414
|
-
dedicatedCapacityName,
|
|
415
|
-
capacityUpdateParameters,
|
|
416
|
-
options
|
|
417
|
-
},
|
|
418
|
-
updateOperationSpec
|
|
419
|
-
);
|
|
420
|
-
const poller = new LroEngine(lro, {
|
|
421
|
-
resumeFrom: options?.resumeFrom,
|
|
422
|
-
intervalInMs: options?.updateIntervalInMs
|
|
423
|
-
});
|
|
424
|
-
await poller.poll();
|
|
425
|
-
return poller;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
* Updates the current state of the specified Dedicated capacity.
|
|
430
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
431
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
432
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
433
|
-
* length, and no more than 63.
|
|
434
|
-
* @param capacityUpdateParameters Request object that contains the updated information for the
|
|
435
|
-
* capacity.
|
|
436
|
-
* @param options The options parameters.
|
|
437
|
-
*/
|
|
438
|
-
async beginUpdateAndWait(
|
|
439
|
-
resourceGroupName: string,
|
|
440
|
-
dedicatedCapacityName: string,
|
|
441
|
-
capacityUpdateParameters: DedicatedCapacityUpdateParameters,
|
|
442
|
-
options?: CapacitiesUpdateOptionalParams
|
|
443
|
-
): Promise<CapacitiesUpdateResponse> {
|
|
444
|
-
const poller = await this.beginUpdate(
|
|
445
|
-
resourceGroupName,
|
|
446
|
-
dedicatedCapacityName,
|
|
447
|
-
capacityUpdateParameters,
|
|
448
|
-
options
|
|
449
|
-
);
|
|
450
|
-
return poller.pollUntilDone();
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* Suspends operation of the specified dedicated capacity instance.
|
|
455
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
456
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
457
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
458
|
-
* length, and no more than 63.
|
|
459
|
-
* @param options The options parameters.
|
|
460
|
-
*/
|
|
461
|
-
async beginSuspend(
|
|
462
|
-
resourceGroupName: string,
|
|
463
|
-
dedicatedCapacityName: string,
|
|
464
|
-
options?: CapacitiesSuspendOptionalParams
|
|
465
|
-
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
466
|
-
const directSendOperation = async (
|
|
467
|
-
args: coreClient.OperationArguments,
|
|
468
|
-
spec: coreClient.OperationSpec
|
|
469
|
-
): Promise<void> => {
|
|
470
|
-
return this.client.sendOperationRequest(args, spec);
|
|
471
|
-
};
|
|
472
|
-
const sendOperation = async (
|
|
473
|
-
args: coreClient.OperationArguments,
|
|
474
|
-
spec: coreClient.OperationSpec
|
|
475
|
-
) => {
|
|
476
|
-
let currentRawResponse:
|
|
477
|
-
| coreClient.FullOperationResponse
|
|
478
|
-
| undefined = undefined;
|
|
479
|
-
const providedCallback = args.options?.onResponse;
|
|
480
|
-
const callback: coreClient.RawResponseCallback = (
|
|
481
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
482
|
-
flatResponse: unknown
|
|
483
|
-
) => {
|
|
484
|
-
currentRawResponse = rawResponse;
|
|
485
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
486
|
-
};
|
|
487
|
-
const updatedArgs = {
|
|
488
|
-
...args,
|
|
489
|
-
options: {
|
|
490
|
-
...args.options,
|
|
491
|
-
onResponse: callback
|
|
492
|
-
}
|
|
493
|
-
};
|
|
494
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
495
|
-
return {
|
|
496
|
-
flatResponse,
|
|
497
|
-
rawResponse: {
|
|
498
|
-
statusCode: currentRawResponse!.status,
|
|
499
|
-
body: currentRawResponse!.parsedBody,
|
|
500
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
501
|
-
}
|
|
502
|
-
};
|
|
503
|
-
};
|
|
504
|
-
|
|
505
|
-
const lro = new LroImpl(
|
|
506
|
-
sendOperation,
|
|
507
|
-
{ resourceGroupName, dedicatedCapacityName, options },
|
|
508
|
-
suspendOperationSpec
|
|
509
|
-
);
|
|
510
|
-
const poller = new LroEngine(lro, {
|
|
511
|
-
resumeFrom: options?.resumeFrom,
|
|
512
|
-
intervalInMs: options?.updateIntervalInMs
|
|
513
|
-
});
|
|
514
|
-
await poller.poll();
|
|
515
|
-
return poller;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* Suspends operation of the specified dedicated capacity instance.
|
|
520
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
521
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
522
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
523
|
-
* length, and no more than 63.
|
|
524
|
-
* @param options The options parameters.
|
|
525
|
-
*/
|
|
526
|
-
async beginSuspendAndWait(
|
|
527
|
-
resourceGroupName: string,
|
|
528
|
-
dedicatedCapacityName: string,
|
|
529
|
-
options?: CapacitiesSuspendOptionalParams
|
|
530
|
-
): Promise<void> {
|
|
531
|
-
const poller = await this.beginSuspend(
|
|
532
|
-
resourceGroupName,
|
|
533
|
-
dedicatedCapacityName,
|
|
534
|
-
options
|
|
535
|
-
);
|
|
536
|
-
return poller.pollUntilDone();
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* Resumes operation of the specified Dedicated capacity instance.
|
|
541
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
542
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
543
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
544
|
-
* length, and no more than 63.
|
|
545
|
-
* @param options The options parameters.
|
|
546
|
-
*/
|
|
547
|
-
async beginResume(
|
|
548
|
-
resourceGroupName: string,
|
|
549
|
-
dedicatedCapacityName: string,
|
|
550
|
-
options?: CapacitiesResumeOptionalParams
|
|
551
|
-
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
552
|
-
const directSendOperation = async (
|
|
553
|
-
args: coreClient.OperationArguments,
|
|
554
|
-
spec: coreClient.OperationSpec
|
|
555
|
-
): Promise<void> => {
|
|
556
|
-
return this.client.sendOperationRequest(args, spec);
|
|
557
|
-
};
|
|
558
|
-
const sendOperation = async (
|
|
559
|
-
args: coreClient.OperationArguments,
|
|
560
|
-
spec: coreClient.OperationSpec
|
|
561
|
-
) => {
|
|
562
|
-
let currentRawResponse:
|
|
563
|
-
| coreClient.FullOperationResponse
|
|
564
|
-
| undefined = undefined;
|
|
565
|
-
const providedCallback = args.options?.onResponse;
|
|
566
|
-
const callback: coreClient.RawResponseCallback = (
|
|
567
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
568
|
-
flatResponse: unknown
|
|
569
|
-
) => {
|
|
570
|
-
currentRawResponse = rawResponse;
|
|
571
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
572
|
-
};
|
|
573
|
-
const updatedArgs = {
|
|
574
|
-
...args,
|
|
575
|
-
options: {
|
|
576
|
-
...args.options,
|
|
577
|
-
onResponse: callback
|
|
578
|
-
}
|
|
579
|
-
};
|
|
580
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
581
|
-
return {
|
|
582
|
-
flatResponse,
|
|
583
|
-
rawResponse: {
|
|
584
|
-
statusCode: currentRawResponse!.status,
|
|
585
|
-
body: currentRawResponse!.parsedBody,
|
|
586
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
587
|
-
}
|
|
588
|
-
};
|
|
589
|
-
};
|
|
590
|
-
|
|
591
|
-
const lro = new LroImpl(
|
|
592
|
-
sendOperation,
|
|
593
|
-
{ resourceGroupName, dedicatedCapacityName, options },
|
|
594
|
-
resumeOperationSpec
|
|
595
|
-
);
|
|
596
|
-
const poller = new LroEngine(lro, {
|
|
597
|
-
resumeFrom: options?.resumeFrom,
|
|
598
|
-
intervalInMs: options?.updateIntervalInMs
|
|
599
|
-
});
|
|
600
|
-
await poller.poll();
|
|
601
|
-
return poller;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
/**
|
|
605
|
-
* Resumes operation of the specified Dedicated capacity instance.
|
|
606
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
607
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
608
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
609
|
-
* length, and no more than 63.
|
|
610
|
-
* @param options The options parameters.
|
|
611
|
-
*/
|
|
612
|
-
async beginResumeAndWait(
|
|
613
|
-
resourceGroupName: string,
|
|
614
|
-
dedicatedCapacityName: string,
|
|
615
|
-
options?: CapacitiesResumeOptionalParams
|
|
616
|
-
): Promise<void> {
|
|
617
|
-
const poller = await this.beginResume(
|
|
618
|
-
resourceGroupName,
|
|
619
|
-
dedicatedCapacityName,
|
|
620
|
-
options
|
|
621
|
-
);
|
|
622
|
-
return poller.pollUntilDone();
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
/**
|
|
626
|
-
* Gets all the Dedicated capacities for the given resource group.
|
|
627
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
628
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
629
|
-
* @param options The options parameters.
|
|
630
|
-
*/
|
|
631
|
-
private _listByResourceGroup(
|
|
632
|
-
resourceGroupName: string,
|
|
633
|
-
options?: CapacitiesListByResourceGroupOptionalParams
|
|
634
|
-
): Promise<CapacitiesListByResourceGroupResponse> {
|
|
635
|
-
return this.client.sendOperationRequest(
|
|
636
|
-
{ resourceGroupName, options },
|
|
637
|
-
listByResourceGroupOperationSpec
|
|
638
|
-
);
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
/**
|
|
642
|
-
* Lists all the Dedicated capacities for the given subscription.
|
|
643
|
-
* @param options The options parameters.
|
|
644
|
-
*/
|
|
645
|
-
private _list(
|
|
646
|
-
options?: CapacitiesListOptionalParams
|
|
647
|
-
): Promise<CapacitiesListResponse> {
|
|
648
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
/**
|
|
652
|
-
* Lists eligible SKUs for PowerBI Dedicated resource provider.
|
|
653
|
-
* @param options The options parameters.
|
|
654
|
-
*/
|
|
655
|
-
listSkus(
|
|
656
|
-
options?: CapacitiesListSkusOptionalParams
|
|
657
|
-
): Promise<CapacitiesListSkusResponse> {
|
|
658
|
-
return this.client.sendOperationRequest({ options }, listSkusOperationSpec);
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
/**
|
|
662
|
-
* Lists eligible SKUs for a PowerBI Dedicated resource.
|
|
663
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
664
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
665
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
666
|
-
* length, and no more than 63.
|
|
667
|
-
* @param options The options parameters.
|
|
668
|
-
*/
|
|
669
|
-
listSkusForCapacity(
|
|
670
|
-
resourceGroupName: string,
|
|
671
|
-
dedicatedCapacityName: string,
|
|
672
|
-
options?: CapacitiesListSkusForCapacityOptionalParams
|
|
673
|
-
): Promise<CapacitiesListSkusForCapacityResponse> {
|
|
674
|
-
return this.client.sendOperationRequest(
|
|
675
|
-
{ resourceGroupName, dedicatedCapacityName, options },
|
|
676
|
-
listSkusForCapacityOperationSpec
|
|
677
|
-
);
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
/**
|
|
681
|
-
* Check the name availability in the target location.
|
|
682
|
-
* @param location The region name which the operation will lookup into.
|
|
683
|
-
* @param capacityParameters The name of the capacity.
|
|
684
|
-
* @param options The options parameters.
|
|
685
|
-
*/
|
|
686
|
-
checkNameAvailability(
|
|
687
|
-
location: string,
|
|
688
|
-
capacityParameters: CheckCapacityNameAvailabilityParameters,
|
|
689
|
-
options?: CapacitiesCheckNameAvailabilityOptionalParams
|
|
690
|
-
): Promise<CapacitiesCheckNameAvailabilityResponse> {
|
|
691
|
-
return this.client.sendOperationRequest(
|
|
692
|
-
{ location, capacityParameters, options },
|
|
693
|
-
checkNameAvailabilityOperationSpec
|
|
694
|
-
);
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
// Operation Specifications
|
|
698
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
699
|
-
|
|
700
|
-
const getDetailsOperationSpec: coreClient.OperationSpec = {
|
|
701
|
-
path:
|
|
702
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}",
|
|
703
|
-
httpMethod: "GET",
|
|
704
|
-
responses: {
|
|
705
|
-
200: {
|
|
706
|
-
bodyMapper: Mappers.DedicatedCapacity
|
|
707
|
-
},
|
|
708
|
-
default: {
|
|
709
|
-
bodyMapper: Mappers.ErrorResponse
|
|
710
|
-
}
|
|
711
|
-
},
|
|
712
|
-
queryParameters: [Parameters.apiVersion],
|
|
713
|
-
urlParameters: [
|
|
714
|
-
Parameters.$host,
|
|
715
|
-
Parameters.resourceGroupName,
|
|
716
|
-
Parameters.dedicatedCapacityName,
|
|
717
|
-
Parameters.subscriptionId
|
|
718
|
-
],
|
|
719
|
-
headerParameters: [Parameters.accept],
|
|
720
|
-
serializer
|
|
721
|
-
};
|
|
722
|
-
const createOperationSpec: coreClient.OperationSpec = {
|
|
723
|
-
path:
|
|
724
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}",
|
|
725
|
-
httpMethod: "PUT",
|
|
726
|
-
responses: {
|
|
727
|
-
200: {
|
|
728
|
-
bodyMapper: Mappers.DedicatedCapacity
|
|
729
|
-
},
|
|
730
|
-
201: {
|
|
731
|
-
bodyMapper: Mappers.DedicatedCapacity
|
|
732
|
-
},
|
|
733
|
-
202: {
|
|
734
|
-
bodyMapper: Mappers.DedicatedCapacity
|
|
735
|
-
},
|
|
736
|
-
204: {
|
|
737
|
-
bodyMapper: Mappers.DedicatedCapacity
|
|
738
|
-
},
|
|
739
|
-
default: {
|
|
740
|
-
bodyMapper: Mappers.ErrorResponse
|
|
741
|
-
}
|
|
742
|
-
},
|
|
743
|
-
requestBody: Parameters.capacityParameters,
|
|
744
|
-
queryParameters: [Parameters.apiVersion],
|
|
745
|
-
urlParameters: [
|
|
746
|
-
Parameters.$host,
|
|
747
|
-
Parameters.resourceGroupName,
|
|
748
|
-
Parameters.dedicatedCapacityName,
|
|
749
|
-
Parameters.subscriptionId
|
|
750
|
-
],
|
|
751
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
752
|
-
mediaType: "json",
|
|
753
|
-
serializer
|
|
754
|
-
};
|
|
755
|
-
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
756
|
-
path:
|
|
757
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}",
|
|
758
|
-
httpMethod: "DELETE",
|
|
759
|
-
responses: {
|
|
760
|
-
200: {},
|
|
761
|
-
201: {},
|
|
762
|
-
202: {},
|
|
763
|
-
204: {},
|
|
764
|
-
default: {
|
|
765
|
-
bodyMapper: Mappers.ErrorResponse
|
|
766
|
-
}
|
|
767
|
-
},
|
|
768
|
-
queryParameters: [Parameters.apiVersion],
|
|
769
|
-
urlParameters: [
|
|
770
|
-
Parameters.$host,
|
|
771
|
-
Parameters.resourceGroupName,
|
|
772
|
-
Parameters.dedicatedCapacityName,
|
|
773
|
-
Parameters.subscriptionId
|
|
774
|
-
],
|
|
775
|
-
headerParameters: [Parameters.accept],
|
|
776
|
-
serializer
|
|
777
|
-
};
|
|
778
|
-
const updateOperationSpec: coreClient.OperationSpec = {
|
|
779
|
-
path:
|
|
780
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}",
|
|
781
|
-
httpMethod: "PATCH",
|
|
782
|
-
responses: {
|
|
783
|
-
200: {
|
|
784
|
-
bodyMapper: Mappers.DedicatedCapacity
|
|
785
|
-
},
|
|
786
|
-
201: {
|
|
787
|
-
bodyMapper: Mappers.DedicatedCapacity
|
|
788
|
-
},
|
|
789
|
-
202: {
|
|
790
|
-
bodyMapper: Mappers.DedicatedCapacity
|
|
791
|
-
},
|
|
792
|
-
204: {
|
|
793
|
-
bodyMapper: Mappers.DedicatedCapacity
|
|
794
|
-
},
|
|
795
|
-
default: {
|
|
796
|
-
bodyMapper: Mappers.ErrorResponse
|
|
797
|
-
}
|
|
798
|
-
},
|
|
799
|
-
requestBody: Parameters.capacityUpdateParameters,
|
|
800
|
-
queryParameters: [Parameters.apiVersion],
|
|
801
|
-
urlParameters: [
|
|
802
|
-
Parameters.$host,
|
|
803
|
-
Parameters.resourceGroupName,
|
|
804
|
-
Parameters.dedicatedCapacityName,
|
|
805
|
-
Parameters.subscriptionId
|
|
806
|
-
],
|
|
807
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
808
|
-
mediaType: "json",
|
|
809
|
-
serializer
|
|
810
|
-
};
|
|
811
|
-
const suspendOperationSpec: coreClient.OperationSpec = {
|
|
812
|
-
path:
|
|
813
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}/suspend",
|
|
814
|
-
httpMethod: "POST",
|
|
815
|
-
responses: {
|
|
816
|
-
200: {},
|
|
817
|
-
201: {},
|
|
818
|
-
202: {},
|
|
819
|
-
204: {},
|
|
820
|
-
default: {
|
|
821
|
-
bodyMapper: Mappers.ErrorResponse
|
|
822
|
-
}
|
|
823
|
-
},
|
|
824
|
-
queryParameters: [Parameters.apiVersion],
|
|
825
|
-
urlParameters: [
|
|
826
|
-
Parameters.$host,
|
|
827
|
-
Parameters.resourceGroupName,
|
|
828
|
-
Parameters.dedicatedCapacityName,
|
|
829
|
-
Parameters.subscriptionId
|
|
830
|
-
],
|
|
831
|
-
headerParameters: [Parameters.accept],
|
|
832
|
-
serializer
|
|
833
|
-
};
|
|
834
|
-
const resumeOperationSpec: coreClient.OperationSpec = {
|
|
835
|
-
path:
|
|
836
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}/resume",
|
|
837
|
-
httpMethod: "POST",
|
|
838
|
-
responses: {
|
|
839
|
-
200: {},
|
|
840
|
-
201: {},
|
|
841
|
-
202: {},
|
|
842
|
-
204: {},
|
|
843
|
-
default: {
|
|
844
|
-
bodyMapper: Mappers.ErrorResponse
|
|
845
|
-
}
|
|
846
|
-
},
|
|
847
|
-
queryParameters: [Parameters.apiVersion],
|
|
848
|
-
urlParameters: [
|
|
849
|
-
Parameters.$host,
|
|
850
|
-
Parameters.resourceGroupName,
|
|
851
|
-
Parameters.dedicatedCapacityName,
|
|
852
|
-
Parameters.subscriptionId
|
|
853
|
-
],
|
|
854
|
-
headerParameters: [Parameters.accept],
|
|
855
|
-
serializer
|
|
856
|
-
};
|
|
857
|
-
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
858
|
-
path:
|
|
859
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities",
|
|
860
|
-
httpMethod: "GET",
|
|
861
|
-
responses: {
|
|
862
|
-
200: {
|
|
863
|
-
bodyMapper: Mappers.DedicatedCapacities
|
|
864
|
-
},
|
|
865
|
-
default: {
|
|
866
|
-
bodyMapper: Mappers.ErrorResponse
|
|
867
|
-
}
|
|
868
|
-
},
|
|
869
|
-
queryParameters: [Parameters.apiVersion],
|
|
870
|
-
urlParameters: [
|
|
871
|
-
Parameters.$host,
|
|
872
|
-
Parameters.resourceGroupName,
|
|
873
|
-
Parameters.subscriptionId
|
|
874
|
-
],
|
|
875
|
-
headerParameters: [Parameters.accept],
|
|
876
|
-
serializer
|
|
877
|
-
};
|
|
878
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
|
879
|
-
path:
|
|
880
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/capacities",
|
|
881
|
-
httpMethod: "GET",
|
|
882
|
-
responses: {
|
|
883
|
-
200: {
|
|
884
|
-
bodyMapper: Mappers.DedicatedCapacities
|
|
885
|
-
},
|
|
886
|
-
default: {
|
|
887
|
-
bodyMapper: Mappers.ErrorResponse
|
|
888
|
-
}
|
|
889
|
-
},
|
|
890
|
-
queryParameters: [Parameters.apiVersion],
|
|
891
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
892
|
-
headerParameters: [Parameters.accept],
|
|
893
|
-
serializer
|
|
894
|
-
};
|
|
895
|
-
const listSkusOperationSpec: coreClient.OperationSpec = {
|
|
896
|
-
path:
|
|
897
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/skus",
|
|
898
|
-
httpMethod: "GET",
|
|
899
|
-
responses: {
|
|
900
|
-
200: {
|
|
901
|
-
bodyMapper: Mappers.SkuEnumerationForNewResourceResult
|
|
902
|
-
},
|
|
903
|
-
default: {
|
|
904
|
-
bodyMapper: Mappers.ErrorResponse
|
|
905
|
-
}
|
|
906
|
-
},
|
|
907
|
-
queryParameters: [Parameters.apiVersion],
|
|
908
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
909
|
-
headerParameters: [Parameters.accept],
|
|
910
|
-
serializer
|
|
911
|
-
};
|
|
912
|
-
const listSkusForCapacityOperationSpec: coreClient.OperationSpec = {
|
|
913
|
-
path:
|
|
914
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}/skus",
|
|
915
|
-
httpMethod: "GET",
|
|
916
|
-
responses: {
|
|
917
|
-
200: {
|
|
918
|
-
bodyMapper: Mappers.SkuEnumerationForExistingResourceResult
|
|
919
|
-
},
|
|
920
|
-
default: {
|
|
921
|
-
bodyMapper: Mappers.ErrorResponse
|
|
922
|
-
}
|
|
923
|
-
},
|
|
924
|
-
queryParameters: [Parameters.apiVersion],
|
|
925
|
-
urlParameters: [
|
|
926
|
-
Parameters.$host,
|
|
927
|
-
Parameters.resourceGroupName,
|
|
928
|
-
Parameters.dedicatedCapacityName,
|
|
929
|
-
Parameters.subscriptionId
|
|
930
|
-
],
|
|
931
|
-
headerParameters: [Parameters.accept],
|
|
932
|
-
serializer
|
|
933
|
-
};
|
|
934
|
-
const checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {
|
|
935
|
-
path:
|
|
936
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/locations/{location}/checkNameAvailability",
|
|
937
|
-
httpMethod: "POST",
|
|
938
|
-
responses: {
|
|
939
|
-
200: {
|
|
940
|
-
bodyMapper: Mappers.CheckCapacityNameAvailabilityResult
|
|
941
|
-
},
|
|
942
|
-
default: {
|
|
943
|
-
bodyMapper: Mappers.ErrorResponse
|
|
944
|
-
}
|
|
945
|
-
},
|
|
946
|
-
requestBody: Parameters.capacityParameters1,
|
|
947
|
-
queryParameters: [Parameters.apiVersion],
|
|
948
|
-
urlParameters: [
|
|
949
|
-
Parameters.$host,
|
|
950
|
-
Parameters.subscriptionId,
|
|
951
|
-
Parameters.location
|
|
952
|
-
],
|
|
953
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
954
|
-
mediaType: "json",
|
|
955
|
-
serializer
|
|
956
|
-
};
|