@azure/arm-commitmentplans 2.0.0-alpha.20250210.1 → 2.0.0-alpha.20250212.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 -14
- package/{dist-esm/src → dist/browser}/azureMLCommitmentPlansManagementClient.d.ts +2 -2
- package/dist/browser/azureMLCommitmentPlansManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/azureMLCommitmentPlansManagementClient.js +15 -18
- package/dist/browser/azureMLCommitmentPlansManagementClient.js.map +1 -0
- 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/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/commitmentAssociations.d.ts +3 -3
- package/dist/browser/operations/commitmentAssociations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/commitmentAssociations.js +3 -3
- package/dist/browser/operations/commitmentAssociations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/commitmentPlans.d.ts +3 -3
- package/dist/browser/operations/commitmentPlans.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/commitmentPlans.js +3 -3
- package/dist/browser/operations/commitmentPlans.js.map +1 -0
- package/dist/browser/operations/index.d.ts +6 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +5 -5
- 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 +2 -2
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/skus.d.ts +3 -3
- package/dist/browser/operations/skus.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/skus.js +2 -2
- package/dist/browser/operations/skus.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/usageHistory.d.ts +3 -3
- package/dist/browser/operations/usageHistory.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/usageHistory.js +3 -3
- package/dist/browser/operations/usageHistory.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/commitmentAssociations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/commitmentAssociations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/commitmentAssociations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/commitmentPlans.d.ts +1 -1
- package/dist/browser/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/commitmentPlans.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +6 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +5 -5
- 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-esm/src → dist/browser}/operationsInterfaces/skus.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/skus.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/usageHistory.d.ts +1 -1
- package/dist/browser/operationsInterfaces/usageHistory.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/usageHistory.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/azureMLCommitmentPlansManagementClient.d.ts +24 -0
- package/dist/commonjs/azureMLCommitmentPlansManagementClient.d.ts.map +1 -0
- package/dist/commonjs/azureMLCommitmentPlansManagementClient.js +106 -0
- package/dist/commonjs/azureMLCommitmentPlansManagementClient.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/{types/arm-commitmentplans.d.ts → dist/commonjs/models/index.d.ts} +529 -724
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +37 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +24 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +744 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +15 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +128 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/commitmentAssociations.d.ts +55 -0
- package/dist/commonjs/operations/commitmentAssociations.d.ts.map +1 -0
- package/dist/commonjs/operations/commitmentAssociations.js +221 -0
- package/dist/commonjs/operations/commitmentAssociations.js.map +1 -0
- package/dist/commonjs/operations/commitmentPlans.d.ts +84 -0
- package/dist/commonjs/operations/commitmentPlans.d.ts.map +1 -0
- package/dist/commonjs/operations/commitmentPlans.js +363 -0
- package/dist/commonjs/operations/commitmentPlans.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +6 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +16 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +26 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +97 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/skus.d.ts +26 -0
- package/dist/commonjs/operations/skus.d.ts.map +1 -0
- package/dist/commonjs/operations/skus.js +97 -0
- package/dist/commonjs/operations/skus.js.map +1 -0
- package/dist/commonjs/operations/usageHistory.d.ts +38 -0
- package/dist/commonjs/operations/usageHistory.d.ts.map +1 -0
- package/dist/commonjs/operations/usageHistory.js +149 -0
- package/dist/commonjs/operations/usageHistory.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/commitmentAssociations.d.ts +30 -0
- package/dist/commonjs/operationsInterfaces/commitmentAssociations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/commitmentAssociations.js +10 -0
- package/dist/commonjs/operationsInterfaces/commitmentAssociations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/commitmentPlans.d.ts +48 -0
- package/dist/commonjs/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/commitmentPlans.js +10 -0
- package/dist/commonjs/operationsInterfaces/commitmentPlans.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +16 -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/operationsInterfaces/skus.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/skus.js +10 -0
- package/dist/commonjs/operationsInterfaces/skus.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/usageHistory.d.ts +13 -0
- package/dist/commonjs/operationsInterfaces/usageHistory.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/usageHistory.js +10 -0
- package/dist/commonjs/operationsInterfaces/usageHistory.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/esm/azureMLCommitmentPlansManagementClient.d.ts +24 -0
- package/dist/esm/azureMLCommitmentPlansManagementClient.d.ts.map +1 -0
- package/dist/esm/azureMLCommitmentPlansManagementClient.js +101 -0
- package/dist/esm/azureMLCommitmentPlansManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +529 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +34 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +24 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +741 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +15 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +125 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/commitmentAssociations.d.ts +55 -0
- package/dist/esm/operations/commitmentAssociations.d.ts.map +1 -0
- package/dist/esm/operations/commitmentAssociations.js +217 -0
- package/dist/esm/operations/commitmentAssociations.js.map +1 -0
- package/dist/esm/operations/commitmentPlans.d.ts +84 -0
- package/dist/esm/operations/commitmentPlans.d.ts.map +1 -0
- package/dist/esm/operations/commitmentPlans.js +359 -0
- package/dist/esm/operations/commitmentPlans.js.map +1 -0
- package/dist/esm/operations/index.d.ts +6 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +13 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +26 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +93 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/skus.d.ts +26 -0
- package/dist/esm/operations/skus.d.ts.map +1 -0
- package/dist/esm/operations/skus.js +93 -0
- package/dist/esm/operations/skus.js.map +1 -0
- package/dist/esm/operations/usageHistory.d.ts +38 -0
- package/dist/esm/operations/usageHistory.d.ts.map +1 -0
- package/dist/esm/operations/usageHistory.js +145 -0
- package/dist/esm/operations/usageHistory.js.map +1 -0
- package/dist/esm/operationsInterfaces/commitmentAssociations.d.ts +30 -0
- package/dist/esm/operationsInterfaces/commitmentAssociations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/commitmentAssociations.js +9 -0
- package/dist/esm/operationsInterfaces/commitmentAssociations.js.map +1 -0
- package/dist/esm/operationsInterfaces/commitmentPlans.d.ts +48 -0
- package/dist/esm/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/commitmentPlans.js +9 -0
- package/dist/esm/operationsInterfaces/commitmentPlans.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +6 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +13 -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/operationsInterfaces/skus.d.ts +11 -0
- package/dist/esm/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/skus.js +9 -0
- package/dist/esm/operationsInterfaces/skus.js.map +1 -0
- package/dist/esm/operationsInterfaces/usageHistory.d.ts +13 -0
- package/dist/esm/operationsInterfaces/usageHistory.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/usageHistory.js +9 -0
- package/dist/esm/operationsInterfaces/usageHistory.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/react-native/azureMLCommitmentPlansManagementClient.d.ts +24 -0
- package/dist/react-native/azureMLCommitmentPlansManagementClient.d.ts.map +1 -0
- package/dist/react-native/azureMLCommitmentPlansManagementClient.js +101 -0
- package/dist/react-native/azureMLCommitmentPlansManagementClient.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/models/index.d.ts +529 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +34 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +24 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +741 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +15 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +125 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/commitmentAssociations.d.ts +55 -0
- package/dist/react-native/operations/commitmentAssociations.d.ts.map +1 -0
- package/dist/react-native/operations/commitmentAssociations.js +217 -0
- package/dist/react-native/operations/commitmentAssociations.js.map +1 -0
- package/dist/react-native/operations/commitmentPlans.d.ts +84 -0
- package/dist/react-native/operations/commitmentPlans.d.ts.map +1 -0
- package/dist/react-native/operations/commitmentPlans.js +359 -0
- package/dist/react-native/operations/commitmentPlans.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +6 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +13 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +26 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +93 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/skus.d.ts +26 -0
- package/dist/react-native/operations/skus.d.ts.map +1 -0
- package/dist/react-native/operations/skus.js +93 -0
- package/dist/react-native/operations/skus.js.map +1 -0
- package/dist/react-native/operations/usageHistory.d.ts +38 -0
- package/dist/react-native/operations/usageHistory.d.ts.map +1 -0
- package/dist/react-native/operations/usageHistory.js +145 -0
- package/dist/react-native/operations/usageHistory.js.map +1 -0
- package/dist/react-native/operationsInterfaces/commitmentAssociations.d.ts +30 -0
- package/dist/react-native/operationsInterfaces/commitmentAssociations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/commitmentAssociations.js +9 -0
- package/dist/react-native/operationsInterfaces/commitmentAssociations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/commitmentPlans.d.ts +48 -0
- package/dist/react-native/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/commitmentPlans.js +9 -0
- package/dist/react-native/operationsInterfaces/commitmentPlans.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +6 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +13 -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/operationsInterfaces/skus.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/skus.js +9 -0
- package/dist/react-native/operationsInterfaces/skus.js.map +1 -0
- package/dist/react-native/operationsInterfaces/usageHistory.d.ts +13 -0
- package/dist/react-native/operationsInterfaces/usageHistory.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/usageHistory.js +9 -0
- package/dist/react-native/operationsInterfaces/usageHistory.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/package.json +70 -41
- package/dist/index.js +0 -1972
- 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/src/azureMLCommitmentPlansManagementClient.d.ts.map +0 -1
- package/dist-esm/src/azureMLCommitmentPlansManagementClient.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/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/commitmentAssociations.d.ts.map +0 -1
- package/dist-esm/src/operations/commitmentAssociations.js.map +0 -1
- package/dist-esm/src/operations/commitmentPlans.d.ts.map +0 -1
- package/dist-esm/src/operations/commitmentPlans.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -6
- 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/operations/skus.d.ts.map +0 -1
- package/dist-esm/src/operations/skus.js.map +0 -1
- package/dist-esm/src/operations/usageHistory.d.ts.map +0 -1
- package/dist-esm/src/operations/usageHistory.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/commitmentAssociations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/commitmentAssociations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/commitmentPlans.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/skus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/usageHistory.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/usageHistory.js.map +0 -1
- package/dist-esm/src/pagingHelper.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/azureMLCommitmentPlansManagementClient.ts +0 -160
- package/src/models/index.ts +0 -586
- package/src/models/mappers.ts +0 -773
- package/src/models/parameters.ts +0 -147
- package/src/operations/commitmentAssociations.ts +0 -291
- package/src/operations/commitmentPlans.ts +0 -449
- package/src/operations/index.ts +0 -13
- package/src/operations/operations.ts +0 -100
- package/src/operations/skus.ts +0 -99
- package/src/operations/usageHistory.ts +0 -193
- package/src/operationsInterfaces/commitmentAssociations.ts +0 -62
- package/src/operationsInterfaces/commitmentPlans.ts +0 -92
- package/src/operationsInterfaces/index.ts +0 -13
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/skus.ts +0 -22
- package/src/operationsInterfaces/usageHistory.ts +0 -26
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /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/commitmentAssociations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/commitmentPlans.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/usageHistory.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/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SkusImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
14
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Class containing Skus operations. */
|
|
17
|
+
class SkusImpl {
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class Skus class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Lists the available commitment plan SKUs.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(options) {
|
|
30
|
+
const iter = this.listPagingAll(options);
|
|
31
|
+
return {
|
|
32
|
+
next() {
|
|
33
|
+
return iter.next();
|
|
34
|
+
},
|
|
35
|
+
[Symbol.asyncIterator]() {
|
|
36
|
+
return this;
|
|
37
|
+
},
|
|
38
|
+
byPage: (settings) => {
|
|
39
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
40
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
|
+
}
|
|
42
|
+
return this.listPagingPage(options, settings);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
listPagingPage(options, _settings) {
|
|
47
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
48
|
+
let result;
|
|
49
|
+
result = yield tslib_1.__await(this._list(options));
|
|
50
|
+
yield yield tslib_1.__await(result.value || []);
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
listPagingAll(options) {
|
|
54
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
55
|
+
var _a, e_1, _b, _c;
|
|
56
|
+
try {
|
|
57
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
58
|
+
_c = _f.value;
|
|
59
|
+
_d = false;
|
|
60
|
+
const page = _c;
|
|
61
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
|
+
finally {
|
|
66
|
+
try {
|
|
67
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
68
|
+
}
|
|
69
|
+
finally { if (e_1) throw e_1.error; }
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Lists the available commitment plan SKUs.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
_list(options) {
|
|
78
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.SkusImpl = SkusImpl;
|
|
82
|
+
// Operation Specifications
|
|
83
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
84
|
+
const listOperationSpec = {
|
|
85
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/skus",
|
|
86
|
+
httpMethod: "GET",
|
|
87
|
+
responses: {
|
|
88
|
+
200: {
|
|
89
|
+
bodyMapper: Mappers.SkuListResult
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
queryParameters: [Parameters.apiVersion],
|
|
93
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
94
|
+
headerParameters: [Parameters.accept],
|
|
95
|
+
serializer
|
|
96
|
+
};
|
|
97
|
+
//# sourceMappingURL=skus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skus.js","sourceRoot":"","sources":["../../../src/operations/skus.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAQtD,4CAA4C;AAC5C,wCAAwC;AACxC,MAAa,QAAQ;IAGnB;;;OAGG;IACH,YAAY,MAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAgC;QAEhC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,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CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { Skus } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureMLCommitmentPlansManagementClient } from \"../azureMLCommitmentPlansManagementClient.js\";\nimport {\n CatalogSku,\n SkusListOptionalParams,\n SkusListResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Skus operations. */\nexport class SkusImpl implements Skus {\n private readonly client: AzureMLCommitmentPlansManagementClient;\n\n /**\n * Initialize a new instance of the class Skus class.\n * @param client Reference to the service client\n */\n constructor(client: AzureMLCommitmentPlansManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the available commitment plan SKUs.\n * @param options The options parameters.\n */\n public list(\n options?: SkusListOptionalParams\n ): PagedAsyncIterableIterator<CatalogSku> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: SkusListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<CatalogSku[]> {\n let result: SkusListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: SkusListOptionalParams\n ): AsyncIterableIterator<CatalogSku> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists the available commitment plan SKUs.\n * @param options The options parameters.\n */\n private _list(options?: SkusListOptionalParams): Promise<SkusListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/skus\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SkuListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { UsageHistory } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AzureMLCommitmentPlansManagementClient } from "../azureMLCommitmentPlansManagementClient.js";
|
|
4
|
+
import { PlanUsageHistory, UsageHistoryListOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing UsageHistory operations. */
|
|
6
|
+
export declare class UsageHistoryImpl implements UsageHistory {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class UsageHistory class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: AzureMLCommitmentPlansManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve the usage history for an Azure ML commitment plan.
|
|
15
|
+
* @param resourceGroupName The resource group name.
|
|
16
|
+
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(resourceGroupName: string, commitmentPlanName: string, options?: UsageHistoryListOptionalParams): PagedAsyncIterableIterator<PlanUsageHistory>;
|
|
20
|
+
private listPagingPage;
|
|
21
|
+
private listPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieve the usage history for an Azure ML commitment plan.
|
|
24
|
+
* @param resourceGroupName The resource group name.
|
|
25
|
+
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
private _list;
|
|
29
|
+
/**
|
|
30
|
+
* ListNext
|
|
31
|
+
* @param resourceGroupName The resource group name.
|
|
32
|
+
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
33
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
private _listNext;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=usageHistory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usageHistory.d.ts","sourceRoot":"","sources":["../../../src/operations/usageHistory.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAIhE,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AACtG,OAAO,EACL,gBAAgB,EAEhB,8BAA8B,EAG/B,MAAM,oBAAoB,CAAC;AAG5B,gDAAgD;AAChD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyC;IAEhE;;;OAGG;gBACS,MAAM,EAAE,sCAAsC;IAI1D;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,8BAA8B,GACvC,0BAA0B,CAAC,gBAAgB,CAAC;YA2BhC,cAAc;YA6Bd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.UsageHistoryImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
/// <reference lib="esnext.asynciterable" />
|
|
17
|
+
/** Class containing UsageHistory operations. */
|
|
18
|
+
class UsageHistoryImpl {
|
|
19
|
+
/**
|
|
20
|
+
* Initialize a new instance of the class UsageHistory class.
|
|
21
|
+
* @param client Reference to the service client
|
|
22
|
+
*/
|
|
23
|
+
constructor(client) {
|
|
24
|
+
this.client = client;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Retrieve the usage history for an Azure ML commitment plan.
|
|
28
|
+
* @param resourceGroupName The resource group name.
|
|
29
|
+
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
list(resourceGroupName, commitmentPlanName, options) {
|
|
33
|
+
const iter = this.listPagingAll(resourceGroupName, commitmentPlanName, options);
|
|
34
|
+
return {
|
|
35
|
+
next() {
|
|
36
|
+
return iter.next();
|
|
37
|
+
},
|
|
38
|
+
[Symbol.asyncIterator]() {
|
|
39
|
+
return this;
|
|
40
|
+
},
|
|
41
|
+
byPage: (settings) => {
|
|
42
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
43
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
|
+
}
|
|
45
|
+
return this.listPagingPage(resourceGroupName, commitmentPlanName, options, settings);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
listPagingPage(resourceGroupName, commitmentPlanName, options, settings) {
|
|
50
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = yield tslib_1.__await(this._list(resourceGroupName, commitmentPlanName, options));
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
+
yield yield tslib_1.__await(page);
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = yield tslib_1.__await(this._listNext(resourceGroupName, commitmentPlanName, continuationToken, options));
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
|
+
yield yield tslib_1.__await(page);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
listPagingAll(resourceGroupName, commitmentPlanName, options) {
|
|
70
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
71
|
+
var _a, e_1, _b, _c;
|
|
72
|
+
try {
|
|
73
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, commitmentPlanName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
74
|
+
_c = _f.value;
|
|
75
|
+
_d = false;
|
|
76
|
+
const page = _c;
|
|
77
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
81
|
+
finally {
|
|
82
|
+
try {
|
|
83
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
84
|
+
}
|
|
85
|
+
finally { if (e_1) throw e_1.error; }
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Retrieve the usage history for an Azure ML commitment plan.
|
|
91
|
+
* @param resourceGroupName The resource group name.
|
|
92
|
+
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
93
|
+
* @param options The options parameters.
|
|
94
|
+
*/
|
|
95
|
+
_list(resourceGroupName, commitmentPlanName, options) {
|
|
96
|
+
return this.client.sendOperationRequest({ resourceGroupName, commitmentPlanName, options }, listOperationSpec);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* ListNext
|
|
100
|
+
* @param resourceGroupName The resource group name.
|
|
101
|
+
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
102
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
_listNext(resourceGroupName, commitmentPlanName, nextLink, options) {
|
|
106
|
+
return this.client.sendOperationRequest({ resourceGroupName, commitmentPlanName, nextLink, options }, listNextOperationSpec);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.UsageHistoryImpl = UsageHistoryImpl;
|
|
110
|
+
// Operation Specifications
|
|
111
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
112
|
+
const listOperationSpec = {
|
|
113
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}/usageHistory",
|
|
114
|
+
httpMethod: "GET",
|
|
115
|
+
responses: {
|
|
116
|
+
200: {
|
|
117
|
+
bodyMapper: Mappers.PlanUsageHistoryListResult
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
queryParameters: [Parameters.apiVersion, Parameters.skipToken],
|
|
121
|
+
urlParameters: [
|
|
122
|
+
Parameters.$host,
|
|
123
|
+
Parameters.subscriptionId,
|
|
124
|
+
Parameters.resourceGroupName,
|
|
125
|
+
Parameters.commitmentPlanName
|
|
126
|
+
],
|
|
127
|
+
headerParameters: [Parameters.accept],
|
|
128
|
+
serializer
|
|
129
|
+
};
|
|
130
|
+
const listNextOperationSpec = {
|
|
131
|
+
path: "{nextLink}",
|
|
132
|
+
httpMethod: "GET",
|
|
133
|
+
responses: {
|
|
134
|
+
200: {
|
|
135
|
+
bodyMapper: Mappers.PlanUsageHistoryListResult
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
queryParameters: [Parameters.apiVersion, Parameters.skipToken],
|
|
139
|
+
urlParameters: [
|
|
140
|
+
Parameters.$host,
|
|
141
|
+
Parameters.subscriptionId,
|
|
142
|
+
Parameters.resourceGroupName,
|
|
143
|
+
Parameters.commitmentPlanName,
|
|
144
|
+
Parameters.nextLink
|
|
145
|
+
],
|
|
146
|
+
headerParameters: [Parameters.accept],
|
|
147
|
+
serializer
|
|
148
|
+
};
|
|
149
|
+
//# sourceMappingURL=usageHistory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usageHistory.js","sourceRoot":"","sources":["../../../src/operations/usageHistory.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAa,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBA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,IAAI,EACF,0JAA0J;IAC5J,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,SAAS,CAAC;IAC9D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,SAAS,CAAC;IAC9D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { UsageHistory } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureMLCommitmentPlansManagementClient } from \"../azureMLCommitmentPlansManagementClient.js\";\nimport {\n PlanUsageHistory,\n UsageHistoryListNextOptionalParams,\n UsageHistoryListOptionalParams,\n UsageHistoryListResponse,\n UsageHistoryListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing UsageHistory operations. */\nexport class UsageHistoryImpl implements UsageHistory {\n private readonly client: AzureMLCommitmentPlansManagementClient;\n\n /**\n * Initialize a new instance of the class UsageHistory class.\n * @param client Reference to the service client\n */\n constructor(client: AzureMLCommitmentPlansManagementClient) {\n this.client = client;\n }\n\n /**\n * Retrieve the usage history for an Azure ML commitment plan.\n * @param resourceGroupName The resource group name.\n * @param commitmentPlanName The Azure ML commitment plan name.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n commitmentPlanName: string,\n options?: UsageHistoryListOptionalParams\n ): PagedAsyncIterableIterator<PlanUsageHistory> {\n const iter = this.listPagingAll(\n resourceGroupName,\n commitmentPlanName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n commitmentPlanName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n commitmentPlanName: string,\n options?: UsageHistoryListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<PlanUsageHistory[]> {\n let result: UsageHistoryListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, commitmentPlanName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n commitmentPlanName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n commitmentPlanName: string,\n options?: UsageHistoryListOptionalParams\n ): AsyncIterableIterator<PlanUsageHistory> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n commitmentPlanName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Retrieve the usage history for an Azure ML commitment plan.\n * @param resourceGroupName The resource group name.\n * @param commitmentPlanName The Azure ML commitment plan name.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n commitmentPlanName: string,\n options?: UsageHistoryListOptionalParams\n ): Promise<UsageHistoryListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, commitmentPlanName, options },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The resource group name.\n * @param commitmentPlanName The Azure ML commitment plan name.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n commitmentPlanName: string,\n nextLink: string,\n options?: UsageHistoryListNextOptionalParams\n ): Promise<UsageHistoryListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, commitmentPlanName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}/usageHistory\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PlanUsageHistoryListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skipToken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.commitmentPlanName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PlanUsageHistoryListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skipToken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.commitmentPlanName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { CommitmentAssociation, CommitmentAssociationsListOptionalParams, CommitmentAssociationsGetOptionalParams, CommitmentAssociationsGetResponse, MoveCommitmentAssociationRequest, CommitmentAssociationsMoveOptionalParams, CommitmentAssociationsMoveResponse } from "../models/index.js";
|
|
3
|
+
/** Interface representing a CommitmentAssociations. */
|
|
4
|
+
export interface CommitmentAssociations {
|
|
5
|
+
/**
|
|
6
|
+
* Get all commitment associations for a parent commitment plan.
|
|
7
|
+
* @param resourceGroupName The resource group name.
|
|
8
|
+
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
9
|
+
* @param options The options parameters.
|
|
10
|
+
*/
|
|
11
|
+
list(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentAssociationsListOptionalParams): PagedAsyncIterableIterator<CommitmentAssociation>;
|
|
12
|
+
/**
|
|
13
|
+
* Get a commitment association.
|
|
14
|
+
* @param resourceGroupName The resource group name.
|
|
15
|
+
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
16
|
+
* @param commitmentAssociationName The commitment association name.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
get(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, options?: CommitmentAssociationsGetOptionalParams): Promise<CommitmentAssociationsGetResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Re-parent a commitment association from one commitment plan to another.
|
|
22
|
+
* @param resourceGroupName The resource group name.
|
|
23
|
+
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
24
|
+
* @param commitmentAssociationName The commitment association name.
|
|
25
|
+
* @param movePayload The move request payload.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
move(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, movePayload: MoveCommitmentAssociationRequest, options?: CommitmentAssociationsMoveOptionalParams): Promise<CommitmentAssociationsMoveResponse>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=commitmentAssociations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commitmentAssociations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/commitmentAssociations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,wCAAwC,EACxC,uCAAuC,EACvC,iCAAiC,EACjC,gCAAgC,EAChC,wCAAwC,EACxC,kCAAkC,EACnC,MAAM,oBAAoB,CAAC;AAG5B,uDAAuD;AACvD,MAAM,WAAW,sBAAsB;IACrC;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,qBAAqB,CAAC,CAAC;IACrD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;;;;OAOG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,yBAAyB,EAAE,MAAM,EACjC,WAAW,EAAE,gCAAgC,EAC7C,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;CAChD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=commitmentAssociations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commitmentAssociations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/commitmentAssociations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n CommitmentAssociation,\n CommitmentAssociationsListOptionalParams,\n CommitmentAssociationsGetOptionalParams,\n CommitmentAssociationsGetResponse,\n MoveCommitmentAssociationRequest,\n CommitmentAssociationsMoveOptionalParams,\n CommitmentAssociationsMoveResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a CommitmentAssociations. */\nexport interface CommitmentAssociations {\n /**\n * Get all commitment associations for a parent commitment plan.\n * @param resourceGroupName The resource group name.\n * @param commitmentPlanName The Azure ML commitment plan name.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n commitmentPlanName: string,\n options?: CommitmentAssociationsListOptionalParams\n ): PagedAsyncIterableIterator<CommitmentAssociation>;\n /**\n * Get a commitment association.\n * @param resourceGroupName The resource group name.\n * @param commitmentPlanName The Azure ML commitment plan name.\n * @param commitmentAssociationName The commitment association name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n commitmentPlanName: string,\n commitmentAssociationName: string,\n options?: CommitmentAssociationsGetOptionalParams\n ): Promise<CommitmentAssociationsGetResponse>;\n /**\n * Re-parent a commitment association from one commitment plan to another.\n * @param resourceGroupName The resource group name.\n * @param commitmentPlanName The Azure ML commitment plan name.\n * @param commitmentAssociationName The commitment association name.\n * @param movePayload The move request payload.\n * @param options The options parameters.\n */\n move(\n resourceGroupName: string,\n commitmentPlanName: string,\n commitmentAssociationName: string,\n movePayload: MoveCommitmentAssociationRequest,\n options?: CommitmentAssociationsMoveOptionalParams\n ): Promise<CommitmentAssociationsMoveResponse>;\n}\n"]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { CommitmentPlan, CommitmentPlansListOptionalParams, CommitmentPlansListInResourceGroupOptionalParams, CommitmentPlansGetOptionalParams, CommitmentPlansGetResponse, CommitmentPlansCreateOrUpdateOptionalParams, CommitmentPlansCreateOrUpdateResponse, CommitmentPlansRemoveOptionalParams, CommitmentPlanPatchPayload, CommitmentPlansPatchOptionalParams, CommitmentPlansPatchResponse } from "../models/index.js";
|
|
3
|
+
/** Interface representing a CommitmentPlans. */
|
|
4
|
+
export interface CommitmentPlans {
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve all Azure ML commitment plans in a subscription.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
list(options?: CommitmentPlansListOptionalParams): PagedAsyncIterableIterator<CommitmentPlan>;
|
|
10
|
+
/**
|
|
11
|
+
* Retrieve all Azure ML commitment plans in a resource group.
|
|
12
|
+
* @param resourceGroupName The resource group name.
|
|
13
|
+
* @param options The options parameters.
|
|
14
|
+
*/
|
|
15
|
+
listInResourceGroup(resourceGroupName: string, options?: CommitmentPlansListInResourceGroupOptionalParams): PagedAsyncIterableIterator<CommitmentPlan>;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieve an Azure ML commitment plan by its subscription, resource group and name.
|
|
18
|
+
* @param resourceGroupName The resource group name.
|
|
19
|
+
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
20
|
+
* @param options The options parameters.
|
|
21
|
+
*/
|
|
22
|
+
get(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansGetOptionalParams): Promise<CommitmentPlansGetResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Create a new Azure ML commitment plan resource or updates an existing one.
|
|
25
|
+
* @param resourceGroupName The resource group name.
|
|
26
|
+
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
27
|
+
* @param createOrUpdatePayload The payload to create or update the Azure ML commitment plan.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
createOrUpdate(resourceGroupName: string, commitmentPlanName: string, createOrUpdatePayload: CommitmentPlan, options?: CommitmentPlansCreateOrUpdateOptionalParams): Promise<CommitmentPlansCreateOrUpdateResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Remove an existing Azure ML commitment plan.
|
|
33
|
+
* @param resourceGroupName The resource group name.
|
|
34
|
+
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
remove(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansRemoveOptionalParams): Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Patch an existing Azure ML commitment plan resource.
|
|
40
|
+
* @param resourceGroupName The resource group name.
|
|
41
|
+
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
42
|
+
* @param patchPayload The payload to use to patch the Azure ML commitment plan. Only tags and SKU may
|
|
43
|
+
* be modified on an existing commitment plan.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
patch(resourceGroupName: string, commitmentPlanName: string, patchPayload: CommitmentPlanPatchPayload, options?: CommitmentPlansPatchOptionalParams): Promise<CommitmentPlansPatchResponse>;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=commitmentPlans.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commitmentPlans.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/commitmentPlans.ts"],"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|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=commitmentPlans.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commitmentPlans.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/commitmentPlans.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n CommitmentPlan,\n CommitmentPlansListOptionalParams,\n CommitmentPlansListInResourceGroupOptionalParams,\n CommitmentPlansGetOptionalParams,\n CommitmentPlansGetResponse,\n CommitmentPlansCreateOrUpdateOptionalParams,\n CommitmentPlansCreateOrUpdateResponse,\n CommitmentPlansRemoveOptionalParams,\n CommitmentPlanPatchPayload,\n CommitmentPlansPatchOptionalParams,\n CommitmentPlansPatchResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a CommitmentPlans. */\nexport interface CommitmentPlans {\n /**\n * Retrieve all Azure ML commitment plans in a subscription.\n * @param options The options parameters.\n */\n list(\n options?: CommitmentPlansListOptionalParams\n ): PagedAsyncIterableIterator<CommitmentPlan>;\n /**\n * Retrieve all Azure ML commitment plans in a resource group.\n * @param resourceGroupName The resource group name.\n * @param options The options parameters.\n */\n listInResourceGroup(\n resourceGroupName: string,\n options?: CommitmentPlansListInResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<CommitmentPlan>;\n /**\n * Retrieve an Azure ML commitment plan by its subscription, resource group and name.\n * @param resourceGroupName The resource group name.\n * @param commitmentPlanName The Azure ML commitment plan name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n commitmentPlanName: string,\n options?: CommitmentPlansGetOptionalParams\n ): Promise<CommitmentPlansGetResponse>;\n /**\n * Create a new Azure ML commitment plan resource or updates an existing one.\n * @param resourceGroupName The resource group name.\n * @param commitmentPlanName The Azure ML commitment plan name.\n * @param createOrUpdatePayload The payload to create or update the Azure ML commitment plan.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n commitmentPlanName: string,\n createOrUpdatePayload: CommitmentPlan,\n options?: CommitmentPlansCreateOrUpdateOptionalParams\n ): Promise<CommitmentPlansCreateOrUpdateResponse>;\n /**\n * Remove an existing Azure ML commitment plan.\n * @param resourceGroupName The resource group name.\n * @param commitmentPlanName The Azure ML commitment plan name.\n * @param options The options parameters.\n */\n remove(\n resourceGroupName: string,\n commitmentPlanName: string,\n options?: CommitmentPlansRemoveOptionalParams\n ): Promise<void>;\n /**\n * Patch an existing Azure ML commitment plan resource.\n * @param resourceGroupName The resource group name.\n * @param commitmentPlanName The Azure ML commitment plan name.\n * @param patchPayload The payload to use to patch the Azure ML commitment plan. Only tags and SKU may\n * be modified on an existing commitment plan.\n * @param options The options parameters.\n */\n patch(\n resourceGroupName: string,\n commitmentPlanName: string,\n patchPayload: CommitmentPlanPatchPayload,\n options?: CommitmentPlansPatchOptionalParams\n ): Promise<CommitmentPlansPatchResponse>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
const tslib_1 = require("tslib");
|
|
11
|
+
tslib_1.__exportStar(require("./operations.js"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./skus.js"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./commitmentAssociations.js"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./commitmentPlans.js"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./usageHistory.js"), exports);
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,0DAAgC;AAChC,oDAA0B;AAC1B,sEAA4C;AAC5C,+DAAqC;AACrC,4DAAkC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./skus.js\";\nexport * from \"./commitmentAssociations.js\";\nexport * from \"./commitmentPlans.js\";\nexport * from \"./usageHistory.js\";\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { OperationEntity, OperationsListOptionalParams } from "../models/index.js";
|
|
3
|
+
/** Interface representing a Operations. */
|
|
4
|
+
export interface Operations {
|
|
5
|
+
/**
|
|
6
|
+
* Lists all of the available Azure Machine Learning Studio Commitment Plan RP REST API operations.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAGnF,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,eAAe,CAAC,CAAC;CAChD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { OperationEntity, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all of the available Azure Machine Learning Studio Commitment Plan RP REST API operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<OperationEntity>;\n}\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { CatalogSku, SkusListOptionalParams } from "../models/index.js";
|
|
3
|
+
/** Interface representing a Skus. */
|
|
4
|
+
export interface Skus {
|
|
5
|
+
/**
|
|
6
|
+
* Lists the available commitment plan SKUs.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<CatalogSku>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=skus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skus.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/skus.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAGxE,qCAAqC;AACrC,MAAM,WAAW,IAAI;IACnB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,sBAAsB,GAC/B,0BAA0B,CAAC,UAAU,CAAC,CAAC;CAC3C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=skus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skus.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/skus.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { CatalogSku, SkusListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Skus. */\nexport interface Skus {\n /**\n * Lists the available commitment plan SKUs.\n * @param options The options parameters.\n */\n list(\n options?: SkusListOptionalParams\n ): PagedAsyncIterableIterator<CatalogSku>;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PlanUsageHistory, UsageHistoryListOptionalParams } from "../models/index.js";
|
|
3
|
+
/** Interface representing a UsageHistory. */
|
|
4
|
+
export interface UsageHistory {
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve the usage history for an Azure ML commitment plan.
|
|
7
|
+
* @param resourceGroupName The resource group name.
|
|
8
|
+
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
9
|
+
* @param options The options parameters.
|
|
10
|
+
*/
|
|
11
|
+
list(resourceGroupName: string, commitmentPlanName: string, options?: UsageHistoryListOptionalParams): PagedAsyncIterableIterator<PlanUsageHistory>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=usageHistory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usageHistory.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/usageHistory.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAGtF,6CAA6C;AAC7C,MAAM,WAAW,YAAY;IAC3B;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,8BAA8B,GACvC,0BAA0B,CAAC,gBAAgB,CAAC,CAAC;CACjD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=usageHistory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usageHistory.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/usageHistory.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { PlanUsageHistory, UsageHistoryListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a UsageHistory. */\nexport interface UsageHistory {\n /**\n * Retrieve the usage history for an Azure ML commitment plan.\n * @param resourceGroupName The resource group name.\n * @param commitmentPlanName The Azure ML commitment plan name.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n commitmentPlanName: string,\n options?: UsageHistoryListOptionalParams\n ): PagedAsyncIterableIterator<PlanUsageHistory>;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PageInfo {
|
|
2
|
+
continuationToken?: string;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* Given a result page from a pageable operation, returns a
|
|
6
|
+
* continuation token that can be used to begin paging from
|
|
7
|
+
* that point later.
|
|
8
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
9
|
+
* @returns The continuation token that can be passed into byPage().
|
|
10
|
+
*/
|
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|