@azure/arm-powerbidedicated 4.0.2-alpha.20250218.1 → 4.0.2-alpha.20250220.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
package/dist/index.js
DELETED
|
@@ -1,2244 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib = require('tslib');
|
|
6
|
-
var coreClient = require('@azure/core-client');
|
|
7
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
|
-
var coreLro = require('@azure/core-lro');
|
|
9
|
-
|
|
10
|
-
function _interopNamespaceDefault(e) {
|
|
11
|
-
var n = Object.create(null);
|
|
12
|
-
if (e) {
|
|
13
|
-
Object.keys(e).forEach(function (k) {
|
|
14
|
-
if (k !== 'default') {
|
|
15
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return e[k]; }
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n.default = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
28
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
29
|
-
|
|
30
|
-
/*
|
|
31
|
-
* Copyright (c) Microsoft Corporation.
|
|
32
|
-
* Licensed under the MIT License.
|
|
33
|
-
*
|
|
34
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
35
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
36
|
-
*/
|
|
37
|
-
const pageMap = new WeakMap();
|
|
38
|
-
/**
|
|
39
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
40
|
-
* returns a continuation token that can be used to begin paging from
|
|
41
|
-
* that point later.
|
|
42
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
43
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
44
|
-
*/
|
|
45
|
-
function getContinuationToken(page) {
|
|
46
|
-
var _a;
|
|
47
|
-
if (typeof page !== "object" || page === null) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
51
|
-
}
|
|
52
|
-
function setContinuationToken(page, continuationToken) {
|
|
53
|
-
var _a;
|
|
54
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
58
|
-
pageInfo.continuationToken = continuationToken;
|
|
59
|
-
pageMap.set(page, pageInfo);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/*
|
|
63
|
-
* Copyright (c) Microsoft Corporation.
|
|
64
|
-
* Licensed under the MIT License.
|
|
65
|
-
*
|
|
66
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
67
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
68
|
-
*/
|
|
69
|
-
/** Known values of {@link CapacitySkuTier} that the service accepts. */
|
|
70
|
-
exports.KnownCapacitySkuTier = void 0;
|
|
71
|
-
(function (KnownCapacitySkuTier) {
|
|
72
|
-
/** PbieAzure */
|
|
73
|
-
KnownCapacitySkuTier["PbieAzure"] = "PBIE_Azure";
|
|
74
|
-
/** Premium */
|
|
75
|
-
KnownCapacitySkuTier["Premium"] = "Premium";
|
|
76
|
-
/** AutoPremiumHost */
|
|
77
|
-
KnownCapacitySkuTier["AutoPremiumHost"] = "AutoPremiumHost";
|
|
78
|
-
})(exports.KnownCapacitySkuTier || (exports.KnownCapacitySkuTier = {}));
|
|
79
|
-
/** Known values of {@link State} that the service accepts. */
|
|
80
|
-
exports.KnownState = void 0;
|
|
81
|
-
(function (KnownState) {
|
|
82
|
-
/** Deleting */
|
|
83
|
-
KnownState["Deleting"] = "Deleting";
|
|
84
|
-
/** Succeeded */
|
|
85
|
-
KnownState["Succeeded"] = "Succeeded";
|
|
86
|
-
/** Failed */
|
|
87
|
-
KnownState["Failed"] = "Failed";
|
|
88
|
-
/** Paused */
|
|
89
|
-
KnownState["Paused"] = "Paused";
|
|
90
|
-
/** Suspended */
|
|
91
|
-
KnownState["Suspended"] = "Suspended";
|
|
92
|
-
/** Provisioning */
|
|
93
|
-
KnownState["Provisioning"] = "Provisioning";
|
|
94
|
-
/** Updating */
|
|
95
|
-
KnownState["Updating"] = "Updating";
|
|
96
|
-
/** Suspending */
|
|
97
|
-
KnownState["Suspending"] = "Suspending";
|
|
98
|
-
/** Pausing */
|
|
99
|
-
KnownState["Pausing"] = "Pausing";
|
|
100
|
-
/** Resuming */
|
|
101
|
-
KnownState["Resuming"] = "Resuming";
|
|
102
|
-
/** Preparing */
|
|
103
|
-
KnownState["Preparing"] = "Preparing";
|
|
104
|
-
/** Scaling */
|
|
105
|
-
KnownState["Scaling"] = "Scaling";
|
|
106
|
-
})(exports.KnownState || (exports.KnownState = {}));
|
|
107
|
-
/** Known values of {@link CapacityProvisioningState} that the service accepts. */
|
|
108
|
-
exports.KnownCapacityProvisioningState = void 0;
|
|
109
|
-
(function (KnownCapacityProvisioningState) {
|
|
110
|
-
/** Deleting */
|
|
111
|
-
KnownCapacityProvisioningState["Deleting"] = "Deleting";
|
|
112
|
-
/** Succeeded */
|
|
113
|
-
KnownCapacityProvisioningState["Succeeded"] = "Succeeded";
|
|
114
|
-
/** Failed */
|
|
115
|
-
KnownCapacityProvisioningState["Failed"] = "Failed";
|
|
116
|
-
/** Paused */
|
|
117
|
-
KnownCapacityProvisioningState["Paused"] = "Paused";
|
|
118
|
-
/** Suspended */
|
|
119
|
-
KnownCapacityProvisioningState["Suspended"] = "Suspended";
|
|
120
|
-
/** Provisioning */
|
|
121
|
-
KnownCapacityProvisioningState["Provisioning"] = "Provisioning";
|
|
122
|
-
/** Updating */
|
|
123
|
-
KnownCapacityProvisioningState["Updating"] = "Updating";
|
|
124
|
-
/** Suspending */
|
|
125
|
-
KnownCapacityProvisioningState["Suspending"] = "Suspending";
|
|
126
|
-
/** Pausing */
|
|
127
|
-
KnownCapacityProvisioningState["Pausing"] = "Pausing";
|
|
128
|
-
/** Resuming */
|
|
129
|
-
KnownCapacityProvisioningState["Resuming"] = "Resuming";
|
|
130
|
-
/** Preparing */
|
|
131
|
-
KnownCapacityProvisioningState["Preparing"] = "Preparing";
|
|
132
|
-
/** Scaling */
|
|
133
|
-
KnownCapacityProvisioningState["Scaling"] = "Scaling";
|
|
134
|
-
})(exports.KnownCapacityProvisioningState || (exports.KnownCapacityProvisioningState = {}));
|
|
135
|
-
/** Known values of {@link Mode} that the service accepts. */
|
|
136
|
-
exports.KnownMode = void 0;
|
|
137
|
-
(function (KnownMode) {
|
|
138
|
-
/** Gen1 */
|
|
139
|
-
KnownMode["Gen1"] = "Gen1";
|
|
140
|
-
/** Gen2 */
|
|
141
|
-
KnownMode["Gen2"] = "Gen2";
|
|
142
|
-
})(exports.KnownMode || (exports.KnownMode = {}));
|
|
143
|
-
/** Known values of {@link IdentityType} that the service accepts. */
|
|
144
|
-
exports.KnownIdentityType = void 0;
|
|
145
|
-
(function (KnownIdentityType) {
|
|
146
|
-
/** User */
|
|
147
|
-
KnownIdentityType["User"] = "User";
|
|
148
|
-
/** Application */
|
|
149
|
-
KnownIdentityType["Application"] = "Application";
|
|
150
|
-
/** ManagedIdentity */
|
|
151
|
-
KnownIdentityType["ManagedIdentity"] = "ManagedIdentity";
|
|
152
|
-
/** Key */
|
|
153
|
-
KnownIdentityType["Key"] = "Key";
|
|
154
|
-
})(exports.KnownIdentityType || (exports.KnownIdentityType = {}));
|
|
155
|
-
/** Known values of {@link VCoreSkuTier} that the service accepts. */
|
|
156
|
-
exports.KnownVCoreSkuTier = void 0;
|
|
157
|
-
(function (KnownVCoreSkuTier) {
|
|
158
|
-
/** AutoScale */
|
|
159
|
-
KnownVCoreSkuTier["AutoScale"] = "AutoScale";
|
|
160
|
-
})(exports.KnownVCoreSkuTier || (exports.KnownVCoreSkuTier = {}));
|
|
161
|
-
/** Known values of {@link VCoreProvisioningState} that the service accepts. */
|
|
162
|
-
exports.KnownVCoreProvisioningState = void 0;
|
|
163
|
-
(function (KnownVCoreProvisioningState) {
|
|
164
|
-
/** Succeeded */
|
|
165
|
-
KnownVCoreProvisioningState["Succeeded"] = "Succeeded";
|
|
166
|
-
})(exports.KnownVCoreProvisioningState || (exports.KnownVCoreProvisioningState = {}));
|
|
167
|
-
|
|
168
|
-
/*
|
|
169
|
-
* Copyright (c) Microsoft Corporation.
|
|
170
|
-
* Licensed under the MIT License.
|
|
171
|
-
*
|
|
172
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
173
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
174
|
-
*/
|
|
175
|
-
const CapacitySku = {
|
|
176
|
-
type: {
|
|
177
|
-
name: "Composite",
|
|
178
|
-
className: "CapacitySku",
|
|
179
|
-
modelProperties: {
|
|
180
|
-
name: {
|
|
181
|
-
serializedName: "name",
|
|
182
|
-
required: true,
|
|
183
|
-
type: {
|
|
184
|
-
name: "String"
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
tier: {
|
|
188
|
-
serializedName: "tier",
|
|
189
|
-
type: {
|
|
190
|
-
name: "String"
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
};
|
|
196
|
-
const DedicatedCapacityMutableProperties = {
|
|
197
|
-
type: {
|
|
198
|
-
name: "Composite",
|
|
199
|
-
className: "DedicatedCapacityMutableProperties",
|
|
200
|
-
modelProperties: {
|
|
201
|
-
administration: {
|
|
202
|
-
serializedName: "administration",
|
|
203
|
-
type: {
|
|
204
|
-
name: "Composite",
|
|
205
|
-
className: "DedicatedCapacityAdministrators"
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
mode: {
|
|
209
|
-
serializedName: "mode",
|
|
210
|
-
type: {
|
|
211
|
-
name: "String"
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
};
|
|
217
|
-
const DedicatedCapacityAdministrators = {
|
|
218
|
-
type: {
|
|
219
|
-
name: "Composite",
|
|
220
|
-
className: "DedicatedCapacityAdministrators",
|
|
221
|
-
modelProperties: {
|
|
222
|
-
members: {
|
|
223
|
-
serializedName: "members",
|
|
224
|
-
type: {
|
|
225
|
-
name: "Sequence",
|
|
226
|
-
element: {
|
|
227
|
-
type: {
|
|
228
|
-
name: "String"
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
};
|
|
236
|
-
const Resource = {
|
|
237
|
-
type: {
|
|
238
|
-
name: "Composite",
|
|
239
|
-
className: "Resource",
|
|
240
|
-
modelProperties: {
|
|
241
|
-
id: {
|
|
242
|
-
serializedName: "id",
|
|
243
|
-
readOnly: true,
|
|
244
|
-
type: {
|
|
245
|
-
name: "String"
|
|
246
|
-
}
|
|
247
|
-
},
|
|
248
|
-
name: {
|
|
249
|
-
serializedName: "name",
|
|
250
|
-
readOnly: true,
|
|
251
|
-
type: {
|
|
252
|
-
name: "String"
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
type: {
|
|
256
|
-
serializedName: "type",
|
|
257
|
-
readOnly: true,
|
|
258
|
-
type: {
|
|
259
|
-
name: "String"
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
location: {
|
|
263
|
-
serializedName: "location",
|
|
264
|
-
required: true,
|
|
265
|
-
type: {
|
|
266
|
-
name: "String"
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
tags: {
|
|
270
|
-
serializedName: "tags",
|
|
271
|
-
type: {
|
|
272
|
-
name: "Dictionary",
|
|
273
|
-
value: { type: { name: "String" } }
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
systemData: {
|
|
277
|
-
serializedName: "systemData",
|
|
278
|
-
type: {
|
|
279
|
-
name: "Composite",
|
|
280
|
-
className: "SystemData"
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
};
|
|
286
|
-
const SystemData = {
|
|
287
|
-
type: {
|
|
288
|
-
name: "Composite",
|
|
289
|
-
className: "SystemData",
|
|
290
|
-
modelProperties: {
|
|
291
|
-
createdBy: {
|
|
292
|
-
serializedName: "createdBy",
|
|
293
|
-
type: {
|
|
294
|
-
name: "String"
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
createdByType: {
|
|
298
|
-
serializedName: "createdByType",
|
|
299
|
-
type: {
|
|
300
|
-
name: "String"
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
createdAt: {
|
|
304
|
-
serializedName: "createdAt",
|
|
305
|
-
type: {
|
|
306
|
-
name: "DateTime"
|
|
307
|
-
}
|
|
308
|
-
},
|
|
309
|
-
lastModifiedBy: {
|
|
310
|
-
serializedName: "lastModifiedBy",
|
|
311
|
-
type: {
|
|
312
|
-
name: "String"
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
lastModifiedByType: {
|
|
316
|
-
serializedName: "lastModifiedByType",
|
|
317
|
-
type: {
|
|
318
|
-
name: "String"
|
|
319
|
-
}
|
|
320
|
-
},
|
|
321
|
-
lastModifiedAt: {
|
|
322
|
-
serializedName: "lastModifiedAt",
|
|
323
|
-
type: {
|
|
324
|
-
name: "DateTime"
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
};
|
|
330
|
-
const ErrorResponse = {
|
|
331
|
-
type: {
|
|
332
|
-
name: "Composite",
|
|
333
|
-
className: "ErrorResponse",
|
|
334
|
-
modelProperties: {
|
|
335
|
-
error: {
|
|
336
|
-
serializedName: "error",
|
|
337
|
-
type: {
|
|
338
|
-
name: "Composite",
|
|
339
|
-
className: "ErrorResponseError"
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
};
|
|
345
|
-
const ErrorResponseError = {
|
|
346
|
-
type: {
|
|
347
|
-
name: "Composite",
|
|
348
|
-
className: "ErrorResponseError",
|
|
349
|
-
modelProperties: {
|
|
350
|
-
code: {
|
|
351
|
-
serializedName: "code",
|
|
352
|
-
type: {
|
|
353
|
-
name: "String"
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
|
-
message: {
|
|
357
|
-
serializedName: "message",
|
|
358
|
-
type: {
|
|
359
|
-
name: "String"
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
};
|
|
365
|
-
const DedicatedCapacityUpdateParameters = {
|
|
366
|
-
type: {
|
|
367
|
-
name: "Composite",
|
|
368
|
-
className: "DedicatedCapacityUpdateParameters",
|
|
369
|
-
modelProperties: {
|
|
370
|
-
sku: {
|
|
371
|
-
serializedName: "sku",
|
|
372
|
-
type: {
|
|
373
|
-
name: "Composite",
|
|
374
|
-
className: "CapacitySku"
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
tags: {
|
|
378
|
-
serializedName: "tags",
|
|
379
|
-
type: {
|
|
380
|
-
name: "Dictionary",
|
|
381
|
-
value: { type: { name: "String" } }
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
administration: {
|
|
385
|
-
serializedName: "properties.administration",
|
|
386
|
-
type: {
|
|
387
|
-
name: "Composite",
|
|
388
|
-
className: "DedicatedCapacityAdministrators"
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
mode: {
|
|
392
|
-
serializedName: "properties.mode",
|
|
393
|
-
type: {
|
|
394
|
-
name: "String"
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
};
|
|
400
|
-
const DedicatedCapacities = {
|
|
401
|
-
type: {
|
|
402
|
-
name: "Composite",
|
|
403
|
-
className: "DedicatedCapacities",
|
|
404
|
-
modelProperties: {
|
|
405
|
-
value: {
|
|
406
|
-
serializedName: "value",
|
|
407
|
-
required: true,
|
|
408
|
-
type: {
|
|
409
|
-
name: "Sequence",
|
|
410
|
-
element: {
|
|
411
|
-
type: {
|
|
412
|
-
name: "Composite",
|
|
413
|
-
className: "DedicatedCapacity"
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
};
|
|
421
|
-
const SkuEnumerationForNewResourceResult = {
|
|
422
|
-
type: {
|
|
423
|
-
name: "Composite",
|
|
424
|
-
className: "SkuEnumerationForNewResourceResult",
|
|
425
|
-
modelProperties: {
|
|
426
|
-
value: {
|
|
427
|
-
serializedName: "value",
|
|
428
|
-
type: {
|
|
429
|
-
name: "Sequence",
|
|
430
|
-
element: {
|
|
431
|
-
type: {
|
|
432
|
-
name: "Composite",
|
|
433
|
-
className: "CapacitySku"
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
};
|
|
441
|
-
const SkuEnumerationForExistingResourceResult = {
|
|
442
|
-
type: {
|
|
443
|
-
name: "Composite",
|
|
444
|
-
className: "SkuEnumerationForExistingResourceResult",
|
|
445
|
-
modelProperties: {
|
|
446
|
-
value: {
|
|
447
|
-
serializedName: "value",
|
|
448
|
-
type: {
|
|
449
|
-
name: "Sequence",
|
|
450
|
-
element: {
|
|
451
|
-
type: {
|
|
452
|
-
name: "Composite",
|
|
453
|
-
className: "SkuDetailsForExistingResource"
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
};
|
|
461
|
-
const SkuDetailsForExistingResource = {
|
|
462
|
-
type: {
|
|
463
|
-
name: "Composite",
|
|
464
|
-
className: "SkuDetailsForExistingResource",
|
|
465
|
-
modelProperties: {
|
|
466
|
-
sku: {
|
|
467
|
-
serializedName: "sku",
|
|
468
|
-
type: {
|
|
469
|
-
name: "Composite",
|
|
470
|
-
className: "CapacitySku"
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
};
|
|
476
|
-
const OperationListResult = {
|
|
477
|
-
type: {
|
|
478
|
-
name: "Composite",
|
|
479
|
-
className: "OperationListResult",
|
|
480
|
-
modelProperties: {
|
|
481
|
-
value: {
|
|
482
|
-
serializedName: "value",
|
|
483
|
-
readOnly: true,
|
|
484
|
-
type: {
|
|
485
|
-
name: "Sequence",
|
|
486
|
-
element: {
|
|
487
|
-
type: {
|
|
488
|
-
name: "Composite",
|
|
489
|
-
className: "Operation"
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
},
|
|
494
|
-
nextLink: {
|
|
495
|
-
serializedName: "nextLink",
|
|
496
|
-
readOnly: true,
|
|
497
|
-
type: {
|
|
498
|
-
name: "String"
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
};
|
|
504
|
-
const Operation = {
|
|
505
|
-
type: {
|
|
506
|
-
name: "Composite",
|
|
507
|
-
className: "Operation",
|
|
508
|
-
modelProperties: {
|
|
509
|
-
name: {
|
|
510
|
-
serializedName: "name",
|
|
511
|
-
readOnly: true,
|
|
512
|
-
type: {
|
|
513
|
-
name: "String"
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
display: {
|
|
517
|
-
serializedName: "display",
|
|
518
|
-
type: {
|
|
519
|
-
name: "Composite",
|
|
520
|
-
className: "OperationDisplay"
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
};
|
|
526
|
-
const OperationDisplay = {
|
|
527
|
-
type: {
|
|
528
|
-
name: "Composite",
|
|
529
|
-
className: "OperationDisplay",
|
|
530
|
-
modelProperties: {
|
|
531
|
-
provider: {
|
|
532
|
-
serializedName: "provider",
|
|
533
|
-
readOnly: true,
|
|
534
|
-
type: {
|
|
535
|
-
name: "String"
|
|
536
|
-
}
|
|
537
|
-
},
|
|
538
|
-
resource: {
|
|
539
|
-
serializedName: "resource",
|
|
540
|
-
readOnly: true,
|
|
541
|
-
type: {
|
|
542
|
-
name: "String"
|
|
543
|
-
}
|
|
544
|
-
},
|
|
545
|
-
operation: {
|
|
546
|
-
serializedName: "operation",
|
|
547
|
-
readOnly: true,
|
|
548
|
-
type: {
|
|
549
|
-
name: "String"
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
};
|
|
555
|
-
const CheckCapacityNameAvailabilityParameters = {
|
|
556
|
-
type: {
|
|
557
|
-
name: "Composite",
|
|
558
|
-
className: "CheckCapacityNameAvailabilityParameters",
|
|
559
|
-
modelProperties: {
|
|
560
|
-
name: {
|
|
561
|
-
constraints: {
|
|
562
|
-
Pattern: new RegExp("^[a-z][a-z0-9]*$"),
|
|
563
|
-
MaxLength: 63,
|
|
564
|
-
MinLength: 3
|
|
565
|
-
},
|
|
566
|
-
serializedName: "name",
|
|
567
|
-
type: {
|
|
568
|
-
name: "String"
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
type: {
|
|
572
|
-
defaultValue: "Microsoft.PowerBIDedicated/capacities",
|
|
573
|
-
serializedName: "type",
|
|
574
|
-
type: {
|
|
575
|
-
name: "String"
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
};
|
|
581
|
-
const CheckCapacityNameAvailabilityResult = {
|
|
582
|
-
type: {
|
|
583
|
-
name: "Composite",
|
|
584
|
-
className: "CheckCapacityNameAvailabilityResult",
|
|
585
|
-
modelProperties: {
|
|
586
|
-
nameAvailable: {
|
|
587
|
-
serializedName: "nameAvailable",
|
|
588
|
-
type: {
|
|
589
|
-
name: "Boolean"
|
|
590
|
-
}
|
|
591
|
-
},
|
|
592
|
-
reason: {
|
|
593
|
-
serializedName: "reason",
|
|
594
|
-
type: {
|
|
595
|
-
name: "String"
|
|
596
|
-
}
|
|
597
|
-
},
|
|
598
|
-
message: {
|
|
599
|
-
serializedName: "message",
|
|
600
|
-
type: {
|
|
601
|
-
name: "String"
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
};
|
|
607
|
-
const AutoScaleVCoreSku = {
|
|
608
|
-
type: {
|
|
609
|
-
name: "Composite",
|
|
610
|
-
className: "AutoScaleVCoreSku",
|
|
611
|
-
modelProperties: {
|
|
612
|
-
name: {
|
|
613
|
-
serializedName: "name",
|
|
614
|
-
required: true,
|
|
615
|
-
type: {
|
|
616
|
-
name: "String"
|
|
617
|
-
}
|
|
618
|
-
},
|
|
619
|
-
tier: {
|
|
620
|
-
serializedName: "tier",
|
|
621
|
-
type: {
|
|
622
|
-
name: "String"
|
|
623
|
-
}
|
|
624
|
-
},
|
|
625
|
-
capacity: {
|
|
626
|
-
serializedName: "capacity",
|
|
627
|
-
type: {
|
|
628
|
-
name: "Number"
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
};
|
|
634
|
-
const AutoScaleVCoreMutableProperties = {
|
|
635
|
-
type: {
|
|
636
|
-
name: "Composite",
|
|
637
|
-
className: "AutoScaleVCoreMutableProperties",
|
|
638
|
-
modelProperties: {
|
|
639
|
-
capacityLimit: {
|
|
640
|
-
serializedName: "capacityLimit",
|
|
641
|
-
type: {
|
|
642
|
-
name: "Number"
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
};
|
|
648
|
-
const AutoScaleVCoreUpdateParameters = {
|
|
649
|
-
type: {
|
|
650
|
-
name: "Composite",
|
|
651
|
-
className: "AutoScaleVCoreUpdateParameters",
|
|
652
|
-
modelProperties: {
|
|
653
|
-
sku: {
|
|
654
|
-
serializedName: "sku",
|
|
655
|
-
type: {
|
|
656
|
-
name: "Composite",
|
|
657
|
-
className: "AutoScaleVCoreSku"
|
|
658
|
-
}
|
|
659
|
-
},
|
|
660
|
-
tags: {
|
|
661
|
-
serializedName: "tags",
|
|
662
|
-
type: {
|
|
663
|
-
name: "Dictionary",
|
|
664
|
-
value: { type: { name: "String" } }
|
|
665
|
-
}
|
|
666
|
-
},
|
|
667
|
-
capacityLimit: {
|
|
668
|
-
serializedName: "properties.capacityLimit",
|
|
669
|
-
type: {
|
|
670
|
-
name: "Number"
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
};
|
|
676
|
-
const AutoScaleVCoreListResult = {
|
|
677
|
-
type: {
|
|
678
|
-
name: "Composite",
|
|
679
|
-
className: "AutoScaleVCoreListResult",
|
|
680
|
-
modelProperties: {
|
|
681
|
-
value: {
|
|
682
|
-
serializedName: "value",
|
|
683
|
-
required: true,
|
|
684
|
-
type: {
|
|
685
|
-
name: "Sequence",
|
|
686
|
-
element: {
|
|
687
|
-
type: {
|
|
688
|
-
name: "Composite",
|
|
689
|
-
className: "AutoScaleVCore"
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
};
|
|
697
|
-
const DedicatedCapacityProperties = {
|
|
698
|
-
type: {
|
|
699
|
-
name: "Composite",
|
|
700
|
-
className: "DedicatedCapacityProperties",
|
|
701
|
-
modelProperties: Object.assign(Object.assign({}, DedicatedCapacityMutableProperties.type.modelProperties), { state: {
|
|
702
|
-
serializedName: "state",
|
|
703
|
-
readOnly: true,
|
|
704
|
-
type: {
|
|
705
|
-
name: "String"
|
|
706
|
-
}
|
|
707
|
-
}, provisioningState: {
|
|
708
|
-
serializedName: "provisioningState",
|
|
709
|
-
readOnly: true,
|
|
710
|
-
type: {
|
|
711
|
-
name: "String"
|
|
712
|
-
}
|
|
713
|
-
} })
|
|
714
|
-
}
|
|
715
|
-
};
|
|
716
|
-
const DedicatedCapacity = {
|
|
717
|
-
type: {
|
|
718
|
-
name: "Composite",
|
|
719
|
-
className: "DedicatedCapacity",
|
|
720
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { sku: {
|
|
721
|
-
serializedName: "sku",
|
|
722
|
-
type: {
|
|
723
|
-
name: "Composite",
|
|
724
|
-
className: "CapacitySku"
|
|
725
|
-
}
|
|
726
|
-
}, administration: {
|
|
727
|
-
serializedName: "properties.administration",
|
|
728
|
-
type: {
|
|
729
|
-
name: "Composite",
|
|
730
|
-
className: "DedicatedCapacityAdministrators"
|
|
731
|
-
}
|
|
732
|
-
}, mode: {
|
|
733
|
-
serializedName: "properties.mode",
|
|
734
|
-
type: {
|
|
735
|
-
name: "String"
|
|
736
|
-
}
|
|
737
|
-
}, state: {
|
|
738
|
-
serializedName: "properties.state",
|
|
739
|
-
readOnly: true,
|
|
740
|
-
type: {
|
|
741
|
-
name: "String"
|
|
742
|
-
}
|
|
743
|
-
}, provisioningState: {
|
|
744
|
-
serializedName: "properties.provisioningState",
|
|
745
|
-
readOnly: true,
|
|
746
|
-
type: {
|
|
747
|
-
name: "String"
|
|
748
|
-
}
|
|
749
|
-
} })
|
|
750
|
-
}
|
|
751
|
-
};
|
|
752
|
-
const AutoScaleVCore = {
|
|
753
|
-
type: {
|
|
754
|
-
name: "Composite",
|
|
755
|
-
className: "AutoScaleVCore",
|
|
756
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { sku: {
|
|
757
|
-
serializedName: "sku",
|
|
758
|
-
type: {
|
|
759
|
-
name: "Composite",
|
|
760
|
-
className: "AutoScaleVCoreSku"
|
|
761
|
-
}
|
|
762
|
-
}, capacityLimit: {
|
|
763
|
-
serializedName: "properties.capacityLimit",
|
|
764
|
-
type: {
|
|
765
|
-
name: "Number"
|
|
766
|
-
}
|
|
767
|
-
}, capacityObjectId: {
|
|
768
|
-
serializedName: "properties.capacityObjectId",
|
|
769
|
-
type: {
|
|
770
|
-
name: "String"
|
|
771
|
-
}
|
|
772
|
-
}, provisioningState: {
|
|
773
|
-
serializedName: "properties.provisioningState",
|
|
774
|
-
readOnly: true,
|
|
775
|
-
type: {
|
|
776
|
-
name: "String"
|
|
777
|
-
}
|
|
778
|
-
} })
|
|
779
|
-
}
|
|
780
|
-
};
|
|
781
|
-
const AutoScaleVCoreProperties = {
|
|
782
|
-
type: {
|
|
783
|
-
name: "Composite",
|
|
784
|
-
className: "AutoScaleVCoreProperties",
|
|
785
|
-
modelProperties: Object.assign(Object.assign({}, AutoScaleVCoreMutableProperties.type.modelProperties), { capacityObjectId: {
|
|
786
|
-
serializedName: "capacityObjectId",
|
|
787
|
-
type: {
|
|
788
|
-
name: "String"
|
|
789
|
-
}
|
|
790
|
-
}, provisioningState: {
|
|
791
|
-
serializedName: "provisioningState",
|
|
792
|
-
readOnly: true,
|
|
793
|
-
type: {
|
|
794
|
-
name: "String"
|
|
795
|
-
}
|
|
796
|
-
} })
|
|
797
|
-
}
|
|
798
|
-
};
|
|
799
|
-
|
|
800
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
801
|
-
__proto__: null,
|
|
802
|
-
AutoScaleVCore: AutoScaleVCore,
|
|
803
|
-
AutoScaleVCoreListResult: AutoScaleVCoreListResult,
|
|
804
|
-
AutoScaleVCoreMutableProperties: AutoScaleVCoreMutableProperties,
|
|
805
|
-
AutoScaleVCoreProperties: AutoScaleVCoreProperties,
|
|
806
|
-
AutoScaleVCoreSku: AutoScaleVCoreSku,
|
|
807
|
-
AutoScaleVCoreUpdateParameters: AutoScaleVCoreUpdateParameters,
|
|
808
|
-
CapacitySku: CapacitySku,
|
|
809
|
-
CheckCapacityNameAvailabilityParameters: CheckCapacityNameAvailabilityParameters,
|
|
810
|
-
CheckCapacityNameAvailabilityResult: CheckCapacityNameAvailabilityResult,
|
|
811
|
-
DedicatedCapacities: DedicatedCapacities,
|
|
812
|
-
DedicatedCapacity: DedicatedCapacity,
|
|
813
|
-
DedicatedCapacityAdministrators: DedicatedCapacityAdministrators,
|
|
814
|
-
DedicatedCapacityMutableProperties: DedicatedCapacityMutableProperties,
|
|
815
|
-
DedicatedCapacityProperties: DedicatedCapacityProperties,
|
|
816
|
-
DedicatedCapacityUpdateParameters: DedicatedCapacityUpdateParameters,
|
|
817
|
-
ErrorResponse: ErrorResponse,
|
|
818
|
-
ErrorResponseError: ErrorResponseError,
|
|
819
|
-
Operation: Operation,
|
|
820
|
-
OperationDisplay: OperationDisplay,
|
|
821
|
-
OperationListResult: OperationListResult,
|
|
822
|
-
Resource: Resource,
|
|
823
|
-
SkuDetailsForExistingResource: SkuDetailsForExistingResource,
|
|
824
|
-
SkuEnumerationForExistingResourceResult: SkuEnumerationForExistingResourceResult,
|
|
825
|
-
SkuEnumerationForNewResourceResult: SkuEnumerationForNewResourceResult,
|
|
826
|
-
SystemData: SystemData
|
|
827
|
-
});
|
|
828
|
-
|
|
829
|
-
/*
|
|
830
|
-
* Copyright (c) Microsoft Corporation.
|
|
831
|
-
* Licensed under the MIT License.
|
|
832
|
-
*
|
|
833
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
834
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
835
|
-
*/
|
|
836
|
-
const accept = {
|
|
837
|
-
parameterPath: "accept",
|
|
838
|
-
mapper: {
|
|
839
|
-
defaultValue: "application/json",
|
|
840
|
-
isConstant: true,
|
|
841
|
-
serializedName: "Accept",
|
|
842
|
-
type: {
|
|
843
|
-
name: "String"
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
};
|
|
847
|
-
const $host = {
|
|
848
|
-
parameterPath: "$host",
|
|
849
|
-
mapper: {
|
|
850
|
-
serializedName: "$host",
|
|
851
|
-
required: true,
|
|
852
|
-
type: {
|
|
853
|
-
name: "String"
|
|
854
|
-
}
|
|
855
|
-
},
|
|
856
|
-
skipEncoding: true
|
|
857
|
-
};
|
|
858
|
-
const resourceGroupName = {
|
|
859
|
-
parameterPath: "resourceGroupName",
|
|
860
|
-
mapper: {
|
|
861
|
-
constraints: {
|
|
862
|
-
Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
|
|
863
|
-
MaxLength: 90,
|
|
864
|
-
MinLength: 1
|
|
865
|
-
},
|
|
866
|
-
serializedName: "resourceGroupName",
|
|
867
|
-
required: true,
|
|
868
|
-
type: {
|
|
869
|
-
name: "String"
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
};
|
|
873
|
-
const dedicatedCapacityName = {
|
|
874
|
-
parameterPath: "dedicatedCapacityName",
|
|
875
|
-
mapper: {
|
|
876
|
-
constraints: {
|
|
877
|
-
Pattern: new RegExp("^[a-z][a-z0-9]*$"),
|
|
878
|
-
MaxLength: 63,
|
|
879
|
-
MinLength: 3
|
|
880
|
-
},
|
|
881
|
-
serializedName: "dedicatedCapacityName",
|
|
882
|
-
required: true,
|
|
883
|
-
type: {
|
|
884
|
-
name: "String"
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
};
|
|
888
|
-
const apiVersion = {
|
|
889
|
-
parameterPath: "apiVersion",
|
|
890
|
-
mapper: {
|
|
891
|
-
defaultValue: "2021-01-01",
|
|
892
|
-
isConstant: true,
|
|
893
|
-
serializedName: "api-version",
|
|
894
|
-
type: {
|
|
895
|
-
name: "String"
|
|
896
|
-
}
|
|
897
|
-
}
|
|
898
|
-
};
|
|
899
|
-
const subscriptionId = {
|
|
900
|
-
parameterPath: "subscriptionId",
|
|
901
|
-
mapper: {
|
|
902
|
-
serializedName: "subscriptionId",
|
|
903
|
-
required: true,
|
|
904
|
-
type: {
|
|
905
|
-
name: "String"
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
};
|
|
909
|
-
const contentType = {
|
|
910
|
-
parameterPath: ["options", "contentType"],
|
|
911
|
-
mapper: {
|
|
912
|
-
defaultValue: "application/json",
|
|
913
|
-
isConstant: true,
|
|
914
|
-
serializedName: "Content-Type",
|
|
915
|
-
type: {
|
|
916
|
-
name: "String"
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
};
|
|
920
|
-
const capacityParameters = {
|
|
921
|
-
parameterPath: "capacityParameters",
|
|
922
|
-
mapper: DedicatedCapacity
|
|
923
|
-
};
|
|
924
|
-
const capacityUpdateParameters = {
|
|
925
|
-
parameterPath: "capacityUpdateParameters",
|
|
926
|
-
mapper: DedicatedCapacityUpdateParameters
|
|
927
|
-
};
|
|
928
|
-
const capacityParameters1 = {
|
|
929
|
-
parameterPath: "capacityParameters",
|
|
930
|
-
mapper: CheckCapacityNameAvailabilityParameters
|
|
931
|
-
};
|
|
932
|
-
const location = {
|
|
933
|
-
parameterPath: "location",
|
|
934
|
-
mapper: {
|
|
935
|
-
serializedName: "location",
|
|
936
|
-
required: true,
|
|
937
|
-
type: {
|
|
938
|
-
name: "String"
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
};
|
|
942
|
-
const nextLink = {
|
|
943
|
-
parameterPath: "nextLink",
|
|
944
|
-
mapper: {
|
|
945
|
-
serializedName: "nextLink",
|
|
946
|
-
required: true,
|
|
947
|
-
type: {
|
|
948
|
-
name: "String"
|
|
949
|
-
}
|
|
950
|
-
},
|
|
951
|
-
skipEncoding: true
|
|
952
|
-
};
|
|
953
|
-
const vcoreName = {
|
|
954
|
-
parameterPath: "vcoreName",
|
|
955
|
-
mapper: {
|
|
956
|
-
constraints: {
|
|
957
|
-
Pattern: new RegExp("^[-a-zA-Z0-9_]+$"),
|
|
958
|
-
MaxLength: 63,
|
|
959
|
-
MinLength: 3
|
|
960
|
-
},
|
|
961
|
-
serializedName: "vcoreName",
|
|
962
|
-
required: true,
|
|
963
|
-
type: {
|
|
964
|
-
name: "String"
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
};
|
|
968
|
-
const vCoreParameters = {
|
|
969
|
-
parameterPath: "vCoreParameters",
|
|
970
|
-
mapper: AutoScaleVCore
|
|
971
|
-
};
|
|
972
|
-
const vCoreUpdateParameters = {
|
|
973
|
-
parameterPath: "vCoreUpdateParameters",
|
|
974
|
-
mapper: AutoScaleVCoreUpdateParameters
|
|
975
|
-
};
|
|
976
|
-
|
|
977
|
-
/*
|
|
978
|
-
* Copyright (c) Microsoft Corporation.
|
|
979
|
-
* Licensed under the MIT License.
|
|
980
|
-
*
|
|
981
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
982
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
983
|
-
*/
|
|
984
|
-
class LroImpl {
|
|
985
|
-
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
986
|
-
this.sendOperationFn = sendOperationFn;
|
|
987
|
-
this.args = args;
|
|
988
|
-
this.spec = spec;
|
|
989
|
-
this.requestPath = requestPath;
|
|
990
|
-
this.requestMethod = requestMethod;
|
|
991
|
-
}
|
|
992
|
-
sendInitialRequest() {
|
|
993
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
994
|
-
return this.sendOperationFn(this.args, this.spec);
|
|
995
|
-
});
|
|
996
|
-
}
|
|
997
|
-
sendPollRequest(path) {
|
|
998
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
999
|
-
const _a = this.spec, { requestBody } = _a, restSpec = tslib.__rest(_a, ["requestBody"]);
|
|
1000
|
-
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
1001
|
-
});
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
/*
|
|
1006
|
-
* Copyright (c) Microsoft Corporation.
|
|
1007
|
-
* Licensed under the MIT License.
|
|
1008
|
-
*
|
|
1009
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1010
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1011
|
-
*/
|
|
1012
|
-
/// <reference lib="esnext.asynciterable" />
|
|
1013
|
-
/** Class containing Capacities operations. */
|
|
1014
|
-
class CapacitiesImpl {
|
|
1015
|
-
/**
|
|
1016
|
-
* Initialize a new instance of the class Capacities class.
|
|
1017
|
-
* @param client Reference to the service client
|
|
1018
|
-
*/
|
|
1019
|
-
constructor(client) {
|
|
1020
|
-
this.client = client;
|
|
1021
|
-
}
|
|
1022
|
-
/**
|
|
1023
|
-
* Gets all the Dedicated capacities for the given resource group.
|
|
1024
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1025
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1026
|
-
* @param options The options parameters.
|
|
1027
|
-
*/
|
|
1028
|
-
listByResourceGroup(resourceGroupName, options) {
|
|
1029
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
1030
|
-
return {
|
|
1031
|
-
next() {
|
|
1032
|
-
return iter.next();
|
|
1033
|
-
},
|
|
1034
|
-
[Symbol.asyncIterator]() {
|
|
1035
|
-
return this;
|
|
1036
|
-
},
|
|
1037
|
-
byPage: (settings) => {
|
|
1038
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
1039
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
1040
|
-
}
|
|
1041
|
-
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
1042
|
-
}
|
|
1043
|
-
};
|
|
1044
|
-
}
|
|
1045
|
-
listByResourceGroupPagingPage(resourceGroupName, options, _settings) {
|
|
1046
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
1047
|
-
let result;
|
|
1048
|
-
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
1049
|
-
yield yield tslib.__await(result.value || []);
|
|
1050
|
-
});
|
|
1051
|
-
}
|
|
1052
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
1053
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
1054
|
-
var _a, e_1, _b, _c;
|
|
1055
|
-
try {
|
|
1056
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1057
|
-
_c = _f.value;
|
|
1058
|
-
_d = false;
|
|
1059
|
-
const page = _c;
|
|
1060
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1064
|
-
finally {
|
|
1065
|
-
try {
|
|
1066
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1067
|
-
}
|
|
1068
|
-
finally { if (e_1) throw e_1.error; }
|
|
1069
|
-
}
|
|
1070
|
-
});
|
|
1071
|
-
}
|
|
1072
|
-
/**
|
|
1073
|
-
* Lists all the Dedicated capacities for the given subscription.
|
|
1074
|
-
* @param options The options parameters.
|
|
1075
|
-
*/
|
|
1076
|
-
list(options) {
|
|
1077
|
-
const iter = this.listPagingAll(options);
|
|
1078
|
-
return {
|
|
1079
|
-
next() {
|
|
1080
|
-
return iter.next();
|
|
1081
|
-
},
|
|
1082
|
-
[Symbol.asyncIterator]() {
|
|
1083
|
-
return this;
|
|
1084
|
-
},
|
|
1085
|
-
byPage: (settings) => {
|
|
1086
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
1087
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
1088
|
-
}
|
|
1089
|
-
return this.listPagingPage(options, settings);
|
|
1090
|
-
}
|
|
1091
|
-
};
|
|
1092
|
-
}
|
|
1093
|
-
listPagingPage(options, _settings) {
|
|
1094
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
1095
|
-
let result;
|
|
1096
|
-
result = yield tslib.__await(this._list(options));
|
|
1097
|
-
yield yield tslib.__await(result.value || []);
|
|
1098
|
-
});
|
|
1099
|
-
}
|
|
1100
|
-
listPagingAll(options) {
|
|
1101
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
1102
|
-
var _a, e_2, _b, _c;
|
|
1103
|
-
try {
|
|
1104
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1105
|
-
_c = _f.value;
|
|
1106
|
-
_d = false;
|
|
1107
|
-
const page = _c;
|
|
1108
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1109
|
-
}
|
|
1110
|
-
}
|
|
1111
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1112
|
-
finally {
|
|
1113
|
-
try {
|
|
1114
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1115
|
-
}
|
|
1116
|
-
finally { if (e_2) throw e_2.error; }
|
|
1117
|
-
}
|
|
1118
|
-
});
|
|
1119
|
-
}
|
|
1120
|
-
/**
|
|
1121
|
-
* Gets details about the specified dedicated capacity.
|
|
1122
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1123
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1124
|
-
* @param dedicatedCapacityName The name of the dedicated capacity. It must be a minimum of 3
|
|
1125
|
-
* characters, and a maximum of 63.
|
|
1126
|
-
* @param options The options parameters.
|
|
1127
|
-
*/
|
|
1128
|
-
getDetails(resourceGroupName, dedicatedCapacityName, options) {
|
|
1129
|
-
return this.client.sendOperationRequest({ resourceGroupName, dedicatedCapacityName, options }, getDetailsOperationSpec);
|
|
1130
|
-
}
|
|
1131
|
-
/**
|
|
1132
|
-
* Provisions the specified Dedicated capacity based on the configuration specified in the request.
|
|
1133
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1134
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1135
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be a minimum of 3
|
|
1136
|
-
* characters, and a maximum of 63.
|
|
1137
|
-
* @param capacityParameters Contains the information used to provision the Dedicated capacity.
|
|
1138
|
-
* @param options The options parameters.
|
|
1139
|
-
*/
|
|
1140
|
-
beginCreate(resourceGroupName, dedicatedCapacityName, capacityParameters, options) {
|
|
1141
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1142
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1143
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1144
|
-
});
|
|
1145
|
-
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1146
|
-
var _a;
|
|
1147
|
-
let currentRawResponse = undefined;
|
|
1148
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1149
|
-
const callback = (rawResponse, flatResponse) => {
|
|
1150
|
-
currentRawResponse = rawResponse;
|
|
1151
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1152
|
-
};
|
|
1153
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1154
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
1155
|
-
return {
|
|
1156
|
-
flatResponse,
|
|
1157
|
-
rawResponse: {
|
|
1158
|
-
statusCode: currentRawResponse.status,
|
|
1159
|
-
body: currentRawResponse.parsedBody,
|
|
1160
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1161
|
-
}
|
|
1162
|
-
};
|
|
1163
|
-
});
|
|
1164
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, dedicatedCapacityName, capacityParameters, options }, createOperationSpec$1);
|
|
1165
|
-
const poller = new coreLro.LroEngine(lro, {
|
|
1166
|
-
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1167
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1168
|
-
});
|
|
1169
|
-
yield poller.poll();
|
|
1170
|
-
return poller;
|
|
1171
|
-
});
|
|
1172
|
-
}
|
|
1173
|
-
/**
|
|
1174
|
-
* Provisions the specified Dedicated capacity based on the configuration specified in the request.
|
|
1175
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1176
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1177
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be a minimum of 3
|
|
1178
|
-
* characters, and a maximum of 63.
|
|
1179
|
-
* @param capacityParameters Contains the information used to provision the Dedicated capacity.
|
|
1180
|
-
* @param options The options parameters.
|
|
1181
|
-
*/
|
|
1182
|
-
beginCreateAndWait(resourceGroupName, dedicatedCapacityName, capacityParameters, options) {
|
|
1183
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1184
|
-
const poller = yield this.beginCreate(resourceGroupName, dedicatedCapacityName, capacityParameters, options);
|
|
1185
|
-
return poller.pollUntilDone();
|
|
1186
|
-
});
|
|
1187
|
-
}
|
|
1188
|
-
/**
|
|
1189
|
-
* Deletes the specified Dedicated capacity.
|
|
1190
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1191
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1192
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
1193
|
-
* length, and no more than 63.
|
|
1194
|
-
* @param options The options parameters.
|
|
1195
|
-
*/
|
|
1196
|
-
beginDelete(resourceGroupName, dedicatedCapacityName, options) {
|
|
1197
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1198
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1199
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1200
|
-
});
|
|
1201
|
-
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1202
|
-
var _a;
|
|
1203
|
-
let currentRawResponse = undefined;
|
|
1204
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1205
|
-
const callback = (rawResponse, flatResponse) => {
|
|
1206
|
-
currentRawResponse = rawResponse;
|
|
1207
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1208
|
-
};
|
|
1209
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1210
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
1211
|
-
return {
|
|
1212
|
-
flatResponse,
|
|
1213
|
-
rawResponse: {
|
|
1214
|
-
statusCode: currentRawResponse.status,
|
|
1215
|
-
body: currentRawResponse.parsedBody,
|
|
1216
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1217
|
-
}
|
|
1218
|
-
};
|
|
1219
|
-
});
|
|
1220
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, dedicatedCapacityName, options }, deleteOperationSpec$1);
|
|
1221
|
-
const poller = new coreLro.LroEngine(lro, {
|
|
1222
|
-
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1223
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1224
|
-
});
|
|
1225
|
-
yield poller.poll();
|
|
1226
|
-
return poller;
|
|
1227
|
-
});
|
|
1228
|
-
}
|
|
1229
|
-
/**
|
|
1230
|
-
* Deletes the specified Dedicated capacity.
|
|
1231
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1232
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1233
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
1234
|
-
* length, and no more than 63.
|
|
1235
|
-
* @param options The options parameters.
|
|
1236
|
-
*/
|
|
1237
|
-
beginDeleteAndWait(resourceGroupName, dedicatedCapacityName, options) {
|
|
1238
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1239
|
-
const poller = yield this.beginDelete(resourceGroupName, dedicatedCapacityName, options);
|
|
1240
|
-
return poller.pollUntilDone();
|
|
1241
|
-
});
|
|
1242
|
-
}
|
|
1243
|
-
/**
|
|
1244
|
-
* Updates the current state of the specified Dedicated capacity.
|
|
1245
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1246
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1247
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
1248
|
-
* length, and no more than 63.
|
|
1249
|
-
* @param capacityUpdateParameters Request object that contains the updated information for the
|
|
1250
|
-
* capacity.
|
|
1251
|
-
* @param options The options parameters.
|
|
1252
|
-
*/
|
|
1253
|
-
beginUpdate(resourceGroupName, dedicatedCapacityName, capacityUpdateParameters, options) {
|
|
1254
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1255
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1256
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1257
|
-
});
|
|
1258
|
-
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1259
|
-
var _a;
|
|
1260
|
-
let currentRawResponse = undefined;
|
|
1261
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1262
|
-
const callback = (rawResponse, flatResponse) => {
|
|
1263
|
-
currentRawResponse = rawResponse;
|
|
1264
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1265
|
-
};
|
|
1266
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1267
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
1268
|
-
return {
|
|
1269
|
-
flatResponse,
|
|
1270
|
-
rawResponse: {
|
|
1271
|
-
statusCode: currentRawResponse.status,
|
|
1272
|
-
body: currentRawResponse.parsedBody,
|
|
1273
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1274
|
-
}
|
|
1275
|
-
};
|
|
1276
|
-
});
|
|
1277
|
-
const lro = new LroImpl(sendOperation, {
|
|
1278
|
-
resourceGroupName,
|
|
1279
|
-
dedicatedCapacityName,
|
|
1280
|
-
capacityUpdateParameters,
|
|
1281
|
-
options
|
|
1282
|
-
}, updateOperationSpec$1);
|
|
1283
|
-
const poller = new coreLro.LroEngine(lro, {
|
|
1284
|
-
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1285
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1286
|
-
});
|
|
1287
|
-
yield poller.poll();
|
|
1288
|
-
return poller;
|
|
1289
|
-
});
|
|
1290
|
-
}
|
|
1291
|
-
/**
|
|
1292
|
-
* Updates the current state of the specified Dedicated capacity.
|
|
1293
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1294
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1295
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
1296
|
-
* length, and no more than 63.
|
|
1297
|
-
* @param capacityUpdateParameters Request object that contains the updated information for the
|
|
1298
|
-
* capacity.
|
|
1299
|
-
* @param options The options parameters.
|
|
1300
|
-
*/
|
|
1301
|
-
beginUpdateAndWait(resourceGroupName, dedicatedCapacityName, capacityUpdateParameters, options) {
|
|
1302
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1303
|
-
const poller = yield this.beginUpdate(resourceGroupName, dedicatedCapacityName, capacityUpdateParameters, options);
|
|
1304
|
-
return poller.pollUntilDone();
|
|
1305
|
-
});
|
|
1306
|
-
}
|
|
1307
|
-
/**
|
|
1308
|
-
* Suspends operation of the specified dedicated capacity instance.
|
|
1309
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1310
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1311
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
1312
|
-
* length, and no more than 63.
|
|
1313
|
-
* @param options The options parameters.
|
|
1314
|
-
*/
|
|
1315
|
-
beginSuspend(resourceGroupName, dedicatedCapacityName, options) {
|
|
1316
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1317
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1318
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1319
|
-
});
|
|
1320
|
-
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1321
|
-
var _a;
|
|
1322
|
-
let currentRawResponse = undefined;
|
|
1323
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1324
|
-
const callback = (rawResponse, flatResponse) => {
|
|
1325
|
-
currentRawResponse = rawResponse;
|
|
1326
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1327
|
-
};
|
|
1328
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1329
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
1330
|
-
return {
|
|
1331
|
-
flatResponse,
|
|
1332
|
-
rawResponse: {
|
|
1333
|
-
statusCode: currentRawResponse.status,
|
|
1334
|
-
body: currentRawResponse.parsedBody,
|
|
1335
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1336
|
-
}
|
|
1337
|
-
};
|
|
1338
|
-
});
|
|
1339
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, dedicatedCapacityName, options }, suspendOperationSpec);
|
|
1340
|
-
const poller = new coreLro.LroEngine(lro, {
|
|
1341
|
-
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1342
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1343
|
-
});
|
|
1344
|
-
yield poller.poll();
|
|
1345
|
-
return poller;
|
|
1346
|
-
});
|
|
1347
|
-
}
|
|
1348
|
-
/**
|
|
1349
|
-
* Suspends operation of the specified dedicated capacity instance.
|
|
1350
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1351
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1352
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
1353
|
-
* length, and no more than 63.
|
|
1354
|
-
* @param options The options parameters.
|
|
1355
|
-
*/
|
|
1356
|
-
beginSuspendAndWait(resourceGroupName, dedicatedCapacityName, options) {
|
|
1357
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1358
|
-
const poller = yield this.beginSuspend(resourceGroupName, dedicatedCapacityName, options);
|
|
1359
|
-
return poller.pollUntilDone();
|
|
1360
|
-
});
|
|
1361
|
-
}
|
|
1362
|
-
/**
|
|
1363
|
-
* Resumes operation of the specified Dedicated capacity instance.
|
|
1364
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1365
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1366
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
1367
|
-
* length, and no more than 63.
|
|
1368
|
-
* @param options The options parameters.
|
|
1369
|
-
*/
|
|
1370
|
-
beginResume(resourceGroupName, dedicatedCapacityName, options) {
|
|
1371
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1372
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1373
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1374
|
-
});
|
|
1375
|
-
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1376
|
-
var _a;
|
|
1377
|
-
let currentRawResponse = undefined;
|
|
1378
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1379
|
-
const callback = (rawResponse, flatResponse) => {
|
|
1380
|
-
currentRawResponse = rawResponse;
|
|
1381
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1382
|
-
};
|
|
1383
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1384
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
1385
|
-
return {
|
|
1386
|
-
flatResponse,
|
|
1387
|
-
rawResponse: {
|
|
1388
|
-
statusCode: currentRawResponse.status,
|
|
1389
|
-
body: currentRawResponse.parsedBody,
|
|
1390
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1391
|
-
}
|
|
1392
|
-
};
|
|
1393
|
-
});
|
|
1394
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, dedicatedCapacityName, options }, resumeOperationSpec);
|
|
1395
|
-
const poller = new coreLro.LroEngine(lro, {
|
|
1396
|
-
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1397
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1398
|
-
});
|
|
1399
|
-
yield poller.poll();
|
|
1400
|
-
return poller;
|
|
1401
|
-
});
|
|
1402
|
-
}
|
|
1403
|
-
/**
|
|
1404
|
-
* Resumes operation of the specified Dedicated capacity instance.
|
|
1405
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1406
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1407
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
1408
|
-
* length, and no more than 63.
|
|
1409
|
-
* @param options The options parameters.
|
|
1410
|
-
*/
|
|
1411
|
-
beginResumeAndWait(resourceGroupName, dedicatedCapacityName, options) {
|
|
1412
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1413
|
-
const poller = yield this.beginResume(resourceGroupName, dedicatedCapacityName, options);
|
|
1414
|
-
return poller.pollUntilDone();
|
|
1415
|
-
});
|
|
1416
|
-
}
|
|
1417
|
-
/**
|
|
1418
|
-
* Gets all the Dedicated capacities for the given resource group.
|
|
1419
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1420
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1421
|
-
* @param options The options parameters.
|
|
1422
|
-
*/
|
|
1423
|
-
_listByResourceGroup(resourceGroupName, options) {
|
|
1424
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$1);
|
|
1425
|
-
}
|
|
1426
|
-
/**
|
|
1427
|
-
* Lists all the Dedicated capacities for the given subscription.
|
|
1428
|
-
* @param options The options parameters.
|
|
1429
|
-
*/
|
|
1430
|
-
_list(options) {
|
|
1431
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$1);
|
|
1432
|
-
}
|
|
1433
|
-
/**
|
|
1434
|
-
* Lists eligible SKUs for PowerBI Dedicated resource provider.
|
|
1435
|
-
* @param options The options parameters.
|
|
1436
|
-
*/
|
|
1437
|
-
listSkus(options) {
|
|
1438
|
-
return this.client.sendOperationRequest({ options }, listSkusOperationSpec);
|
|
1439
|
-
}
|
|
1440
|
-
/**
|
|
1441
|
-
* Lists eligible SKUs for a PowerBI Dedicated resource.
|
|
1442
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1443
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1444
|
-
* @param dedicatedCapacityName The name of the Dedicated capacity. It must be at least 3 characters in
|
|
1445
|
-
* length, and no more than 63.
|
|
1446
|
-
* @param options The options parameters.
|
|
1447
|
-
*/
|
|
1448
|
-
listSkusForCapacity(resourceGroupName, dedicatedCapacityName, options) {
|
|
1449
|
-
return this.client.sendOperationRequest({ resourceGroupName, dedicatedCapacityName, options }, listSkusForCapacityOperationSpec);
|
|
1450
|
-
}
|
|
1451
|
-
/**
|
|
1452
|
-
* Check the name availability in the target location.
|
|
1453
|
-
* @param location The region name which the operation will lookup into.
|
|
1454
|
-
* @param capacityParameters The name of the capacity.
|
|
1455
|
-
* @param options The options parameters.
|
|
1456
|
-
*/
|
|
1457
|
-
checkNameAvailability(location, capacityParameters, options) {
|
|
1458
|
-
return this.client.sendOperationRequest({ location, capacityParameters, options }, checkNameAvailabilityOperationSpec);
|
|
1459
|
-
}
|
|
1460
|
-
}
|
|
1461
|
-
// Operation Specifications
|
|
1462
|
-
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1463
|
-
const getDetailsOperationSpec = {
|
|
1464
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}",
|
|
1465
|
-
httpMethod: "GET",
|
|
1466
|
-
responses: {
|
|
1467
|
-
200: {
|
|
1468
|
-
bodyMapper: DedicatedCapacity
|
|
1469
|
-
},
|
|
1470
|
-
default: {
|
|
1471
|
-
bodyMapper: ErrorResponse
|
|
1472
|
-
}
|
|
1473
|
-
},
|
|
1474
|
-
queryParameters: [apiVersion],
|
|
1475
|
-
urlParameters: [
|
|
1476
|
-
$host,
|
|
1477
|
-
resourceGroupName,
|
|
1478
|
-
dedicatedCapacityName,
|
|
1479
|
-
subscriptionId
|
|
1480
|
-
],
|
|
1481
|
-
headerParameters: [accept],
|
|
1482
|
-
serializer: serializer$2
|
|
1483
|
-
};
|
|
1484
|
-
const createOperationSpec$1 = {
|
|
1485
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}",
|
|
1486
|
-
httpMethod: "PUT",
|
|
1487
|
-
responses: {
|
|
1488
|
-
200: {
|
|
1489
|
-
bodyMapper: DedicatedCapacity
|
|
1490
|
-
},
|
|
1491
|
-
201: {
|
|
1492
|
-
bodyMapper: DedicatedCapacity
|
|
1493
|
-
},
|
|
1494
|
-
202: {
|
|
1495
|
-
bodyMapper: DedicatedCapacity
|
|
1496
|
-
},
|
|
1497
|
-
204: {
|
|
1498
|
-
bodyMapper: DedicatedCapacity
|
|
1499
|
-
},
|
|
1500
|
-
default: {
|
|
1501
|
-
bodyMapper: ErrorResponse
|
|
1502
|
-
}
|
|
1503
|
-
},
|
|
1504
|
-
requestBody: capacityParameters,
|
|
1505
|
-
queryParameters: [apiVersion],
|
|
1506
|
-
urlParameters: [
|
|
1507
|
-
$host,
|
|
1508
|
-
resourceGroupName,
|
|
1509
|
-
dedicatedCapacityName,
|
|
1510
|
-
subscriptionId
|
|
1511
|
-
],
|
|
1512
|
-
headerParameters: [accept, contentType],
|
|
1513
|
-
mediaType: "json",
|
|
1514
|
-
serializer: serializer$2
|
|
1515
|
-
};
|
|
1516
|
-
const deleteOperationSpec$1 = {
|
|
1517
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}",
|
|
1518
|
-
httpMethod: "DELETE",
|
|
1519
|
-
responses: {
|
|
1520
|
-
200: {},
|
|
1521
|
-
201: {},
|
|
1522
|
-
202: {},
|
|
1523
|
-
204: {},
|
|
1524
|
-
default: {
|
|
1525
|
-
bodyMapper: ErrorResponse
|
|
1526
|
-
}
|
|
1527
|
-
},
|
|
1528
|
-
queryParameters: [apiVersion],
|
|
1529
|
-
urlParameters: [
|
|
1530
|
-
$host,
|
|
1531
|
-
resourceGroupName,
|
|
1532
|
-
dedicatedCapacityName,
|
|
1533
|
-
subscriptionId
|
|
1534
|
-
],
|
|
1535
|
-
headerParameters: [accept],
|
|
1536
|
-
serializer: serializer$2
|
|
1537
|
-
};
|
|
1538
|
-
const updateOperationSpec$1 = {
|
|
1539
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}",
|
|
1540
|
-
httpMethod: "PATCH",
|
|
1541
|
-
responses: {
|
|
1542
|
-
200: {
|
|
1543
|
-
bodyMapper: DedicatedCapacity
|
|
1544
|
-
},
|
|
1545
|
-
201: {
|
|
1546
|
-
bodyMapper: DedicatedCapacity
|
|
1547
|
-
},
|
|
1548
|
-
202: {
|
|
1549
|
-
bodyMapper: DedicatedCapacity
|
|
1550
|
-
},
|
|
1551
|
-
204: {
|
|
1552
|
-
bodyMapper: DedicatedCapacity
|
|
1553
|
-
},
|
|
1554
|
-
default: {
|
|
1555
|
-
bodyMapper: ErrorResponse
|
|
1556
|
-
}
|
|
1557
|
-
},
|
|
1558
|
-
requestBody: capacityUpdateParameters,
|
|
1559
|
-
queryParameters: [apiVersion],
|
|
1560
|
-
urlParameters: [
|
|
1561
|
-
$host,
|
|
1562
|
-
resourceGroupName,
|
|
1563
|
-
dedicatedCapacityName,
|
|
1564
|
-
subscriptionId
|
|
1565
|
-
],
|
|
1566
|
-
headerParameters: [accept, contentType],
|
|
1567
|
-
mediaType: "json",
|
|
1568
|
-
serializer: serializer$2
|
|
1569
|
-
};
|
|
1570
|
-
const suspendOperationSpec = {
|
|
1571
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}/suspend",
|
|
1572
|
-
httpMethod: "POST",
|
|
1573
|
-
responses: {
|
|
1574
|
-
200: {},
|
|
1575
|
-
201: {},
|
|
1576
|
-
202: {},
|
|
1577
|
-
204: {},
|
|
1578
|
-
default: {
|
|
1579
|
-
bodyMapper: ErrorResponse
|
|
1580
|
-
}
|
|
1581
|
-
},
|
|
1582
|
-
queryParameters: [apiVersion],
|
|
1583
|
-
urlParameters: [
|
|
1584
|
-
$host,
|
|
1585
|
-
resourceGroupName,
|
|
1586
|
-
dedicatedCapacityName,
|
|
1587
|
-
subscriptionId
|
|
1588
|
-
],
|
|
1589
|
-
headerParameters: [accept],
|
|
1590
|
-
serializer: serializer$2
|
|
1591
|
-
};
|
|
1592
|
-
const resumeOperationSpec = {
|
|
1593
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}/resume",
|
|
1594
|
-
httpMethod: "POST",
|
|
1595
|
-
responses: {
|
|
1596
|
-
200: {},
|
|
1597
|
-
201: {},
|
|
1598
|
-
202: {},
|
|
1599
|
-
204: {},
|
|
1600
|
-
default: {
|
|
1601
|
-
bodyMapper: ErrorResponse
|
|
1602
|
-
}
|
|
1603
|
-
},
|
|
1604
|
-
queryParameters: [apiVersion],
|
|
1605
|
-
urlParameters: [
|
|
1606
|
-
$host,
|
|
1607
|
-
resourceGroupName,
|
|
1608
|
-
dedicatedCapacityName,
|
|
1609
|
-
subscriptionId
|
|
1610
|
-
],
|
|
1611
|
-
headerParameters: [accept],
|
|
1612
|
-
serializer: serializer$2
|
|
1613
|
-
};
|
|
1614
|
-
const listByResourceGroupOperationSpec$1 = {
|
|
1615
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities",
|
|
1616
|
-
httpMethod: "GET",
|
|
1617
|
-
responses: {
|
|
1618
|
-
200: {
|
|
1619
|
-
bodyMapper: DedicatedCapacities
|
|
1620
|
-
},
|
|
1621
|
-
default: {
|
|
1622
|
-
bodyMapper: ErrorResponse
|
|
1623
|
-
}
|
|
1624
|
-
},
|
|
1625
|
-
queryParameters: [apiVersion],
|
|
1626
|
-
urlParameters: [
|
|
1627
|
-
$host,
|
|
1628
|
-
resourceGroupName,
|
|
1629
|
-
subscriptionId
|
|
1630
|
-
],
|
|
1631
|
-
headerParameters: [accept],
|
|
1632
|
-
serializer: serializer$2
|
|
1633
|
-
};
|
|
1634
|
-
const listOperationSpec$1 = {
|
|
1635
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/capacities",
|
|
1636
|
-
httpMethod: "GET",
|
|
1637
|
-
responses: {
|
|
1638
|
-
200: {
|
|
1639
|
-
bodyMapper: DedicatedCapacities
|
|
1640
|
-
},
|
|
1641
|
-
default: {
|
|
1642
|
-
bodyMapper: ErrorResponse
|
|
1643
|
-
}
|
|
1644
|
-
},
|
|
1645
|
-
queryParameters: [apiVersion],
|
|
1646
|
-
urlParameters: [$host, subscriptionId],
|
|
1647
|
-
headerParameters: [accept],
|
|
1648
|
-
serializer: serializer$2
|
|
1649
|
-
};
|
|
1650
|
-
const listSkusOperationSpec = {
|
|
1651
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/skus",
|
|
1652
|
-
httpMethod: "GET",
|
|
1653
|
-
responses: {
|
|
1654
|
-
200: {
|
|
1655
|
-
bodyMapper: SkuEnumerationForNewResourceResult
|
|
1656
|
-
},
|
|
1657
|
-
default: {
|
|
1658
|
-
bodyMapper: ErrorResponse
|
|
1659
|
-
}
|
|
1660
|
-
},
|
|
1661
|
-
queryParameters: [apiVersion],
|
|
1662
|
-
urlParameters: [$host, subscriptionId],
|
|
1663
|
-
headerParameters: [accept],
|
|
1664
|
-
serializer: serializer$2
|
|
1665
|
-
};
|
|
1666
|
-
const listSkusForCapacityOperationSpec = {
|
|
1667
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}/skus",
|
|
1668
|
-
httpMethod: "GET",
|
|
1669
|
-
responses: {
|
|
1670
|
-
200: {
|
|
1671
|
-
bodyMapper: SkuEnumerationForExistingResourceResult
|
|
1672
|
-
},
|
|
1673
|
-
default: {
|
|
1674
|
-
bodyMapper: ErrorResponse
|
|
1675
|
-
}
|
|
1676
|
-
},
|
|
1677
|
-
queryParameters: [apiVersion],
|
|
1678
|
-
urlParameters: [
|
|
1679
|
-
$host,
|
|
1680
|
-
resourceGroupName,
|
|
1681
|
-
dedicatedCapacityName,
|
|
1682
|
-
subscriptionId
|
|
1683
|
-
],
|
|
1684
|
-
headerParameters: [accept],
|
|
1685
|
-
serializer: serializer$2
|
|
1686
|
-
};
|
|
1687
|
-
const checkNameAvailabilityOperationSpec = {
|
|
1688
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/locations/{location}/checkNameAvailability",
|
|
1689
|
-
httpMethod: "POST",
|
|
1690
|
-
responses: {
|
|
1691
|
-
200: {
|
|
1692
|
-
bodyMapper: CheckCapacityNameAvailabilityResult
|
|
1693
|
-
},
|
|
1694
|
-
default: {
|
|
1695
|
-
bodyMapper: ErrorResponse
|
|
1696
|
-
}
|
|
1697
|
-
},
|
|
1698
|
-
requestBody: capacityParameters1,
|
|
1699
|
-
queryParameters: [apiVersion],
|
|
1700
|
-
urlParameters: [
|
|
1701
|
-
$host,
|
|
1702
|
-
subscriptionId,
|
|
1703
|
-
location
|
|
1704
|
-
],
|
|
1705
|
-
headerParameters: [accept, contentType],
|
|
1706
|
-
mediaType: "json",
|
|
1707
|
-
serializer: serializer$2
|
|
1708
|
-
};
|
|
1709
|
-
|
|
1710
|
-
/*
|
|
1711
|
-
* Copyright (c) Microsoft Corporation.
|
|
1712
|
-
* Licensed under the MIT License.
|
|
1713
|
-
*
|
|
1714
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1715
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1716
|
-
*/
|
|
1717
|
-
/// <reference lib="esnext.asynciterable" />
|
|
1718
|
-
/** Class containing Operations operations. */
|
|
1719
|
-
class OperationsImpl {
|
|
1720
|
-
/**
|
|
1721
|
-
* Initialize a new instance of the class Operations class.
|
|
1722
|
-
* @param client Reference to the service client
|
|
1723
|
-
*/
|
|
1724
|
-
constructor(client) {
|
|
1725
|
-
this.client = client;
|
|
1726
|
-
}
|
|
1727
|
-
/**
|
|
1728
|
-
* Lists all of the available PowerBIDedicated REST API operations.
|
|
1729
|
-
* @param options The options parameters.
|
|
1730
|
-
*/
|
|
1731
|
-
list(options) {
|
|
1732
|
-
const iter = this.listPagingAll(options);
|
|
1733
|
-
return {
|
|
1734
|
-
next() {
|
|
1735
|
-
return iter.next();
|
|
1736
|
-
},
|
|
1737
|
-
[Symbol.asyncIterator]() {
|
|
1738
|
-
return this;
|
|
1739
|
-
},
|
|
1740
|
-
byPage: (settings) => {
|
|
1741
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
1742
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
1743
|
-
}
|
|
1744
|
-
return this.listPagingPage(options, settings);
|
|
1745
|
-
}
|
|
1746
|
-
};
|
|
1747
|
-
}
|
|
1748
|
-
listPagingPage(options, settings) {
|
|
1749
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
1750
|
-
let result;
|
|
1751
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
1752
|
-
if (!continuationToken) {
|
|
1753
|
-
result = yield tslib.__await(this._list(options));
|
|
1754
|
-
let page = result.value || [];
|
|
1755
|
-
continuationToken = result.nextLink;
|
|
1756
|
-
setContinuationToken(page, continuationToken);
|
|
1757
|
-
yield yield tslib.__await(page);
|
|
1758
|
-
}
|
|
1759
|
-
while (continuationToken) {
|
|
1760
|
-
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
1761
|
-
continuationToken = result.nextLink;
|
|
1762
|
-
let page = result.value || [];
|
|
1763
|
-
setContinuationToken(page, continuationToken);
|
|
1764
|
-
yield yield tslib.__await(page);
|
|
1765
|
-
}
|
|
1766
|
-
});
|
|
1767
|
-
}
|
|
1768
|
-
listPagingAll(options) {
|
|
1769
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
1770
|
-
var _a, e_1, _b, _c;
|
|
1771
|
-
try {
|
|
1772
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1773
|
-
_c = _f.value;
|
|
1774
|
-
_d = false;
|
|
1775
|
-
const page = _c;
|
|
1776
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1777
|
-
}
|
|
1778
|
-
}
|
|
1779
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1780
|
-
finally {
|
|
1781
|
-
try {
|
|
1782
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1783
|
-
}
|
|
1784
|
-
finally { if (e_1) throw e_1.error; }
|
|
1785
|
-
}
|
|
1786
|
-
});
|
|
1787
|
-
}
|
|
1788
|
-
/**
|
|
1789
|
-
* Lists all of the available PowerBIDedicated REST API operations.
|
|
1790
|
-
* @param options The options parameters.
|
|
1791
|
-
*/
|
|
1792
|
-
_list(options) {
|
|
1793
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
1794
|
-
}
|
|
1795
|
-
/**
|
|
1796
|
-
* ListNext
|
|
1797
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
1798
|
-
* @param options The options parameters.
|
|
1799
|
-
*/
|
|
1800
|
-
_listNext(nextLink, options) {
|
|
1801
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
1802
|
-
}
|
|
1803
|
-
}
|
|
1804
|
-
// Operation Specifications
|
|
1805
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1806
|
-
const listOperationSpec = {
|
|
1807
|
-
path: "/providers/Microsoft.PowerBIDedicated/operations",
|
|
1808
|
-
httpMethod: "GET",
|
|
1809
|
-
responses: {
|
|
1810
|
-
200: {
|
|
1811
|
-
bodyMapper: OperationListResult
|
|
1812
|
-
},
|
|
1813
|
-
default: {
|
|
1814
|
-
bodyMapper: ErrorResponse
|
|
1815
|
-
}
|
|
1816
|
-
},
|
|
1817
|
-
queryParameters: [apiVersion],
|
|
1818
|
-
urlParameters: [$host],
|
|
1819
|
-
headerParameters: [accept],
|
|
1820
|
-
serializer: serializer$1
|
|
1821
|
-
};
|
|
1822
|
-
const listNextOperationSpec = {
|
|
1823
|
-
path: "{nextLink}",
|
|
1824
|
-
httpMethod: "GET",
|
|
1825
|
-
responses: {
|
|
1826
|
-
200: {
|
|
1827
|
-
bodyMapper: OperationListResult
|
|
1828
|
-
},
|
|
1829
|
-
default: {
|
|
1830
|
-
bodyMapper: ErrorResponse
|
|
1831
|
-
}
|
|
1832
|
-
},
|
|
1833
|
-
urlParameters: [$host, nextLink],
|
|
1834
|
-
headerParameters: [accept],
|
|
1835
|
-
serializer: serializer$1
|
|
1836
|
-
};
|
|
1837
|
-
|
|
1838
|
-
/*
|
|
1839
|
-
* Copyright (c) Microsoft Corporation.
|
|
1840
|
-
* Licensed under the MIT License.
|
|
1841
|
-
*
|
|
1842
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1843
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1844
|
-
*/
|
|
1845
|
-
/// <reference lib="esnext.asynciterable" />
|
|
1846
|
-
/** Class containing AutoScaleVCores operations. */
|
|
1847
|
-
class AutoScaleVCoresImpl {
|
|
1848
|
-
/**
|
|
1849
|
-
* Initialize a new instance of the class AutoScaleVCores class.
|
|
1850
|
-
* @param client Reference to the service client
|
|
1851
|
-
*/
|
|
1852
|
-
constructor(client) {
|
|
1853
|
-
this.client = client;
|
|
1854
|
-
}
|
|
1855
|
-
/**
|
|
1856
|
-
* Gets all the auto scale v-cores for the given resource group.
|
|
1857
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1858
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1859
|
-
* @param options The options parameters.
|
|
1860
|
-
*/
|
|
1861
|
-
listByResourceGroup(resourceGroupName, options) {
|
|
1862
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
1863
|
-
return {
|
|
1864
|
-
next() {
|
|
1865
|
-
return iter.next();
|
|
1866
|
-
},
|
|
1867
|
-
[Symbol.asyncIterator]() {
|
|
1868
|
-
return this;
|
|
1869
|
-
},
|
|
1870
|
-
byPage: (settings) => {
|
|
1871
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
1872
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
1873
|
-
}
|
|
1874
|
-
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
1875
|
-
}
|
|
1876
|
-
};
|
|
1877
|
-
}
|
|
1878
|
-
listByResourceGroupPagingPage(resourceGroupName, options, _settings) {
|
|
1879
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
1880
|
-
let result;
|
|
1881
|
-
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
1882
|
-
yield yield tslib.__await(result.value || []);
|
|
1883
|
-
});
|
|
1884
|
-
}
|
|
1885
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
1886
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
1887
|
-
var _a, e_1, _b, _c;
|
|
1888
|
-
try {
|
|
1889
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1890
|
-
_c = _f.value;
|
|
1891
|
-
_d = false;
|
|
1892
|
-
const page = _c;
|
|
1893
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1894
|
-
}
|
|
1895
|
-
}
|
|
1896
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1897
|
-
finally {
|
|
1898
|
-
try {
|
|
1899
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1900
|
-
}
|
|
1901
|
-
finally { if (e_1) throw e_1.error; }
|
|
1902
|
-
}
|
|
1903
|
-
});
|
|
1904
|
-
}
|
|
1905
|
-
/**
|
|
1906
|
-
* Lists all the auto scale v-cores for the given subscription.
|
|
1907
|
-
* @param options The options parameters.
|
|
1908
|
-
*/
|
|
1909
|
-
listBySubscription(options) {
|
|
1910
|
-
const iter = this.listBySubscriptionPagingAll(options);
|
|
1911
|
-
return {
|
|
1912
|
-
next() {
|
|
1913
|
-
return iter.next();
|
|
1914
|
-
},
|
|
1915
|
-
[Symbol.asyncIterator]() {
|
|
1916
|
-
return this;
|
|
1917
|
-
},
|
|
1918
|
-
byPage: (settings) => {
|
|
1919
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
1920
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
1921
|
-
}
|
|
1922
|
-
return this.listBySubscriptionPagingPage(options, settings);
|
|
1923
|
-
}
|
|
1924
|
-
};
|
|
1925
|
-
}
|
|
1926
|
-
listBySubscriptionPagingPage(options, _settings) {
|
|
1927
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
1928
|
-
let result;
|
|
1929
|
-
result = yield tslib.__await(this._listBySubscription(options));
|
|
1930
|
-
yield yield tslib.__await(result.value || []);
|
|
1931
|
-
});
|
|
1932
|
-
}
|
|
1933
|
-
listBySubscriptionPagingAll(options) {
|
|
1934
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
1935
|
-
var _a, e_2, _b, _c;
|
|
1936
|
-
try {
|
|
1937
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1938
|
-
_c = _f.value;
|
|
1939
|
-
_d = false;
|
|
1940
|
-
const page = _c;
|
|
1941
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1942
|
-
}
|
|
1943
|
-
}
|
|
1944
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1945
|
-
finally {
|
|
1946
|
-
try {
|
|
1947
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1948
|
-
}
|
|
1949
|
-
finally { if (e_2) throw e_2.error; }
|
|
1950
|
-
}
|
|
1951
|
-
});
|
|
1952
|
-
}
|
|
1953
|
-
/**
|
|
1954
|
-
* Gets details about the specified auto scale v-core.
|
|
1955
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1956
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1957
|
-
* @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
|
|
1958
|
-
* maximum of 63.
|
|
1959
|
-
* @param options The options parameters.
|
|
1960
|
-
*/
|
|
1961
|
-
get(resourceGroupName, vcoreName, options) {
|
|
1962
|
-
return this.client.sendOperationRequest({ resourceGroupName, vcoreName, options }, getOperationSpec);
|
|
1963
|
-
}
|
|
1964
|
-
/**
|
|
1965
|
-
* Provisions the specified auto scale v-core based on the configuration specified in the request.
|
|
1966
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1967
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1968
|
-
* @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
|
|
1969
|
-
* maximum of 63.
|
|
1970
|
-
* @param vCoreParameters Contains the information used to provision the auto scale v-core.
|
|
1971
|
-
* @param options The options parameters.
|
|
1972
|
-
*/
|
|
1973
|
-
create(resourceGroupName, vcoreName, vCoreParameters, options) {
|
|
1974
|
-
return this.client.sendOperationRequest({ resourceGroupName, vcoreName, vCoreParameters, options }, createOperationSpec);
|
|
1975
|
-
}
|
|
1976
|
-
/**
|
|
1977
|
-
* Deletes the specified auto scale v-core.
|
|
1978
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1979
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1980
|
-
* @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
|
|
1981
|
-
* maximum of 63.
|
|
1982
|
-
* @param options The options parameters.
|
|
1983
|
-
*/
|
|
1984
|
-
delete(resourceGroupName, vcoreName, options) {
|
|
1985
|
-
return this.client.sendOperationRequest({ resourceGroupName, vcoreName, options }, deleteOperationSpec);
|
|
1986
|
-
}
|
|
1987
|
-
/**
|
|
1988
|
-
* Updates the current state of the specified auto scale v-core.
|
|
1989
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
1990
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
1991
|
-
* @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a
|
|
1992
|
-
* maximum of 63.
|
|
1993
|
-
* @param vCoreUpdateParameters Request object that contains the updated information for the auto scale
|
|
1994
|
-
* v-core.
|
|
1995
|
-
* @param options The options parameters.
|
|
1996
|
-
*/
|
|
1997
|
-
update(resourceGroupName, vcoreName, vCoreUpdateParameters, options) {
|
|
1998
|
-
return this.client.sendOperationRequest({ resourceGroupName, vcoreName, vCoreUpdateParameters, options }, updateOperationSpec);
|
|
1999
|
-
}
|
|
2000
|
-
/**
|
|
2001
|
-
* Gets all the auto scale v-cores for the given resource group.
|
|
2002
|
-
* @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated
|
|
2003
|
-
* capacity is part. This name must be at least 1 character in length, and no more than 90.
|
|
2004
|
-
* @param options The options parameters.
|
|
2005
|
-
*/
|
|
2006
|
-
_listByResourceGroup(resourceGroupName, options) {
|
|
2007
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
2008
|
-
}
|
|
2009
|
-
/**
|
|
2010
|
-
* Lists all the auto scale v-cores for the given subscription.
|
|
2011
|
-
* @param options The options parameters.
|
|
2012
|
-
*/
|
|
2013
|
-
_listBySubscription(options) {
|
|
2014
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
2015
|
-
}
|
|
2016
|
-
}
|
|
2017
|
-
// Operation Specifications
|
|
2018
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2019
|
-
const getOperationSpec = {
|
|
2020
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}",
|
|
2021
|
-
httpMethod: "GET",
|
|
2022
|
-
responses: {
|
|
2023
|
-
200: {
|
|
2024
|
-
bodyMapper: AutoScaleVCore
|
|
2025
|
-
},
|
|
2026
|
-
default: {
|
|
2027
|
-
bodyMapper: ErrorResponse
|
|
2028
|
-
}
|
|
2029
|
-
},
|
|
2030
|
-
queryParameters: [apiVersion],
|
|
2031
|
-
urlParameters: [
|
|
2032
|
-
$host,
|
|
2033
|
-
resourceGroupName,
|
|
2034
|
-
subscriptionId,
|
|
2035
|
-
vcoreName
|
|
2036
|
-
],
|
|
2037
|
-
headerParameters: [accept],
|
|
2038
|
-
serializer
|
|
2039
|
-
};
|
|
2040
|
-
const createOperationSpec = {
|
|
2041
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}",
|
|
2042
|
-
httpMethod: "PUT",
|
|
2043
|
-
responses: {
|
|
2044
|
-
200: {
|
|
2045
|
-
bodyMapper: AutoScaleVCore
|
|
2046
|
-
},
|
|
2047
|
-
default: {
|
|
2048
|
-
bodyMapper: ErrorResponse
|
|
2049
|
-
}
|
|
2050
|
-
},
|
|
2051
|
-
requestBody: vCoreParameters,
|
|
2052
|
-
queryParameters: [apiVersion],
|
|
2053
|
-
urlParameters: [
|
|
2054
|
-
$host,
|
|
2055
|
-
resourceGroupName,
|
|
2056
|
-
subscriptionId,
|
|
2057
|
-
vcoreName
|
|
2058
|
-
],
|
|
2059
|
-
headerParameters: [accept, contentType],
|
|
2060
|
-
mediaType: "json",
|
|
2061
|
-
serializer
|
|
2062
|
-
};
|
|
2063
|
-
const deleteOperationSpec = {
|
|
2064
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}",
|
|
2065
|
-
httpMethod: "DELETE",
|
|
2066
|
-
responses: {
|
|
2067
|
-
200: {},
|
|
2068
|
-
204: {},
|
|
2069
|
-
default: {
|
|
2070
|
-
bodyMapper: ErrorResponse
|
|
2071
|
-
}
|
|
2072
|
-
},
|
|
2073
|
-
queryParameters: [apiVersion],
|
|
2074
|
-
urlParameters: [
|
|
2075
|
-
$host,
|
|
2076
|
-
resourceGroupName,
|
|
2077
|
-
subscriptionId,
|
|
2078
|
-
vcoreName
|
|
2079
|
-
],
|
|
2080
|
-
headerParameters: [accept],
|
|
2081
|
-
serializer
|
|
2082
|
-
};
|
|
2083
|
-
const updateOperationSpec = {
|
|
2084
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}",
|
|
2085
|
-
httpMethod: "PATCH",
|
|
2086
|
-
responses: {
|
|
2087
|
-
200: {
|
|
2088
|
-
bodyMapper: AutoScaleVCore
|
|
2089
|
-
},
|
|
2090
|
-
default: {
|
|
2091
|
-
bodyMapper: ErrorResponse
|
|
2092
|
-
}
|
|
2093
|
-
},
|
|
2094
|
-
requestBody: vCoreUpdateParameters,
|
|
2095
|
-
queryParameters: [apiVersion],
|
|
2096
|
-
urlParameters: [
|
|
2097
|
-
$host,
|
|
2098
|
-
resourceGroupName,
|
|
2099
|
-
subscriptionId,
|
|
2100
|
-
vcoreName
|
|
2101
|
-
],
|
|
2102
|
-
headerParameters: [accept, contentType],
|
|
2103
|
-
mediaType: "json",
|
|
2104
|
-
serializer
|
|
2105
|
-
};
|
|
2106
|
-
const listByResourceGroupOperationSpec = {
|
|
2107
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores",
|
|
2108
|
-
httpMethod: "GET",
|
|
2109
|
-
responses: {
|
|
2110
|
-
200: {
|
|
2111
|
-
bodyMapper: AutoScaleVCoreListResult
|
|
2112
|
-
},
|
|
2113
|
-
default: {
|
|
2114
|
-
bodyMapper: ErrorResponse
|
|
2115
|
-
}
|
|
2116
|
-
},
|
|
2117
|
-
queryParameters: [apiVersion],
|
|
2118
|
-
urlParameters: [
|
|
2119
|
-
$host,
|
|
2120
|
-
resourceGroupName,
|
|
2121
|
-
subscriptionId
|
|
2122
|
-
],
|
|
2123
|
-
headerParameters: [accept],
|
|
2124
|
-
serializer
|
|
2125
|
-
};
|
|
2126
|
-
const listBySubscriptionOperationSpec = {
|
|
2127
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/autoScaleVCores",
|
|
2128
|
-
httpMethod: "GET",
|
|
2129
|
-
responses: {
|
|
2130
|
-
200: {
|
|
2131
|
-
bodyMapper: AutoScaleVCoreListResult
|
|
2132
|
-
},
|
|
2133
|
-
default: {
|
|
2134
|
-
bodyMapper: ErrorResponse
|
|
2135
|
-
}
|
|
2136
|
-
},
|
|
2137
|
-
queryParameters: [apiVersion],
|
|
2138
|
-
urlParameters: [$host, subscriptionId],
|
|
2139
|
-
headerParameters: [accept],
|
|
2140
|
-
serializer
|
|
2141
|
-
};
|
|
2142
|
-
|
|
2143
|
-
/*
|
|
2144
|
-
* Copyright (c) Microsoft Corporation.
|
|
2145
|
-
* Licensed under the MIT License.
|
|
2146
|
-
*
|
|
2147
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2148
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2149
|
-
*/
|
|
2150
|
-
class PowerBIDedicated extends coreClient__namespace.ServiceClient {
|
|
2151
|
-
/**
|
|
2152
|
-
* Initializes a new instance of the PowerBIDedicated class.
|
|
2153
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
2154
|
-
* @param subscriptionId A unique identifier for a Microsoft Azure subscription. The subscription ID
|
|
2155
|
-
* forms part of the URI for every service call.
|
|
2156
|
-
* @param options The parameter options
|
|
2157
|
-
*/
|
|
2158
|
-
constructor(credentials, subscriptionId, options) {
|
|
2159
|
-
var _a, _b, _c;
|
|
2160
|
-
if (credentials === undefined) {
|
|
2161
|
-
throw new Error("'credentials' cannot be null");
|
|
2162
|
-
}
|
|
2163
|
-
if (subscriptionId === undefined) {
|
|
2164
|
-
throw new Error("'subscriptionId' cannot be null");
|
|
2165
|
-
}
|
|
2166
|
-
// Initializing default values for options
|
|
2167
|
-
if (!options) {
|
|
2168
|
-
options = {};
|
|
2169
|
-
}
|
|
2170
|
-
const defaults = {
|
|
2171
|
-
requestContentType: "application/json; charset=utf-8",
|
|
2172
|
-
credential: credentials
|
|
2173
|
-
};
|
|
2174
|
-
const packageDetails = `azsdk-js-arm-powerbidedicated/4.0.2`;
|
|
2175
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
2176
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
2177
|
-
: `${packageDetails}`;
|
|
2178
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
2179
|
-
userAgentPrefix
|
|
2180
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
2181
|
-
super(optionsWithDefaults);
|
|
2182
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
2183
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
2184
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
2185
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
2186
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
2187
|
-
}
|
|
2188
|
-
if (!options ||
|
|
2189
|
-
!options.pipeline ||
|
|
2190
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
2191
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
2192
|
-
this.pipeline.removePolicy({
|
|
2193
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
2194
|
-
});
|
|
2195
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
2196
|
-
credential: credentials,
|
|
2197
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
2198
|
-
challengeCallbacks: {
|
|
2199
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
2200
|
-
}
|
|
2201
|
-
}));
|
|
2202
|
-
}
|
|
2203
|
-
// Parameter assignments
|
|
2204
|
-
this.subscriptionId = subscriptionId;
|
|
2205
|
-
// Assigning values to Constant parameters
|
|
2206
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
2207
|
-
this.apiVersion = options.apiVersion || "2021-01-01";
|
|
2208
|
-
this.capacities = new CapacitiesImpl(this);
|
|
2209
|
-
this.operations = new OperationsImpl(this);
|
|
2210
|
-
this.autoScaleVCores = new AutoScaleVCoresImpl(this);
|
|
2211
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
2212
|
-
}
|
|
2213
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
2214
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
2215
|
-
if (!apiVersion) {
|
|
2216
|
-
return;
|
|
2217
|
-
}
|
|
2218
|
-
const apiVersionPolicy = {
|
|
2219
|
-
name: "CustomApiVersionPolicy",
|
|
2220
|
-
sendRequest(request, next) {
|
|
2221
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2222
|
-
const param = request.url.split("?");
|
|
2223
|
-
if (param.length > 1) {
|
|
2224
|
-
const newParams = param[1].split("&").map((item) => {
|
|
2225
|
-
if (item.indexOf("api-version") > -1) {
|
|
2226
|
-
return "api-version=" + apiVersion;
|
|
2227
|
-
}
|
|
2228
|
-
else {
|
|
2229
|
-
return item;
|
|
2230
|
-
}
|
|
2231
|
-
});
|
|
2232
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
2233
|
-
}
|
|
2234
|
-
return next(request);
|
|
2235
|
-
});
|
|
2236
|
-
}
|
|
2237
|
-
};
|
|
2238
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
2239
|
-
}
|
|
2240
|
-
}
|
|
2241
|
-
|
|
2242
|
-
exports.PowerBIDedicated = PowerBIDedicated;
|
|
2243
|
-
exports.getContinuationToken = getContinuationToken;
|
|
2244
|
-
//# sourceMappingURL=index.js.map
|